FIXED! (was Re: Linux emulation)

Jeroen Ruigrok/asmodai asmodai at
Tue Aug 19 22:09:57 PDT 2003

-On [20030820 07:02], Matthew Dillon (dillon at xxxxxxxxxxxxxxxxxxxx) wrote:
>    It's fixed.  It took a very long time to track down.  I had to fetch
>    the debian source packages for glibc to figure out where it was dying.

I was working from 2.2.4 glibc sources as well.

>    It was a my-bad.  I thought I had maintained the zeroing of %edx on
>    program startup but I forgot that system calls load the return value
>    into %eax,%edx and this was overriding the zero'd out registers.

At first I was thinking it might be a function in the linux_file.c or
linux_misc.c, so I was spending a lot of time there, adding debugging
stuff.  Only thing I could think of was with the termination of the
code.  Glad you could find it.

>    Linux needs %edx to be NULL on program startup.  If it isn't linux
>    registers it as an atexit() function.

Heh, spiffy.

>    I still can't completely install linux_base-6, but I'm hoping the
>    remaining issues are not OS-related.  Perhaps Jeroen can take it up
>    from here now that I fixed the my-bad.

I'll hunt it down...  Thanks Matt.

Jeroen Ruigrok van der Werven <asmodai(at)> / asmodai
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B   |
The spirit indeed is willing, but the flesh is weak...

More information about the Bugs mailing list