GNU bug report logs - #18974
grep-2.20 test-mbrtowc3.sh fails on Solaris without European localization

Previous Next

Package: grep;

Reported by: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>

Date: Thu, 6 Nov 2014 10:16:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18974 in the body.
You can then email your comments to 18974 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#18974; Package grep. (Thu, 06 Nov 2014 10:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Thu, 06 Nov 2014 10:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
To: "bug-grep <at> gnu.org" <bug-grep <at> gnu.org>
Subject: grep-2.20 test-mbrtowc3.sh fails on Solaris without European
 localization
Date: Thu, 6 Nov 2014 19:15:18 +0900 (JST)
[Message part 1 (text/plain, inline)]
Hello,

On Solaris 10 x86/x64,
"test-mbrtowc3.sh" fails if European localization is not installed.
It passes with European localization.

This is the common test-suite bug in
diffutils-3.3, grep-2.20, libunistring-0.9.4 and m4-1.4.17.

--- Kiyoshi <yoi_no_myoujou <at> yahoo.co.jp>
[Message part 2 (text/html, inline)]

Information forwarded to bug-grep <at> gnu.org:
bug#18974; Package grep. (Fri, 07 Nov 2014 14:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 18974 <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
Cc: 18974 <at> debbugs.gnu.org
Subject: Re: bug#18974: grep-2.20 test-mbrtowc3.sh fails on Solaris without
 European localization
Date: Fri, 07 Nov 2014 23:44:27 +0900
Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp> wrote:
> Hello,
> 
> On Solaris 10 x86/x64,
> "test-mbrtowc3.sh" fails if European localization is not installed.
> It passes with European localization.
> 
> This is the common test-suite bug in
> diffutils-3.3, grep-2.20, libunistring-0.9.4 and m4-1.4.17.
> 
> --- Kiyoshi <yoi_no_myoujou <at> yahoo.co.jp>

If second argument `s' to mbrtowc is NULL, first argument `pwc' should
not be changed, but it seems that it is changed into L'\0' on Solaris 10.

--
test-mbrtowc.c:116: assertion 'wc == (wchar_t) 0xBADFACE' failed
Abort - core dumped
FAIL test-mbrtowc3.sh (exit status: 134)
--






Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 03 Sep 2016 07:19:01 GMT) Full text and rfc822 format available.

Notification sent to Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>:
bug acknowledged by developer. (Sat, 03 Sep 2016 07:19:01 GMT) Full text and rfc822 format available.

Message #13 received at 18974-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
Cc: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 18974-done <at> debbugs.gnu.org
Subject: Re: grep-2.20 test-mbrtowc3.sh fails on Solaris without European
 localization
Date: Sat, 3 Sep 2016 00:18:29 -0700
Thanks for this (old) bug report <http://bugs.gnu.org/18974>.

I cannot reproduce the problem with grep 2.25 on Solaris 10 sparc with cc from 
Studio 12.5. Perhaps the mbrtowc bug has been fixed. Or perhaps I have not 
reproduced the scenario (looking at the test, it seems that it depends on a 
Japanese locale, not a European one). Or perhaps the bug is x86-64 specific. In 
any event, since grep itself does not depend on the mbrtowc functionality in 
question, this is not a bug in grep, so I'm closing the grep bug. If someone 
wants to fix it I suppose they can debug the issue and send a patch to 
bug-gnulib, but this is low priority.




Information forwarded to bug-grep <at> gnu.org:
bug#18974; Package grep. (Sat, 03 Sep 2016 08:22:01 GMT) Full text and rfc822 format available.

Message #16 received at 18974 <at> debbugs.gnu.org (full text, mbox):

From: Kiyoshi KANAZAWA <yoi_no_myoujou <at> yahoo.co.jp>
To: "18974 <at> debbugs.gnu.org" <18974 <at> debbugs.gnu.org>
Subject: Re: bug#18974: closed (Re: grep-2.20 test-mbrtowc3.sh fails on
 Solaris without European localization)
Date: Sat, 3 Sep 2016 17:21:46 +0900 (JST)
Hello,

I confirmed it is fixed in grep-2.25.

Thanks,

--- Kiyoshi <yoi_no_myoujou <at> yahoo.co.jp>



 
> Your bug report
> 
> #18974: grep-2.20 test-mbrtowc3.sh fails on Solaris without European 
> localization
> 
> which was filed against the grep package, has been closed.
> 
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 18974 <at> debbugs.gnu.org.
> 
> -- 
> 18974: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18974
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Oct 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.