#4303: Segfault in RTS (FFI related?)
-------------------------------+--------------------------------------------
Reporter: patperry | Owner:
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):
Here's more output from gdb:
{{{
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0001635
0x003144ce in StgReturn () at rts/StgCRun.c:137
137 __asm__ volatile (
(gdb) info registers
eax 0x38a8cc 3713228
ecx 0xb4b000 11841536
edx 0xbffff780 -1073744000
ebx 0xa6d01a69 -1496311191
esp 0xbfffd780 0xbfffd780
ebp 0xc0001641 0xc0001641
esi 0xbf7a6d01 -1082495743
edi 0x1a6d01a 27709466
eip 0x3144ce 0x3144ce <StgReturn+21>
eflags 0x10282 66178
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
(gdb) p &r
$1 = (StgRegTable **) 0xc0001635
(gdb)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4303#comment:14>
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