After digging a bit further, libraries that can trigger this have the
DF_STATIC_TLS flag set in the DT_FLAGS entry of the dynamic section.
This can be checked for with:

    readelf --dynamic library.so | grep FLAGS

libunityapplicationplugin.so is not to blame here, but a number of its
dependencies might have triggered it:

/lib/x86_64-linux-gnu/libm.so.6
 0x000000000000001e (FLAGS)              STATIC_TLS
/lib/x86_64-linux-gnu/libc.so.6
 0x000000000000001e (FLAGS)              STATIC_TLS
/lib/x86_64-linux-gnu/libpthread.so.0
 0x000000000000001e (FLAGS)              STATIC_TLS
/lib/x86_64-linux-gnu/librt.so.1
 0x000000000000001e (FLAGS)              STATIC_TLS
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
 0x000000000000001e (FLAGS)              STATIC_TLS
/usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
 0x000000000000001e (FLAGS)              STATIC_TLS
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so.2
 0x000000000000001e (FLAGS)              STATIC_TLS
/usr/lib/x86_64-linux-gnu/libglapi.so.0
 0x000000000000001e (FLAGS)              STATIC_TLS
/lib/x86_64-linux-gnu/libresolv.so.2
 0x000000000000001e (FLAGS)              STATIC_TLS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1306343

Title:
  unity-scope-tool segfaults with message "(dlopen: cannot load any more
  object with static TLS"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1306343/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to