Hello!<br><br> I've made one module with one api function and one app function. I added one extension to call my app. I only print a console message whitin the app function. If I unload the module, make one change on the code, compile, install an reaload the module, when calling the extension which exec the app I get a core. I can see with gdb:<br>
<br>----------------------------------<br>#0 0x00b20010 in switch_core_session_run (session=0x87be678)<br> at src/switch_core_state_machine.c:338<br>338 STATE_MACRO(init, "INIT");<br>
(gdb) bt full<br>#0 0x00b20010 in switch_core_session_run (session=0x87be678)<br> at src/switch_core_state_machine.c:338<br> index = 2<br> global_proceed = 1<br> state = <value optimized out><br>
endstate = 12771850<br> endpoint_interface = <value optimized out><br> driver_state_handler = 0x65a660<br> application_state_handler = 0x3910e0<br> new_loops = 59994<br> __PRETTY_FUNCTION__ = "switch_core_session_run"<br>
__func__ = "switch_core_session_run"<br>#1 0x00b1ac16 in switch_core_session_thread (thread=0x873a250, obj=0x87be678)<br> at src/switch_core_session.c:1162<br> session = 0x87be678<br> event = <value optimized out><br>
event_str = 0x0<br> val = 0x0<br> __func__ = "switch_core_session_thread"<br> __PRETTY_FUNCTION__ = "switch_core_session_thread"<br>#2 0x00ba2456 in dummy_worker (opaque=0x873a250)<br>
at threadproc/unix/thread.c:138<br>No locales.<br>---Type <return> to continue, or q <return> to quit---<br>#3 0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0<br>No symbol table info available.<br>
#4 0x001f6a0e in clone () from /lib/tls/i686/cmov/libc.so.6<br>No symbol table info available.<br><br>----------------------------------<br><br>But I don't see which could be the problem. Any idea?<br><br>Regards<br>