crash in audio call
Hello,
Describe the bug FreeSwitch install by source compile on Centos7.9, then run the program package of freeswitch, but crash when to voice call.
To Reproduce Steps to reproduce the behavior:
- Using this default configuration...
- Dial into conference using sip
- Test a audio call
- FreeSWITCH crashes
Package version or git hash
- Version [e.g. 1.10.7]
Trace logs abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 4001 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 4001 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 192.168.1.12:4001 2 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_media.c:9089 sofia/internal/[email protected]:56979 Set 2833 dtmf send payload to 101 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_media.c:9096 sofia/internal/[email protected]:56979 Set 2833 dtmf receive payload to 101 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_media.c:9119 sofia/internal/[email protected]:56979 Set rtp dtmf delay to 40 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [NOTICE] sofia.c:8683 Channel [sofia/internal/[email protected]:56979] has been answered abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_channel.c:3950 (sofia/internal/[email protected]:56979) Callstate Change RINGING -> ACTIVE 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_codec.c:248 sofia/internal/[email protected] Restore previous codec PCMA:8. 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/internal/[email protected]. 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/internal/[email protected]: 8b0959e0-dca7-11ec-b27c-5541bbeb5974 v=0 8b0959e0-dca7-11ec-b27c-5541bbeb5974 o=FreeSWITCH 1653520922 1653520924 IN IP4 192.168.1.171 8b0959e0-dca7-11ec-b27c-5541bbeb5974 s=FreeSWITCH 8b0959e0-dca7-11ec-b27c-5541bbeb5974 c=IN IP4 192.168.1.171 8b0959e0-dca7-11ec-b27c-5541bbeb5974 t=0 0 8b0959e0-dca7-11ec-b27c-5541bbeb5974 m=audio 16402 RTP/AVP 8 101 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=rtpmap:8 PCMA/8000 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=rtpmap:101 telephone-event/8000 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=fmtp:101 0-15 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=ptime:20 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=sendrecv 8b0959e0-dca7-11ec-b27c-5541bbeb5974 a=rtcp:16403 IN IP4 192.168.1.171 8b0959e0-dca7-11ec-b27c-5541bbeb5974 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/internal/[email protected]] has been answered 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_channel.c:3950 (sofia/internal/[email protected]) Callstate Change EARLY -> ACTIVE 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] sofia.c:7499 Channel sofia/internal/[email protected] entering state [completed][200] 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.450016 99.90% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/internal/[email protected]:56979] Peer UUID: abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.469967 99.90% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/internal/[email protected]:56979] Peer UUID: abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.469967 99.90% [DEBUG] switch_ivr_bridge.c:1793 (sofia/internal/[email protected]:56979) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.469967 99.90% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/[email protected]:56979) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2) abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.469967 99.90% [DEBUG] switch_core_state_machine.c:650 (sofia/internal/[email protected]:56979) State EXCHANGE_MEDIA abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.469967 99.90% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.490693 99.90% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[1231234737] base_seq[19598] abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.510029 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:33.510029 99.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. abdf3ea0-dca7-11ec-b2a0-5541bbeb5974 2022-05-26 11:55:33.709996 99.90% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed. 8b0959e0-dca7-11ec-b27c-5541bbeb5974 2022-05-26 11:55:35.230014 99.83% [DEBUG] switch_rtp.c:7331 Correct audio RTCP ip/port confirmed.
backtrace from core file
(gdb) bt
#0 0x00007fecb668e1b0 in wcslen () from /usr/lib64/libc.so.6
#1 0x00007fecb668f72c in wcsrtombs () from /usr/lib64/libc.so.6
#2 0x00007fecb66319da in vfprintf () from /usr/lib64/libc.so.6
#3 0x00007fecb665de73 in vasprintf () from /usr/lib64/libc.so.6
#4 0x00007fecb9e60d5c in switch_vasprintf (ret=0x7fec6c029300, fmt=0x7fec645d3010 "{\n\t"listen"..., ap=0x7fec6c029308) at src/switch_apr.c:1268
#5 0x00007fecb0619865 in http_stream_write (handle=
please help ,thank you!
hi @13823520301 can you paste the dialplan?