[asterisk-bugs] [Asterisk 0015343]: lock in sip_tcp_helper_thread
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 28 17:36:06 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15343
======================================================================
Reported By: pj
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15343
Category: Channels/chan_sip/TCP-TLS
Reproducibility: random
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 200254
Request Review:
======================================================================
Date Submitted: 2009-06-17 06:17 CDT
Last Modified: 2009-08-28 17:36 CDT
======================================================================
Summary: lock in sip_tcp_helper_thread
Description:
Asterisk locked out during normal sip call processing. It seems, that bug
is in sip/tcp handling (one peer used sip over tcp when this lock
happened).
======================================================================
----------------------------------------------------------------------
(0109807) tilghman (administrator) - 2009-08-28 17:36
https://issues.asterisk.org/view.php?id=15343#c109807
----------------------------------------------------------------------
mmichelson: the call to ast_wait_for_input() is only valid for determining
whether there is at least one character available to be read. I think we
could switch from using fgets() to using read() with a non-blocking fd,
cycle out the lock, and save ourselves some grief.
Issue History
Date Modified Username Field Change
======================================================================
2009-08-28 17:36 tilghman Note Added: 0109807
======================================================================
More information about the asterisk-bugs
mailing list