Segmentation fault (core dumped)

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Segmentation fault (core dumped)

Postby Invictus » Thu Mar 01, 2018 10:56 am

We have two different setups with same installation.
On both setup 30 agents are working on two phone server, using webrtc webphone.

Setup A has no problem but in Setup B asterisk crashes 5-6 times in a day.
Logs are above when asterisk crashes:

/var/log/astguiclient/screenlog.0
Code: Select all
[Mar  1 16:25:34]   == Spawn extension (default, xxx*xxx*xxx*xxx*8600069, 1) exited non-zero on 'SIP/carrier12-000000a8'
[Mar  1 16:25:35]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:35]     -- Manager 'sendcron' from xxx.xxx.xxx.xxx, hanging up channel: SIP/carrier12-000000a9
[Mar  1 16:25:35]     -- Executing [h@default:1] AGI("SIP/carrier12-000000a9", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----37-----35") in new stack
[Mar  1 16:25:35]     -- <SIP/carrier12-000000a9>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----37-----35 completed, returning 0
[Mar  1 16:25:35]     -- Hungup 'IAX2/full-6523'
[Mar  1 16:25:35]   == Spawn extension (default, xxx*xxx*xxx*xxx*8600051, 1) exited non-zero on 'SIP/carrier12-000000a9'
[Mar  1 16:25:35]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:35]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:36]   == Manager 'sendcron' logged off from xxx.xxx.xxx.xxx
[Mar  1 16:25:36]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:36]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:36]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:36]     -- <SIP/carrier13-000000ce> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar  1 16:25:36]     -- <SIP/carrier13-000000ce>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Mar  1 16:25:36]     -- Executing [xxx*xxx*xxx*xxx*8600072@default:1] Dial("SIP/carrier13-000000ce", "IAX2/ast2:ta334ads@xxx.xxx.xxx.xxx:4569/8600072,55,oT") in new stack
[Mar  1 16:25:36]     -- Called IAX2/ast2:ta334ads@xxx.xxx.xxx.xxx:4569/8600072
[Mar  1 16:25:36]     -- Call accepted by xxx.xxx.xxx.xxx (format ulaw)
[Mar  1 16:25:36]     -- Format for call is (ulaw)
[Mar  1 16:25:36]     -- IAX2/full-1703 answered SIP/carrier13-000000ce
[Mar  1 16:25:37]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:37]     -- Manager 'sendcron' from xxx.xxx.xxx.xxx, hanging up channel: Local/8600061@default-000000cd;1
[Mar  1 16:25:37]     -- Executing [h@default:1] AGI("Local/8600061@default-000000cd;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----38-----21") in new stack
[Mar  1 16:25:37]     -- <Local/8600061@default-000000cd;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----38-----21 completed, returning 0
[Mar  1 16:25:37]   == Spawn extension (default, 404customer_phone, 2) exited non-zero on 'Local/8600061@default-000000cd;1'
[Mar  1 16:25:37]   == Spawn extension (default, 8600061, 1) exited non-zero on 'Local/8600061@default-000000cd;2'
[Mar  1 16:25:37]     -- Executing [h@default:1] AGI("Local/8600061@default-000000cd;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar  1 16:25:37]     -- <Local/8600061@default-000000cd;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Mar  1 16:25:37]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:37]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:38]   == Manager 'sendcron' logged off from xxx.xxx.xxx.xxx
[Mar  1 16:25:44]   == Spawn extension (default, 8600075, 1) exited non-zero on 'IAX2/full-4258'
[Mar  1 16:25:44]     -- Executing [h@default:1] AGI("IAX2/full-4258", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Mar  1 16:25:44]     -- <IAX2/full-4258>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Mar  1 16:25:44]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:44]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:46]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:47]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:47]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:47]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:48]     -- Executing [h@default:1] AGI("SIP/carrier12-000000a0", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----42-----39") in new stack
[Mar  1 16:25:48]     -- <SIP/carrier12-000000a0>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----42-----39 completed, returning 0
[Mar  1 16:25:48]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:50]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:50]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:50]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:51]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:51]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:51]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:52]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
[Mar  1 16:25:52]   == Manager 'sendcron' logged on from xxx.xxx.xxx.xxx
Segmentation fault (core dumped)
sh-4.3# /usr/sbin/asterisk -vvvvgcT
[Mar  1 16:25:57] Asterisk 11.25.1-vici, Copyright (C) 1999 - 2013 Digium, Inc. and others.
[Mar  1 16:25:57] Created by Mark Spencer <markster@digium.com>
[Mar  1 16:25:57] Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
[Mar  1 16:25:57] This is free software, with components licensed under the GNU General Public
[Mar  1 16:25:57] License version 2 and other licenses; you are welcome to redistribute it under
[Mar  1 16:25:57] certain conditions. Type 'core show license' for details.
[Mar  1 16:25:57] =========================================================================
[Mar  1 16:25:57] [ Initializing Custom Configuration Options ]

/var/log/messages
Code: Select all
2018-03-01   16:25:52.290993+03:00 srvx kernel: [12865.912587] asterisk[21417]: segfault at 3c ip 00007fe352c989ad sp 00007fe3062e7f30 error 4 in res_rtp_asterisk.so[7fe352c77000+51000]
2018-03-01   16:26:32.611337+03:00 srvx systemd-coredump[24412]: Process 20326 (asterisk) of user 0 dumped core.


----------
Vicibox 8.0.1
Asterisk 11.25.1-vici
Invictus
 
Posts: 16
Joined: Wed Dec 28, 2016 9:49 am

Re: Segmentation fault (core dumped)

Postby mflorell » Thu Mar 01, 2018 1:31 pm

If the load is the same on both, it could be bad RAM or something wrong on the motherboard.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Segmentation fault (core dumped)

Postby Invictus » Thu Mar 01, 2018 1:36 pm

all servers are vps with same configuration
Invictus
 
Posts: 16
Joined: Wed Dec 28, 2016 9:49 am

Re: Segmentation fault (core dumped)

Postby blackbird2306 » Fri Mar 02, 2018 6:33 am

These kind of issues are common problems with virtual environment. It's never recommended to use VPS and even become worse to debug
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Segmentation fault (core dumped)

Postby Invictus » Fri Mar 02, 2018 7:07 am

I have another problem; when I directly make a call from webphone if call is answered immediately there isn't any problem but if call is answered after 6-7 seconds there is no audio on both side.
Invictus
 
Posts: 16
Joined: Wed Dec 28, 2016 9:49 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 134 guests