[asterisk-bugs] [Asterisk 0016876]: setting pollmailboxes=yes will crash asterisk on startup
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 23 05:19:48 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16876
======================================================================
Reported By: marcelloceschia
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16876
Category: Applications/app_voicemail/ODBC
Reproducibility: have not tried
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.2
JIRA: SWP-944
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-02-21 10:41 CST
Last Modified: 2010-02-23 05:19 CST
======================================================================
Summary: setting pollmailboxes=yes will crash asterisk on
startup
Description:
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0 0xb750d9a3 in strlen () from
/lib/libc.so.6
(gdb) bt full
https://issues.asterisk.org/view.php?id=0 0xb750d9a3 in strlen () from
/lib/libc.so.6
No symbol table info available.
https://issues.asterisk.org/view.php?id=1 0x08081947 in __ast_strdup (s=0x4
<Address 0x4 out of bounds>,
file=0xb67276e2 "app_voicemail.c", lineno=10274, func=0xb672c23a
"mwi_sub_event_cb") at astmm.c:261
len = 3076472820
ptr = <value optimized out>
https://issues.asterisk.org/view.php?id=2 0xb670a6ab in mwi_sub_event_cb
(event=0x909d5f0, userdata=0x0) at
app_voicemail.c:10274
__PRETTY_FUNCTION__ = "mwi_sub_event_cb"
https://issues.asterisk.org/view.php?id=3 0x080c79cf in handle_event
(data=0x909e0b8) at event.c:1137
ie_val = 0x0
sub = 0x8f9d4f0
https://issues.asterisk.org/view.php?id=4 0x0814ed04 in tps_processing_function
(data=0x82050a8) at
taskprocessor.c:310
t = 0x90b00b0
size = 0
__PRETTY_FUNCTION__ = "tps_processing_function"
https://issues.asterisk.org/view.php?id=5 0x0815b5c3 in dummy_start
(data=0x8209da8) at utils.c:968
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{136355392, 0, 4001536, -1222401128, -490538338, -1896930336},
__mask_was_saved = 0}}, __pad = {0xb723a454, 0x0, 0xb7310ff4, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
__PRETTY_FUNCTION__ = "dummy_start"
https://issues.asterisk.org/view.php?id=6 0xb72ff6e5 in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=7 0xb72ff600 in ?? () from
/lib/libpthread.so.0
No symbol table info available.
event->type = 768
event->event_len = 7680
event->payload = ""
======================================================================
----------------------------------------------------------------------
(0118400) marcelloceschia (reporter) - 2010-02-23 05:19
https://issues.asterisk.org/view.php?id=16876#c118400
----------------------------------------------------------------------
ok, i can reproduce it.
I use https://issues.asterisk.org/view.php?id=15757 to publish device an
voicemail states.
res_jabber subscribes for AST_EVENT_MWI without defining a mailbox and
context:
mwi_sub = ast_event_subscribe(AST_EVENT_MWI, aji_mwi_cb, client,
AST_EVENT_IE_END);
mybe this is a problem?
Full backtrace:
bt full
https://issues.asterisk.org/view.php?id=0 0xb75169a3 in strlen () from
/lib/libc.so.6
No symbol table info available.
https://issues.asterisk.org/view.php?id=1 0x0808292f in __ast_strdup (s=0x4
<Address 0x4 out of bounds>,
file=0xb65acbd4 "app_voicemail.c", lineno=10274, func=0xb65b1ea3
"mwi_sub_event_cb") at astmm.c:261
len = 136354272
ptr = 0x0
https://issues.asterisk.org/view.php?id=2 0xb65a6f2c in mwi_sub_event_cb
(event=0x90289d8, userdata=0x0) at
app_voicemail.c:10274
mwist = 0x8fc6090
__PRETTY_FUNCTION__ = "mwi_sub_event_cb"
https://issues.asterisk.org/view.php?id=3 0x080c3ba1 in handle_event
(data=0x8fc6ce8) at event.c:1137
ie_val = 0x0
event_ref = 0x8fc6ce8
sub = 0x8fa4620
host_event_type = 3
https://issues.asterisk.org/view.php?id=4 0x08146a51 in tps_processing_function
(data=0x82099a8) at
taskprocessor.c:310
i = 0x82099a8
t = 0x8fc5b60
size = 0
__PRETTY_FUNCTION__ = "tps_processing_function"
https://issues.asterisk.org/view.php?id=5 0x081541dd in dummy_start
(data=0x820e4e8) at utils.c:968
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
{-1221484556, 0, 4001536, -1222364264, 1489906403, 975901085},
__mask_was_saved = 0}}, __pad = {0xb7243454, 0x0, 0xb7322450, 0xb72af550}}
__cancel_routine = 0x80783cf <ast_unregister_thread>
__cancel_arg = 0xb7243b70
not_first_call = 0
ret = 0xb74a8dd4
a = {start_routine = 0x81468e3 <tps_processing_function>, data =
0x82099a8, name = 0x820e580 "tps_processing_function started at [ 451]
taskprocessor.c ast_taskprocessor_get()"}
__PRETTY_FUNCTION__ = "dummy_start"
https://issues.asterisk.org/view.php?id=6 0xb73086e5 in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=7 0xb7308600 in ?? () from
/lib/libpthread.so.0
No symbol table info available.
print event
$1 = (struct ast_event *) 0x90289d8
print (*event).payload
$2 = 0x90289dc ""
print (*event).event_len
$2 = 7680
Issue History
Date Modified Username Field Change
======================================================================
2010-02-23 05:19 marcelloceschiaNote Added: 0118400
======================================================================
More information about the asterisk-bugs
mailing list