[Home]

Summary:ASTERISK-13777: Long Page() arguments crash Asterisk
Reporter:Max Alex (maxalex)Labels:
Date Opened:2009-03-19 02:38:05Date Closed:2009-04-13 13:48:24
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_page
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 180653.txt
( 1) 180654.txt
( 2) core12551.txt
Description:Hi All,
I have a working asterisk 1.4.23.1 on server.
OS: Centos 5.2
We have got working of asterisk realtime dialplans and extensions.
Suddenly asterisk has stopped to process calls & crashed.
I found that asterisk has generated coredumps.
I have restarted asterisk & it started to work as expected without any issue.
Would you please help me out to troubleshoot the cause of crash?
I have added the backtrace of calls which were produced after crash of asterisk.
File: 180653.txt First produced core dump.
File: 180654.txt second produced core dump.
File: core12551.txt similiar core files are generated after crash.
Comments:By: Max Alex (maxalex) 2009-03-19 06:42:30

I have reproduced this issue by adding more number of extensions in call to page application in my dialplan.
Here is a sample dialplan of page.
-- AGI Script Executing Application: (Page) Options: (SIP/6001&SIP/6002&SIP/6003&SIP/6004&SIP/6005&SIP/6006&SIP/6007&SIP/6008&SIP/6009&SIP/6010&SIP/6011&SIP/6012&SIP/6013&SIP/6014&SIP/6015&SIP/6016&SIP/6017&SIP/6018&SIP/6019&SIP/6020&SIP/6021&SIP/6022&SIP/6023&SIP/6024&SIP/6025&SIP/6026&SIP/6027&SIP/6028&SIP/6029&SIP/6030&SIP/6031&SIP/6032&SIP/6033&SIP/6034&SIP/6035&SIP/6036&SIP/6037&SIP/6038&SIP/6039&SIP/6040&SIP/6041&SIP/6042&SIP/6043&SIP/6044&SIP/6045&SIP/6046&SIP/6047&SIP/6048&SIP/6049&SIP/6050&SIP/6051&SIP/6052&SIP/6053&SIP/6054&SIP/6055&SIP/6056&SIP/6057&SIP/6058&SIP/6059|q)

By: Clod Patry (junky) 2009-03-20 23:26:56

When im testing this with 1.4.23.1 (and also 1.4.23) its crashing all the time.
But, when testing with 1.4.24, i got 0 crash so far.

Give a try to 1.4.24 and report feedbacks please.


tested with:
exten => 123,1,Page(SIP/6001&SIP/6002&SIP/6003&SIP/6004&SIP/6005&SIP/6006&SIP/6007&SIP/6008&SIP/6009&SIP/6010&SIP/6011&SIP/6012&SIP/6013&SIP/6014&SIP/6015&SIP/6016&SIP/6017&SIP/6018&SIP/6019&SIP/6020&SIP/6021&SIP/6022&SIP/6023&SIP/6024&SIP/6025&SIP/6026&SIP/6027&SIP/6028&SIP/6029&SIP/6030&SIP/6031&SIP/6032&SIP/6033&SIP/6034&SIP/6035&SIP/6036&SIP/6037&SIP/6038&SIP/6039&SIP/6040&SIP/6041&SIP/6042&SIP/6043&SIP/6044&SIP/6045&SIP/6046&SIP/6047&SIP/6048&SIP/6049&SIP/6050&SIP/6051&SIP/6052&SIP/6053&SIP/6054&SIP/6055&SIP/6056&SIP/6057&SIP/6058&SIP/6059|q);

By: Tilghman Lesher (tilghman) 2009-03-21 01:46:53

This also will be next to impossible to track down until you follow the instructions in doc/backtrace.txt, especially the part about enabling the DONT_OPTIMIZE option.

By: Leif Madsen (lmadsen) 2009-04-13 13:45:10

I'm going to close this as JunK-Y has indicated he could reproduce on 1.4.23, but not on 1.4.24. If you are still having an issue with 1.4.24 or later, please reopen the issue and attach the information requested by Tilghman. Thanks!