Project

General

Profile

Actions

Bug #1035

closed

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

Added by Mathieu Desnoyers over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
06/28/2016
Due date:
% Done:

100%

Estimated time:

Description

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.


Files

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

Updated by Andrea Bernabei over 8 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 libQt5Quick.so

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

Please find the "ldd -v" output here http://pastebin.ubuntu.com/18083255/

Thanks for looking into it!

Actions #2

Updated by Andrea Bernabei over 8 years ago

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

Actions #3

Updated by Mathieu Desnoyers over 8 years ago

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

Applied in changeset ust|commit:97c7c238f60194565d4839e38e712414c22494e3.

Actions #4

Updated by Marc-Andre Laperle over 8 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?

Actions

Also available in: Atom PDF