[BusyBox] argc corruption Invoking busybox

David Laurin dave at veriwave.com
Fri Jan 3 13:03:05 UTC 2003


Thanks very much

-----Original Message-----
From: Fabrice Gautier [mailto:Fabrice_Gautier at sdesigns.com] 
Sent: Friday, January 03, 2003 11:17 AM
To: 'David Laurin'; busybox at busybox.net
Subject: RE: [BusyBox] argc corruption Invoking busybox


This is a uClibc bug, I've seen the fix in cvs (cf the file
libc/sysdeps/linux/arm/crt0.S)

Regards 

-- 
Fabrice Gautier, 
Fabrice_Gautier at sdesigns.com 


-----Original Message-----
From: David Laurin [mailto:dave at veriwave.com]
Sent: Friday, January 03, 2003 8:37 AM
To: busybox at busybox.net
Subject: [BusyBox] argc corruption Invoking busybox


I am trying to boot ARM Linux version 2.4.18-rmk7 and busybox-0.60.5.
I'm
using uClibc-0.9.16 to build busybox.
 
Symptom is a crash dump upon entry into busybox init_main. 
 
After some investigating I discovered that the vale of argc, which
should
have been 1, is 0x498d0.
 
 I have verified that argc is correct in linux exec.c
search_binary_handler.
But upon entry into busybox.c main argc is corrupted.
 
Any insight into what is going on would be very helpful.
 
Included is a boot dump with some added debug messages.
 
Thank you
Dave
[...]
 




More information about the busybox mailing list