bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threading issue on freebsd 5.3


From: Shie Erlich
Subject: Re: threading issue on freebsd 5.3
Date: Tue, 21 Jun 2005 17:20:51 +0300
User-agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513)

hi again,
tried again, this time using libthr (no pthread yet, will explain later).
this time, it hangs on _thread_kern_sched

any help? plz? :-)

shie

Shie Erlich wrote:

i'm using 1.3.9, and yes, my system had libc_r. is there any problem with it? i'm not a bsd user, but i read on the net, that libc_r is the tried-and-tested one.

am i wrong here ?

thanks,
shie

David Sugar wrote:

Which version of common c++? It looks like you have libc_r linked in (user mode) rather than libpthread...

Shie Erlich wrote:

hi guys,

i have an application that was written on linux and runs flawlessly.

on freebsd, the threads just don't start.

i start them with start(), but on FreeBSD, they seem to hang

on _thread_start. i know this because

a) doing 'info threads' in gdb, shows that main() runs as expected, but all other threads are at _thread_start

b) my run() method is not called


(gdb) info threads
7 Process 2541, Thread 7 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5 6 Process 2541, Thread 6 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5 5 Process 2541, Thread 5 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5 4 Process 2541, Thread 4 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5 3 Process 2541, Thread 3 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5 2 Process 2541, Thread 2 0x282b2fdc in _thread_start () from /usr/lib/libc_r.so.5
* 1 Process 2541, Thread 1  0x2821c697 in poll () from /lib/libc.so.5



Any ideas would be _greatly_ appriciated

thanks in advance,





--
.................
Shie Erlich
Zend Technologies
<address@hidden>
.................





reply via email to

[Prev in Thread] Current Thread [Next in Thread]