
#14510: GHC.ExecutionStack.showStackTrace broken ---------------------------------+-------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by duog): bgamari was able to reproduce this, so it may well be a real bug. I spent some time today learning all about libdw, and I was able to determine what's going wrong, though not why. It happens at this "stack trace": [https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdw/dwarf_next_cfi.c;h... libdw/dwarf_next_cfi.c:dwarf_next_cfi:55] [https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdw/fde.c;h=f5f6fbe141... libdw/fde.c:__libdw_find_fde:283] [https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdw/dwarf_cfi_addrfram... libdw/dwarf_cfi_addrframe.c:dwarf_cfi_addrframe:42] [https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdwfl/frame_unwind.c;h... libdwfl/frame_unwind.c:handle_cfi:542] [https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdwfl/frame_unwind.c;h... libdwfl/frame_unwind.c:__libdwfl_frame_unwind:722] ... rts/libdw/libdwGetBacktrace `off + 4 >= data->d_size` is true. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14510#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler