- [root@sipserver8 freeswitch]# gdb /usr/bin/freeswitch core.31851
- GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7
- Copyright (C) 2013 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-redhat-linux-gnu".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/bin/freeswitch...Reading symbols from /usr/lib/debug/usr/bin/freeswitch.debug...done.
- done.
- [New LWP 20110]
- [New LWP 20221]
- [New LWP 31851]
- [New LWP 31852]
- [New LWP 31857]
- [New LWP 31858]
- [New LWP 31860]
- [New LWP 31862]
- [New LWP 31863]
- [New LWP 31865]
- [New LWP 31866]
- [New LWP 31867]
- [New LWP 31868]
- [New LWP 31869]
- [New LWP 31874]
- [New LWP 31876]
- [New LWP 31877]
- [New LWP 31875]
- [New LWP 20111]
- [New LWP 31856]
- [New LWP 20105]
- [New LWP 20108]
- [New LWP 20106]
- [New LWP 20220]
- [New LWP 20006]
- [New LWP 20176]
- [New LWP 20096]
- [New LWP 20179]
- [New LWP 20104]
- [New LWP 20174]
- [New LWP 20090]
- [New LWP 20178]
- [New LWP 20172]
- [New LWP 20107]
- [New LWP 20175]
- [New LWP 20158]
- [New LWP 20219]
- [New LWP 20112]
- [New LWP 20173]
- [New LWP 20177]
- [New LWP 31861]
- [New LWP 31855]
- [New LWP 31864]
- [New LWP 20109]
- [New LWP 20223]
- [New LWP 20226]
- [New LWP 20222]
- [New LWP 20225]
- [New LWP 20224]
- [New LWP 31853]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib64/libthread_db.so.1".
- warning: the debug information found in "/usr/lib/debug//usr/lib64/libstdc++.so.6.0.19.debug" does not match "/usr/lib64/libstdc++.so.6" (CRC mismatch).
- warning: the debug information found in "/usr/lib/debug/usr/lib64/libstdc++.so.6.0.19.debug" does not match "/usr/lib64/libstdc++.so.6" (CRC mismatch).
- Core was generated by `/usr/bin/freeswitch -nc -nf -nonat'.
- Program terminated with signal 11, Segmentation fault.
- #0 Perl_sv_setpvn (my_perl=my_perl@entry=0x1504a000, sv=sv@entry=0x0, ptr=ptr@entry=0x2b567fbcf683 "", len=len@entry=0) at sv.c:4484
- 4484 SV_CHECK_THINKFIRST_COW_DROP(sv);
- Missing separate debuginfos, use: debuginfo-install freetds-0.95.81-1.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 perl-DBD-ODBC-1.50-3.el7.x86_64
- (gdb) bt
- #0 Perl_sv_setpvn (my_perl=my_perl@entry=0x1504a000, sv=sv@entry=0x0, ptr=ptr@entry=0x2b567fbcf683 "", len=len@entry=0) at sv.c:4484
- #1 0x00002b567fb47c0b in Perl_sv_vsetpvfn (my_perl=my_perl@entry=0x1504a000, sv=sv@entry=0x0, pat=pat@entry=0x2b567f871b96 "%s %s", patlen=5,
- args=args@entry=0x2b568ad07620, svargs=svargs@entry=0x0, svmax=svmax@entry=0, maybe_tainted=maybe_tainted@entry=0x0) at sv.c:9966
- #2 0x00002b567fb5b465 in Perl_sv_vsetpvf (my_perl=0x1504a000, sv=sv@entry=0x0, pat=pat@entry=0x2b567f871b96 "%s %s",
- args=args@entry=0x2b568ad07620) at sv.c:9785
- #3 0x00002b567fb5b523 in Perl_sv_setpvf_nocontext (sv=0x0, pat=0x2b567f871b96 "%s %s") at sv.c:9725
- #4 0x00002b567f86c419 in _wrap_API_execute (my_perl=<optimized out>, cv=<optimized out>) at mod_perl_wrap.cpp:2734
- #5 0x00002b567fb4139f in Perl_pp_entersub (my_perl=0x3d69400) at pp_hot.c:2778
- #6 0x00002b567fb39b16 in Perl_runops_standard (my_perl=0x3d69400) at run.c:41
- #7 0x00002b567fad17ae in Perl_eval_sv (my_perl=my_perl@entry=0x3d69400, sv=sv@entry=0x9166618, flags=flags@entry=2) at perl.c:2812
- #8 0x00002b567fad1ac4 in Perl_eval_pv (my_perl=my_perl@entry=0x3d69400, p=p@entry=0xf075720 "require '/usr/sbin/j2voice/CallTransfer.pl';",
- croak_on_error=croak_on_error@entry=0) at perl.c:2874
- #9 0x00002b567f84f283 in Perl_safe_eval (my_perl=my_perl@entry=0x3d69400,
- string=string@entry=0xf075720 "require '/usr/sbin/j2voice/CallTransfer.pl';") at mod_perl.c:69
- #10 0x00002b567f84fc53 in perl_parse_and_execute (my_perl=0x3d69400,
- input_code=input_code@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl",
- setup_code=setup_code@entry=0x2b568ad07eb0 "use lib '/usr/perl';\nuse freeswitch;\n$SWITCH_ENV{UUID} = \"728aa580-251a-11e7-972f-c3e271bacd1e\";\n$session = new freeswitch::Session(\"728aa580-251a-11e7-972f-c3e271bacd1e\")") at mod_perl.c:138
- #11 0x00002b567f850077 in perl_function (session=<optimized out>, data=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl") at mod_perl.c:219
- #12 0x00002b56752761bb in switch_core_session_exec (session=session@entry=0x43b8028,
- application_interface=application_interface@entry=0x39a8248, arg=arg@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl")
- at src/switch_core_session.c:2801
- #13 0x00002b567527670b in switch_core_session_execute_application_get_flags (session=session@entry=0x43b8028, app=app@entry=0xe093658 "perl",
- arg=arg@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl", flags=flags@entry=0x0) at src/switch_core_session.c:2671
- #14 0x00002b56753167b3 in switch_ivr_parse_event (session=session@entry=0x43b8028, event=<optimized out>) at src/switch_ivr.c:634
- #15 0x00002b5675316e1b in switch_ivr_parse_next_event (session=session@entry=0x43b8028) at src/switch_ivr.c:761
- #16 0x00002b56752ea68d in audio_bridge_thread (obj=obj@entry=0x75e0a58, thread=0x0) at src/switch_ivr_bridge.c:467
- #17 0x00002b56752eb4e2 in audio_bridge_on_exchange_media (session=0x43b8028) at src/switch_ivr_bridge.c:856
- #18 0x00002b567527994c in switch_core_session_run (session=<optimized out>) at src/switch_core_state_machine.c:653
- #19 0x00002b567527393e in switch_core_session_thread (thread=<optimized out>, obj=0x43b8028) at src/switch_core_session.c:1647
- #20 0x00002b567526f3b3 in switch_core_session_thread_pool_worker (thread=0x120e6280, obj=<optimized out>) at src/switch_core_session.c:1710
- #21 0x00002b5675534790 in dummy_worker (opaque=0x120e6280) at threadproc/unix/thread.c:151
- #22 0x00002b56772b0dc5 in start_thread (arg=0x2b568ad0b700) at pthread_create.c:308
- #23 0x00002b5677c0fced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
- (gdb) bt full
- #0 Perl_sv_setpvn (my_perl=my_perl@entry=0x1504a000, sv=sv@entry=0x0, ptr=ptr@entry=0x2b567fbcf683 "", len=len@entry=0) at sv.c:4484
- dptr = <optimized out>
- #1 0x00002b567fb47c0b in Perl_sv_vsetpvfn (my_perl=my_perl@entry=0x1504a000, sv=sv@entry=0x0, pat=pat@entry=0x2b567f871b96 "%s %s", patlen=5,
- args=args@entry=0x2b568ad07620, svargs=svargs@entry=0x0, svmax=svmax@entry=0, maybe_tainted=maybe_tainted@entry=0x0) at sv.c:9966
- No locals.
- #2 0x00002b567fb5b465 in Perl_sv_vsetpvf (my_perl=0x1504a000, sv=sv@entry=0x0, pat=pat@entry=0x2b567f871b96 "%s %s",
- args=args@entry=0x2b568ad07620) at sv.c:9785
- No locals.
- #3 0x00002b567fb5b523 in Perl_sv_setpvf_nocontext (sv=0x0, pat=0x2b567f871b96 "%s %s") at sv.c:9725
- my_perl = <optimized out>
- args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x2b568ad07710, reg_save_area = 0x2b568ad07640}}
- #4 0x00002b567f86c419 in _wrap_API_execute (my_perl=<optimized out>, cv=<optimized out>) at mod_perl_wrap.cpp:2734
- arg2 = 0x0
- buf3 = 0x0
- argvi = 0
- arg3 = 0x0
- res1 = 0
- alloc2 = 0
- result = 0x0
- sp = <optimized out>
- mark = <optimized out>
- argp1 = 0x0
- res2 = <optimized out>
- alloc3 = 0
- arg1 = 0x0
- buf2 = 0x0
- res3 = <optimized out>
- ax = <optimized out>
- items = -70307070
- #5 0x00002b567fb4139f in Perl_pp_entersub (my_perl=0x3d69400) at pp_hot.c:2778
- markix = 1
- sp = <optimized out>
- sv = 0x12d449c0
- gv = 0x973e1e0
- cv = 0x12d449c0
- cx = <optimized out>
- gimme = 2
- hasargs = <optimized out>
- #6 0x00002b567fb39b16 in Perl_runops_standard (my_perl=0x3d69400) at run.c:41
- op = <optimized out>
- #7 0x00002b567fad17ae in Perl_eval_sv (my_perl=my_perl@entry=0x3d69400, sv=sv@entry=0x9166618, flags=flags@entry=2) at perl.c:2812
- sp = <optimized out>
- myop = {op_next = 0x0, op_sibling = 0x0, op_ppaddr = 0x0, op_targ = 0, op_type = 329, op_opt = 0, op_latefree = 0, op_latefreed = 0,
- op_attached = 0, op_spare = 0, op_flags = 66 'B', op_private = 0 '\000', op_first = 0x0}
- oldmark = 0
- retval = 0
- ---Type <return> to continue, or q <return> to quit---
- ret = <optimized out>
- oldop = 0x0
- cur_env = {je_prev = 0x3d69678, je_buf = {{__jmpbuf = {0, -3769879955247084810, 0, 47650506741118, 64394240, 1, -7132657635663164682,
- -7133034056603022602}, __mask_was_saved = 0, __saved_mask = {__val = {252139296, 47650506741227, 1, 47650509532581, 152462872,
- 47650509749512, 152462872, 44, 64394240, 47650509758034, 0, 152462872, 64394240, 252139296, 47650506741118,
- 47650509759955}}}}, je_ret = 0, je_mustcatch = false}
- #8 0x00002b567fad1ac4 in Perl_eval_pv (my_perl=my_perl@entry=0x3d69400, p=p@entry=0xf075720 "require '/usr/sbin/j2voice/CallTransfer.pl';",
- croak_on_error=croak_on_error@entry=0) at perl.c:2874
- sp = <optimized out>
- sv = 0x9166618
- #9 0x00002b567f84f283 in Perl_safe_eval (my_perl=my_perl@entry=0x3d69400,
- string=string@entry=0xf075720 "require '/usr/sbin/j2voice/CallTransfer.pl';") at mod_perl.c:69
- err = 0x0
- __func__ = "Perl_safe_eval"
- #10 0x00002b567f84fc53 in perl_parse_and_execute (my_perl=0x3d69400,
- input_code=input_code@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl",
- setup_code=setup_code@entry=0x2b568ad07eb0 "use lib '/usr/perl';\nuse freeswitch;\n$SWITCH_ENV{UUID} = \"728aa580-251a-11e7-972f-c3e271bacd1e\";\n$session = new freeswitch::Session(\"728aa580-251a-11e7-972f-c3e271bacd1e\")") at mod_perl.c:138
- file = 0xf075720 "require '/usr/sbin/j2voice/CallTransfer.pl';"
- args = <optimized out>
- error = <optimized out>
- __func__ = "perl_parse_and_execute"
- __PRETTY_FUNCTION__ = "perl_parse_and_execute"
- #11 0x00002b567f850077 in perl_function (session=<optimized out>, data=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl") at mod_perl.c:219
- uuid = 0x43b8824 "728aa580-251a-11e7-972f-c3e271bacd1e"
- my_perl = 0x3d69400
- code = "use lib '/usr/perl';\nuse freeswitch;\n$SWITCH_ENV{UUID} = \"728aa580-251a-11e7-972f-c3e271bacd1e\";\n$session = new freeswitch::Session(\"728aa580-251a-11e7-972f-c3e271bacd1e\")", '\000' <repeats 852 times>
- #12 0x00002b56752761bb in switch_core_session_exec (session=session@entry=0x43b8028,
- application_interface=application_interface@entry=0x39a8248, arg=arg@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl")
- at src/switch_core_session.c:2801
- log = <optimized out>
- lp = <optimized out>
- event = 0x0
- var = <optimized out>
- channel = 0xe95a110
- expanded = 0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl"
- app = 0x2b567f871635 "perl"
- app_uuid_var = <optimized out>
- msg = {from = 0x2b567554e419 "src/switch_core_session.c", message_id = SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC, numeric_arg = 0,
- string_arg = 0x0, string_arg_size = 0, pointer_arg = 0x0, pointer_arg_size = 0, numeric_reply = 0, string_reply = 0x0,
- string_reply_size = 0, pointer_reply = 0x0, pointer_reply_size = 0, flags = 0, _file = 0x0, _func = 0x0, _line = 0,
- string_array_arg = {0x2b567f871635 "perl", 0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
- delivery_time = 0}
- delim = <optimized out>
- scope = 0
- ---Type <return> to continue, or q <return> to quit---
- uuid_str = "7a907034-251a-11e7-97c9-c3e271bacd1e\000+\000\000&y$uV+\000\000\000\000\000\000\000\000\000\000(\200;\004\000\000\000\000(\240p\024\000\000\000\000\230J*uV+\000\000\020\241\225\016\000\000\000\000\071\306$uV+\000\000\000\000\000\000\000\000\000\000\020\241\225\016\000\000\000\000\020\241\225\016\000\000\000\000\020\241\225\016", '\000' <repeats 12 times>, "EDUuV+\000\000\000\000\000\000\000\000\000\000\230\320$uV+\000\000\000\000\000\000\000\000\000\000hA\374\006\000\000\000\000 \000\000\000\060\000\000\000\260\205МV+\000\000\340\204МV+\000\000\351W"...
- app_uuid = 0x2b568ad08410 "7a907034-251a-11e7-97c9-c3e271bacd1e"
- __PRETTY_FUNCTION__ = "switch_core_session_exec"
- __func__ = "switch_core_session_exec"
- #13 0x00002b567527670b in switch_core_session_execute_application_get_flags (session=session@entry=0x43b8028, app=app@entry=0xe093658 "perl",
- arg=arg@entry=0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl", flags=flags@entry=0x0) at src/switch_core_session.c:2671
- application_interface = 0x39a8248
- status = SWITCH_STATUS_SUCCESS
- __func__ = "switch_core_session_execute_application_get_flags"
- #14 0x00002b56753167b3 in switch_ivr_parse_event (session=session@entry=0x43b8028, event=<optimized out>) at src/switch_ivr.c:634
- b4 = 1492618131333881
- aftr = <optimized out>
- x = 0
- b_uuid = 0x0
- b_session = <optimized out>
- event_uuid = 0x0
- content_type = <optimized out>
- loops = 1
- app_name = 0xe093658 "perl"
- app_arg = 0x1480c870 "/usr/sbin/j2voice/CallTransfer.pl"
- loop_h = <optimized out>
- hold_bleg = <optimized out>
- inner = 0
- channel = 0xe95a110
- cmd = <optimized out>
- cmd_hash = <optimized out>
- hlen = 7
- CMD_EXECUTE = <optimized out>
- CMD_HANGUP = <optimized out>
- CMD_NOMEDIA = 509624637
- CMD_UNICAST = <optimized out>
- CMD_XFEREXT = <optimized out>
- lead_frames = <optimized out>
- event_lock = <optimized out>
- event_lock_pri = <optimized out>
- status = <optimized out>
- el = 1
- elp = 0
- __func__ = "switch_ivr_parse_event"
- #15 0x00002b5675316e1b in switch_ivr_parse_next_event (session=session@entry=0x43b8028) at src/switch_ivr.c:761
- event = 0xa65a180
- status = SWITCH_STATUS_FALSE
- ---Type <return> to continue, or q <return> to quit---
- __func__ = "switch_ivr_parse_next_event"
- #16 0x00002b56752ea68d in audio_bridge_thread (obj=obj@entry=0x75e0a58, thread=0x0) at src/switch_ivr_bridge.c:467
- b_state = <optimized out>
- status = <optimized out>
- event = 0x0
- data = 0x75e0a58
- stream_id = 0
- pre_b = 0
- ans_a = 1
- ans_b = 1
- originator = 0
- input_callback = 0x0
- msg = {from = 0x2b5675562378 "src/switch_ivr_bridge.c", message_id = SWITCH_MESSAGE_INDICATE_UNBRIDGE, numeric_arg = 42,
- string_arg = 0x75e0a60 "70157e60-251a-11e7-9559-c3e271bacd1e", string_arg_size = 0, pointer_arg = 0x0, pointer_arg_size = 0,
- numeric_reply = 0, string_reply = 0x0, string_reply_size = 0, pointer_reply = 0x0, pointer_reply_size = 0, flags = 0, _file = 0x0,
- _func = 0x0, _line = 0, string_array_arg = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, delivery_time = 0}
- user_data = 0x0
- chan_a = 0xe95a110
- chan_b = 0xf298110
- read_frame = 0x1470a680
- session_a = 0x43b8028
- session_b = 0xcdaa028
- read_frame_count = 300
- app_name = 0x0
- app_arg = 0x0
- inner_bridge = 0
- exec_check = 1
- silence_codec = {codec_interface = 0x0, implementation = 0x0, fmtp_in = 0x0, fmtp_out = 0x0, flags = 0, memory_pool = 0x0,
- private_info = 0x0, agreed_pt = 0 '\000', mutex = 0x0, next = 0x0, session = 0x0, cur_frame = 0x0}
- silence_frame = {codec = 0x0, source = 0x0, packet = 0x0, packetlen = 0, extra_data = 0x0, data = 0x0, datalen = 0, buflen = 0,
- samples = 0, rate = 0, channels = 0, payload = 0 '\000', timestamp = 0, seq = 0, ssrc = 0, m = SWITCH_FALSE, flags = 0,
- user_data = 0x0, pmap = 0x0, img = 0x0}
- silence_data = {0 <repeats 4096 times>}
- silence_var = <optimized out>
- silence_val = 0
- bypass_media_after_bridge = 0
- bridge_answer_timeout = <optimized out>
- sent_update = 0
- answer_limit = 0
- exec_app = 0x0
- exec_data = 0x0
- read_impl = {codec_type = SWITCH_CODEC_TYPE_AUDIO, ianacode = 0 '\000', iananame = 0x32f57d8 "PCMU", fmtp = 0x0,
- samples_per_second = 8000, actual_samples_per_second = 8000, bits_per_second = 64000, microseconds_per_packet = 20000,
- samples_per_packet = 160, decoded_bytes_per_packet = 320, encoded_bytes_per_packet = 160, number_of_channels = 1 '\001',
- codec_frames_per_packet = 160, init = 0x2b56753367e0 <switch_g711u_init>, encode = 0x2b56753367f0 <switch_g711u_encode>,
- decode = 0x2b5675336a50 <switch_g711u_decode>, encode_video = 0x0, decode_video = 0x0, codec_control = 0x0,
- ---Type <return> to continue, or q <return> to quit---
- destroy = 0x2b5675336880 <switch_g711u_destroy>, codec_id = 123, impl_id = 138, modname = 0x32f4ed0 "CORE_PCM_MODULE",
- next = 0x32f56b0}
- banner_file = 0x0
- played_banner = 0
- banner_counter = 0
- pass_val = 2
- last_pass_val = 2
- vh = {session_a = 0x0, session_b = 0x0, up = 0}
- vid_launch = 0
- #17 0x00002b56752eb4e2 in audio_bridge_on_exchange_media (session=0x43b8028) at src/switch_ivr_bridge.c:856
- channel = 0xe95a110
- bd = 0x75e0a58
- state = <optimized out>
- var = <optimized out>
- __func__ = "audio_bridge_on_exchange_media"
- #18 0x00002b567527994c in switch_core_session_run (session=<optimized out>) at src/switch_core_state_machine.c:653
- state = <optimized out>
- midstate = <optimized out>
- endstate = <optimized out>
- endpoint_interface = <optimized out>
- driver_state_handler = <optimized out>
- application_state_handler = <optimized out>
- new_loops = <optimized out>
- __PRETTY_FUNCTION__ = "switch_core_session_run"
- __func__ = "switch_core_session_run"
- #19 0x00002b567527393e in switch_core_session_thread (thread=<optimized out>, obj=0x43b8028) at src/switch_core_session.c:1647
- session = 0x43b8028
- event = 0x2b56755256d9 <apr_queue_pop_timeout+121>
- event_str = 0x0
- val = <optimized out>
- __func__ = "switch_core_session_thread"
- __PRETTY_FUNCTION__ = "switch_core_session_thread"
- #20 0x00002b567526f3b3 in switch_core_session_thread_pool_worker (thread=0x120e6280, obj=<optimized out>) at src/switch_core_session.c:1710
- td = 0xad8c8a0
- pop = 0xad8c8a0
- check_status = <optimized out>
- node = <optimized out>
- pool = 0x120e6028
- __func__ = "switch_core_session_thread_pool_worker"
- #21 0x00002b5675534790 in dummy_worker (opaque=0x120e6280) at threadproc/unix/thread.c:151
- thread = 0x120e6280
- #22 0x00002b56772b0dc5 in start_thread (arg=0x2b568ad0b700) at pthread_create.c:308
- __res = <optimized out>
- pd = 0x2b568ad0b700
- now = <optimized out>
- unwind_buf = {cancel_jmp_buf = {{jmp_buf = {47650696115968, -3769899867723150602, 0, 47650696116672, 47650696115968, 38,
- ---Type <return> to continue, or q <return> to quit---
- -7132657642768315658, -7133052697077626122}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
- cleanup = 0x0, canceltype = 0}}}
- not_first_call = <optimized out>
- pagesize_m1 = <optimized out>
- sp = <optimized out>
- freesize = <optimized out>
- #23 0x00002b5677c0fced in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
- No locals.
- (gdb)