[asterisk-bugs] [Asterisk 0016934]: glibc 2.11.1 causes asterisk to not start due to return code from dlclose

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 1 10:10:16 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16934 
====================================================================== 
Reported By:                PQA
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16934
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-01 10:10 CST
Last Modified:              2010-03-01 10:10 CST
====================================================================== 
Summary:                    glibc 2.11.1 causes asterisk to not start due to
return code from dlclose
Description: 
On Fedora-12, with its current glibc (glibc-2.11.1-1), asterisk fails to
start up when it loads any module.

In main/loader.c there are 4 instances of the following code:
     while (!dlclose(lib));

dlclose() in glibc-2.11.1-1 returns 0 (SUCCESS) even if the library has
already been closed, and consequently the while loop never terminates.

On Fedora-11 (with glibc-2.10.2-1) and Fedora-13 (with glibc-2-11-90.14),
dlclose() returns -1 if the library is already closed, and so the problem
does not occur.

This issue certain occurs with asterisk version 1.6.1.12 and later
(including current SVN head).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-01 10:10 PQA            New Issue                                    
2010-03-01 10:10 PQA            Asterisk Version          => 1.6.2.4         
2010-03-01 10:10 PQA            Regression                => No              
2010-03-01 10:10 PQA            SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list