#5541: Data.Bits.setBit misbehaves on bad input
----------------------------+-----------------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.4
Resolution: invalid | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Runtime crash |
----------------------------+-----------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => invalid
Comment:
We've just been discussing this on IRC, and the conclusion is that we
can't stop `abort` from terminating the process; from the `abort` manpage:
{{{
If the SIGABRT signal is ignored, or caught by a handler that
returns,
the abort() function will still terminate the process. It does
this by
restoring the default disposition for SIGABRT and then raising the
sig‐
nal for a second time.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5541#comment:2>
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