#4303: Segfault in RTS (FFI related?)
-------------------------------+--------------------------------------------
Reporter: patperry | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.0.1
Component: Runtime System | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: Runtime crash
-------------------------------+--------------------------------------------
Comment(by patperry):
Bad (good?) news-- I haven't been able to reproduce the bug. The test
program was segfaulting reliably a few days ago, but is running smoothly
today. This may have to do with the programs I was running the the
background. Today, the only thing fishy going on is that when I run the
program in gdb, I get sporadic warnings:
{{{
warning: error on line 120 of
"/SourceCache/gdb/gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c" in
function "modify_trace_bit": (os/kern) invalid argument (0x4x)
warning: error on line 396 of
"/SourceCache/gdb/gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c" in
function "prepare_threads_after_stop": (os/kern) invalid argument
(0x4x)
warning: error on line 120 of
"/SourceCache/gdb/gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c" in
function "modify_trace_bit": (ipc/send) invalid destination port
(0x268435459x)
warning: error on line 396 of
"/SourceCache/gdb/gdb-1461.2/src/gdb/macosx/macosx-nat-infthread.c" in
function "prepare_threads_after_stop": (ipc/send) invalid destination
port (0x268435459x)
}}}
(the relevant gdb source is at
http://www.opensource.apple.com/source/gdb/gdb-1461.2/src/gdb/macosx
/macosx-nat-infthread.c ).
This happens reliably on my laptop, running Mac OS 10.6.4 on a 2.4 GHz
Intel Core 2 Duo. I haven't observed any bad behavior on my desktop (Mac
OS 10.5.8, 2 X 2.26 GHz Quad-Core Intel Xeon).
Sorry for potentially wasting your time. If none of this means anything
to you, you should probably close the bug.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4303#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs