(gdb) bt full
#0 0x081268fd in __ast_pthread_mutex_lock (filename=0x3c53e8 "res_jabber.c", lineno=2244, func=0x3c82c9 "aji_dinfo_handler",
mutex_name=0x3c58e9 "&(buddy)->_lock", t=0xc0c) at lock.c:163
res = 4529220
lt = 0xb69fccf8
canlog = 0
bt = 0x0
__PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock"
#1 0x003b8ae1 in aji_dinfo_handler (data=0xb6a18fe8, pak=0x85dd030) at res_jabber.c:2244
newcount = 0
client = 0xb6a18fe8
__PRETTY_FUNCTION__ = "aji_dinfo_handler"
node = 0x0
resource = 0x0
buddy = 0x0
#2 0x00456a8a in iks_filter_packet () from /usr/lib/libiksemel.so.3
No symbol table info available.
#3 0x003b5bc0 in aji_act_hook (data=0xb6a18fe8, type=1, node=0x864265c) at res_jabber.c:1818
client = 0xb6a18fe8
__PRETTY_FUNCTION__ = "aji_act_hook"
pak = 0x85dd030
auth = 0x0
features = 0
#4 0x00454b20 in ?? () from /usr/lib/libiksemel.so.3
No symbol table info available.
#5 0x00452dd3 in iks_parse () from /usr/lib/libiksemel.so.3
No symbol table info available.
#6 0x003b3939 in aji_recv (client=0xb6a18fe8, timeout=1) at res_jabber.c:1425
len = 168
ret = 0
buf = "", '\000'
newbuf = "", '\000'
pos = 0
newbufpos = 0
c = 62 '>'
__PRETTY_FUNCTION__ = "aji_recv"
#7 0x003bb3b8 in aji_recv_loop (data=0xb6a18fe8) at res_jabber.c:2803
client = 0xb6a18fe8
__PRETTY_FUNCTION__ = "aji_recv_loop"
res = 12
#8 0x081addfd in dummy_start (data=0xb6a17cb0) at utils.c:1010
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {5496820, 0, 4001536, -1231031400, -409129985, -306006910}, __mask_was_saved = 0}},
__pad = {0xb69ff454, 0x0, 0x0, 0x0}}
__cancel_routine = 0x807cbe5
__cancel_arg = 0xb69ffb70
not_first_call = 0
ret = 0x0
a = {start_routine = 0x3bb1bb , data = 0xb6a18fe8,
name = 0xb6a18280 "aji_recv_loop started at [ 4766] res_jabber.c aji_reload()"}
lock_info = 0x84bfb70
mutex_attr = {__size = "\001\000\000", __align = 1}
#9 0x0052d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#10 0x00e9198e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.