[Home]

Summary:ASTERISK-10884: crash at manager.c pointer error
Reporter:Bing Li(enst) (enst)Labels:
Date Opened:2007-11-25 20:01:01.000-0600Date Closed:2011-06-07 14:00:28
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:#0  0x000000000048e09a in process_events (s=0x7cfc64) at manager.c:1982
       eqe = (struct eventqent *) 0xe0430b24
       ret = 0
       __PRETTY_FUNCTION__ = "process_events"
#1  0x000000000048ee5b in do_message (s=0x7cfc64) at manager.c:2169
       m = {hdrcount = 0, headers = {0x0 <repeats 128 times>}}
       header_buf = '\0' <repeats 1023 times>
       res = 0
#2  0x000000000048f0cc in session_do (data=0x7cfc64) at manager.c:2197
       s = (struct mansession *) 0x7cfc64
       res = 0
       __PRETTY_FUNCTION__ = "session_do"
#3  0x00000000004e23a8 in dummy_start (data=0x7cd7c4) at utils.c:806
       __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -443722360254235116, 1074233344, 1078901072, 4096, 1074229264,
       -443722360262623724, -443863101436592620}, __mask_was_saved = 0}}, __pad = {0x404eb1e0, 0x0, 0x2b8748a60870, 0x2b8748a60888}}
       __cancel_routine = (void (*)(void *)) 0x42a31b <ast_unregister_thread>
       __cancel_arg = (void *) 0x404eb950
       not_first_call = 0
       ret = (void *) 0x2b8748a60880
       a = {start_routine = 0x48f09c <session_do>, data = 0x7cfc64,
 name = 0x7cd864 "session_do", ' ' <repeats 11 times>, "started at [ 2306] manager.c accept_thread()"}
       lock_info = (struct thr_lock_info *) 0x7d0314
       __PRETTY_FUNCTION__ = "dummy_start"
#4  0x00002b8747e07317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-1  0x00002b87487e2d5d in clone () from /lib/libc.so.6
No symbol table info available.
ASTERISK-2  0x0000000000000000 in ?? ()
No symbol table info available.


(gdb) f 0
#0  0x000000000048e09a in process_events (s=0x7cfc64) at manager.c:1982
1982                    if ((s->authenticated && (s->readperm & eqe->category) == eqe->category) &&
(gdb) p eqe
$3 = (struct eventqent *) 0xe0430b24
(gdb) p s->eventq->next
$4 = (struct eventqent *) 0x2aaae0430b24



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

ubuntu 7.10
64bit
Comments:By: Bing Li(enst) (enst) 2007-11-25 20:05:01.000-0600

sorry, it should be crash, I selected the wrong type.

By: Tilghman Lesher (tilghman) 2007-11-26 11:46:13.000-0600

Please follow the instructions in doc/valgrind.txt

By: Tilghman Lesher (tilghman) 2007-11-26 11:47:44.000-0600

Also, please upgrade to 1.4.14, as the crash may already have been fixed.

By: Tilghman Lesher (tilghman) 2007-11-26 11:49:02.000-0600

Reopen if this is still an issue in 1.4.14.

By: Bing Li(enst) (enst) 2007-11-26 20:16:37.000-0600

but I can not use 1.4.14 at all.

when I ran 1.4.14 for a few minutes , there are too many errors.  

XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() channel.c:line 5030 in ast_channel_trylock lock_name &chan->lock lock_addr 0x7f71bc type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() app_queue.c:line 691 in statechange_queue lock_name &device_state.lock lock_addr 0x2aaab8b962f0 type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() channel.c:line 5030 in ast_channel_trylock lock_name &chan->lock lock_addr 0x7f71bc type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() app_queue.c:line 691 in statechange_queue lock_name &device_state.lock lock_addr 0x2aaab8b962f0 type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() channel.c:line 5030 in ast_channel_trylock lock_name &chan->lock lock_addr 0x7f71bc type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() app_queue.c:line 691 in statechange_queue lock_name &device_state.lock lock_addr 0x2aaab8b962f0 type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() channel.c:line 5030 in ast_channel_trylock lock_name &chan->lock lock_addr 0x7f71bc type 0
XXX ERROR XXX A thread holds more locks than '32'.  Increase AST_MAX_LOCKS!
id:1074477392 name:do_devstate_changes  started at [  378] devicestate.c ast_device_state_engine_init() app_queue.c:line 691 in statechange_queue lock_name &device_state.lock lock_addr 0x2aaab8b962f0 type 0

By: Tilghman Lesher (tilghman) 2007-12-24 23:39:00.000-0600

I still need the valgrind output to be able to do anything with this report.

By: Tilghman Lesher (tilghman) 2008-01-08 15:31:04.000-0600

No response from reporter.  Please reopen if you have the requested debugging information.