[Asterisk-Users] Bug? Asterisk crashes if SIP UA hangs up first

Bernie Hoeneisen bhoeneis at switch.ch
Wed Apr 7 06:24:01 MST 2004


Hi!

As reported earlier this week, I have problems with a sometimes-crashing
Asterisk. In most of the cases safe_asterisk is able to restart it.
But sometimes it crashes, so that manual interaction is necessary.

The seg-faults and crashes occurs, right after call between a SIP Terminal
and a legacy PSTN Terminal (PRI/Euro-ISDN), but only if the SIP Terminal
hangs up as first. No problem, if the ISDN reports the hang up
first.
(Note: There is no difference, which side has set up the call.)

Any idea? Any hints are highly appreciated.

cheers,
 Bernie

---------- Forwarded message ----------
Date: Mon, 5 Apr 2004 18:25:18 +0200 (CEST)
From: Bernie Hoeneisen <bhoeneis at switch.ch>
Reply-To: asterisk-users at lists.digium.com
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Segmentation fault, exit status 139, ...

Hi!

I am running an * 0.7.2 on an X86 debian stable 2.4.25 (with
backports.org). The HW I am using is Digium's E100P on an HP DL 380.

Quite often it crashes  after a call has finished. Below some logs
form the * Console as well as from  the /var/log/asterisk/messages
(Replaced some stuff with XXX).

Any idea what there could be the reason for this segmentaion fault?
What other indormation (e.g. configs) would be required to analyse
this problem further?

Thanx for you help!

cheers,
 Bernie


* Console:

Apr  5 18:01:18 WARNING[24594]: app_dial.c:331 wait_for_answer:
Unable to forward voice
    -- Hungup 'Zap/1-1'
  == No one is available to answer at this time
    -- Executing Dial("SIP/xxx.switch.ch-0894ea58",
"Zap/g1/04176XXXXXXX") in new stack
    -- Called g1/04176XXXXXXXX
    -- Zap/1-1 is ringing
    -- Hungup 'Zap/1-1'
  == Spawn extension (SIP, +4176XXXXXXX, 1) exited non-zero on
'SIP/xxx.switch.ch-0894ea58'
astra*CLI>
/usr/sbin/safe_asterisk: line 6: 20873 Segmentation fault
asterisk ${ASTARGS} 1>&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

Disconnected from Asterisk server
bhoeneis at astra:/etc/asterisk$ /usr/sbin/safe_asterisk: line 6: 20905
Segmentation fault      asterisk ${ASTARGS} 1>&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
/usr/sbin/safe_asterisk: line 6: 20925 Segmentation fault      asterisk
${ASTARGS} 1>&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
/usr/sbin/safe_asterisk: /dev/tty9: Input/output error
Asterisk ended with exit status 1
Asterisk died with code 1.  Aborting.


* /var/log/asterisk/messages:

Apr  5 18:01:18 WARNING[24594]: Unable to forward voice
Apr  5 18:01:34 ERROR[1024]: Unable to load config iax1.conf
Apr  5 18:01:34 WARNING[1024]: Ignoring port for now
Apr  5 18:01:47 WARNING[16401]: Timeout, but no rule 't' in context 'SIP'
Apr  5 18:01:57 ERROR[1024]: Unable to load config iax1.conf

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list