Re: [GHC] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. -+-- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: closed Priority: high | Milestone: 6.4.3 Component: Runtime System |Version: 6.4.2 Severity: blocker | Resolution: fixed Keywords: | Difficulty: Unknown Testcase: | Architecture: Multiple Os: Multiple | -+-- Changes (by simonmar): * architecture: powerpc = Multiple * resolution: = fixed * component: Compiler = Runtime System * testcase: = * status: new = closed * os: MacOS X = Multiple Comment: Fixed in the 6.4 branch: {{{ simonmar2006/10/16 06:50:02 PDT Modified files:(Branch: ghc-6-4-branch) ghc/rts Capability.c Log: Fix crash in the threaded RTS caused by spurious wakeups of pthread_cond_wait(). This is certainly affecting the threaded RTS in 6.4.x on Solaris, and possibly other platforms too. I'm currently testing to see whether there are any further problems on Solaris, but with luck this may be the final fix for the threaded RTS problems in the 6.4.x branch. Does not affect 6.6; the corresponding code in 6.6 is already spurious-wakeup-safe. Revision ChangesPath 1.31.6.2 +32 -7 fptools/ghc/rts/Capability.c }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. +--- Reporter: [EMAIL PROTECTED] |Owner: Type: bug | Status: new Priority: high |Milestone: 6.4.3 Component: Compiler | Version: 6.4.2 Severity: blocker | Resolution: Keywords: | Difficulty: Unknown Architecture: powerpc | Os: MacOS X +--- Changes (by simonmar): * milestone: = 6.4.3 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler |Version: 6.4.2 Severity: blocker | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: powerpc --+- Comment (by simonmar): See also #754 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler |Version: 6.4.2 Severity: normal | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: powerpc --+- Comment (by guest): More information: These all seem to illegal memory accesses associated with threads. Below are all of the crashes reported by ghc 6.4.2 since I build it last week: {{{ ** Host Name: gregory-wrights-powerbook-g4-17 Date/Time: 2006-04-20 06:21:10.992 -0400 OS Version: 10.4.6 (Build 8I127) Report Version: 4 Command: ghc-6.4.2 Path:/opt/local/lib/ghc-6.4.2/ghc-6.4.2 Parent: Setup [8164] Version: ??? (???) PID:8765 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x005d Thread 0 Crashed: 0 ghc-6.4.2 0x00a678a8 0x1000 + 10905768 1 ghc-6.4.2 0x00a67b54 0x1000 + 10906452 2 ghc-6.4.2 0x00a600e4 0x1000 + 10875108 3 ghc-6.4.2 0x00aa9078 0x1000 + 11174008 4 ghc-6.4.2 0x00a5fb20 0x1000 + 10873632 5 ghc-6.4.2 0x00a60710 0x1000 + 10876688 6 ghc-6.4.2 0x00a605c8 0x1000 + 10876360 7 ghc-6.4.2 0x00a8bf04 0x1000 + 11054852 8 ghc-6.4.2 0x00a37758 0x1000 + 10708824 9 ghc-6.4.2 0x22dc 0x1000 + 4828 10 ghc-6.4.2 0x2184 0x1000 + 4484 Thread 1: 0 libSystem.B.dylib 0x9002c128 semaphore_wait_signal_trap + 8 1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480 2 ghc-6.4.2 0x00aadbec 0x1000 + 11193324 3 ghc-6.4.2 0x00aadf78 0x1000 + 11194232 4 ghc-6.4.2 0x00a601b4 0x1000 + 10875316 5 ghc-6.4.2 0x00acdd80 0x1000 + 11324800 6 ghc-6.4.2 0x00a5fb20 0x1000 + 10873632 7 ghc-6.4.2 0x00a5f7e8 0x1000 + 10872808 8 ghc-6.4.2 0x00aadc50 0x1000 + 11193424 9 libSystem.B.dylib 0x9002ba68 _pthread_body + 96 Thread 2: 0 libSystem.B.dylib 0x9002c128 semaphore_wait_signal_trap + 8 1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480 2 ghc-6.4.2 0x00aadbec 0x1000 + 11193324 3 ghc-6.4.2 0x00aae0bc 0x1000 + 11194556 4 ghc-6.4.2 0x00a5f8f0 0x1000 + 10873072 5 ghc-6.4.2 0x00a5f7e8 0x1000 + 10872808 6 ghc-6.4.2 0x00aadc50 0x1000 + 11193424 7 libSystem.B.dylib 0x9002ba68 _pthread_body + 96 Thread 0 crashed with PPC Thread State 64: srr0: 0x00a678a8 srr1: 0xd030 vrsave: 0x cr: 0x28000224 xer: 0x2000 lr: 0x00a67b54 ctr: 0x00a67aa8 r0: 0x0008 r1: 0xbfffd4c0 r2: 0x0061 r3: 0x031d1000 r4: 0x r5: 0xa000416c r6: 0x r7: 0x0001 r8: 0x0002 r9: 0x0055 r10: 0x0001 r11: 0x01f6f008 r12: 0x900017b8 r13: 0x r14: 0x01bd5810 r15: 0x00be0b48 r16: 0x01bd5804 r17: 0x00be0094 r18: 0x01bd4920 r19: 0x r20: 0x r21: 0x r22: 0x01f6eed0 r23: 0x r24: 0x031d1400 r25: 0x031d1000 r26: 0x r27: 0x00c2d098 r28: 0x r29: 0x01f6eec8 r30: 0x0002 r31: 0x01f6f008 Binary Images Description: 0x1000 - 0xb7afff ghc-6.4.2 /opt/local/lib/ghc-6.4.2/ghc-6.4.2 0xc37000 - 0xc58fff libreadline.5.0.dylib /opt/local/lib/libreadline.5.0.dylib 0xe05000 - 0xe33fff libgmp.3.dylib /opt/local/lib/libgmp.3.dylib 0x8fe0 - 0x8fe51fff dyld 44.4 /usr/lib/dyld 0x9000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x91436000 - 0x91441fff libgcc_s.1.dylib/usr/lib/libgcc_s.1.dylib 0x91446000 - 0x91466fff libmx.A.dylib /usr/lib/libmx.A.dylib 0x965c2000 - 0x965f0fff libncurses.5.4.dylib /usr/lib/libncurses.5.4.dylib ** Host Name: gregory-wrights-powerbook-g4-17 Date/Time: 2006-04-20 06:31:04.059 -0400 OS Version: 10.4.6 (Build 8I127) Report Version: 4 Command: ghc-6.4.2 Path:/opt/local/lib/ghc-6.4.2/ghc-6.4.2 Parent: Setup [9975] Version: ??? (???) PID:10584 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001)
Re: [GHC] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler |Version: 6.4.2 Severity: blocker | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: powerpc --+- Comment (by guest): Apparently it is the make dependencies that crashes ghc. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler |Version: 6.4.2 Severity: normal | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: powerpc --+- Comment (by simonmar): Strange and worrying. It doesn't happen for me here. Do you have the GHCRTS environment variable set to anything? Can you run {{{./Setup build -v}}} and paste the output? Could you also run 'ghc -v' and attach the output of that. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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] #751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
#751: ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3. --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler |Version: 6.4.2 Severity: normal | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: powerpc --+- Comment (by [EMAIL PROTECTED]): Hmm. This is strange. I have run the build 4 times now, using {{{./Setup build -v build.log 21}}} and having edited the crypto-cabal file to invoke ghc with the {{{-v}}} option. One build ran to completion and exited with shell return value 0 (I'm using bash on OS X, so this is the output of {{{echo $?}}}). The three subsequent runs exited with value 10. I've also seen 11, but not when I was recording the output. I've also not seen the weird activation record message in the recorded output, although I did see it once more this morning. The procedure I used: {{{ crossroads-able cd work/Crypto-3.0.3/ crossroads-able sudo cp ~/Desktop/crypto.cabal . crossroads-able sudo ghc -o Setup Setup.hs -package Cabal crossroads-able sudo ./Setup configure -v ~/Desktop/conf4.log 21 crossroads-able sudo ./Setup build -v ~/Desktop/build4.log 21 crossroads-able echo $? 10 }}} I copy in my edited crypto.cabal file to run ghc with the {{{-v}}} option. The recorded configuration files are identical, up to the naming of temporary files. Attached are 1) conf.log, the output of {{{./Setup configure -v}}} ; 2) build.log, a successful build; 3) build[234].log, builds that gave return value 10. The odd thing is that the failures are inconsistent. Also, GHCRTS is not set to anything: {{{ crossroads-able echo $GHCRTS crossroads-able }}} and the crypto.cabal file make no reference to RTS options. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/751 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