[qmtest] Occasional Errno 10 with RedirectedExecutable
Stefan Seefeld
stefan at codesourcery.com
Mon Dec 5 21:06:45 UTC 2005
Allyn,
the issue tracker URL is https://support.codesourcery.com/QMTest .
Let me know if you want me to reset your password. Please submit a bug report
there so we can follow up in detail.
Allyn Dimock wrote:
[...]
> This happens with a subset of the tested programs, some of the time.
>
> The programs that it happens to are all ones that spawn multiple threads
> and communicate through sockets (they are designed to run on up to 1 CPU
> per thread across a cluster, but are built for this test to all run on a
> single CPU). I don't know if this is relevant: I looked at /proc
> during one failing run and didn't see socket used getting anywhere close
> to the maximum, nor memory usage or anything else that I could think of.
waitpid() generates an ECHILD error if the specified pid eiher doesn't exist
or does not refer to a child process of the calling process (i.e. qmtest
itself). It may also happen if the parent process masks SIGCHLD. Apparently
on some platforms spawning multiple threads will modify the thread-specific
signal masks...
Until we can figure out the cause of the problem, could you consider using
the ProcessTarget instead of the ThreadTarget that the '-j' option implies ?
Regards,
Stefan
More information about the qmtest
mailing list