[uClibc]execve segfaults

Ronald Wahl rwa at peppercon.com
Thu Jun 27 12:50:04 UTC 2002


On Wed, 26 Jun 2002 17:33:50 -0600, Erik Andersen wrote:

> On Thu Jun 27, 2002 at 12:17:47AM +0200, Ronald Wahl wrote:
>> On Wed, 26 Jun 2002 16:09:01 -0600, Erik Andersen wrote:
>> 
>> > Hmm.  Well for starters, you can rule out the shared lib loader 
>> > by compiling busybox staticly (edit busybox/Makefile and set 
>> > DOSTATIC = true) and then testing if you still see the problem.
>> 
>> The problem occurs only with dynamically linked programs. So I think it
>> is _in_ the shared lib loader. Maybe I should try the loader from glibc
>> to be sure. 

> I have limited access to one powerpc system out on the net, 
> so I'll try it out there now and see how it behaves.
> [...]
> So everything works just perfectly for me on this powerpc system.
> Wish I could help you, but i'm just not seeing the problem,

Now - after some hours searching and testing - here too. :-) The reason
was the following: Between linux 2.4.2 and 2.4.5 the alignment of the
aux data - that follows the arguments and the environment on the stack -
changed. Now I backported the changes and now everything runs
perfectly. But thanks for testing it.

ron

-- 
\\      Dipl.-Inf. Ronald Wahl   |   Peppercon AG                  //
 \\\         rwa at peppercon.com  |||  http://www.peppercon.com/   /// 
  \OO  -----------------------  OOO  -------------------------  OO/ 
   OO  GnuPG/PGP key available  OOO  Keep Systems running       OO



More information about the uClibc mailing list