[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-27 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=387264

Milian Wolff  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #7 from Milian Wolff  ---
fix landed in master now:

commit 040fbf357248beb56a3cad39c512d42fd6f9ebb2
Author: Milian Wolff 
Date:   Mon Nov 27 10:17:40 2017 +0100

Update libbacktrace to support compressed and separate debug info

This updates the source code to libbacktrace rev trunk@255161.

Additional changes on top:

- keep elf_add and elf_syminfo public for use in heaptrack_interpret
- check for lstat and readlink from CMake
- patch the debug info code to make it work for my common use-case:
  * don't compare crc when not available
  * also get symbols from debug file

BUG: 387264

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-27 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=387264

--- Comment #6 from Milian Wolff  ---
Well, thanks to you to point me to the important updates in libbacktrace :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-27 Thread Daniel Saier
https://bugs.kde.org/show_bug.cgi?id=387264

--- Comment #5 from Daniel Saier  ---
Wow, that was a quick fix. It works perfectly for me, thank you.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-27 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=387264

--- Comment #4 from Milian Wolff  ---
Can you please try
https://transfer.sh/152WHJ/heaptrack-git.3605a93-x86_64.AppImage or the
wip/debuglink branch and see if it works for you? This is a build with the
latest libbacktrace (and some custom patches to make it work for me).

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-27 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=387264

--- Comment #3 from Milian Wolff  ---
oh, excellent - thanks for the pointer! I'll try to look at that soon and
update the copy of libbacktrace. Alternatively, I still contemplate porting the
code to elfutils/libdw(fl), which supports this nicely too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=387264

--- Comment #2 from daniel.sa...@ensenso.com ---
It actually looks like support for debug links was recently added to
libbacktrace:
https://github.com/gcc-mirror/gcc/commit/b919941efc58035debbcf69b645c072b7dd6ba4e

I don't know what it takes to update it in Heaptrack, though.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Heaptrack] [Bug 387264] Use debugging symbols from separate file

2017-11-25 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=387264

Milian Wolff  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #1 from Milian Wolff  ---
Yep, the debug link support is pretty much non-existing. But if you rename the
file(s) to *.debug instead of *.dbg it should work. Adding your postfix as
another fallback could be added quite simply, too, as a stop-gap measure.

-- 
You are receiving this mail because:
You are watching all bug changes.