Re: Thread problems

From: Joan Picanyol <lists-freebsd-current_at_biaix.org>
Date: Mon, 30 Aug 2004 23:20:54 +0200
* 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_at_:/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
Received on Mon Aug 30 2004 - 19:22:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC