I got another segfault error and had a chance to try what you've suggested:
-> there are no read/write errors in messages, so confirmed CF card
should still be good
-> I do have CURL() in extensions.conf, however that context had not
been called at the time of the error
-> I was able to restart Asterisk from the Network tab (thanks for the tip!)

So, on my last error, I pulled the following lines from /var/log/messages:
Jan 17 10:25:27 pbx daemon.info ntpd[1619]: synchronized to LOCAL(0), stratum 5
Jan 17 10:26:32 pbx daemon.info ntpd[1619]: synchronized to
209.139.209.82, stratum 2
Jan 17 20:21:52 pbx user.info kernel: asterisk[1720]: segfault at
61313737 ip 400a5625 sp be9fb49c error 4 in
libuClibc-0.9.28.so[4006e000+44000]

With the ~10h difference between the last message and the sefault, I
don't think they're related.

I was also able to see the following in /var/log/asterisk/messages
[Jan 17 20:21:51] NOTICE[2310] app_nv_faxdetect.c: Redirecting
IAX2/outbound-unlimitel-6560 to fax extension
[Jan 17 20:21:51] NOTICE[2310] channel.c: Dropping incompatible voice
frame on IAX2/outbound-unlimitel-6560 of format slin since our native
format has changed to 0x4 (ulaw)
[Jan 17 20:21:51] WARNING[1837] chan_iax2.c: Call rejected by 192.168.2.3: Busy

This is making me think I'm being "spam faxed" and it is NVfaxDetect
causing the problems.

Background:
I have a single IAX2 trunk. I use this for both voice and fax. For an
incoming call, I don't ring the internal extensions for 4s but use
NVfaxdetect to see if it is a fax; if it is, the fax is passed to a
second server running hylafax:
exten => xxxxxxxx,n,Answer
exten => xxxxxxxx,n,NVFaxDetect(4|t)
exten => 
xxxxxxxx,n,Dial(${7941_C}&${9133_K}&${GIGA1}&${IPHONE}&${ZAP1}&${MOBILE},20,okt)
exten => xxxxxxxx,n,VoiceMail(u501@default)

exten => fax,1,Dial(IAX2/iaxmodem)


I'm assuming the second message in /var/log/asterisk/messages is
causing the problem? In iax.conf I do have the following statement:
disallow=all
allow=ulaw

Am I missing something else?

> Message: 2
> Date: Mon, 17 Jan 2011 14:59:25 -0600
> From: Lonnie Abelbeck <[email protected]>
> Subject: Re: [Astlinux-users] segfault error
> To: AstLinux Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Shamus,
>
> I suppose it could be a dying CF card.
>
> Unless this thread generates other reports with similar segfaults, it seems 
> unique to your setup.
>
> In your asterisk config, are you using CURL() or system() calls, or other 
> things reaching outside of asterisk?
>
> Lonnie
>
>
> On Jan 17, 2011, at 2:07 PM, Shamus Rask wrote:
>
>> I did the upgrade to 0.7.5 about a week ago. These errors didn't start
>> to occur until a couple of days ago; since then, they've been
>> consistent every 24-40 hours. No other changes have been made... could
>> this be a dying CF card?
>>
>> cheers,
>>   S.
>>
>>>> Lonnie,
>>>>
>>>> AstLinux 0.7.5 (generic x86)
>>>> Asterisk 1.4.36 with a single WCTDM/4 Wildcard board with 1x FXO, 2x
>>>> FXS installed
>>>> runnix 0.3.2
>>>
>>> Hmmm, seems pretty standard.  If you have any clues on what may have 
>>> changed on your setup (upgrade, etc.) that started the regular segfaults in 
>>> asterisk please forward them.
>>>
>>>
>>>> manager.conf already has the entries as you outlined. My comment was
>>>> that on receiving the "segfault" error, Asterisk seems to die and I'm
>>>> unable to restart it through the webGUI. Instead, I have to reboot the
>>>> whole box.
>>>
>>> Ahaa, yes, "Reload Asterisk Modules" does a "module reload" (or whatever 
>>> you define via the Prefs tab) at the asterisk command line, that won't work 
>>> if asterisk has died... hence the error message you reported.
>>>
>>> Though, you can restart asterisk from the Network tab at the top:
>>> { Reboot/Restart } - [ Restart Asterisk ] - _x_ Confirm
>>>
>>> That will restart the asterisk process via the web interface.
>>>
>>> A new feature for the upcoming 0.7.6 is SAFE_ASTERISK="yes" which when 
>>> defined will automatically restart asterisk on a segfault (optionally send 
>>> email, etc.).
>>>
>>> Lonnie
>>>
>>>
>>>
>>>>
>>>> cheers,
>>>>   Shamus
>>>>
>>>>
>>>>> Shamus,
>>>>> What AstLinux version are your using?  What asterisk version?
>>>>> Michael has seen the same asterisk segfault, but only with asterisk 
>>>>> 1.4.37+, we have only shipped 1.4.36 because of that reason.
>>>>> Are you using mISDN ?  anything unusual?
>>>>> Regarding the web interface and "Reload Asterisk Modules", your asterisk 
>>>>> manager.conf file should contain the following section:
>>>>> --
>>>>> [webinterface]
>>>>> secret = webinterface
>>>>> deny = 0.0.0.0/0.0.0.0
>>>>> permit = 127.0.0.1/255.255.255.255
>>>>> read = command
>>>>> write = command
>>>>> --
>>>>> If not, you can add it.
>>>>> Lonnie
>>>>>
>>>>>> On Jan 17, 2011, at 10:15 AM, Shamus Rask wrote:
>>>>>> I've been using AstLinux for > 1 year now and it has been wonderfully 
>>>>>> stable. Recently, I've started to receive the following error every ~40 
>>>>>> hours:
>>>>>>
>>>>>> Jan 17 09:54:54 pbx user.info kernel: asterisk[1713]: segfault at 
>>>>>> 62616237 ip 400a5625 sp bebfb29c error 4 in 
>>>>>> libuClibc-0.9.28.so[4006e000+44000]
>>>>>>
>>>>>> Through the web GUI, I tried to "Reload Asterisk Modules", but get the 
>>>>>> following comment:
>>>>>>
>>>>>> The "manager.conf" file is not enabled for 127.0.0.1 on port 5038
>>>>>>
>>>>>> The only way to get it back up and running is a full reboot...
>>>>>>
>>>>>> ... any thoughts on what the problem is? I'm running the latest version. 
>>>>>> Could it be the CF card has been corrupted from too many read/writes?
>>>>>>
>>>>>> many thanks,
>>>>>>   S.
>>>>>> ------------------------------------------------------------------------------
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Protect Your Site and Customers from Malware Attacks
>>>> Learn about various malware tactics and how to avoid them. Understand
>>>> malware threats, the impact they can have on your business, and how you
>>>> can protect your company and customers by using code signing.
>>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>> _______________________________________________
>>>> Astlinux-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>>
>>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>>> [email protected].
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> Protect Your Site and Customers from Malware Attacks
>>> Learn about various malware tactics and how to avoid them. Understand
>>> malware threats, the impact they can have on your business, and how you
>>> can protect your company and customers by using code signing.
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Astlinux-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>> [email protected].
>>>
>>> End of Astlinux-users Digest, Vol 54, Issue 10
>>> **********************************************
>>>
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Astlinux-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> [email protected].
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 17 Jan 2011 15:47:21 -0600
> From: Darrick Hartman <[email protected]>
> Subject: Re: [Astlinux-users] Astlinux-users Digest, Vol 54, Issue 10
> To: [email protected]
> Message-ID: <1295300841.2488.1.camel@laptop>
> Content-Type: text/plain; charset="UTF-8"
>
> Log in on the command line.  If you parse /var/log/messages you would
> see drive write or seek errors if the problem is the CF card.
>
> Darrick
>
> On Mon, 2011-01-17 at 15:07 -0500, Shamus Rask wrote:
>> I did the upgrade to 0.7.5 about a week ago. These errors didn't start
>> to occur until a couple of days ago; since then, they've been
>> consistent every 24-40 hours. No other changes have been made... could
>> this be a dying CF card?
>>
>> cheers,
>>    S.
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 17 Jan 2011 22:48:41 +0100
> From: Miguel Angel <[email protected]>
> Subject: Re: [Astlinux-users] segfault error
> To: AstLinux Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Do you have Change The eth0 to other??can you to acess The Gui-astlinux?
>
> Enviado desde mi iPhone
>
> El 17/01/2011, a las 17:15, Shamus Rask <[email protected]> escribi?:
>
>> I've been using AstLinux for > 1 year now and it has been wonderfully 
>> stable. Recently, I've started to receive the following error every ~40 
>> hours:
>>
>> Jan 17 09:54:54 pbx user.info kernel: asterisk[1713]: segfault at 62616237 
>> ip 400a5625 sp bebfb29c error 4 in libuClibc-0.9.28.so[4006e000+44000]
>>
>> Through the web GUI, I tried to "Reload Asterisk Modules", but get the 
>> following comment:
>>
>> The "manager.conf" file is not enabled for 127.0.0.1 on port 5038
>>
>> The only way to get it back up and running is a full reboot...
>>
>> ... any thoughts on what the problem is? I'm running the latest version. 
>> Could it be the CF card has been corrupted from too many read/writes?
>>
>> many thanks,
>>    S.
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Astlinux-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> [email protected].
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 5
> Date: Mon, 17 Jan 2011 20:30:17 -0500
> From: Shamus Rask <[email protected]>
> Subject: Re: [Astlinux-users] segfault error
> To: astlinux-users <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> sorry for the re-post... forgot to change the subject.
>
>
> I did the upgrade to 0.7.5 about a week ago. These errors didn't start
> to occur until a couple of days ago; since then, they've been
> consistent every 24-40 hours. No other changes have been made... could
> this be a dying CF card?
>
> cheers,
> ? S.
>
>>> Lonnie,
>>>
>>> AstLinux 0.7.5 (generic x86)
>>> Asterisk 1.4.36 with a single WCTDM/4 Wildcard board with 1x FXO, 2x
>>> FXS installed
>>> runnix 0.3.2
>>
>> Hmmm, seems pretty standard. ?If you have any clues on what may have changed 
>> on your setup (upgrade, etc.) that started the regular segfaults in asterisk 
>> please forward them.
>>
>>
>>> manager.conf already has the entries as you outlined. My comment was
>>> that on receiving the "segfault" error, Asterisk seems to die and I'm
>>> unable to restart it through the webGUI. Instead, I have to reboot the
>>> whole box.
>>
>> Ahaa, yes, "Reload Asterisk Modules" does a "module reload" (or whatever you 
>> define via the Prefs tab) at the asterisk command line, that won't work if 
>> asterisk has died... hence the error message you reported.
>>
>> Though, you can restart asterisk from the Network tab at the top:
>> { Reboot/Restart } - [ Restart Asterisk ] - _x_ Confirm
>>
>> That will restart the asterisk process via the web interface.
>>
>> A new feature for the upcoming 0.7.6 is SAFE_ASTERISK="yes" which when 
>> defined will automatically restart asterisk on a segfault (optionally send 
>> email, etc.).
>>
>> Lonnie
>>
>>
>>
>>>
>>> cheers,
>>> ? Shamus
>>>
>>>
>>>> Shamus,
>>>> What AstLinux version are your using? ?What asterisk version?
>>>> Michael has seen the same asterisk segfault, but only with asterisk 
>>>> 1.4.37+, we have only shipped 1.4.36 because of that reason.
>>>> Are you using mISDN ? ?anything unusual?
>>>> Regarding the web interface and "Reload Asterisk Modules", your asterisk 
>>>> manager.conf file should contain the following section:
>>>> --
>>>> [webinterface]
>>>> secret = webinterface
>>>> deny = 0.0.0.0/0.0.0.0
>>>> permit = 127.0.0.1/255.255.255.255
>>>> read = command
>>>> write = command
>>>> --
>>>> If not, you can add it.
>>>> Lonnie
>>>>
>>>>> On Jan 17, 2011, at 10:15 AM, Shamus Rask wrote:
>>>>> I've been using AstLinux for > 1 year now and it has been wonderfully 
>>>>> stable. Recently, I've started to receive the following error every ~40 
>>>>> hours:
>>>>>
>>>>> Jan 17 09:54:54 pbx user.info kernel: asterisk[1713]: segfault at 
>>>>> 62616237 ip 400a5625 sp bebfb29c error 4 in 
>>>>> libuClibc-0.9.28.so[4006e000+44000]
>>>>>
>>>>> Through the web GUI, I tried to "Reload Asterisk Modules", but get the 
>>>>> following comment:
>>>>>
>>>>> The "manager.conf" file is not enabled for 127.0.0.1 on port 5038
>>>>>
>>>>> The only way to get it back up and running is a full reboot...
>>>>>
>>>>> ... any thoughts on what the problem is? I'm running the latest version. 
>>>>> Could it be the CF card has been corrupted from too many read/writes?
>>>>>
>>>>> many thanks,
>>>>> ? S.
>>>>> ------------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> Protect Your Site and Customers from Malware Attacks
>>> Learn about various malware tactics and how to avoid them. Understand
>>> malware threats, the impact they can have on your business, and how you
>>> can protect your company and customers by using code signing.
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>> _______________________________________________
>>> Astlinux-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to 
>>> [email protected].
>>>
>>>
>>
>>
>>
>>
>> ------------------------------
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>>
>> ------------------------------
>>
>> _______________________________________________
>> Astlinux-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> [email protected].
>>
>> End of Astlinux-users Digest, Vol 54, Issue 10
>> **********************************************
>>
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
>
> ------------------------------
>
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to 
> [email protected].
>
> End of Astlinux-users Digest, Vol 54, Issue 11
> **********************************************
>

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to