<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dlopen'ing libudev.so.1 from static library initializer corrupts TLS state"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91646#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - dlopen'ing libudev.so.1 from static library initializer corrupts TLS state"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91646">bug 91646</a>
              from <span class="vcard"><a class="email" href="mailto:liquid.acid@gmx.net" title="Tobias Jakobi <liquid.acid@gmx.net>"> <span class="fn">Tobias Jakobi</span></a>
</span></b>
        <pre>The problem seems to originate from here:
<a href="http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/clover/api/platform.cpp#n29">http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/clover/api/platform.cpp#n29</a>

The platform object is created during static initialization and somewhere in
the class hierarchy a dlopen() is triggered. Since _clover_platform only seems
to be used in clGetPlatformIDs(), my idea would be to make this object static
and put it into the function itself, so it only gets initialization when the
function is first called.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>