Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 --+- Reporter: malcolm.wall...@… |Owner: Type: bug| Status: new Priority: normal |Milestone: _|_ Component: Runtime System | Version: 6.8.2 Keywords: | Difficulty: Unknown Os: MacOS X| Testcase: Architecture: powerpc| Failure: None/Unknown --+- Changes (by kfrdbs): * cc: kfr...@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 --+- Reporter: malcolm.wall...@… |Owner: Type: bug| Status: new Priority: normal |Milestone: _|_ Component: Runtime System | Version: 6.8.2 Keywords: | Difficulty: Unknown Os: MacOS X| Testcase: Architecture: powerpc| Failure: None/Unknown --+- Changes (by igloo): * priority: low = normal * failure: = None/Unknown * milestone: 6.12.3 = _|_ -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 --+- Reporter: malcolm.wall...@cs.york.ac.uk |Owner: Type: bug| Status: new Priority: low|Milestone: 6.12 branch Component: Runtime System | Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Os: MacOS X Architecture: powerpc| --+- Changes (by igloo): * priority: normal = low * milestone: 6.10 branch = 6.12 branch Comment: low priority as not a tier 1 arch. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 ---+ Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.10 branch Component: Runtime System |Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: powerpc Os: MacOS X| ---+ Changes (by igloo): * milestone: 6.10.1 = 6.10 branch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 ---+ Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.10.1 Component: Runtime System |Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: powerpc Os: MacOS X| ---+ Comment (by thorkilnaur): I have tried several combinations of machines/OS X versions and GHC versions and consistently succeeded in running your program. But the PPC machines that I have are single-core, so this is probably naive. I presume that you use a multi-core machine of some kind? Could you supply some additional details please? Also about the source of the GHC 6.8.2 that you use? (For example, is it some binary, from !MacPorts, built from a source distribution or something else entirely?) Thanks and best regards Thorkil -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 ---+ Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.10.1 Component: Runtime System |Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: powerpc Os: MacOS X| ---+ Changes (by igloo): * milestone: = 6.10.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 ---+ Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone: Component: Runtime System |Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: powerpc Os: MacOS X| ---+ Changes (by simonmar): * difficulty: = Unknown Comment: It might be a while before we can track down this bug, and I assume that the darcs repository will change in the future. Malcolm, could you tar up the exact source tree used to reproduce the bug and attach it to this ticket? Thanks. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 ---+ Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Milestone: Component: Runtime System |Version: 6.8.2 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: powerpc Os: MacOS X| ---+ Comment (by [EMAIL PROTECTED]): Source code attached in a tarfile. The test data must still be downloaded separately, since it is too large to attach to the ticket. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal | Component: Runtime System Version: 6.8.2 |Severity: normal Keywords: |Testcase: Architecture: powerpc| Os: MacOS X --+- A program using threads (in a somewhat naive way) crashes at runtime, only if it is linked against the -threaded RTS, only if it is given the runtime option +RTS -N2 -RTS, and only on powerpc. The error is: {{{ SurfaceViewer: internal error: END_TSO_QUEUE object entered! (GHC version 6.8.2 for powerpc_apple_darwin) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Abort trap }}} To reproduce: {{{ darcs get http://www.cs.york.ac.uk/fp/darcs/CaseTables curl -O http://www.gris.uni- tuebingen.de/edu/areas/scivis/volren/datasets/data/lobster.raw.gz gunzip lobster.raw.gz cd CaseTables ghc-6.8.2 --make -O2 -fglasgow-exts -threaded SurfaceViewer ./SurfaceViewer ../lobster.raw 301 324 56 20 1 +RTS -N2 -RTS }}} If you omit the -threaded linking flag, or omit the -N2 runtime flag, then there is no crash. I could not reproduce it on x86. The only usage of threading is in the module Gridiness, which defines a simple read/writer protocol through a Chan. A different runtime crash is apparent if the bottom three definitions in Gridiness are swapped for the top three (currently commented out), which use a single MVar for communication rather than a Chan. In that case, the error is {{{ SurfaceViewer: thread blocked indefinitely }}} The same conditions apply: must be -threaded, must have -N2, must be on powerpc. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2282: threaded runtime system crashes on powerpc with -N2
#2282: threaded runtime system crashes on powerpc with -N2 --+- Reporter: [EMAIL PROTECTED] |Owner: Type: bug| Status: new Priority: normal |Milestone: Component: Runtime System | Version: 6.8.2 Severity: normal | Resolution: Keywords: | Testcase: Architecture: powerpc| Os: MacOS X --+- Comment (by thorkilnaur): Attempting to reproduce, I run into a darcs error probably caused by: {{{ $ wget -x http://www.cs.york.ac.uk/fp/darcs/CaseTables/_darcs/patches/20080513151258 -6871e-5c20436f99b8e3b17bab6771995e4e8c9552978f.gz --05:57:04-- http://www.cs.york.ac.uk/fp/darcs/CaseTables/_darcs/patches/20080513151258 -6871e-5c20436f99b8e3b17bab6771995e4e8c9552978f.gz = `www.cs.york.ac.uk/fp/darcs/CaseTables/_darcs/patches/20080513151258 -6871e-5c20436f99b8e3b17bab6771995e4e8c9552978f.gz' Resolving www.cs.york.ac.uk... 144.32.40.18 Connecting to www.cs.york.ac.uk|144.32.40.18|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 05:57:04 ERROR 403: Forbidden. }}} Best regards Thorkil -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2282#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs