[asterisk-bugs] [Asterisk 0018874]: [patch] sig_pri_new_ast_channel should return NULL when new_ast_channel fails to create a channel
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 23 11:38:42 CST 2011
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=18874
======================================================================
Reported By: cmaj
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18874
Category: Channels/chan_dahdi
Reproducibility: random
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.8.3-rc2
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-02-23 11:37 CST
Last Modified: 2011-02-23 11:38 CST
======================================================================
Summary: [patch] sig_pri_new_ast_channel should return NULL
when new_ast_channel fails to create a channel
Description:
It appears that a non-existent channel's transfercapability was trying to
be set. This was during a kill -9 on a runaway box deadlocking in the TCP
TLS layer (which took over a minute to die, a separate matter.) But it
still looks like a bug. Patch attached.
(gdb) bt
https://issues.asterisk.org/view.php?id=0 sig_pri_new_ast_channel (p=0x12a0900,
state=<value optimized out>,
ulaw=<value optimized out>, transfercapability=16, exten=<value optimized
out>,
requestor=<value optimized out>) at sig_pri.c:877
https://issues.asterisk.org/view.php?id=1 0x00007f7f5a2c95dc in pri_dchannel
(vpri=<value optimized out>) at
sig_pri.c:4951
https://issues.asterisk.org/view.php?id=2 0x000000000053707c in dummy_start
(data=<value optimized out>) at
utils.c:971
https://issues.asterisk.org/view.php?id=3 0x00007f7f652c3fc7 in start_thread ()
from /lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=4 0x00007f7f65b0864d in clone () from
/lib/libc.so.6
https://issues.asterisk.org/view.php?id=5 0x0000000000000000 in ?? ()
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-02-23 11:38 cmaj Summary sig_pri_new_ast_channel
should return NULL when new_ast_channel fails to create a channel => [patch]
sig_pri_new_ast_channel should return NULL when new_ast_channel fails to create
a channel
======================================================================
More information about the asterisk-bugs
mailing list