[Home]

Summary:ASTERISK-12251: Segmentation fault in "Session timer expired:" debug message
Reporter:Grant Murray (grant)Labels:
Date Opened:2008-06-23 14:49:12Date Closed:2011-06-07 14:00:40
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20080625__bug12919.diff.txt
( 1) bt-20080623-01.txt
( 2) bt-20080623-02.txt
( 3) bt-20080624-01.txt
( 4) bt-20080625-01.txt
( 5) settings.txt
Description:My asterisk installation initiates about 3 SIP sessions per second, it can run for a few hours without crashing, but it does crash at least once a day.
Comments:By: Grant Murray (grant) 2008-06-23 14:53:38

Linux worker2 2.6.24-17-server #1 SMP Thu May 1 15:05:55 UTC 2008 i686 GNU/Linux

Ubuntu 8.04

By: Tilghman Lesher (tilghman) 2008-06-25 16:03:28

Patch uploaded.  Please test and give me feedback on whether it fixes your issue.

By: Grant Murray (grant) 2008-06-25 21:46:05

patch was applied but to no avail, it still crashed. see bt-20080625-01.txt

By: Raj Jain (rjain) 2008-06-27 00:14:57

I've been trying to reproduce this issue under various session-timers settings but no success. grant, could you pls. share your settings for the following flags:

session-timers=
session-expires=
session-minse=
session-refresher=

By: Grant Murray (grant) 2008-06-27 09:49:55

attached the settings (I did not explicitly set them so I assume these are the defaults).

I was initiating 10's of thousand of SIP sessions over several hours, before this crash would occur. I only mention this in case this helps your efforts to reproduce the symptom.

By: Raj Jain (rjain) 2008-06-30 06:39:54

grant, could you do me a favor -- set session-timers=refuse in your sip.conf at the global level and rerun your tests and let us know what happens.

By: Olle Johansson (oej) 2008-07-03 11:42:01

Please try with latest 1.6.0 from svn. I added a fix so that we stop session timers as soon as we decided to hangup an active call. Previously, session timers went on like nothing happened until we destroyed the in-memory dialog, which could have caused your problem.

By: Tilghman Lesher (tilghman) 2008-07-25 18:05:06

No response from reporter

By: Grant Murray (grant) 2008-10-20 16:30:40

This problem appears to be fixed in 1.6+
Thanks.

By: Tilghman Lesher (tilghman) 2008-10-21 09:35:03

Closed on request of reporter