logo       

Re: Threaded runtime error: msg#00123

lang.haskell.glasgow.bugs

Subject: Re: Threaded runtime error

* Volker Stolz <stolz@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:
> timeout@menelaos [20:17:08]> ./timeout 10 /usr/bin/true
> FFatal error '_pq_insert_tail: Already in priority queue' at line 200 in file
> /usr/src/lib/libpthread/thread/thr_priority_queue.c (errno = 0)

A workaround seems to use another threading library here. Both
libthr and libc_r work at least for this small example.

The error occurs on createOSThread(). I'm not sure where exactly
(ie., for the child or the parent, but I guess the child).
I'll keep on looking.
--
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
"All the excitement lies in pattern matching." (SPJ et al.)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise