Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 23:20:54 +0200
From:      Joan Picanyol <lists-freebsd-current@biaix.org>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Thread problems
Message-ID:  <20040830212054.GA42772@grummit.biaix.org>
In-Reply-To: <41336B5E.7080000@drexel.edu>
References:  <41336B5E.7080000@drexel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Justin Smith <jsmith@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040830212054.GA42772>