[GHC] #15544: Non-deterministic segmentation fault in cryptohash-sha256 testsuite
GHC
ghc-devs at haskell.org
Wed Sep 12 08:41:39 UTC 2018
#15544: Non-deterministic segmentation fault in cryptohash-sha256 testsuite
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: patch
Priority: highest | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5145
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
When I disable signal handling in tasty I can see the segfault in gdb:
{{{
Thread 2 (Thread 27849.27861):
#0 0x000000420032dab1 in ?? ()
#1 0x0000000000000000 in ?? ()
}}}
GHC stack:
{{{
>>> python import ghc_gdb
>>> ghc backtrace
Sp = 0x42001ca2a0
0: RET_SMALL
return=0x90bec0
<bytestringzm0zi10zi8zi2_DataziByteStringziLazzy_fromChunkszugo_info+40>
field 0: Ptr 0x42000350a0 : THUNK_0_1
1: UPDATE_FRAME(0x4200035000: THUNK_1_0)
2: RET_SMALL
return=0x8f9190
<bytestringzm0zi10zi8zi2_DataziByteStringziLazzy_toChunkszugo_info+56>
3: UPDATE_FRAME(0x4200035048: THUNK_1_0)
4: RET_SMALL
return=0x689d30 <s7uE_info+440>
field 0: Word 283469849024
5: RET_SMALL
return=0xaa5f50 <base_ForeignziMarshalziAlloc_allocaBytes1_info+200>
field 0: Ptr 0x42001ea1b0 : ARR_WORDS
6: RET_SMALL
return=0x689ee0
<cryptohashzmsha256zm0zi11zi101zi0zminplace_CryptoziHashziSHA256_hashlazzy_info+80>
7: RET_SMALL
return=0x409a20 <rdc4_info+200>
8: UPDATE_FRAME(0x42001ca430: BLACKHOLE)
9: RET_SMALL
return=0x40b270 <rdc8_info+56>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15544#comment:30>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list