[qmtest] Any known problems with qmtest running threaded programs?

Mark Mitchell mark at codesourcery.com
Thu Sep 8 10:10:47 UTC 2005


Wichmann, Mats D wrote:

> I'm wondering if there are known issues with running
> testcases that do moderately stressful things with
> threads under qmtest? Or is this likely to be something
> completely different? I don't see anything in the
> issue tracker that jumps out at me... proving hard
> to trace this as it doesn't happen consistently,
> and of course I'm one of the people who can't
> reproduce it at all (sigh).

I'm not aware of anything in QMTest that would cause this.

The error you give is very weird, as I would think that QMTest would
only get ECHILD if somehow the child process (i.e.,
_thread_pthread2.exe) had somehow been re-parented by the kernel to some
other process.  And, that's not supposed to happen.  My suggestion would
be to run just that test (using "qmtest run name-of-test") a bunch of
times to see if you can get the error.  If it's reproducible that way,
then, try "strace qmtest run name-of-test" (or "strace -f") to see if
can figure out what's going on.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304



More information about the qmtest mailing list