[asterisk-bugs] [Asterisk 0013400]: POSIX thread operations errors

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 31 05:09:40 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:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-29 09:50 CDT
Last Modified:              2008-08-31 05:09 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 (0091947) Matti (reporter) - 2008-08-31 05:09
 http://bugs.digium.com/view.php?id=13400#c91947 
---------------------------------------------------------------------- 
The specific code defect is that POSIX thread operations are done on
threads after the detached thread has been cancelled, or in the unlikely
case of hardware, compiler or operating system failure, abnormally ended.
After a detached thread has ended, the dynamic memory allocated to it can
be freed. Therefore, memory faults can occur. Cancelling a thread allows
its dynamic memory to be freed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-31 05:09 Matti          Note Added: 0091947                          
======================================================================




More information about the asterisk-bugs mailing list