[GHC] #15241: T2783 fails a sanity test

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #15241: T2783 fails a sanity test

GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: T2783 fails a sanity test

GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: T2783 fails a sanity test

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: T2783 fails a sanity test

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way (was: T2783 fails a sanity test)

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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 <omeragacan@…>):

 In [changeset:"a610c215580c56116b0882d3dce4a3a45993df19/ghc" a610c21/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a610c215580c56116b0882d3dce4a3a45993df19"
 Fix some of the failures in sanity way

 Tests for runtime argument parsing should only run in normal way to
 avoid breakage caused by way-specific RTS arguments.

 Reviewers: bgamari, AndreasK, simonmar

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15241

 Differential Revision: https://phabricator.haskell.org/D4839
 }}}

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #15241: Validate failures in sanity way

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets