[Home]

Summary:ASTERISK-10597: Segfault in ast_channel_spy_add() / AST_LIST_INSERT_TAIL
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2007-10-23 05:43:10Date Closed:2011-06-07 14:00:47
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_chanspy
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt.core.14433.txt
( 1) bt.core.20060.txt
Description:This also happened twice within period of few months (do not mistaken with ASTERISK-1099059 as that seems to be different).

Backtraces attached



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

#0  0x000000000043df99 in ast_channel_spy_add (chan=0xd1b030, spy=0x40c29e30)
at channel.c:1410^
1410      AST_LIST_INSERT_TAIL(&chan->spies->list, spy, list);^

#0  0x000000000043df99 in ast_channel_spy_add (chan=0xd1b030, spy=0x40c29e30)
at channel.c:1410^
 __PRETTY_FUNCTION__ = "ast_channel_spy_add"^
#1  0x00002aaab4f288e6 in start_spying (chan=0xd1b030, spychan=0x2aaaac4e6b10,
spy=0x40c29e30) from /usr/lib/asterisk/modules/app_chanspy.so^
 res = 268^
 peer = (struct ast_channel *) 0x2aaab4f2ab13^
 __PRETTY_FUNCTION__ = "start_spying"^
#2  0x00002aaab4f28cdb in channel_spy (chan=0x2aaaac4e6b10, spyee=0xd1b030,
volfactor=0x40c2a0dc, fd=0, flags=0x40c2a760)
from /usr/lib/asterisk/modules/app_chanspy.so^
 csth = {spy = {list = {next = 0x0}, lock = {mutex = {__data = {__lock = 0,
__count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list =
{__prev = 0x0, __next = 0x0}
 running = 0^
 res = 762933363^
 x = 0^
 inp = '\0' <repeats 23 times>^
 name = 0x40c29d40 ""^
 f = (struct ast_frame *) 0x40c2a090^
 silgen = (struct ast_silence_generator *) 0x0^
 __PRETTY_FUNCTION__ = "channel_spy"^


#0  0x000000000043df99 in ast_channel_spy_add (chan=0xf716f0, spy=0x40a49e40)
at channel.c:1410^
1410      AST_LIST_INSERT_TAIL(&chan->spies->list, spy, list);^

#0  0x000000000043df99 in ast_channel_spy_add (chan=0xf716f0, spy=0x40a49e40)
at channel.c:1410^
 __PRETTY_FUNCTION__ = "ast_channel_spy_add"^
#1  0x00002aaab4f298e6 in start_spying (chan=0xf716f0, spychan=0x2aaac4269770,
spy=0x40a49e40) from /usr/lib/asterisk/modules/app_chanspy.so^
 res = 268^
 peer = (struct ast_channel *) 0x2aaab4f2bb13^
 __PRETTY_FUNCTION__ = "start_spying"^
#2  0x00002aaab4f29cdb in channel_spy (chan=0x2aaac4269770, spyee=0xf716f0,
volfactor=0x40a4a0ec, fd=0, flags=0x40a4a770)
from /usr/lib/asterisk/modules/app_chanspy.so^
 csth = {spy = {list = {next = 0x0}, lock = {mutex = {__data = {__lock = 0,
__count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list =
{__prev = 0x0, __next = 0x0}
 running = 0^
 res = 762933363^
 x = 0^
 inp = '\0' <repeats 23 times>^
 name = 0x40a49d50 ""^
 f = (struct ast_frame *) 0x40a4a0a0^
 silgen = (struct ast_silence_generator *) 0x0^
 __PRETTY_FUNCTION__ = "channel_spy"^
Comments:By: Joshua C. Colp (jcolp) 2007-10-31 13:43:44

Please give the branch located at http://svn.digium.com/svn/asterisk/team/file/audiohooks-1.4 a try and report back. Thanks!

By: Tilghman Lesher (tilghman) 2007-12-06 18:35:16.000-0600

No response from reporter.