wget segfaults (busybox-1.4.1/uclibc)
Natanael Copa
natanael.copa at gmail.com
Thu Feb 8 01:28:20 PST 2007
On Wed, 2007-02-07 at 22:26 +0100, Denis Vlasenko wrote:
> On Wednesday 07 February 2007 10:33, Natanael Copa wrote:
> > Hi,
> >
> > I just discovered that busybox wget segfaults in my
> > gentoo/hardened/uclibc environment.
more info, from gdb:
al-1.5 busybox-1.4.1 # gdb ./busybox_unstripped
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-gentoo-linux-uclibc"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args wget http://
(gdb) run
Starting program: /var/tmp/portage/busybox-1.4.1-r1/work/busybox-1.4.1/busybox_unstripped wget http://
warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
Program received signal SIGSEGV, Segmentation fault.
bb_get_last_path_component (path=0x811074d "")
at libbb/get_last_path_component.c:29
29 last[1] = 0;
(gdb) bt
#0 bb_get_last_path_component (path=0x811074d "")
at libbb/get_last_path_component.c:29
#1 0x08096d39 in wget_main (argc=2, argv=0x810649d) at networking/wget.c:193
#2 0x080484ad in run_applet_by_name (name=0x8116a28 "F\035\017\b�k\t\b\003",
argc=134514459, argv=0xffab2c98) at applets/applets.c:489
#3 0x0804871b in busybox_main (argc=3, argv=0xffab2c94)
at applets/busybox.c:143
#4 0x08048415 in run_applet_by_name (name=0xffab3b49 "busybox_unstripped",
argc=134513955, argv=0xffab2c94) at applets/applets.c:480
#5 0x08048523 in main (argc=-5559148, argv=0xffab2c94) at applets/busybox.c:72
(gdb)
More information about the busybox
mailing list