[Home]

Summary:ASTERISK-14960: [patch] Asterisk 1.4.27-rc2 crash
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2009-10-08 04:12:48Date Closed:2009-11-05 13:48:29.000-0600
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Channels/chan_misdn
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fix_16041.patch
( 1) fullbt.txt
Description:I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached a full bt.
Comments:By: Leif Madsen (lmadsen) 2009-10-08 07:07:14

And this didn't crash in any version prior to 1.4.27-rc2? (i.e. 1.4.27-rc1?)

By: Francesco Romano (francesco_r) 2009-10-08 07:18:06

I have upgraded from 1.4.21 and i didn't have a single crash with this version.
I see that in r222691 there is an update in chan_misdn code relative to astdtmf configuration option that i use. Do you think there is a relationship with this crash?

By: Sven Hirschmueller (sodom) 2009-10-12 03:43:24

Maybe your crashes are related to mine. Do asterisk randomly crashes or did it goes down only if a misdn connection is ending ?

By: Francesco Romano (francesco_r) 2009-10-12 04:01:26

With DON'T OPTIMIZE the crashes are less frequent in the whole day but as you can see there are always when the office open at 7:00AM and the staff start to phone:
-rw------- 1 asterisk asterisk 45752320 2009-10-08 07:02 core.14222
-rw------- 1 asterisk asterisk 46931968 2009-10-08 09:56 core.14272
-rw------- 1 asterisk asterisk 58339328 2009-10-09 07:02 core.14846
-rw------- 1 asterisk asterisk 60628992 2009-10-12 07:01 core.24332

By: Sven Hirschmueller (sodom) 2009-10-12 09:29:07

Hmm,

that's the same i monitor.. mostly our pbx went down after i power it on (It didn't run the whool day) and it need to handle the first calls. I'am still not able to change the system to debug mode and my test system didn't generate the problem in the moment. (We run a 1.4.26er system)
As i noted in my bug report i think it's the hangup process. In the moment i think it's an access to channel elements already freed priviously in the hang process but maybe i misinterpret the situation. (Sorry for not offerening hard facts.)

By: Guillaume Knispel (gknispel_proformatique) 2009-10-21 13:26:40

hi,
here is a patch that might solve this issue (issue which already existed in Asterisk 1.4.26, and which is not 100% reproductible because it is an uninitialized memory on the stack bug)

By: Francesco Romano (francesco_r) 2009-10-27 03:03:17

I have patched asterisk 1.4 SVN and seems stable, 3 days without crash. I think you can merge this patch and close this issue. Thank you.

By: Digium Subversion (svnbot) 2009-11-05 13:05:13.000-0600

Repository: asterisk
Revision: 228078

U   branches/1.4/channels/chan_misdn.c

------------------------------------------------------------------------
r228078 | dbrooks | 2009-11-05 13:05:13 -0600 (Thu, 05 Nov 2009) | 9 lines

chan_misdn Asterisk 1.4.27-rc2 crash

Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
a full bt." This patch zeros out an ast_frame.

(closes issue ASTERISK-14960)
Reported by: francesco_r

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228078

By: Digium Subversion (svnbot) 2009-11-05 13:40:22.000-0600

Repository: asterisk
Revision: 228145

_U  trunk/
U   trunk/channels/chan_misdn.c

------------------------------------------------------------------------
r228145 | dbrooks | 2009-11-05 13:40:21 -0600 (Thu, 05 Nov 2009) | 16 lines

Merged revisions 228078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines
 
 chan_misdn Asterisk 1.4.27-rc2 crash
 
 Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
 by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
 a full bt." This patch zeros out an ast_frame.
 
 (closes issue ASTERISK-14960)
 Reported by: francesco_r
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228145

By: Digium Subversion (svnbot) 2009-11-05 13:44:55.000-0600

Repository: asterisk
Revision: 228146

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_misdn.c

------------------------------------------------------------------------
r228146 | dbrooks | 2009-11-05 13:44:55 -0600 (Thu, 05 Nov 2009) | 23 lines

Merged revisions 228145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228145 | dbrooks | 2009-11-05 13:34:50 -0600 (Thu, 05 Nov 2009) | 16 lines
 
 Merged revisions 228078 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines
   
   chan_misdn Asterisk 1.4.27-rc2 crash
   
   Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
   by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
   a full bt." This patch zeros out an ast_frame.
   
   (closes issue ASTERISK-14960)
   Reported by: francesco_r
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228146

By: Digium Subversion (svnbot) 2009-11-05 13:47:12.000-0600

Repository: asterisk
Revision: 228147

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_misdn.c

------------------------------------------------------------------------
r228147 | dbrooks | 2009-11-05 13:47:12 -0600 (Thu, 05 Nov 2009) | 23 lines

Merged revisions 228145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228145 | dbrooks | 2009-11-05 13:34:50 -0600 (Thu, 05 Nov 2009) | 16 lines
 
 Merged revisions 228078 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines
   
   chan_misdn Asterisk 1.4.27-rc2 crash
   
   Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
   by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
   a full bt." This patch zeros out an ast_frame.
   
   (closes issue ASTERISK-14960)
   Reported by: francesco_r
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228147

By: Digium Subversion (svnbot) 2009-11-05 13:48:28.000-0600

Repository: asterisk
Revision: 228148

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_misdn.c

------------------------------------------------------------------------
r228148 | dbrooks | 2009-11-05 13:48:27 -0600 (Thu, 05 Nov 2009) | 23 lines

Merged revisions 228145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228145 | dbrooks | 2009-11-05 13:34:50 -0600 (Thu, 05 Nov 2009) | 16 lines
 
 Merged revisions 228078 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines
   
   chan_misdn Asterisk 1.4.27-rc2 crash
   
   Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
   by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
   a full bt." This patch zeros out an ast_frame.
   
   (closes issue ASTERISK-14960)
   Reported by: francesco_r
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228148