public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/26017] New: inline-frame.c:172: internal-error: void inline_frame_this_id(frame_info*, void**, frame_id*): Assertion `frame_id_p (*this_id)' failed
@ 2020-05-20 17:44 lopresti at gmail dot com
  0 siblings, 0 replies; only message in thread
From: lopresti at gmail dot com @ 2020-05-20 17:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26017

            Bug ID: 26017
           Summary: inline-frame.c:172: internal-error: void
                    inline_frame_this_id(frame_info*, void**, frame_id*):
                    Assertion `frame_id_p (*this_id)' failed
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: backtrace
          Assignee: unassigned at sourceware dot org
          Reporter: lopresti at gmail dot com
  Target Milestone: ---

I am using gperftools with libunwind. libunwind is crashing in the timer signal
handler, and GDB is getting an assertion failure when I try to examine the
backtrace.

I recompiled GDB from git master this morning and the problem persists.

Of course, the real problem might be with the debugging information itself...
Nonetheless GDB should not crash.

Let me know what I can do to help track this down. Thanks.

(gdb) where
#0  dwarf_readu64 (arg=<optimized out>, val=<synthetic pointer>,
addr=0x2b6d358024c8, a=<optimized out>, as=<optimized out>)
    at /patl/src/libunwind-20200520/include/dwarf_i.h:128
#1  dwarf_readw (arg=<optimized out>, val=<synthetic pointer>,
addr=0x2b6d358024c8, a=<optimized out>, as=<optimized out>)
    at /patl/src/libunwind-20200520/include/dwarf_i.h:280
#2  _ULx86_64_dwarf_eval_expr (c=c@entry=0x2b6d35802f10,
stack_val=stack_val@entry=0, addr=addr@entry=0x2b6d35802748, len=<optimized
out>,
    valp=valp@entry=0x2b6d35802750,
is_register=is_register@entry=0x2b6d35802740) at
/patl/src/libunwind-20200520/src/dwarf/Gexpr.c:423
#3  0x00002b6cfdcee498 in eval_location_expr (as=<optimized out>, a=<optimized
out>, arg=<optimized out>, locp=<synthetic pointer>,
    addr=<optimized out>, stack_val=0, c=0x2b6d35802f10) at
/patl/src/libunwind-20200520/src/dwarf/Gparser.c:756
#4  apply_reg_state (c=c@entry=0x2b6d35802f10, rs=rs@entry=0x2b6d358029e8) at
/patl/src/libunwind-20200520/src/dwarf/Gparser.c:817
#5  0x00002b6cfdceeabd in _ULx86_64_dwarf_step (c=c@entry=0x2b6d35802f10) at
/patl/src/libunwind-20200520/src/dwarf/Gparser.c:974
#6  0x00002b6cfdceab20 in _ULx86_64_step (cursor=cursor@entry=0x2b6d35802f10)
at /patl/src/libunwind-20200520/src/x86_64/Gstep.c:71
#7  0x00002b6cfbf95976 in GetStackTraceWithContext_libunwind
(result=0x2b6d35803388, max_depth=63, skip_count=<optimized out>,
    ucp=<optimized out>) at
/patl/src/gperftools-20190606/src/stacktrace_libunwind-inl.h:138
#8  0x00002b6cfbf9608f in GetStackTraceWithContext (result=0x2b6d35803388,
max_depth=63, skip_count=3, uc=0x2b6d35803600)
    at /patl/src/gperftools-20190606/src/stacktrace.cc:305
#9  0x00002b6cfbf93011 in CpuProfiler::prof_handler (signal_ucontext=<optimized
out>, cpu_profiler=0x2b6cfbf9e5e0, sig=<optimized out>)
    at /patl/src/gperftools-20190606/src/profiler.cc:356
#10 0x00002b6cfbf939da in ProfileHandler::SignalHandler (sig=37,
sinfo=0x2b6d35803730, ucontext=0x2b6d35803600)
    at /patl/src/gperftools-20190606/src/profile-handler.cc:530
#11 <signal handler called>
#12 0x000000000048d215 in my_function (
.../binutils-gdb/gdb/inline-frame.c:172: internal-error: void
inline_frame_this_id(frame_info*, void**, frame_id*): Assertion `frame_id_p
(*this_id)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-20 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 17:44 [Bug backtrace/26017] New: inline-frame.c:172: internal-error: void inline_frame_this_id(frame_info*, void**, frame_id*): Assertion `frame_id_p (*this_id)' failed lopresti at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).