bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#439827: grep -vw segfault on word matches in UTF-8 locales


From: Justin Pryzby
Subject: Re: Bug#439827: grep -vw segfault on word matches in UTF-8 locales
Date: Mon, 27 Aug 2007 16:30:21 -0400
User-agent: Mutt/1.5.16 (2007-06-11)

severity 439827 important
tag 439827 confirmed upstream
forwarded 439827 address@hidden
thanks

This crash was reported for the new grep upload.

On Mon, Aug 27, 2007 at 08:51:23PM +0200, Loïc Minier wrote:
> Package: grep
> Version: 2.5.3~dfsg-1
> Severity: normal
> File: /bin/grep
> 
>         Hi,
> 
>  % echo -foo | grep -vw foo
>  zsh: done                echo -foo | 
>  zsh: segmentation fault  grep --color=auto -vw foo

>  Seems to happen in fr_FR.UTF-8 and en_US.UTF-8, but not in C locale.
> 
>  After I rebuilt with DEB_BUILD_OPTIONS="nostrip noopt", I got:
> (gdb) bt
> #0  0xb7e21269 in memchr () from /lib/i686/cmov/libc.so.6
> #1  0x0804ab43 in prtext ()
> #2  0x0804ae0c in grepbuf ()
> #3  0x0804b79b in grepfile ()
> #4  0x0804d6c7 in main ()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]