also, the "sleeping" usually show
#0 0x282bead6 in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x282b4948 in pthread_yield () from /usr/lib/libc_r.so.5
#2 0x0807fce2 in ost::ThreadImpl::ThreadExecHandler (th=0x81be500) at
thread.cpp:1099
#3 0x282b7009 in _thread_start () from /usr/lib/libc_r.so.5
#4 0x00000000 in ?? ()
on the gdb backtrace.
does this help?
shie
Shie Erlich wrote:
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
<[EMAIL PROTECTED]>
.................
_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-commoncpp