[Home]

Summary:ASTERISK-12799: crash with res_features
Reporter:Daniel Wagner (dwagner)Labels:
Date Opened:2008-09-29 10:36:36Date Closed:2008-10-14 11:12:44
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_features
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:(gdb) bt full
#0  ast_cdr_specialized_reset (cdr=0x84a3460, _flags=0x0) at cdr.c:693
No locals.
#1  0xb7e9e07f in ast_bridge_call (chan=0x826e110, peer=0x82441c8, config=0xb5f52810) at res_features.c:1813
       cur = Variable "cur" is not available.
-----------------------------

(gdb) bt
#0  ast_cdr_specialized_reset (cdr=0x84a3460, _flags=0x0) at cdr.c:693
693                     if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {
(gdb) bt
#0  ast_cdr_specialized_reset (cdr=0x84a3460, _flags=0x0) at cdr.c:693
#1  0xb7e9e07f in ast_bridge_call (chan=0x826e110, peer=0x82441c8, config=0xb5f52810) at res_features.c:1813
#2  0xb6227479 in dial_exec_full (chan=0x826e110, data=Variable "data" is not available.
) at app_dial.c:1782
#3  0xb622a064 in dial_exec (chan=0x48e0dd19, data=0x39978) at app_dial.c:1836
#4  0x080cadf0 in pbx_extension_helper (c=0x826e110, con=Variable "con" is not available.
) at /usr/src/install-asterisk/1.4/include/asterisk/strings.h:35
ASTERISK-1  0x080cb33a in ast_spawn_extension (c=0x48e0dd19, context=0x39978 <Address 0x39978 out of bounds>, exten=0x39978 <Address 0x39978 out of bounds>, priority=235896,
   callerid=0x39978 <Address 0x39978 out of bounds>) at pbx.c:2317
ASTERISK-2  0xb79c2ff6 in _macro_exec (chan=0x826e110, data=Variable "data" is not available.
) at app_macro.c:308
ASTERISK-3  0x080cadf0 in pbx_extension_helper (c=0x826e110, con=Variable "con" is not available.
) at /usr/src/install-asterisk/1.4/include/asterisk/strings.h:35
ASTERISK-4  0x080cb33a in ast_spawn_extension (c=0x48e0dd19, context=0x39978 <Address 0x39978 out of bounds>, exten=0x39978 <Address 0x39978 out of bounds>, priority=235896,
   callerid=0x39978 <Address 0x39978 out of bounds>) at pbx.c:2317
ASTERISK-5  0xb79c2ff6 in _macro_exec (chan=0x826e110, data=Variable "data" is not available.
) at app_macro.c:308
ASTERISK-6 0x080cadf0 in pbx_extension_helper (c=0x826e110, con=Variable "con" is not available.
) at /usr/src/install-asterisk/1.4/include/asterisk/strings.h:35
ASTERISK-7 0x080cf5a6 in __ast_pbx_run (c=0x826e110) at pbx.c:2317
ASTERISK-8 0x080d147e in pbx_thread (data=0x826e110) at pbx.c:2621
ASTERISK-9 0x081016b5 in dummy_start (data=0x39978) at utils.c:912
ASTERISK-10 0x008fc371 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-11 0x007fd9be in clone () from /lib/tls/libc.so.6
Comments:By: Leif Madsen (lmadsen) 2008-10-01 10:42:56

Hey murf,

I assigned this to you since it seems to have something to do with CDR stuff, so maybe you can perform the initial triage work to determine if this is something you can fix or not.

Thanks!

By: Steve Murphy (murf) 2008-10-08 13:14:37

OK, so it appears that the specialized_reset crash is not yet totally mitigated!

So, dwagner, I need to know what asterisk was doing when this crash occurred, so I can reproduce it on my test machine.

The bt tells me that you had bridged a call, and someone hung up, and the post-bridge code was getting executed. I would assume some sort of transfer
had been involved. Tell me more...!


By: Steve Murphy (murf) 2008-10-13 16:36:31

dwagner-- or anyone else having this problem-- If you are busy and can't
supply more info, I'm going to close this bug with "suspend" status until
you can gether more info; then you can re-open it. I'll give you another day.

By: Daniel Wagner (dwagner) 2008-10-14 01:51:05

I unfortunately can't reproduce this error, therefore I can't give you more information. Thanks for your help.

By: Steve Murphy (murf) 2008-10-14 11:12:42

That's good to hear. I'll close this bug with "fixed", as it appears that a previous bug fix did the trick.