Thread problems

Joan Picanyol lists-freebsd-current at biaix.org
Mon Aug 30 14:22:46 PDT 2004


* Justin Smith <jsmith at drexel.edu> [20040830 20:01]:
> FreeBSD jsmith.org 5.3-BETA2 FreeBSD 5.3-BETA2 #0: Mon Aug 30 06:37:58 
> EDT 2004     root@:/usr/obj/usr/src/sys/MYKERNEL  i386
> 
> The pan newsreader (recompiled) crashes on startup:
> 
> 
> GThread-ERROR **: file gthread-posix.c: line 137 (): error 'No such 
> process' during 'pthread_getschedparam (pthread_self(), &policy, &sched)'
> aborting...
> Abort trap (core dumped)

ldd `whereis pan` will show that your binary is linked against to thread
libraries. A quick workaround is to add the following to libmap.conf:

     libc_r.so.5             libpthread.so.1 # Everything that uses 'libc_r'
     libc_r.so               libpthread.so   # now uses 'libpthread'

qvb
-- 
pica


More information about the freebsd-current mailing list