Bug #1035

lttng-ust 2.8 does not dump base address of lib dependencies of dlopen'd libs

Added by Mathieu Desnoyers about 4 years ago. Updated about 4 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Libraries directly linked by an executable are present in the statedump base address dump.
Libraries that are dlopen'd are dumped by dlopen/dlclose instrumentation.

However, if a dlopen'd library has a lib dependency that the program does not have, this dependency does not appear in the trace.


ldd (11.9 KB) ldd Andrea Bernabei, 06/29/2016 03:46 AM

Updated by Andrea Bernabei about 4 years ago

Thanks for taking the time to report them bug, Mathieu.

Let me add some details about the problem I had:
the library that is missing from the state dump in my case is

"ldd -v exec" is not showing, although the library is being loaded at runtime, and that is shown by "LD_DEBUG=libs <exec>".

Please find the "ldd -v" output here

Thanks for looking into it!


Updated by Andrea Bernabei about 4 years ago

output added as attachment, to decrease pastebin's bus factor :D


Updated by Mathieu Desnoyers about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset ust|commit:97c7c238f60194565d4839e38e712414c22494e3.


Updated by Marc-Andre Laperle about 4 years ago

Redmine noob question: Shouldn't Target version be "LTTng - 2.9" ? I only see the commit in master, not stable-2.8. Or is this field the version in which the problem was seen?

Also available in: Atom PDF