[openamq-dev] porting to Ubuntu
Jonathan Schultz
jonathan at imatix.com
Fri Aug 17 04:17:51 CEST 2007
Nick,
Congratulations you seem to have stumbled on a hitherto undetected race
condition in the SMT initialisation code. I'll come up with a patch for
you to try in a few hours.
Out of interest, can you tell us what hardware and kernel version you
are using?
Regards,
Jonathan
Nick Levine wrote:
> Martin,
>
> Re:
>
> (gdb) thread 2
> [Switching to thread 2 (Thread -1218819184 (LWP 27292))]#0 0xffffe410 in __kernel_vsyscall ()
> (gdb) bt
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0xb7f275c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
> #2 0xb6ca46a7 in smt_wait (msecs=0) at /home/philip/wiinz/OpenAMQ-1.2c1/base-2.2b1/_install/include/icl.h:2014
> #3 0xb6ca5276 in smt_initialise () at smt_os_thread.c:1765
> #4 0xb6b7093e in amq_client_connection_new_ (file=0x805e060 "", line=0, host=0x805e030 "localhost", virtual_host=0x805e048 "/", auth_data=0x8075728,
> instance=0x805e050 "test", trace=3, timeout=10000) at amq_client_connection.c:1663
> #5 0x200638ed in ?? ()
> #6 0x0805e060 in ?? ()
> #7 0x00000000 in ?? ()
>
>
> Another data point: I put a breakpoint in smt_wait, started my
> application (so it breaks in gdb), continued from the break, ... and
> everything just worked. There's some sort of thread-locking going in
> here...
>
> Any thoughts?
>
> - nick
>
>
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
>
>
More information about the openamq-dev
mailing list