[asterisk-ss7] Libss7 crash on debugging

Matthew Fredrickson creslin at digium.com
Tue Aug 21 10:18:12 CDT 2007


TCB wrote:
> My libss7(Revision: 95) crashes when I enable debugging (ss7 debug linkset
> X) . Below is an except from the bt.

Can you recompile asterisk and the modules with debug support enabled... 
so your stack trace has a better chance of something usable in it?

Matthew Fredrickson


> 
> Thread 2 (process 12231):
> #0  0xb71c52d2 in poll () from /lib/libc.so.6
> #1  0x08082bb3 in ast_waitfor_nandfds (c=0xb6492930, n=2, fds=0x0, nfds=0,
> ---Type <return> to continue, or q <return> to quit---
>     exception=0x0, outfd=0x0, ms=0xb6493854) at channel.c:1896
> #2  0x08082f0f in ast_waitfor_n (c=0xb6492930, n=2, ms=0xb6493854)
>     at channel.c:1958
> #3  0xb6ac40a6 in wait_for_answer (in=0x82f9f58, outgoing=0x82f9d88,
>     to=0xb6493854, peerflags=0xb64938a0, pa=0xb6493070, num_in=0xb6493840,
>     result=0xb6493060) at app_dial.c:596
> #4  0xb6ac8142 in dial_exec_full (chan=0x82f9f58, data=0xb6497aa0,
>     peerflags=0xb64938a0, continue_exec=0x0) at app_dial.c:1496
> #5  0xb6ac982a in dial_exec (chan=0x82f9f58, data=0xb6497aa0)
>     at app_dial.c:1825
> #6  0x080c70ea in pbx_exec (c=0x82f9f58, app=0x829c528, data=0xb6497aa0)
>     at pbx.c:565
> #7  0x080c9f3e in pbx_extension_helper (c=0x82f9f58, con=0x0,
>     context=0x82fa184 "default", exten=0x82fa1d4 "085625601", priority=2,
>     label=0x0, callerid=0x82fabf8 "562300001", action=E_SPAWN) at pbx.c:1788
> #8  0x080cbb51 in ast_spawn_extension (c=0x82f9f58,
>     context=0x82fa184 "default", exten=0x82fa1d4 "085625601", priority=2,
>     callerid=0x82fabf8 "562300001") at pbx.c:2279
> #9  0x080cc03f in __ast_pbx_run (c=0x82f9f58) at pbx.c:2379
> #10 0x080cce67 in pbx_thread (data=0x82f9f58) at pbx.c:2607
> #11 0x0810b576 in dummy_start (data=0x82fb100) at utils.c:546
> #12 0xb7db7a08 in pthread_start_thread () from /lib/libpthread.so.0
> #13 0xb71cdb2a in clone () from /lib/libc.so.6
> 
> Thread 1 (process 12214):
> #0  0x30303030 in ?? ()
> #1  0x30303030 in ?? ()
> #2  0x30303030 in ?? ()
> #3  0x30303030 in ?? ()
> #4  0x30303030 in ?? ()
> #5  0x30303030 in ?? ()
> #6  0x30303030 in ?? ()
> #7  0x30303030 in ?? ()
> #8  0x30303030 in ?? ()
> #9  0x30303030 in ?? ()
> #10 0x30303030 in ?? ()
> #11 0x00303030 in ?? ()
> #12 0x0000000b in ?? ()
> #13 0x082fd327 in ?? ()
> #14 0xb6c8215c in ?? () from /usr/lib/libss7.so.1
> #15 0xb6c39c38 in ?? ()
> #16 0xb6c7e865 in isup_dump (ss7=Cannot access memory at address 0x30303038
> ) at isup.c:1160
> Previous frame inner to this frame (corrupt stack?)
> (gdb)

-- 
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.



More information about the asterisk-ss7 mailing list