[asterisk-bugs] [Asterisk 0013400]: [patch] POSIX thread operations errors
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Oct 1 04:09:37 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13400
======================================================================
Reported By: Matti
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13400
Category: Channels/chan_h323
Reproducibility: unable to reproduce
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-08-29 09:50 CDT
Last Modified: 2008-10-01 04:09 CDT
======================================================================
Summary: [patch] POSIX thread operations errors
Description:
POSIX thread functions pthread_cancel, pthread_kill and pthread_join are
called with thread IDs belonging to monitor threads that (may) have ended.
======================================================================
----------------------------------------------------------------------
(0093005) Matti (reporter) - 2008-10-01 04:09
http://bugs.digium.com/view.php?id=13400#c93005
----------------------------------------------------------------------
I have not tested trunk but I have a theoretical explanation why the code
is wrong. The POSIX standard forbids the use of thread IDs after they have
been detached and ended. You should not count on your luck that the
implementations of POSIX threads do not crash as a result of the
violations.
Issue History
Date Modified Username Field Change
======================================================================
2008-10-01 04:09 Matti Note Added: 0093005
======================================================================
More information about the asterisk-bugs
mailing list