[Home]

Summary:ASTERISK-19311: ParkAndAnnounce crash asterisk
Reporter:tootai (tootai)Labels:
Date Opened:2012-02-08 03:31:05.000-0600Date Closed:2012-03-19 17:47:00
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_parkandannounce
Versions:1.8.9.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu Lucid LTS 2.6.32-34-server with Asterisk stuff from asterisk.org - Ubuntu/Lucid This bug appears after having upgraded from version 1.8.8.0 to 1.8.9.0, both from Digium/Lucip repositoryAttachments:( 0) backtrace.txt
( 1) gdb.txt
Description:exten => s-BUSY,100(Park),ParkAndAnnounce(pbx-transfer:PARKED,${PARKEDTIME},Console/dsp,101)
exten => s-BUSY,101,Set(StatusPrio=AfterAnnounce)                                                  
...

Logs:

[Feb  8 07:17:05] VERBOSE[21000] pbx.c:     -- Executing [s-BUSY@onDialStatus:31] ParkAndAnnounce("SIP/119-00000017", "pbx-transfer:PARKED,45,Console/dsp,Next") in new stack  
[Feb  8 07:17:05] VERBOSE[21000] app_parkandannounce.c:     -- Dial Tech,String: (Console,dsp)                                                                                
[Feb  8 07:17:05] VERBOSE[21000] app_parkandannounce.c:     -- Return Context: (onDialStatus,s-BUSY,32) ID: 119

And Asterisk crash

On previous version, 1.8.8.0:

[Feb  7 17:07:27] VERBOSE[19253] app_parkandannounce.c:     -- Dial Tech,String: (Console,dsp)                                                                                
[Feb  7 17:07:27] VERBOSE[19253] app_parkandannounce.c:     -- Return Context: (onDialStatus,s-BUSY,32) ID: 00333xxxxxxxx                                                      
[Feb  7 17:07:27] VERBOSE[19253] res_musiconhold.c:     -- Started music on hold, class 'default', on SIP/pubuntux-00003862                                                    
[Feb  7 17:07:27] VERBOSE[19253] features.c:   == Parked SIP/pubuntux-00003862 on 701 (lot default). Will timeout back to extension [onDialStatus] s-BUSY, 32 in 45 seconds    
[Feb  7 17:07:27] VERBOSE[19253] pbx.c:     -- Added extension '701' priority 1 to parkedcalls                                                                                
[Feb  7 17:07:27] VERBOSE[19253] app_parkandannounce.c:     -- Call Parking Called, lot: 701, timeout: 45000, context: Next                                                    
[Feb  7 17:07:27] WARNING[19253] chan_oss.c: oss_request ty <Console> data 0x0x7f69ff4d61ef <dsp>                                                                              
[Feb  7 17:07:27] VERBOSE[19253] chan_oss.c:   == Console is full duplex                                                                                                      
[Feb  7 17:07:27] VERBOSE[19253] chan_oss.c:  << Call to device 'dsp' dnid '' rdnis '' on console from '' <> >>                                                                
[Feb  7 17:07:27] VERBOSE[19253] chan_oss.c:  << Auto-answered >>                                                                                                              
[Feb  7 17:07:27] VERBOSE[19253] file.c:     -- <Console/dsp> Playing 'pbx-transfer.gsm' (language 'fr')                                                                      
[Feb  7 17:07:28] VERBOSE[19253] file.c:     -- <Console/dsp> Playing 'digits/7.gsm' (language 'fr')                                                                          
[Feb  7 17:07:29] VERBOSE[19253] file.c:     -- <Console/dsp> Playing 'digits/0.gsm' (language 'fr')                                                                          
[Feb  7 17:07:30] VERBOSE[19253] file.c:     -- <Console/dsp> Playing 'digits/1.gsm' (language 'fr')                                                                          
[Feb  7 17:07:30] VERBOSE[19253] chan_oss.c:  << Hangup on console >>                                                                                                          
[Feb  7 17:07:30] VERBOSE[19253] pbx.c:     -- Executing [h@onDialStatus:1] Goto("Parked/SIP/pubuntux-00003862<ZOMBIE>", "h-NOANSWER,20") in new stack                        
[Feb  7 17:07:30] VERBOSE[19253] pbx.c:     -- Goto (onDialStatus,h-NOANSWER,21)                              
Comments:By: Richard Mudgett (rmudgett) 2012-02-08 11:17:26.377-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace



By: tootai (tootai) 2012-02-08 12:09:40.905-0600

From first core

By: tootai (tootai) 2012-02-08 12:10:30.822-0600

We switch back to 1.8.8.1 with the debs from http://packages.asterisk.org/deb/pool/main/a/asterisk/ all is good. The system is a customer production one, difficult to debug. Keep in mind that packages are binaries taken from asterisk.org Ubuntu/Lucid repository, we don't now if they are compiled with the DONT_OPTIMIZE flag. Attached are the backtrace.txt and gdb.txt from the first core this morning. We had 7 crash in 1h and 3 minutes.

By: Schmooze Com (schmoozecom) 2012-02-22 15:39:09.108-0600

I can confirm we are having the exact same issue in 1.8.9.1

By: Schmooze Com (schmoozecom) 2012-02-22 15:39:28.140-0600

If you need more back traces let me know and I will work on getting them.

By: Richard Mudgett (rmudgett) 2012-02-22 15:46:26.605-0600

The fix is already in v1.8.9.2.

By: Schmooze Com (schmoozecom) 2012-02-22 15:50:09.820-0600

Ok thanks.  Will give that a try.  I did not see anything in this ticket about what release it was fixed in.

By: Richard Mudgett (rmudgett) 2012-02-22 15:57:22.041-0600

Identifying which release a change makes it into is a manual process which is not often done.

You can look at the Subversion Commits tab an then look for that commit message or JIRA issue identifier in the ChangeLog file of releases.

By: Schmooze Com (schmoozecom) 2012-02-29 09:10:34.000-0600

I am still getting the same core dump when calling parkandannounce using asterisk 1.8.9.3

By: Richard Mudgett (rmudgett) 2012-02-29 10:26:20.137-0600

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

The original backtraces did not have any usable information to show where the problem was.  I ran into a crash myself because of an uninitialized variable and fixed that.

By: Schmooze Com (schmoozecom) 2012-02-29 10:29:10.922-0600

Ok I will get this to you later today.  Thanks

By: Richard Mudgett (rmudgett) 2012-03-19 17:40:07.884-0500

Schmooze Com: Ping?

By: Schmooze Com (schmoozecom) 2012-03-19 17:42:34.097-0500

Sorry you can close the ticket.  I thought I had responded weeks ago on this.  It appears I forgot to restart asterisk after updating Asterisk.  Once it crashed and came back up the first time it worked perfect.  Once again sorry for not updating you sooner.

By: Richard Mudgett (rmudgett) 2012-03-19 17:47:00.479-0500

Reclosing