Ticket #2502 (closed bug: fixed)
segfault with GHC.Handle.fdToHandle'
| Reported by: | EricKow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10 branch |
| Component: | None | Version: | 6.8.3 |
| Keywords: | Cc: | ||
| Operating System: | FreeBSD | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
While trying to configure darcs, a FreeBSD user discovered that the following program segfaults if you compile it with "ghc -threaded -optl-L/usr/local/lib -optl-L/usr/local/lib/ -optl-pthread"
import GHC.Handle ( fdToHandle' ) import IO ( IOMode(..) ) main = fdToHandle' 1 Nothing False "stdout" WriteMode True
For more details, please see http://bugs.darcs.net/issue979
Change History
Note: See
TracTickets for help on using
tickets.
