[Home]

Summary:ASTERISK-01775: asterisk crashes
Reporter:atob (atob)Labels:
Date Opened:2004-06-07 11:01:23Date Closed:2004-09-25 02:43:28
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk CVS load - June 4th 19:03
Distribution Redhat 8 Linux 2.4.20-28.8

Asterisk crashed twice, first time:
(gdb) bt
#0  ast_monitor_stop (chan=0x4ad02da0, need_lock=0)
   at ../include/asterisk/utils.h:18
#1  0x08058795 in ast_channel_free (chan=0x4ad02da0) at channel.c:565
#2  0x08058950 in ast_hangup (chan=0x4ad02da0) at channel.c:717
#3  0x08073c3a in ast_pbx_run (c=0x4ad02da0) at pbx.c:1904
#4  0x08079ab1 in pbx_thread (data=0x1) at pbx.c:1916
ASTERISK-1  0x4003a881 in pthread_detach () from /lib/i686/libpthread.so.0
(gdb) bt full
#0  ast_monitor_stop (chan=0x4ad02da0, need_lock=0)
   at ../include/asterisk/utils.h:18
execute = 0x1 <Address 0x1 out of bounds>
soxmix = 0
#1  0x08058795 in ast_channel_free (chan=0x4ad02da0) at channel.c:565
last = (struct ast_channel *) 0x4193c2c4
cur = (struct ast_channel *) 0x1
fd = 1
f = (struct ast_frame *) 0x4193c2c4
fp = (struct ast_frame *) 0x1
headp = (struct varshead *) 0x81f0d40
name = "SIP/3492-6bda", '\0' <repeats 66 times>, "@"
#2  0x08058950 in ast_hangup (chan=0x4ad02da0) at channel.c:717
res = 0
#3  0x08073c3a in ast_pbx_run (c=0x4ad02da0) at pbx.c:1904
digit = 0 '\0'
exten = '\0' <repeats 255 times>
pos = 0
waittime = 1255163220
res = -1
#4  0x08079ab1 in pbx_thread (data=0x1) at pbx.c:1916
No locals.
ASTERISK-1  0x4003a881 in pthread_detach () from /lib/i686/libpthread.so.0
No symbol table info available.

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

Second time it crashed today:
(gdb) bt full
#0  ast_monitor_stop (chan=0x4b5026c8, need_lock=0)
   at ../include/asterisk/utils.h:18
execute = 0x1 <Address 0x1 out of bounds>
soxmix = 0
#1  0x08058795 in ast_channel_free (chan=0x4b5026c8) at channel.c:565
last = (struct ast_channel *) 0x4193c2c4
cur = (struct ast_channel *) 0x1
fd = 1
f = (struct ast_frame *) 0x4193c2c4
fp = (struct ast_frame *) 0x1
headp = (struct varshead *) 0x81cedf8
name = "SIP/3492-0d9e", '\0' <repeats 66 times>, "@"
#2  0x08058950 in ast_hangup (chan=0x4b5026c8) at channel.c:717
res = 0
#3  0x08073c3a in ast_pbx_run (c=0x4b5026c8) at pbx.c:1904
digit = 0 '\0'
exten = '\0' <repeats 255 times>
pos = 0
waittime = 1263550076
res = -1
#4  0x08079ab1 in pbx_thread (data=0x1) at pbx.c:1916
No locals.
ASTERISK-1  0x4003a881 in pthread_detach () from /lib/i686/libpthread.so.0
No symbol table info available.
Comments:By: Mark Spencer (markster) 2004-06-07 11:15:33

I believe this was already fixed in CVS head, can you please confirm you really are running the latest CVS head, especially with respect to res_monitor.  Probably need to come find someone on #asterisk-bugs on irc.freenode.net.

By: atob (atob) 2004-06-08 07:48:32

I'll update to today's cvs and see if that fixes it.

By: Mark Spencer (markster) 2004-06-08 17:20:57

Did that work for you?

By: alric (alric) 2004-06-11 08:21:42

Reminder sent to atob

Did upgrading to CVS-HEAD help your situation?

By: atob (atob) 2004-06-11 13:26:12

Yes I have - and so far no seg fault.
Thanks, I'll let you know if it happens again.

By: twisted (twisted) 2004-06-11 18:56:21

Fixed in CVS - If problem re-occurs, please feel free to re-open.