
#14705: ghc-iserv sometimes segfaults in profiled way
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Profiling | Version: 8.5
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Looking at `scc001`, it looks like we get into trouble in the interpreter,
{{{
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff647f700 (LWP 108910)]
interpretBCO (cap=0x216c5c0 <MainCapability>) at rts/Interpreter.c:395
395 switch ( get_itbl(obj)->type ) {
(gdb) print obj
$1 = <optimized out>
(gdb) print get_itbl(obj)
value has been optimized out
(gdb) print get_itbl(obj)->type
value has been optimized out
(gdb) info locals
Sp = 0x420029fcc0
SpLim = 0x42002980d0
tagged_obj = 0x1c7b9b8