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
(gdb) bt
#0 0xb7ea2269 in memchr () from /lib/i686/cmov/libc.so.6
#1 0x0804ab43 in ?? ()
#2 0x00000001 in ?? ()
#3 0x0000000a in ?? ()
#4 0x08064001 in ?? ()
#5 0x08064006 in ?? ()
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 ()
I don't have any more context available, I hope you can reproduce the
bug.
Bye,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grep depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
grep recommends no packages.
-- no debconf information
--
Loïc Minier