[GHC] #15158: T8089 failing with ghci, threaded1, threaded2, profthreaded

GHC ghc-devs at haskell.org
Wed May 16 10:50:33 UTC 2018


#15158: T8089 failing with ghci, threaded1, threaded2, profthreaded
-------------------------------------+-------------------------------------
           Reporter:  alpmestan      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:                 |           Version:  8.5
  libraries/base                     |
           Keywords:                 |  Operating System:  Linux
       Architecture:  x86_64         |   Type of failure:  Incorrect result
  (amd64)                            |  at runtime
          Test Case:  T8089          |        Blocked By:
           Blocking:                 |   Related Tickets:  #8089
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 =====> T8089(ghci) 17 of 17 [2, 16, 0]
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" && "/home/alp/WT/ghc-slow-
 validate/bindisttest/install   dir/bin/ghc" T8089.hs -dcore-lint -dcmm-
 lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-
 warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-
 debug-output  --interactive -v0 -ignore-dot-ghci -fno-ghci-history +RTS
 -I0.1 -RTS < T8089.genscript
 Wrong exit code for T8089(ghci) (expected 99 , actual 0 )
 *** unexpected failure for T8089(ghci)
 =====> T8089(threaded1) 17 of 17 [2, 17, 0]
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" &&  "/home/alp/WT/ghc-slow-
 validate/bindisttest/install   dir/bin/ghc" -o T8089 T8089.hs -dcore-lint
 -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations
 -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-
 caret -dno-debug-output  -threaded -debug
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" && ./T8089
 Wrong exit code for T8089(threaded1)(expected 99 , actual 0 )
 *** unexpected failure for T8089(threaded1)
 =====> T8089(threaded2) 17 of 17 [2, 18, 0]
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" &&  "/home/alp/WT/ghc-slow-
 validate/bindisttest/install   dir/bin/ghc" -o T8089 T8089.hs -dcore-lint
 -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations
 -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-
 caret -dno-debug-output  -O -threaded -eventlog
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" && ./T8089 +RTS -N2 -ls -RTS
 Wrong exit code for T8089(threaded2)(expected 99 , actual 0 )
 *** unexpected failure for T8089(threaded2)
 =====> T8089(profthreaded) 17 of 17 [2, 19, 0]
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" &&  "/home/alp/WT/ghc-slow-
 validate/bindisttest/install   dir/bin/ghc" -o T8089 T8089.hs -dcore-lint
 -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations
 -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-
 caret -dno-debug-output  -O -prof -static -fprof-auto -threaded
 cd "/run/user/1001/ghctest-m_wu2f4i/test
 spaces/../../libraries/base/tests/T8089.run" && ./T8089 +RTS -p -RTS
 Wrong exit code for T8089(profthreaded)(expected 99 , actual 0 )
 *** unexpected failure for T8089(profthreaded)
 }}}

 I'm going to write a patch to expect the test to be broken in these ways,
 but it seems really wrong that the exit code we get is not the same
 accross all ways.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15158>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list