Threaded runtime error

Simon Marlow simonmarhaskell at
Wed Mar 22 06:12:16 EST 2006

Volker Stolz wrote:
> * Volker Stolz <stolz at>:
>>timeout at 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.

If you can get me a backtrace, that would be most helpful.


More information about the Glasgow-haskell-users mailing list