Re: glibc 2.2 vs 2.3 issue back again



Denes Molnar <molnar@xxxxxxxxxxxxxxxxxx> writes:

> My other guess is that it is something with the threads. For one, I
> keep getting "defunct" processes, even when the main executable is
> still running. According to the strace logs, the front-end would start
> sending "Y" through the pipe to the kernel but that fails with "broken
> pipe" (EPIPE) - I guess because by then the other process is dead. It
> would be useful to try a libc-2.3 but kernel-2.4 system as a baseline.

The 'strace -f' doesn't work nicely with LinuxThreads.

I have not analyzed this in detail, but I believe this is because
strace does 'waitpid()' in a loop, and sometimes collects clone()d
processes that the thread_manager thread itself is expecting
to collect.

However, this shouldn't be the case for NPTL (you have been tracing
with NPTL, right?)

> ** Paul, which Fedora version do you have? **

I have everything :)
Well, I have FC2 and FC4 readily available (booted up).

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.



Relevant Pages

  • Re: dynamic linker problem with libpthread.so.0?
    ... > - I used strace to see what is happening when I try to run my 'hello thread' ... There might be other reasons for loader to reject this libpthread.so.0, ... John Reiser probably can help us here. ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.system)
  • Re: problem with new kernel
    ... How do I get NPTL built into the kernel. ... Above the big strace is where I ... Another example is thread local storage; emulation is ...
    (Linux-Kernel)
  • Re: ptrace and child argv envp address
    ... I will check the strace code to find whether ... process (without changing the child process). ... observe that strace knows argv and envp just ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.system)
  • Re: strace causing a core dump ?
    ... > I can't help concluding there must be something fishy about strace. ... Strace (as well as gdb) greatly affects timing. ... Try running your program under gdb -- if you are lucky, the bug ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.apps)
  • Re: list of disks
    ... You can find out *exactly* what fdisk does by: ... - reading its source ... running it under strace. ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)