#6006: hs_init(NULL, NULL) segfaults on latest snapshot
---------------------------+------------------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Linux | Architecture: x86
Failure: Runtime crash | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------+------------------------------------------------
This weeny program crashes:
{{{
int main(int argc, char** argv) {
hs_init(NULL,NULL);
}
}}}
Old versions of GHC accomodate null pointers fine, and there is an
explicit check for this case inside the function. If this is intentional
behavior change, it should be documented.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6006>
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