[GHC] #4303: Segfault in RTS (FFI related?)
GHC
cvs-ghc at haskell.org
Sat Sep 11 14:53:54 EDT 2010
#4303: Segfault in RTS (FFI related?)
-------------------------+--------------------------------------------------
Reporter: patperry | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: Runtime crash
-------------------------+--------------------------------------------------
Comment(by patperry):
To run the program, you need sqlite3, BLAS, and LAPACK installed.
You also need the data file "enron.db" to be in the current directory.
This file is too large to upload to track, but I am hosting it at
http://people.seas.harvard.edu/~patperry/enron.db
Here is how to reproduce the bug:
download RTSBug.tar.gz (attached, above), and enron.db to the current
directory
{{{
tar xzvf RTSBug.tar.gz
cd RTSBug
runhaskell Setup.lhs configure
runhaskell Setup.lhs build
cp ../enron.db .
./dist/build/rtsbug/rtsbug
}}}
You should see output like:
{{{
0
1
2
3
4
5
6
7
8
9
10
.
.
.
}}}
The numbers will increase until you get a segfault. It usually happens
before 10000.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4303#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list