[BusyBox] [PATCH] 1.0-rc1 rmmod SIGSEGV

Mike Snitzer snitzer at gmail.com
Tue Jul 20 18:05:20 UTC 2004


Please see the attached patch for the following crash with busybox'
2.6 rmmod support:
(gdb) run rmmod sd_mod
Starting program: /home/snitm/busybox/busybox-1.00-rc1/busybox rmmod sd_mod

Program received signal SIGSEGV, Segmentation fault.
0x4009d24b in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0  0x4009d24b in strlen () from /lib/tls/libc.so.6
#1  0x08074029 in bb_strlen (string=0x3 <Address 0x3 out of bounds>)
    at libbb/xfuncs.c:186
#2  0x080556e0 in rmmod_main (argc=2, argv=0xbffffa54) at modutils/rmmod.c:110
#3  0x0804b3a5 in run_applet_by_name (name=0xbffffb61 "rmmod", argc=2, 
    argv=0xbffffa54) at applets/applets.c:164
#4  0x0804af94 in main (argc=2, argv=0xbffffa54) at applets/busybox.c:94

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.00-rc1_rmmod.patch
Type: application/octet-stream
Size: 724 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040720/149e5c54/attachment.obj 


More information about the busybox mailing list