[Bug 4550] Segfault in Busybox while installing Ubuntu 11.10

bugzilla at busybox.net bugzilla at busybox.net
Tue Dec 20 01:31:11 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4550

--- Comment #12 from Denys Vlasenko <vda.linux at googlemail.com> 2011-12-20 01:31:11 UTC ---
>> In the initrd.gz I found a Shell script named init, that execs '/bin/busybox
>> init'.
>
>Looks like it uses init applet. Can you show the entire script verbatim?
>
>Can you post the /etc/inittab file?

I still need the script and /etc/inittab file.



(In reply to comment #9)
> I downloaded busybox-1.19.3 source, built it (static), then put
> busybox_unstripped into the initrd as busybox.
> I re-produced the crash and got "busybox[1]: segfault at 1a08 ip 00001a08 sp
> bfe033b4 error 4"
> and then again 
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: busybox Not tainted 3.0.0-12-generic #20-Ubuntu
> 
> But:
> gdb busybox-1.19.3/busybox_unstripped
> (gdb) disas 0x00001a08
> No function contains specified address.
> (gdb) disas 0x00001a00,0x00002000
> Dump of assembler code from 0x1a00 to 0x2000:
>    0x00001a00:    Cannot access memory at address 0x1a00
> 
> Please advise.

I can only propose that you patch init.c (add debug printouts) and help to
diagnose the problem.

See attached 6.patch
Please apply it, recompile, repeat the boot, and let me know what messages do
you see.

-- 
vda

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list