Does anybody know how to use Pth with Hans Boehm's libgc?

libgc has wrappers for other thread systems, but when I link a program
against both libpth and libgc, and run it, I get a segfault in
pth_init():

Program received signal SIGSEGV, Segmentation fault.
0x402136e1 in __errno_location () from /lib/libpthread.so.0
(gdb) bt
#0  0x402136e1 in __errno_location () from /lib/libpthread.so.0
#1  0x400d3878 in sigprocmask () from /lib/libc.so.6
#2  0x400978ad in __pth_scheduler () from /usr/lib/libpth.so.13
#3  0x4009a39e in pth_ctrl () from /usr/lib/libpth.so.13
#4  0x400f2834 in makecontext () from /lib/libc.so.6
(gdb)

This is on Debian GNU/Linux.  More details available, if you have
specific questions to ask.

Thanks for any advice you can offer.

-- 
 Gordon Matzigkeit <[EMAIL PROTECTED]>  //\ I'm a FIG (http://fig.org/)
Committed to freedom and diversity \// I use GNU (http://fig.org/gnu/)
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to