[openamq-dev] porting to Ubuntu

Martin Sustrik sustrik at imatix.com
Wed Aug 15 16:17:53 CEST 2007


>    2. May you have a look at what are individual threads doing
>    (backtraces would be ideal) when the app hangs?
> 
> Hmm. Can I do that without having to attack it with a debugger? 

Not really. Two possibilities:

1. Run it under gdb (you have debug build anyway, so it shouldn't be 
much work), use "info threads" to find what threads are running, "thread 
X" to switch to thread X, and "bt" to print the backtrace the current 
thread.

2. Make a simple test code that exhibits the behaviour. (As 
amq_client_connection_new is normally the first function to call, it 
should be few lines of code.) and send it to us.

Martin


More information about the openamq-dev mailing list