Re: [GHC] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries ---+ Reporter: darchon |Owner: Type: bug | Status: closed Priority: normal |Component: Compiler Version: 7.4.1 | Resolution: worksforme Keywords: GHCi external library 64-bit gloss | Os: MacOS X Architecture: x86_64 (amd64) | Failure: GHCi crash Testcase: |Blockedby: Blocking: | Related: ---+ Changes (by darchon): * status: new = closed * resolution: = worksforme Comment: I've installed GHC 7.6.1 and can no longer duplicate the described behaviour. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314#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] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries +--- Reporter: darchon | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: GHCi external library 64-bit gloss Os: MacOS X | Architecture: x86_64 (amd64) Failure: GHCi crash | Testcase: Blockedby: | Blocking: Related: | +--- Changes (by george.colpitts): * cc: george.colpitts@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314#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] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries +--- Reporter: darchon | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: GHCi external library 64-bit gloss Os: MacOS X | Architecture: x86_64 (amd64) Failure: GHCi crash | Testcase: Blockedby: | Blocking: Related: | +--- Comment(by george.colpitts): also fails in 7.4.2 rc2, HP 2012.4.0.0 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314#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
Re: [GHC] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries +--- Reporter: darchon | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: GHCi external library 64-bit Os: MacOS X | Architecture: x86_64 (amd64) Failure: GHCi crash | Testcase: Blockedby: | Blocking: Related: | +--- Comment(by george.colpitts): email thread mentions {{{ My only problem is that I don't have OS X 10.8 installed on my machine. I'm running OS X 10.6, and am not inclined to upgrade. So providing feedback on the questions related to the bug report will be hard and/or take some time. }}} I'm on 10.8 so I can answer any questions about the bug there. I think this is an important bug to fix as I have also seen it wrt Yale Euterpea project. A lot of courses teaching Haskell like to use graphics or audio for their examples, problems etc. so I think this is an important bug to fix. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314#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
Re: [GHC] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries +--- Reporter: darchon | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: GHCi external library 64-bit gloss Os: MacOS X | Architecture: x86_64 (amd64) Failure: GHCi crash | Testcase: Blockedby: | Blocking: Related: | +--- Changes (by george.colpitts): * keywords: GHCi external library 64-bit = GHCi external library 64-bit gloss -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314#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
[GHC] #7314: GHCi 64-bit OS X segfaults on interaction with C-libraries
#7314: GHCi 64-bit OS X segfaults on interaction with C-libraries +--- Reporter: darchon | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1 | Keywords: GHCi external library 64-bit Os: MacOS X | Architecture: x86_64 (amd64) Failure: GHCi crash | Testcase: Blockedby: | Blocking: Related: | +--- I'm experiencing spurious behaviour (segfaults sometimes) using GHCi when working with code that interacts with C-libraries. It seems to be an OS X only bug. The spurious behaviour is as follows:[[BR]][[BR]] OS X 10.8 (gcc 4.2.1, clang 4.0):[[BR]] - 32-bit: interpreted and compiled work correctly[[BR]] - 64-bit: only compiled code works correctly, interpreted code segfaults (11) OS X 10.6 (gcc 4.2.1, XCode 3.2.6):[[BR]] - 32-bit: interpreted and compiled code work correctly[[BR]] - 64-bit: interpreted and compiled code work correctly Additionally (OS X 10.8): When I run 'ghci' from inside 'gdb' (to find the origin for the segfault), everything works fine (e.g. _no_ segfault). Here is a link to the crash report given by OS X: http://pastebin.com/jZjfFtm7 And this is the test case: {{{ cabal install gloss --flags-GLUT GLFW cabal unpack gloss-examples cd unpacked-dir/picture/GameEvent ghci -fno-ghci-sandbox Main.hs main }}} I'm filing this bug report in relation to the following thread on haskell- cafe, which is about removing the 32-bit recommendation for Haskell Platform on OS X:[[BR]] http://thread.gmane.org/gmane.comp.lang.haskell.cafe/100652 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7314 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