[GHC] #15241: T2783 fails a sanity test

#15241: T2783 fails a sanity test -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime | Version: 8.4.3 System | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2 $ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}} Note tested with HEAD. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: T2783 fails a sanity test -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | 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): Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
{{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2
$ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ...
$ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}}
Note tested with HEAD.
New description: {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2 $ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}} Not tested with HEAD. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: T2783 fails a sanity test -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | 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): Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
{{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2
$ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ...
$ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}}
Not tested with HEAD.
New description: {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2 $ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y $ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}} `test.hs` above is the test `testsuite/tests/rts/T2783.hs`. Not tested with HEAD. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: T2783 fails a sanity test -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * version: 8.4.3 => 8.5 Old description:
{{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2
$ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y
$ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ...
$ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}}
`test.hs` above is the test `testsuite/tests/rts/T2783.hs`.
Not tested with HEAD.
New description: {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2 $ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y $ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}} `test.hs` above is the test `testsuite/tests/rts/T2783.hs`. Tested with HEAD and 8.4.2. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
{{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 8.4.2
$ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y
$ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ...
$ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}}
`test.hs` above is the test `testsuite/tests/rts/T2783.hs`.
Tested with HEAD and 8.4.2.
New description: It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using: {{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}} Results: {{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}} One example failure: {{{ $ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y $ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}} `test.hs` above is the test `testsuite/tests/rts/T2783.hs`. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 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:D4839 Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * differential: => Phab:D4839 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 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:D4839 Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using:
{{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}}
Results:
{{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}}
One example failure:
{{{ $ cat test.hs main = print $ do x <- [ 0 .. 5 ] let { y = 5 - y } return y
$ ghc test.hs -fforce-recomp -debug -rtsopts [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ...
$ ./test +RTS -DS test: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./test +RTS -DS }}}
`test.hs` above is the test `testsuite/tests/rts/T2783.hs`.
New description: It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using: {{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}} Results: {{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}} T2783: {{{ T2783: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./T2783 +RTS -DS }}} memo001: {{{ memo001: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44 (GHC version 8.5.20180612 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./memo001 +RTS -DS -A10k }}} -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Runtime System | Version: 8.5
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:D4839
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ömer Sinan Ağacan

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 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:D4839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): These two {{{ rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) }}} are fixed with the commit above. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Runtime System | Version: 8.5 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:D4839 Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using:
{{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}}
Results:
{{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}}
T2783:
{{{ T2783: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./T2783 +RTS -DS }}}
memo001:
{{{ memo001: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44
(GHC version 8.5.20180612 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./memo001 +RTS -DS -A10k }}}
New description: It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using: {{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}} Results: {{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}} T2783: {{{ T2783: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./T2783 +RTS -DS }}} memo001: {{{ memo001: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44 (GHC version 8.5.20180612 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./memo001 +RTS -DS -A10k }}} length001: {{{ length001: Stack space overflow: current size 33624 bytes. length001: Use `+RTS -Ksize -RTS' to increase it. }}} Note that the test is run with `-K8m`. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 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:D4839 Wiki Page: | -------------------------------------+------------------------------------- Description changed by osa1: Old description:
It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using:
{{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}}
Results:
{{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}}
T2783:
{{{ T2783: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314
Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test)
(GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./T2783 +RTS -DS }}}
memo001:
{{{ memo001: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44
(GHC version 8.5.20180612 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./memo001 +RTS -DS -A10k }}}
length001:
{{{ length001: Stack space overflow: current size 33624 bytes. length001: Use `+RTS -Ksize -RTS' to increase it. }}}
Note that the test is run with `-K8m`.
New description: It seems like some of the sanity checks fail when running the test suite. To reproduce, run the test suite using: {{{ make EXTRA_HC_OPTS='-debug -rtsopts' WAY=sanity THREADS=12 }}} Results: {{{ Unexpected failures: rts/T2783.run T2783 [bad exit code] (sanity) rts/flags/T12870e.run T12870e [bad stdout] (sanity) rts/flags/T12870f.run T12870f [bad stdout] (sanity) ../../libraries/base/tests/length001.run length001 [bad exit code] (sanity) ../../libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) rts/T7919.run T7919 [bad exit code] (sanity) ../../libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) ../../libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}} T2783: {{{ T2783: internal error: ASSERTION FAILED: file rts/ThreadPaused.c, line 314 Stack trace: test: Failed to get stack frames of current process: no matching address range: Success 0x4a3fbd set_initial_registers (rts/Libdw.c:288.0) 0x7f9d70fd7a18 dwfl_thread_getframes (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x7f9d70fd7efc dwfl_getthread_frames (/usr/lib/x86_64 -linux-gnu/libdw-0.170.so) 0x4a3eb6 libdwGetBacktrace (rts/Libdw.c:257.0) 0x474de3 rtsFatalInternalErrorFn (rts/RtsMessages.c:171.0) 0x474ad0 barf (rts/RtsMessages.c:48.0) 0x474b02 errorBelch (rts/RtsMessages.c:67.0) 0x479273 threadPaused (rts/ThreadPaused.c:318.0) 0x48ccdb stg_returnToSched (rts/StgStartup.cmm:117.1) 0x48f428 stg_enter_info (rts/HeapStackCheck.cmm:166.1) 0x45fd18 integerzmgmp_GHCziIntegerziType_minusInteger_info (/home/omer/haskell/test) (GHC version 8.4.2 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./T2783 +RTS -DS }}} memo001: {{{ memo001: internal error: ASSERTION FAILED: file rts/sm/GCAux.c, line 44 (GHC version 8.5.20180612 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug zsh: abort (core dumped) ./memo001 +RTS -DS -A10k }}} length001: {{{ length001: Stack space overflow: current size 33624 bytes. length001: Use `+RTS -Ksize -RTS' to increase it. }}} Note that the test is run with `-K8m`. hpc_raytrace: gets killed because of timeout. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14915 | Differential Rev(s): Phab:D4839 Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * related: => #14915 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14915 | Differential Rev(s): Phab:D4839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): Some of these should be fixed with #14915. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14915, #15906 | Differential Rev(s): Phab:D4839 Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * related: #14915 => #14915, #15906 Comment: Tracking `memo001` in #15906 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14915, #15906 | Differential Rev(s): Phab:D4839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): Current status: (9e47dd32e238ed0c4c39035f47e0843ddccb5175) {{{ Unexpected failures: rts/T7919.run T7919 [bad exit code] (sanity) libraries/base/tests/length001.run length001 [bad exit code] (sanity) libraries/base/tests/memo001.run memo001 [bad exit code] (sanity) libraries/ghc-heap/tests/heap_all.run heap_all [bad exit code] (sanity) libraries/hpc/tests/raytrace/hpc_raytrace.run hpc_raytrace [bad exit code] (sanity) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15241: Validate failures in sanity way -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Runtime System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14915, #15906 | Differential Rev(s): Phab:D4839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): Looking at the results again - `T7919`: Timeout, but passes if I wait long enough (a few hours). - `memo001`: Timeout, but passes if I wait long enough. - `hpc_raytrace`: Timeout, but passes if I wait long enough. - `heap_all`: An actual bug, but probably in the `ghc-heap` library. - `length001`: Stack overflow. The test requires `-O` which is not passed in sanity way. If I add `-O` this passes. So I think we're in a good shape. We just need to tweak tests a little bit. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15241#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC