[Home]

Summary:ASTERISK-01861: Asterisk crashing after releasing clone lock
Reporter:Terry Wilson (twilson)Labels:
Date Opened:2004-06-21 15:37:31Date Closed:2008-01-15 15:00:05.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Twice in the last day I have had asterisk crash and core dump.  Both dumps looked like the same cause.  I am running using safe_asterisk.  It appears that both times the crash is happening in chan_local.  We use agents here, but it didn't look like the call that was going on at the time was an agent call.  I can't really test for reproducibility because this is a production server.  I am running CVS-HEAD-06/15/04-23:42:20.  If there is any other information I can give to help, let me know.

****** ADDITIONAL INFORMATION ******

Here is a backtrace.  Extension and context have been changed.

#0  local_indicate (ast=0xae746d8, condition=0) at chan_local.c:210
#1  0x0805aea6 in ast_indicate (chan=0xae746d8, condition=-1) at channel.c:1342
#2  0x002806fa in ast_bridge_call (chan=0xae746d8, peer=0xae6c9d0, config=0x463af9b0) at res_parking.c:275
#3  0x00364796 in dial_exec (chan=0xae746d8, data=0x463af9b0) at app_dial.c:896
#4  0x08071cc6 in pbx_exec (c=0xae746d8, app=0xbf00f940, data=0x463b1fc0, newstack=1) at pbx.c:429
ASTERISK-1  0x080796a1 in pbx_extension_helper (c=0xae746d8, context=0xae74830 "macro-oneline",
   exten=0xae746d8 "Local/1111@company-27be,2<ZOMBIE>", priority=3, callerid=0x92fc6f0 "1111", action=1) at pbx.c:1212
ASTERISK-2  0x08078635 in ast_spawn_extension (c=0x0, context=0x0, exten=0x0, priority=0, callerid=0x0) at pbx.c:1696
ASTERISK-3  0x00ea4464 in macro_exec (chan=0xae746d8, data=0xae746d8) at app_macro.c:141
ASTERISK-4  0x08071cc6 in pbx_exec (c=0xae746d8, app=0xbf22c870, data=0x463b6810, newstack=1) at pbx.c:429
ASTERISK-5  0x080796a1 in pbx_extension_helper (c=0xae746d8, context=0xae74830 "macro-oneline",
   exten=0xae746d8 "Local/1111@company-27be,2<ZOMBIE>", priority=1, callerid=0x92fc6f0 "1111", action=1) at pbx.c:1212
ASTERISK-6 0x08073c2c in ast_pbx_run (c=0xae746d8) at pbx.c:1696
ASTERISK-7 0x08079d61 in pbx_thread (data=0x0) at pbx.c:1921
ASTERISK-8 0x00c93dfc in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-9 0x001ecf2a in clone () from /lib/tls/libc.so.6
Comments:By: Mark Spencer (markster) 2004-06-21 15:40:04

If you have a core, find me on IRC so I can poke around on it.

By: Mark Spencer (markster) 2004-06-23 23:07:28

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:00:05.000-0600

Repository: asterisk
Revision: 3269

U   trunk/channels/chan_local.c

------------------------------------------------------------------------
r3269 | markster | 2008-01-15 15:00:05 -0600 (Tue, 15 Jan 2008) | 2 lines

Can't check outbound without having lock (bug ASTERISK-1861)

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

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