https://bugs.kde.org/show_bug.cgi?id=390893

            Bug ID: 390893
           Summary: Crash while profiling my app
           Product: Heaptrack
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: jeremy.coulon.j...@gmail.com
  Target Milestone: ---

Hello!

I have a complex (proprietary) and long running application that I am trying to
profile with heaptrack. I am afraid I can't make a simpler open source example
to reproduce the crash.

I often have the following crash after a few minutes of profiling. It appears
from random places in my application. Thus I don't think the bug is on my side.
I am profiling my app from the start (no live attaching).

I am running Ubuntu 16.04 LTS.

I compiled almost everything from source.

I tried different combinations of:
- heaptrack v1.0 tag
- heaptrack 1.0 branch
- heaptrack master branch
- libunwind debian/1.1-4 tag
- libunwind v1.2.1 tag
- libunwind v1.2-stable branch
- libunwind v1.3-stable branch but here I have compilation errors

With libunwind v1.2.1 and heaptrack master all unit tests from libunwind and
heaptrack are OK.

<SIGABRT>
access_mem (/data/homes/jcoulon/git/libunwind/src/x86_64/Ginit.c:175)
[/data/homes/jcoulon/lib/libunwind.so.8:0x3084]
_ULx86_64_step (/data/homes/jcoulon/git/libunwind/src/x86_64/Gstep.c:176)
[/data/homes/jcoulon/lib/libunwind.so.8:0x3ebe]
trace_init_addr (/data/homes/jcoulon/git/libunwind/src/x86_64/Gtrace.c:248)
[/data/homes/jcoulon/lib/libunwind.so.8:0x4937]
unw_backtrace (/data/homes/jcoulon/git/libunwind/src/mi/backtrace.c:69)
[/data/homes/jcoulon/lib/libunwind.so.8:0x26a2]
Trace::fill(int) (/data/homes/jcoulon/git/heaptrack/src/track/trace.h:64)
[/data/homes/jcoulon/lib/heaptrack/libheaptrack_preload.so:0x6b8c]
malloc (/data/homes/jcoulon/git/heaptrack/src/track/heaptrack_preload.cpp:178)
[/data/homes/jcoulon/lib/heaptrack/libheaptrack_preload.so:0x3568]
operator new(unsigned long) (??:-1)
[/usr/lib/x86_64-linux-gnu/libstdc++.so.6:0x8de78]

Please tell me if I can give you more debug information about this crash.

Thank you for your help.

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

Reply via email to