[asterisk-bugs] [Zaptel 0010806]: Channel opening and unregistering race
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Dec 13 14:40:34 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10806
======================================================================
Reported By: Matti
Assigned To:
======================================================================
Project: Zaptel
Issue ID: 10806
Category: zaptel (the module)
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: new
Zaptel Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 3052
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-23-2007 03:45 CDT
Last Modified: 12-13-2007 14:40 CST
======================================================================
Summary: Channel opening and unregistering race
Description:
Function zt_specchan_open can have a race condition with zt_chan_unreg
resulting in crashing of the program (Asterisk) or the whole computer
during the opening of a Zap device file.
======================================================================
----------------------------------------------------------------------
tzafrir - 12-13-07 14:40
----------------------------------------------------------------------
Matti, converting the rwlock into a semaphore here is a matter of
performance, and not of correctness, right?
So let's skip that for now. This should also reduce the size of the change
and make it more obvious.
Issue History
Date Modified Username Field Change
======================================================================
12-13-07 14:40 tzafrir Note Added: 0075362
======================================================================
More information about the asterisk-bugs
mailing list