If you’re able to crash it on demand like this and you can replicate it with git master please create a test case, file a ticket http://jira.freeswitch.org -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Mar 4, 2014, at 4:49 AM, Georgi Stefanov <georgi_mei@abv.bg> wrote:
Hello All,
Recently I have played with mod_event_socket on Freeswitch. I have noticed that when I try to make fast calls 100 calls per second Freeswitch makes core files. When I do not use mod_event_socket, but I use IVR capabilities of FS I have no core files and event I have succeeded to make 150 calls per second
Here is some backtrace extract. The interesting thing is that FS crashes on different code every time.
[New process 12374] #0 0x0050d410 in __kernel_vsyscall () (gdb) bt #0 0x0050d410 in __kernel_vsyscall () #1 0x001dcd80 in raise () from /lib/libc.so.6 #2 0x001de691 in abort () from /lib/libc.so.6 #3 0x001d61fb in __assert_fail () from /lib/libc.so.6 #4 0x06b6322b in ?? () from /usr/lib/libfreeswitch.so.1 #5 0x06b64766 in switch_event_dup () from /usr/lib/libfreeswitch.so.1 #6 0x06b0debd in switch_channel_get_variables () from /usr/lib/libfreeswitch.so.1 #7 0x06b0e48c in switch_channel_execute_on () from /usr/lib/libfreeswitch.so.1 #8 0x06b1afc6 in switch_channel_perform_mark_answered () from /usr/lib/libfreeswitch.so.1 #9 0x06b1b2e7 in switch_channel_perform_answer () from /usr/lib/libfreeswitch.so.1 #10 0x00409c97 in ?? () from /usr/lib/freeswitch/mod/mod_dptools.so #11 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #12 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #13 0x06baabd1 in switch_ivr_parse_event () from /usr/lib/libfreeswitch.so.1 #14 0x06baca10 in switch_ivr_park () from /usr/lib/libfreeswitch.so.1 #15 0x0011a9ca in ?? () from /usr/lib/freeswitch/mod/mod_event_socket.so #16 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #17 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #18 0x06b41102 in switch_core_session_run () from /usr/lib/libfreeswitch.so.1 #19 0x06b3ab2a in ?? () from /usr/lib/libfreeswitch.so.1 #20 0x06b36c99 in ?? () from /usr/lib/libfreeswitch.so.1 #21 0x06bf0866 in ?? () from /usr/lib/libfreeswitch.so.1 #22 0x0032e49b in start_thread () from /lib/libpthread.so.0 #23 0x0028542e in clone () from /lib/libc.so.6
[New process 18329] #0 0x00bb4410 in __kernel_vsyscall () (gdb) bt #0 0x00bb4410 in __kernel_vsyscall () #1 0x001dcd80 in raise () from /lib/libc.so.6 #2 0x001de691 in abort () from /lib/libc.so.6 #3 0x001d61fb in __assert_fail () from /lib/libc.so.6 #4 0x06b6322b in ?? () from /usr/lib/libfreeswitch.so.1 #5 0x06b0a801 in switch_caller_profile_event_set_data () from /usr/lib/libfreeswitch.so.1 #6 0x06b12486 in switch_channel_event_set_basic_data () from /usr/lib/libfreeswitch.so.1 #7 0x06b12677 in switch_channel_event_set_data () from /usr/lib/libfreeswitch.so.1 #8 0x06b133e2 in switch_channel_perform_hangup () from /usr/lib/libfreeswitch.so.1 #9 0x009ac010 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #10 0x009c006b in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #11 0x009c64b4 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #12 0x00996136 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #13 0x06b3b17b in switch_core_session_perform_receive_message () from /usr/lib/libfreeswitch.so.1 #14 0x06ba2b5e in switch_ivr_parse_all_signal_data () from /usr/lib/libfreeswitch.so.1 #15 0x06b0f1bb in switch_channel_check_signal () from /usr/lib/libfreeswitch.so.1 #16 0x06b0f1fe in switch_channel_test_ready () from /usr/lib/libfreeswitch.so.1 #17 0x06b42c6d in switch_core_session_write_frame () from /usr/lib/libfreeswitch.so.1 #18 0x06b98ddb in switch_ivr_play_file () from /usr/lib/libfreeswitch.so.1 #19 0x0014e34d in ?? () from /usr/lib/freeswitch/mod/mod_dptools.so #20 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #21 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #22 0x06baabd1 in switch_ivr_parse_event () from /usr/lib/libfreeswitch.so.1 #23 0x06bab40d in switch_ivr_parse_next_event () from /usr/lib/libfreeswitch.so.1 #24 0x06bab4e8 in switch_ivr_parse_all_events () from /usr/lib/libfreeswitch.so.1 #25 0x06bac65a in switch_ivr_park () from /usr/lib/libfreeswitch.so.1 #26 0x0011a9ca in ?? () from /usr/lib/freeswitch/mod/mod_event_socket.so #27 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #28 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #29 0x06b41102 in switch_core_session_run () from /usr/lib/libfreeswitch.so.1 #30 0x06b3ab2a in ?? () from /usr/lib/libfreeswitch.so.1 #31 0x06b36c99 in ?? () from /usr/lib/libfreeswitch.so.1 #32 0x06bf0866 in ?? () from /usr/lib/libfreeswitch.so.1 #33 0x0032e49b in start_thread () from /lib/libpthread.so.0 #34 0x0028542e in clone () from /lib/libc.so.6
[New process 26129] #0 0x00c84410 in __kernel_vsyscall () (gdb) bt #0 0x00c84410 in __kernel_vsyscall () #1 0x001dcd80 in raise () from /lib/libc.so.6 #2 0x001de691 in abort () from /lib/libc.so.6 #3 0x001d61fb in __assert_fail () from /lib/libc.so.6 #4 0x06b6101a in ?? () from /usr/lib/libfreeswitch.so.1 #5 0x06b63296 in switch_event_add_header_string () from /usr/lib/libfreeswitch.so.1 #6 0x06b638d5 in switch_event_prep_for_delivery_detailed () from /usr/lib/libfreeswitch.so.1 #7 0x06b63bcf in switch_event_create_subclass_detailed () from /usr/lib/libfreeswitch.so.1 #8 0x06b293ce in switch_core_session_set_real_read_codec () from /usr/lib/libfreeswitch.so.1 #9 0x009cd072 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #10 0x009df03f in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #11 0x009e1910 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #12 0x0099b494 in ?? () from /usr/lib/freeswitch/mod/mod_sofia.so #13 0x06b3b2ec in switch_core_session_perform_receive_message () from /usr/lib/libfreeswitch.so.1 #14 0x06b1b2c0 in switch_channel_perform_answer () from /usr/lib/libfreeswitch.so.1 #15 0x00310c97 in ?? () from /usr/lib/freeswitch/mod/mod_dptools.so #16 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #17 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #18 0x06baabd1 in switch_ivr_parse_event () from /usr/lib/libfreeswitch.so.1 #19 0x06baca10 in switch_ivr_park () from /usr/lib/libfreeswitch.so.1 #20 0x00f389ca in ?? () from /usr/lib/freeswitch/mod/mod_event_socket.so #21 0x06b3ba6f in switch_core_session_exec () from /usr/lib/libfreeswitch.so.1 #22 0x06b3c29e in switch_core_session_execute_application_get_flags () from /usr/lib/libfreeswitch.so.1 #23 0x06b41102 in switch_core_session_run () from /usr/lib/libfreeswitch.so.1 #24 0x06b3ab2a in ?? () from /usr/lib/libfreeswitch.so.1 #25 0x06b36c99 in ?? () from /usr/lib/libfreeswitch.so.1 #26 0x06bf0866 in ?? () from /usr/lib/libfreeswitch.so.1 #27 0x0032e49b in start_thread () from /lib/libpthread.so.0 #28 0x0028542e in clone () from /lib/libc.so.6
Does anybody have any ideas? Am I making something wrong or it is bug in FS ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org