Bug#531600: busybox grep gives SEGV on ppc
Package: busybox-static
Version: 1:1.10.2-2
`busybox grep' crashes with a segmentation fault, on both ppc32 and ppc64:
| # busybox grep
| Segmentation fault
| #
Backtrace (on ppc64):
| # gdb -args busybox grep
| GNU gdb 6.8-debian
| Copyright (C) 2008 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law. Type "show copying"
| and "show warranty" for details.
| This GDB was configured as "powerpc-linux-gnu"...
| (no debugging symbols found)
| (gdb) run
| Starting program: /bin/busybox grep
| (no debugging symbols found)
|
| Program received signal SIGSEGV, Segmentation fault.
| 0x100c2778 in ?? ()
| (gdb) bt
| #0 0x100c2778 in ?? ()
| #1 0x100c2768 in ?? ()
| #2 0x10136fcc in ?? ()
| #3 0x100c2a3c in ?? ()
| #4 0x100c2a6c in ?? ()
| #5 0x100c2cf0 in ?? ()
| #6 0x100c2d7c in ?? ()
| #7 0x10019870 in ?? ()
| #8 0x10019a10 in ?? ()
| #9 0x00000000 in ?? ()
| (gdb)
As the busybox binary is copied into the initramfs, this affects the creation
of initrds when installing a new kernel image.
The version in sid (1:1.13.3-1) doesn't seem to have this bug anymore.
With kind regards,
Geert Uytterhoeven
Software Architect
Techsoft Centre
Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
Reply to: