[asterisk-dev] Chanspy crashes

Atis Lezdins atis at iq-labs.net
Wed Oct 17 09:03:43 CDT 2007


Hi,

I have some 6 backtraces of chanspy crashes.. i was about to post a bug (as 
backtraces don't seem similar to ones in existing issues).. I'm just 
wondering - as there seems to be 3 different patterns in those backtraces - 
should i post 3 bugs at once, or put all in one bug.

Maybe somebody already can tell something about this.. Backtraces are below

Regards,
Atis

---- channel_spy (1) ----
#0  0x00002aaab42c0ac1 in channel_spy (chan=0x2aaac406ff50, 
spyee=0x2aaac4050a00, volfactor=0x404320ec, fd=0, flags=0x40432770) 
from /usr/lib/asterisk/modules/app_chanspy.so^
  __old = 0x0^
  __len = 1078141464^
  __new = 0x5163a0 ""^
  csth = {spy = {list = {next = 0x40434940}, lock = {mutex = {__data = {__lock 
= 1078163776, __count = 0, __owner = 1075462144, __nusers = 0, __kind 
= -81477869, __spins = 54, __l
  running = 0^
  res = 762933363^
  x = 0^
  inp = '\0' <repeats 23 times>^
  name = 0x3e4ffffffff <Address 0x3e4ffffffff out of bounds>^
  f = (struct ast_frame *) 0x404320a0^
  silgen = (struct ast_silence_generator *) 0x0^
  __PRETTY_FUNCTION__ = "channel_spy"^


---- channel_spy (2) ----
#0  0x00002aaab42c0ac1 in channel_spy (chan=0x2aaab83cb350, spyee=0xb951f0, 
volfactor=0x40a0e0ec, fd=0, flags=0x40a0e770) 
from /usr/lib/asterisk/modules/app_chanspy.so^
  __old = 0x0^
  __len = 1084285464^
  __new = 0x5163a0 ""^
  csth = {spy = {list = {next = 0x40a10940}, lock = {mutex = {__data = {__lock 
= 1084307776, __count = 0, __owner = 1075462144, __nusers = 0, __kind 
= -81477869, __spins = 54, __l
  running = 0^
  res = 762933363^
  x = 0^
  inp = '\0' <repeats 23 times>^
  name = 0x3e1ffffffff <Address 0x3e1ffffffff out of bounds>^
  f = (struct ast_frame *) 0x40a0e0a0^
  silgen = (struct ast_silence_generator *) 0x0^
  __PRETTY_FUNCTION__ = "channel_spy"^

---- channel_spy_add (1) ----

#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"^

---- channel_spy_add (2) ----

#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"^


---- mutex_unlock ----
#0  0x00002aaab04224c4 in __ast_pthread_mutex_unlock 
(filename=0x2aaab0424b13 "app_chanspy.c", lineno=396, 
func=0x2aaab0425e41 "channel_spy", mutex_name=0x2aaab0425ea7 "&csth.spy.
  res = -1^
  canlog = -1^
  __PRETTY_FUNCTION__ = "__ast_pthread_mutex_unlock"^
#1  0x00002aaab0423276 in channel_spy (chan=0x2aaac4032c00, 
spyee=0x2aaac40a0740, volfactor=0x406c60ec, fd=0, flags=0x406c6770) 
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 = -1^
  res = 1^
  x = 0^
  inp = '\0' <repeats 23 times>^
  name = 0x406c5d30 "SIP/90172-c812e010"^
  f = (struct ast_frame *) 0x0^
  silgen = (struct ast_silence_generator *) 0x0^
  __PRETTY_FUNCTION__ = "channel_spy"^




-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-dev mailing list