Assertion failure when calling pjsip_endpt_destroy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I got the following assertion failure when my application shutdown:
../src/pj/timer.c:463: pj_timer_heap_schedule: Assertion `entry->cb !=  
((void *)0)' failed.

The backtrace reveals the following:

#0  0x00007f47505f0ed5 in raise () from /lib/libc.so.6

#1  0x00007f47505f23f3 in abort () from /lib/libc.so.6

#2  0x00007f47505e9dc9 in __assert_fail () from /lib/libc.so.6

#3  0x00007f474cd4a24f in pj_timer_heap_schedule () from /home/denis/ 
work/pypjua/pypjua/_pjsip.so

#4  0x00007f474cd071b0 in tsx_set_state () from /home/denis/work/ 
pypjua/pypjua/_pjsip.so

#5  0x00007f474cd08b65 in pjsip_tsx_terminate () from /home/denis/work/ 
pypjua/pypjua/_pjsip.so

#6  0x00007f474cd08c4d in mod_tsx_layer_stop () from /home/denis/work/ 
pypjua/pypjua/_pjsip.so

#7  0x00007f474ccfbd1f in pjsip_endpt_destroy () from /home/denis/work/ 
pypjua/pypjua/_pjsip.so




I realize this will probably go away when compiling for release, but  
still it's something that probably should not happen. Any idea what's  
causing this? I'm trying to see if it's being caused by me not calling  
pjsip_tsx_layer_destroy(), but as far as I can see this just causes  
the stop() and unload() functions of the module to be called, which is  
also being done by pjsip_endpt_destroy().



Ruud Klaver

AG Projects



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux