[Home]

Summary:ASTERISK-10596: Segfault in channel_spy()
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2007-10-23 05:35:48Date Closed:2011-06-07 14:00:34
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_chanspy
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt.core.14197.txt
( 1) bt.core.5806.txt
Description:This is happening quite rarely, i got two segfaults of this kind so far.

I'll attach full backtraces.

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

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


#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"^
Comments:By: pj (pj) 2007-10-23 06:14:53

you should use latest code, at least 1.4.13 or 1.4 svn branch, before reporting issues like this...

By: Atis Lezdins (atis) 2007-10-23 06:20:57

I can't use latest versions, because of ASTERISK-1086923. I reviewed the changelog, and there seems nothing fixed in chanspy since 1.4.8. As those issues are rare - i cannot reproduce them on testing server.

If somebody have fixed something that might affect it - please - comment and give me link to related patches.

By: Joshua C. Colp (jcolp) 2007-10-31 13:43:06

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:36:53.000-0600

No response from reporter