[Home]

Summary:ASTERISK-10240: Segfault inside spy_detach function
Reporter:Octavio Ruiz (tacvbo)Labels:
Date Opened:2007-09-05 02:58:28Date Closed:2007-09-05 07:54:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bug10659.patch
( 1) core.24050.gdb
Description:This is not a bold statement, I'm not a C programmer.

The fix of bug ASTERISK-9654 (revision 73349 in 1.2, revision 73355 in 1.4 and revision 73359 in trunk) introduced a rare condition when ast_log access one of the structures needed to display "Spy removed from channel" (spy->type or chan->name) outside the mutex (&spy->lock) and they already go away.
Comments:By: Octavio Ruiz (tacvbo) 2007-09-05 03:08:54

The patch is against revision 81491 of 1.4 branch.

By: Digium Subversion (svnbot) 2007-09-05 07:53:26

Repository: asterisk
Revision: 81492

------------------------------------------------------------------------
r81492 | file | 2007-09-05 07:53:25 -0500 (Wed, 05 Sep 2007) | 4 lines

(closes issue ASTERISK-10240)
Reported by: tacvbo
Only print out that the spy was removed while holding the spy lock.

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-09-05 07:54:37

Repository: asterisk
Revision: 81493

------------------------------------------------------------------------
r81493 | file | 2007-09-05 07:54:36 -0500 (Wed, 05 Sep 2007) | 11 lines

Blocked revisions 81492 via svnmerge

........
r81492 | file | 2007-09-05 10:11:48 -0300 (Wed, 05 Sep 2007) | 4 lines

(closes issue ASTERISK-10240)
Reported by: tacvbo
Only print out that the spy was removed while holding the spy lock.

........

------------------------------------------------------------------------