Bug#439827: marked as done (grep -vw segfault on word matches in UTF-8 locales)
Your message dated Tue, 9 Oct 2007 10:22:09 -0400 with message-id [EMAIL PROTECTED] and subject line Bug#440409: grep -w is broken has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: grep Version: 2.5.3~dfsg-1 Severity: normal File: /bin/grep Hi, % echo -foo | grep -vw foo zsh: doneecho -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 0x0001 in ?? () #3 0x000a 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 ---End Message--- ---BeginMessage--- Version: 2.5.3~dfsg-3 grep -w was broken in a previous upload but fixed by this version. $ cat /proc/stat |./tmp/grep.unstable -w cpu; echo cpu $ cat /proc/stat |grep -w cpu; echo cpu 6465668 212104 1288498 158553905 5061378 949080 15399 0 On Tue, Oct 09, 2007 at 01:19:46AM -0300, Tony Abou-Assaleh wrote: I am unable to confirm this bug. GNU grep 2.5.3 from ftp.gnu.org and from Savannah CVS works fine with -w in that it does not imply -o. I tested this on Mac OS X and Debian under different locales. If you can reproduce this bug with the CVS or the release version, let me know. Cheers, TAA - Tony Abou-Assaleh Email:[EMAIL PROTECTED] Web site: http://tony.abou-assaleh.net --[THE END]-- On Sat, 1 Sep 2007, Justin Pryzby wrote: tag 440409 upstream confirmed forwarded 440409 [EMAIL PROTECTED] forcemerge 440409 439827 439931 440195 440342 thanks grep -w regression was reported again. On Sat, Sep 01, 2007 at 12:29:14PM +0200, Pierre Habouzit wrote: Package: grep Version: 2.5.3~dfsg-1 Severity: critical Justification: breaks unrelated software grep -w is completely broken as it does not print hits on separate lines like it should: $ /bin/grep -w p_new *.c archive.c:p_newarchive.c:p_newarchive.c:p_newarchive.c:p_newarchive.c:p_newarchive.c:p_newarray.c:p_newarray.c:p_newblob-iconv.c:p_newbtree.c:p_newbtree.c:p_newconcatbin.c:p_newfarch.c:p_newfifo.c:p_newint_array.c:p_newisndx.c:p_newisndx.c:p_newlog_limit.c:p_newlog_limit.c:p_newlog_limit.c:p_newmem-fifo-pool.c:p_newmmappedfile.c:p_newpaged-index.c:p_newstats-temporal.c:p_newtst-btree.c:p_newtst-isndx.c:p_newxml.c:p_new grep though does the right thing: $ /bin/grep p_new *.c archive.c:head = p_new(archive_head, 1); archive.c:file = p_new(archive_file, 1); archive.c:file-attrs = p_new(archive_file_attr *, file-nb_attrs); [...] This breaks scripts using grep -w and parsing the output very badly. ---End Message---
Bug#439827: marked as done (grep -vw segfault on word matches in UTF-8 locales)
Your message dated Tue, 9 Oct 2007 10:22:28 -0400 with message-id [EMAIL PROTECTED] and subject line Bug#440342: grep -w implies -o has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: grep Version: 2.5.3~dfsg-1 Severity: normal File: /bin/grep Hi, % echo -foo | grep -vw foo zsh: doneecho -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 0x0001 in ?? () #3 0x000a 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 ---End Message--- ---BeginMessage--- Version: 2.5.3~dfsg-3 grep -w was broken in a previous upload but fixed by this version. $ cat /proc/stat |./tmp/grep.unstable -w cpu; echo cpu $ cat /proc/stat |grep -w cpu; echo cpu 6465668 212104 1288498 158553905 5061378 949080 15399 0 On Tue, Oct 09, 2007 at 01:19:01AM -0300, Tony Abou-Assaleh wrote: I am unable to confirm this bug. GNU grep 2.5.3 from ftp.gnu.org and from Savannah CVS works fine with -w in that it does not imply -o. I tested this on Mac OS X and Debian under different locales. If you can reproduce this bug with the CVS or the release version, let me know. Cheers, TAA - Tony Abou-Assaleh Email:[EMAIL PROTECTED] Web site: http://tony.abou-assaleh.net --[THE END]-- On Fri, 31 Aug 2007, Justin Pryzby wrote: tag 440342 upstream confirmed forwarded 440342 [EMAIL PROTECTED] thanks This regression was reported for the new grep upload. On Fri, Aug 31, 2007 at 10:43:26AM -0700, Norbert Kiesel wrote: Package: grep Version: 2.5.3~dfsg-1 Severity: important There is a regression in this grep: a cat /proc/stat | grep -w cpu only shows the word cpu and not the whole line containing that word (i.e. it behaves as if I had run cat /proc/stat | grep -wo cpu). That makes -w pretty useless. grep-2.5.1.ds2-6 from Debian stable does not have this bug. ---End Message---
Bug#439827: marked as done (grep -vw segfault on word matches in UTF-8 locales)
Your message dated Thu, 06 Sep 2007 12:17:08 + with message-id [EMAIL PROTECTED] and subject line Bug#440195: fixed in grep 2.5.3~dfsg-2 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: grep Version: 2.5.3~dfsg-1 Severity: normal File: /bin/grep Hi, % echo -foo | grep -vw foo zsh: doneecho -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 0x0001 in ?? () #3 0x000a 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 ---End Message--- ---BeginMessage--- Source: grep Source-Version: 2.5.3~dfsg-2 We believe that the bug you reported is fixed in the latest version of grep, which is due to be installed in the Debian FTP archive: grep_2.5.3~dfsg-2.diff.gz to pool/main/g/grep/grep_2.5.3~dfsg-2.diff.gz grep_2.5.3~dfsg-2.dsc to pool/main/g/grep/grep_2.5.3~dfsg-2.dsc grep_2.5.3~dfsg-2_i386.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_i386.deb grep_2.5.3~dfsg-2_sparc.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_sparc.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Santiago Ruano Rincón [EMAIL PROTECTED] (supplier of updated grep package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Format: 1.7 Date: Thu, 06 Sep 2007 00:16:20 -0500 Source: grep Binary: grep Architecture: source i386 sparc Version: 2.5.3~dfsg-2 Distribution: unstable Urgency: low Maintainer: Anibal Monsalve Salazar [EMAIL PROTECTED] Changed-By: Santiago Ruano Rincón [EMAIL PROTECTED] Description: grep - GNU grep, egrep and fgrep Closes: 439827 440195 440342 Changes: grep (2.5.3~dfsg-2) unstable; urgency=low . * Removed 65-dfa-optional.patch. (Closes: #439827, #440195, #440342) Files: 10e134a513b2da9d4387b7a1615828e1 658 utils required grep_2.5.3~dfsg-2.dsc 3d3415551658ce3a14ec5c8fbbc93099 9921 utils required grep_2.5.3~dfsg-2.diff.gz cd8910ae221372381ab0d049fe1392fe 273106 utils required grep_2.5.3~dfsg-2_i386.deb 52f4af5006882f75c9f3de390050484f 276434 utils required grep_2.5.3~dfsg-2_sparc.deb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3+3tgY5NIXPNpFURAtK5AKCaKbCswT1zN6uZasHogD/9hivEkACfW5FW 5ZNbuhAUyGouDhnFdMQN/m4= =MPRI -END PGP SIGNATURE- ---End Message---
Bug#439827: marked as done (grep -vw segfault on word matches in UTF-8 locales)
Your message dated Thu, 06 Sep 2007 12:17:08 + with message-id [EMAIL PROTECTED] and subject line Bug#439827: fixed in grep 2.5.3~dfsg-2 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: grep Version: 2.5.3~dfsg-1 Severity: normal File: /bin/grep Hi, % echo -foo | grep -vw foo zsh: doneecho -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 0x0001 in ?? () #3 0x000a 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 ---End Message--- ---BeginMessage--- Source: grep Source-Version: 2.5.3~dfsg-2 We believe that the bug you reported is fixed in the latest version of grep, which is due to be installed in the Debian FTP archive: grep_2.5.3~dfsg-2.diff.gz to pool/main/g/grep/grep_2.5.3~dfsg-2.diff.gz grep_2.5.3~dfsg-2.dsc to pool/main/g/grep/grep_2.5.3~dfsg-2.dsc grep_2.5.3~dfsg-2_i386.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_i386.deb grep_2.5.3~dfsg-2_sparc.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_sparc.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Santiago Ruano Rincón [EMAIL PROTECTED] (supplier of updated grep package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Format: 1.7 Date: Thu, 06 Sep 2007 00:16:20 -0500 Source: grep Binary: grep Architecture: source i386 sparc Version: 2.5.3~dfsg-2 Distribution: unstable Urgency: low Maintainer: Anibal Monsalve Salazar [EMAIL PROTECTED] Changed-By: Santiago Ruano Rincón [EMAIL PROTECTED] Description: grep - GNU grep, egrep and fgrep Closes: 439827 440195 440342 Changes: grep (2.5.3~dfsg-2) unstable; urgency=low . * Removed 65-dfa-optional.patch. (Closes: #439827, #440195, #440342) Files: 10e134a513b2da9d4387b7a1615828e1 658 utils required grep_2.5.3~dfsg-2.dsc 3d3415551658ce3a14ec5c8fbbc93099 9921 utils required grep_2.5.3~dfsg-2.diff.gz cd8910ae221372381ab0d049fe1392fe 273106 utils required grep_2.5.3~dfsg-2_i386.deb 52f4af5006882f75c9f3de390050484f 276434 utils required grep_2.5.3~dfsg-2_sparc.deb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3+3tgY5NIXPNpFURAtK5AKCaKbCswT1zN6uZasHogD/9hivEkACfW5FW 5ZNbuhAUyGouDhnFdMQN/m4= =MPRI -END PGP SIGNATURE- ---End Message---
Bug#439827: marked as done (grep -vw segfault on word matches in UTF-8 locales)
Your message dated Thu, 06 Sep 2007 12:17:08 + with message-id [EMAIL PROTECTED] and subject line Bug#440342: fixed in grep 2.5.3~dfsg-2 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: grep Version: 2.5.3~dfsg-1 Severity: normal File: /bin/grep Hi, % echo -foo | grep -vw foo zsh: doneecho -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 0x0001 in ?? () #3 0x000a 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 ---End Message--- ---BeginMessage--- Source: grep Source-Version: 2.5.3~dfsg-2 We believe that the bug you reported is fixed in the latest version of grep, which is due to be installed in the Debian FTP archive: grep_2.5.3~dfsg-2.diff.gz to pool/main/g/grep/grep_2.5.3~dfsg-2.diff.gz grep_2.5.3~dfsg-2.dsc to pool/main/g/grep/grep_2.5.3~dfsg-2.dsc grep_2.5.3~dfsg-2_i386.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_i386.deb grep_2.5.3~dfsg-2_sparc.deb to pool/main/g/grep/grep_2.5.3~dfsg-2_sparc.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Santiago Ruano Rincón [EMAIL PROTECTED] (supplier of updated grep package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Format: 1.7 Date: Thu, 06 Sep 2007 00:16:20 -0500 Source: grep Binary: grep Architecture: source i386 sparc Version: 2.5.3~dfsg-2 Distribution: unstable Urgency: low Maintainer: Anibal Monsalve Salazar [EMAIL PROTECTED] Changed-By: Santiago Ruano Rincón [EMAIL PROTECTED] Description: grep - GNU grep, egrep and fgrep Closes: 439827 440195 440342 Changes: grep (2.5.3~dfsg-2) unstable; urgency=low . * Removed 65-dfa-optional.patch. (Closes: #439827, #440195, #440342) Files: 10e134a513b2da9d4387b7a1615828e1 658 utils required grep_2.5.3~dfsg-2.dsc 3d3415551658ce3a14ec5c8fbbc93099 9921 utils required grep_2.5.3~dfsg-2.diff.gz cd8910ae221372381ab0d049fe1392fe 273106 utils required grep_2.5.3~dfsg-2_i386.deb 52f4af5006882f75c9f3de390050484f 276434 utils required grep_2.5.3~dfsg-2_sparc.deb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3+3tgY5NIXPNpFURAtK5AKCaKbCswT1zN6uZasHogD/9hivEkACfW5FW 5ZNbuhAUyGouDhnFdMQN/m4= =MPRI -END PGP SIGNATURE- ---End Message---