Closed wawuwuwuwuwu closed 1 year ago
Do you have a backtrace?
Do you have a backtrace?
No, I just checked the log, but I didn't find any problems
my server AWS EC2 C59x Debian 9 freeswitch 1.10.3 sometime too abnormal restart: /var/log/syslog:
Nov 7 10:36:05 kernel: [39630.043647] traps: freeswitch[1302] general protection ip:xxxxxxxxx sp:xxxxxxxxxx error:0 Nov 7 10:36:05 kernel: [39630.043651] in mod_sofia.so[7fcfda329000+1d6000] Nov 7 10:36:05 systemd[1]: freeswitch.service: Main process exited, code=killed, status=11/SEGV Nov 7 10:36:05 systemd[1]: freeswitch.service: Unit entered failed state. Nov 7 10:36:05 systemd[1]: freeswitch.service: Failed with result 'signal'. Nov 7 10:36:06 systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart. Nov 7 10:36:06 systemd[1]: Stopped freeswitch. Nov 7 10:36:06 systemd[1]: Starting freeswitch... Nov 7 10:36:06 freeswitch[35146]: 35148 Backgrounding. Nov 7 10:36:12 freeswitch[35146]: FreeSWITCH[35146] Waiting for background process pid:35148 to be ready..... Nov 7 10:36:12 freeswitch[35146]: FreeSWITCH[35146] Waiting for background process pid:35148 to be ready..... Nov 7 10:36:12 freeswitch[35146]: FreeSWITCH[35146] Waiting for background process pid:35148 to be ready..... Nov 7 10:36:12 freeswitch[35146]: FreeSWITCH[35146] System Ready pid:35148 Nov 7 10:36:12 systemd[1]: Started freeswitch.
Nov 4 17:45:15 kernel: [65377.705032] traps: freeswitch[1275] general protection ip:xxxxxxxx sp:xxxxxxxxx error:0 Nov 4 17:45:15 kernel: [65377.705038] in mod_sofia.so[7f1480d5c000+1d6000] Nov 4 17:45:15 systemd[1]: freeswitch.service: Main process exited, code=killed, status=11/SEGV Nov 4 17:45:15 systemd[1]: freeswitch.service: Unit entered failed state. Nov 4 17:45:15 systemd[1]: freeswitch.service: Failed with result 'signal'. Nov 4 17:45:15 systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart. Nov 4 17:45:15 systemd[1]: Stopped freeswitch. Nov 4 17:45:15 systemd[1]: Starting freeswitch... Nov 4 17:45:15 freeswitch[9442]: 9443 Backgrounding. Nov 4 17:45:21 freeswitch[9442]: FreeSWITCH[9442] Waiting for background process pid:9443 to be ready..... Nov 4 17:45:21 freeswitch[9442]: FreeSWITCH[9442] Waiting for background process pid:9443 to be ready..... Nov 4 17:45:21 freeswitch[9442]: FreeSWITCH[9442] Waiting for background process pid:9443 to be ready..... Nov 4 17:45:21 freeswitch[9442]: FreeSWITCH[9442] System Ready pid:9443 Nov 4 17:45:21 systemd[1]: Started freeswitch.
Please reopen if you can replicate.
Describe the bug
Freeswitch does not perform any operation and automatically restarts
Expected behavior Freeswitch abnormal restart
Package version or git hash
Trace logs system log Sep 5 01:51:13 fs kernel: [11466402.454442] traps: freeswitch[28287] general protection ip:XXXXXXXXXX sp:XXXXXXXXX error:0 in libfreeswitch.so.1.0.0[7f94a482c000+3c3000] Sep 5 01:51:13 fs systemd[1]: freeswitch.service: Main process exited, code=killed, status=11/SEGV Sep 5 01:51:13 fs systemd[1]: freeswitch.service: Failed with result 'signal'. Sep 5 01:51:13 fs systemd[1]: freeswitch.service: Service RestartSec=100ms expired, scheduling restart. Sep 5 01:51:13 fs systemd[1]: freeswitch.service: Scheduled restart job, restart counter is at 1. Sep 5 01:51:13 fs systemd[1]: Stopped freeswitch. Sep 5 01:51:13 fs systemd[1]: Starting freeswitch...
freeswitch log XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/XXXXXXXXXX) Running State Change CS_SOFT_EXECUTE (Cur 2 Tot 28168) XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] switch_core_state_machine.c:653 (sofia/internal/XXXXXXXXXX) State SOFT_EXECUTE XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] mod_sofia.c:677 SOFIA SOFT_EXECUTE XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] switch_ivr_bridge.c:1154 sofia/internal/XXXXXXXXXX CUSTOM SOFT_EXECUTE XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] switch_core_state_machine.c:397 sofia/internal/XXXXXXXXXX Standard SOFT_EXECUTE XXXXXXXXXXXXXXX 2022-09-05 01:51:13.129795 97.13% [DEBUG] switch_core_state_machine.c:653 (sofia/internal/XXXXXXXXXX) State SOFT_EXECUTE going to sleep 2022-09-05 01:51:13.129795 97.13% [INFO] avcodec.c:1491 initializing encoder 352x288 2022-09-05 01:51:13.129795 97.13% [DEBUG] avcodec.c:1230 NVENC HW CODEC NOT PRESENT 2022-09-05 01:51:13.129795 97.13% [DEBUG] avcodec.c:1259 Using config profile: [H264] 2022-09-05 01:51:13.129795 97.13% [NOTICE] switch_cpp.cpp:1465 ---groupmaster=false 2022-09-05 01:51:13.129795 97.13% [NOTICE] switch_cpp.cpp:1465 hcause = ORIGINATOR_CANCEL 2022-09-05 01:51:13.129795 97.13% [INFO] avcodec.c:1375 codec opened: Video: h264 (libx264) (Baseline), yuv420p(pc, gbr/unknown/unknown), 352x288, 7680 kb/s XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_ivr_bridge.c:1683 (sofia/internal/XXXXXXXXXX) State Change CS_SOFT_EXECUTE -> CS_CONSUME_MEDIA XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/XXXXXXXXXX) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 28168) XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_core_state_machine.c:659 (sofia/internal/XXXXXXXXXX) State CONSUME_MEDIA XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_ivr_bridge.c:1058 sofia/internal/XXXXXXXXXX CUSTOM HOLD XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_core_state_machine.c:659 (sofia/internal/XXXXXXXXXX) State CONSUME_MEDIA going to sleep XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_ivr_bridge.c:1793 (sofia/internal/XXXXXXXXXX) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/XXXXXXXXXX) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 28168) XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] switch_core_state_machine.c:650 (sofia/internal/XXXXXXXXXX) State EXCHANGE_MEDIA XXXXXXXXXXXXXXX 2022-09-05 01:51:13.149828 97.13% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2022-09-05 01:51:13.511853 0.00% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_logfile] 2022-09-05 01:51:13.513671 0.00% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_enum] 2022-09-05 01:51:13.513700 0.00% [NOTICE] switch_loadable_module.c:273 Adding Dialplan 'enum' 2022-09-05 01:51:13.513721 0.00% [NOTICE] switch_loadable_module.c:329 Adding Application 'enum' 2022-09-05 01:51:13.513739 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'enum' 2022-09-05 01:51:13.513767 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'enum_auto' 2022-09-05 01:51:13.514192 0.00% [DEBUG] mod_cdr_csv.c:368 Adding default template. 2022-09-05 01:51:13.514211 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template sql. 2022-09-05 01:51:13.514215 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template example. 2022-09-05 01:51:13.514222 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template snom. 2022-09-05 01:51:13.514226 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template linksys. 2022-09-05 01:51:13.514231 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template asterisk. 2022-09-05 01:51:13.514235 0.00% [DEBUG] mod_cdr_csv.c:415 Adding template opencdrrate. 2022-09-05 01:51:13.514257 0.00% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_cdr_csv] 2022-09-05 01:51:13.514270 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'cdr_csv' 2022-09-05 01:51:13.514719 0.00% [CONSOLE] switch_loadable_module.c:1768 Successfully Loaded [mod_event_socket] 2022-09-05 01:51:13.514741 0.00% [NOTICE] switch_loadable_module.c:329 Adding Application 'socket' 2022-09-05 01:51:13.514764 0.00% [NOTICE] switch_loadable_module.c:389 Adding API Function 'event_sink'
backtrace from core file