Ticket #2272 (closed bug: worksforme)

Opened 5 years ago

Last modified 4 years ago

internal error: getMBlock: mmap: Bad file number

Reported by: hpwei Owned by: benl
Priority: normal Milestone: 6.10 branch
Component: Runtime System Version: 6.8.2
Keywords: Cc:
Operating System: Solaris Architecture: sparc
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

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

Change History

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • description modified (diff)

Changed 5 years ago by igloo

  • component changed from Compiler to Runtime System
  • milestone set to 6.10 branch

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

  • owner set to benl
  • architecture changed from Unknown/Multiple to sparc

Ben, could you check whether you can reproduce this one? Thanks.

Changed 4 years ago by benl

  • status changed from new to closed
  • resolution set to worksforme

It worked for me on SPARC/Solaris 5.10 with 6.8.3 and the head.

Note: See TracTickets for help on using tickets.