[GHC] #2272: internal error: getMBlock: mmap: Bad file number

GHC trac at galois.com
Fri Jun 6 19:25:31 EDT 2008


#2272: internal error: getMBlock: mmap: Bad file number
----------------------+-----------------------------------------------------
 Reporter:  hpwei     |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.8.2  
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Solaris   |  
----------------------+-----------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> I cut and paste the code from
> http://blog.moertel.com/articles/2004/03/13/concurrent-port-scanner-in-
> haskell
>
> And compiled the resulting portscan.hs
> with both ghc-6.8.2 and ghc-6.6.1
> on a host with Sun-Sparc [SunOS 5.10].
>
> The following error occurred when the code was invoked.
>
> portscan a_remote_sun_sparc_machine 1 1000
> portscan: internal error: getMBlock: mmap: Bad file number
>     (GHC version 6.6.1 for sparc_sun_solaris2)
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug
> Abort
>
> [ note: same result for 6.8.2 ]
>
> [ note: if the remote machine is a linux machine, then the code works. ]
>
> --HP

New description:

 I cut and paste the code from
 http://blog.moertel.com/articles/2004/03/13/concurrent-port-scanner-in-
 haskell

 And compiled the resulting portscan.hs
 with both ghc-6.8.2 and ghc-6.6.1
 on a host with Sun-Sparc [SunOS 5.10].

 The following error occurred when the code was invoked.
 {{{
 portscan a_remote_sun_sparc_machine 1 1000
 portscan: internal error: getMBlock: mmap: Bad file number
     (GHC version 6.6.1 for sparc_sun_solaris2)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Abort
 }}}
 [ note: same result for 6.8.2 ]

 [ note: if the remote machine is a linux machine, then the code works. ]

 --HP

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


More information about the Glasgow-haskell-bugs mailing list