<div>
<style type="text/css">
.successful a, .successful a:visited, .successful a:link, .successful a:hover,.successful  a:active {color:#393}
.failed a, .failed a:visited, .failed a:link, .failed a:hover,.failed  a:active {color:#d62829}
td a, td a:link, td a:visited, td a:hover, td a:active {background:transparent;font-family: Arial, sans-serif;text-decoration:underline;}
td a:link {color:#369;}
td a:visited {color:#444;}
td a:hover, td a:active {color:#036;}
td a:hover {text-decoration:none;}
</style>
<font size="2" color="black" face="Arial, Helvetica, sans-serif" style="font-family: Arial, sans-serif;font-size: 13px;color:#000">
<table align="center" border="0" cellpadding="5" cellspacing="0" width="98%">
<tr>
        <td style="vertical-align:top">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#e4f5e3;border-top:1px solid #b4e2b4;border-bottom:1px solid #b4e2b4;color:#393;">
                        <tr>
                                <td width="20" style="vertical-align:top;padding:5px 0 5px 10px">
                                        <img src="http://bamboo.asterisk.org/images/jt/icn_plan_passed.gif" width="15" height="15">
                                </td>
                                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#393;padding:5px 10px">
      <a href="http://bamboo.asterisk.org/browse/AST14/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">Asterisk - 1.4</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">CentOS 5.5</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-12/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">#12</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">i386</a>
                                        <span class="successful" style="font-family: Arial, sans-serif; font-size: 14px;"> was successful.</span>
                    <span class="successful" style="font-family: Arial, sans-serif; font-size: 13px;">
                    <br/>Code has been updated by <a href="http://bamboo.asterisk.org/browse/user/tilghman">Tilghman Lesher</a>.
                      <br/><strong>42</strong> tests in total.
                    </span>
                </td>
                        </tr>
        </table>
                <br>

  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/commit/" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Code Changes</a>
            </td>
            <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/commit/" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">See full change details</a><img src="http://bamboo.asterisk.org/images/icons/more.gif" width="15" height="15" style="vertical-align:middle;padding:2px">
            </td>
        </tr>
   </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr><td width="20" style="vertical-align:top;padding:10px 0 0px 10px">
                        <img src="http://bamboo.asterisk.org/images/icons/businessman.gif" width="15" height="15">
                    </td>
                    <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;vertical-align:top;padding:10px 10px 0px 10px">
                        <a href="http://bamboo.asterisk.org/browse/user/tilghman" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           Tilghman Lesher</a><br>
                        Get rid of the annoying startup and shutdown errors on OS X.<br/>
<br/>
This mainly deals with the problem of constructors on platforms where an<br/>
explicit constructor order cannot be specified (any system with gcc 4.2<br/>
or less).&nbsp; However, this is only a problem on those systems where we need<br/>
to initialize mutexes with a constructor, because we have other code that<br/>
also relies upon constructors, and we cannot specify that mutexes are<br/>
initialized first (and destroyed last).<br/>
<br/>
There are two approaches to dealing with this issue, related to whether the<br/>
code exists in the core Asterisk binary or in a separate code module.&nbsp; In the<br/>
core case, constructors are run immediately upon load, and the file_versions<br/>
list mutex needs to be already initialized, as it is referenced in the first<br/>
constructor within each core source file.&nbsp; In this case, we use pthread_once<br/>
to ensure that the mutex is initialized immediately before it is used for the<br/>
first time.&nbsp; The only caveat is that the mutex is not ever destroyed, but<br/>
because this is the core, it makes no real difference; the only time when<br/>
destruction is safe would be just prior to process destruction, which takes<br/>
care of that anyway.&nbsp; And due to using pthread_once, the mutex will never be<br/>
reinitialized, which means only one structure has leaked at the end of the<br/>
process.&nbsp; Hence, it is not a problematic leak.<br/>
<br/>
The second approach is to use the load_module and unload_module routines,<br/>
which, for obvious reasons, exist only in loadable modules.&nbsp; In this second<br/>
case, we don't have a problem with the constructors, but only with destructor<br/>
order, because mutexes can be destroyed before their final usage is employed.<br/>
However, we need the mutexes to still be destroyed, in certain scenarios:&nbsp; if<br/>
the module is unloaded prior to the process ending, it should be clean, with<br/>
no allocations by the module hanging around after that point in time.<br/>

                    </td>
                    <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                         (296867)
                    </td></tr>
    </table><br>



            <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
                <tr>
                    <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;padding:5px 10px">
                        <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/log" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Error Summary</a>
                    </td>
                    <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
                        <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/log" style="font-family: Arial, sans-serif; font-size: 13px;color:#036">See full build log</a>
                        <img src="http://bamboo.asterisk.org/images/icons/more.gif" width="15" height="15" style="vertical-align:middle;padding:2px">
                    </td>
                </tr>
            </table>

            <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#f2f2f2;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;color:#000;margin-top:5px;padding:10px">
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Package gtk+-2.0 was not found in the pkg-config search path.<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Perhaps you should add the directory containing `gtk+-2.0.pc'<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    to the PKG_CONFIG_PATH environment variable<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    No package 'gtk+-2.0' found<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Package gtk+-2.0 was not found in the pkg-config search path.<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Perhaps you should add the directory containing `gtk+-2.0.pc'<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    to the PKG_CONFIG_PATH environment variable<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    No package 'gtk+-2.0' found<br/>
                </td>
                </tr>
            </table>
            <br />

<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><td colspan="2" align="center" style="font-family: Arial, sans-serif;text-align:center;font-size:11px;font-weight:bold;color:#999;vertical-align:top;padding:20px">
        Email generated by <a href="http://bamboo.asterisk.org" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">Atlassian Bamboo</a> - if you wish to stop receiving these emails edit your  <a href="http://bamboo.asterisk.org/profile/userNotifications.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">user profile</a> or <a href="http://bamboo.asterisk.org/viewAdministrators.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">notify your administrator</a>
    </td>
    </tr>
</table>

    </td>
    <td width="150" style="vertical-align:top">
        <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
            <tr>
                <td style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;vertical-align:top;padding:5px 10px">
                    Actions
                </td>
            </tr>
        </table>
        <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#f5f9fc;border-bottom:1px solid #bbd0e5;">
            <tr>
                <td style="font-family: Ariel, sans-serif; font-size: 13px; color:#036;vertical-align:top;padding:5px 10px;line-height:1.7">
                    <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12?commentMode=true" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Add Comments</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/browse/AST14-CENTOS55-I386-12/artifact" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Artifacts</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/download/AST14-CENTOS55-I386/build_logs/AST14-CENTOS55-I386-12.log" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Download Logs</a>
                    <br>
                </td>
            </tr>
        </table>
    </td>
<tr>
</table>
</font>
</div>