[GHC] #7161: hSetNewlineMode and hSetEncoding can be performed on closed and semi-closed handles

GHC ghc-devs at haskell.org
Fri Dec 30 22:10:09 UTC 2016


#7161: hSetNewlineMode and hSetEncoding can be performed on closed and semi-closed
handles
-------------------------------------+-------------------------------------
        Reporter:  duncan            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.6.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by joeyhess):

 And here is the segfault info:

 {{{
 *** Error in `./foo': double free or corruption (top): 0x0000000000b7b620
 ***
 ======= Backtrace: =========
 /lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f042ba4bbcb]
 /lib/x86_64-linux-gnu/libc.so.6(+0x76fa6)[0x7f042ba51fa6]
 /lib/x86_64-linux-gnu/libc.so.6(+0x7779e)[0x7f042ba5279e]
 /lib/x86_64-linux-gnu/libc.so.6(+0x21226)[0x7f042b9fc226]
 /lib/x86_64-linux-gnu/libc.so.6(iconv_close+0xf)[0x7f042b9fbabf]
 ./foo[0x40ef80]
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7161#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list