Segmentation fault after 1 sec of phone talk

FreePBX Distro
PBX Firmware: 6.12.65-22

Mostly everything worked fine. Sometimes segmentation fault error arrived in some cases, as described in my issued submitted http://issues.freepbx.org/browse/FREEPBX-8383.

Suddenly, segmentation fault error started to arive at every call after 1 second of talk.
Maybe this takes place after update.

/var/log/messages
Dec 7 01:37:54 localhost kernel: asterisk[9616]: segfault at 14 ip 000000000058e2db sp 00007f3e69be79c0 error 4 in asterisk[400000+2a4000]

/var/log/asterisk/full

[2014-12-07 01:37:49] VERBOSE[9590][C-00000000] netsock2.c: Using SIP RTP TOS bits 184
[2014-12-07 01:37:49] VERBOSE[9590][C-00000000] netsock2.c: Using SIP RTP CoS mark 5
[2014-12-07 01:37:49] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] Playback(“SIP/77011-00000000”, “silence/1”) in new stack
[2014-12-07 01:37:49] VERBOSE[10300][C-00000000] file.c: <SIP/77011-00000000> Playing ‘silence/1.ulaw’ (language ‘ru’)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] Goto(“SIP/77011-00000000”, “from-internal,88007078000,1”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Goto (from-internal,88007078000,1)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] Macro(“SIP/77011-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] Set(“SIP/77011-00000000”, “TOUCH_MONITOR=1417905469.0”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] Set(“SIP/77011-00000000”, “AMPUSER=77011”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/77011-00000000”, “0?report”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:4] ExecIf(“SIP/77011-00000000”, “1?Set(REALCALLERIDNUM=77011)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:5] Set(“SIP/77011-00000000”, “AMPUSER=77011”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:6] GotoIf(“SIP/77011-00000000”, “0?limit”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:7] Set(“SIP/77011-00000000”, “AMPUSERCIDNAME=Dmitriy Stepanov”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:8] GotoIf(“SIP/77011-00000000”, “0?report”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:9] Set(“SIP/77011-00000000”, “AMPUSERCID=77011”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:10] Set(“SIP/77011-00000000”, “__DIAL_OPTIONS=Ttr”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:11] Set(“SIP/77011-00000000”, “CALLERID(all)=“Dmitriy Stepanov” <77011>”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:12] GotoIf(“SIP/77011-00000000”, “0?limit”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:13] ExecIf(“SIP/77011-00000000”, “1?Set(GROUP(concurrency_limit)=77011)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:14] GosubIf(“SIP/77011-00000000”, “7?sub-ccss,s,1(from-internal,88007078000)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] ExecIf(“SIP/77011-00000000”, “0?Return()”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] Set(“SIP/77011-00000000”, “CCSS_SETUP=TRUE”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] GosubIf(“SIP/77011-00000000”, “0?monitor_config,1(from-internal,88007078000):monitor_default,1(from-internal,88007078000)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/77011-00000000”, “0?is_exten”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] StackPop(“SIP/77011-00000000”, “”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] Return(“SIP/77011-00000000”, “FALSE”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:15] ExecIf(“SIP/77011-00000000”, “1?Set(CHANNEL(language)=en)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:16] GotoIf(“SIP/77011-00000000”, “1?continue”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Goto (macro-user-callerid,s,30)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:30] Set(“SIP/77011-00000000”, “CALLERID(number)=77011”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:31] Set(“SIP/77011-00000000”, “CALLERID(name)=Dmitriy Stepanov”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:32] Set(“SIP/77011-00000000”, “CDR(cnum)=77011”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:33] Set(“SIP/77011-00000000”, “CDR(cnam)=Dmitriy Stepanov”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:34] Set(“SIP/77011-00000000”, “CHANNEL(language)=en”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] ExecIf(“SIP/77011-00000000”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] Set(“SIP/77011-00000000”, “MOHCLASS=default”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:4] Set(“SIP/77011-00000000”, “_NODEST=”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:5] Macro(“SIP/77011-00000000”, “dialout-trunk,2,88007078000,on”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] Set(“SIP/77011-00000000”, “DIAL_TRUNK=2”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] GosubIf(“SIP/77011-00000000”, “0?sub-pincheck,s,1()”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/77011-00000000”, “0?disabletrunk,1”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:4] Set(“SIP/77011-00000000”, “DIAL_NUMBER=88007078000”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:5] Set(“SIP/77011-00000000”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:6] Set(“SIP/77011-00000000”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:7] GotoIf(“SIP/77011-00000000”, “1?nomax”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Goto (macro-dialout-trunk,s,9)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:9] GotoIf(“SIP/77011-00000000”, “0?skipoutcid”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:10] Set(“SIP/77011-00000000”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:11] Macro(“SIP/77011-00000000”, “outbound-callerid,2”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]tbound-callerid:1] ExecIf(“SIP/77011-00000000”, “0?Set(CALLERPRES()=)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:2] ExecIf(“SIP/77011-00000000”, “0?Set(REALCALLERIDNUM=77011)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/77011-00000000”, “1?normcid”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Goto (macro-outbound-callerid,s,6)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:6] Set(“SIP/77011-00000000”, “USEROUTCID=”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:7] Set(“SIP/77011-00000000”, “EMERGENCYCID=”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:8] Set(“SIP/77011-00000000”, “TRUNKOUTCID=74996086824”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:9] GotoIf(“SIP/77011-00000000”, “1?trunkcid”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Goto (macro-outbound-callerid,s,14)
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:14] ExecIf(“SIP/77011-00000000”, “1?Set(CALLERID(all)=74996086824)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:15] ExecIf(“SIP/77011-00000000”, “0?Set(CALLERID(all)=)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:16] ExecIf(“SIP/77011-00000000”, “1?Set(CALLERID(all)=74996086824)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:17] ExecIf(“SIP/77011-00000000”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:18] Set(“SIP/77011-00000000”, “CDR(outbound_cnum)=74996086824”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:19] Set(“SIP/77011-00000000”, “CDR(outbound_cnam)=”) in new stack
[2014-12-07 01:37:50] WARNING[9547] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:12] GosubIf(“SIP/77011-00000000”, “0?sub-flp-2,s,1()”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:13] Set(“SIP/77011-00000000”, “OUTNUM=88007078000”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:14] Set(“SIP/77011-00000000”, “custom=SIP/onlime_chan”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:15] ExecIf(“SIP/77011-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:16] ExecIf(“SIP/77011-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:17] Macro(“SIP/77011-00000000”, “dialout-trunk-predial-hook,”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:1] MacroExit(“SIP/77011-00000000”, “”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:18] GotoIf(“SIP/77011-00000000”, “0?bypass,1”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:19] ExecIf(“SIP/77011-00000000”, “1?Set(CONNECTEDLINE(num,i)=88007078000)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:20] ExecIf(“SIP/77011-00000000”, “1?Set(CONNECTEDLINE(name,i)=CID:74996086824)”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:21] GotoIf(“SIP/77011-00000000”, “0?customtrunk”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] pbx.c: Executing [[email protected]:22] Dial(“SIP/77011-00000000”, “SIP/onlime_chan/88007078000,300,Tt”) in new stack
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] netsock2.c: Using SIP RTP TOS bits 184
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] netsock2.c: Using SIP RTP CoS mark 5
[2014-12-07 01:37:50] VERBOSE[10300][C-00000000] app_dial.c: Called SIP/onlime_chan/88007078000
[2014-12-07 01:37:52] VERBOSE[10300][C-00000000] app_dial.c: SIP/onlime_chan-00000001 is making progress passing it to SIP/77011-00000000
[2014-12-07 01:37:54] VERBOSE[10300][C-00000000] app_dial.c: SIP/onlime_chan-00000001 answered SIP/77011-00000000
[2014-12-07 01:37:54] VERBOSE[10358][C-00000000] bridge_channel.c: Channel SIP/onlime_chan-00000001 joined ‘simple_bridge’ basic-bridge
[2014-12-07 01:37:54] VERBOSE[10300][C-00000000] bridge_channel.c: Channel SIP/77011-00000000 joined ‘simple_bridge’ basic-bridge
[2014-12-07 01:37:59] Asterisk 13.0.1 built by mockbuild @ jenkins2.schmoozecom.net on a x86_64 running Linux on 2014-11-20 22:40:06 UTC
[Dec 7 01:37:59] VERBOSE[10373] config.c: Parsing ‘/etc/asterisk/logger.conf’: Found
[Dec 7 01:37:59] VERBOSE[10373] config.c: Parsing ‘/etc/asterisk/logger_general_additional.conf’: Found
[Dec 7 01:37:59] VERBOSE[10373] config.c: Parsing ‘/etc/asterisk/logger_general_custom.conf’: Found
[Dec 7 01:37:59] VERBOSE[10373] config.c: Parsing ‘/etc/asterisk/logger_logfiles_additional.conf’: Found
[Dec 7 01:37:59] VERBOSE[10373] config.c: Parsing ‘/etc/asterisk/logger_logfiles_custom.conf’: Found

What is your endpoint 77011 ?

This is user extension.

What exactly is your context

[internal-user]

?

This is context, that is set up in Extensions for the user.

This is often a bad codec module, or something else unexpected in your module directory.

This is not an official ‘support’ statement, but I would start by deleting all the modules in /usr/lib64/asterisk/modules and then switching versions using asterisk-version-switch, which will re-populate it.