Ticket #3348 (closed merge: fixed)

Opened 3 years ago

Last modified 3 years ago

crash in gc with > 2 generations

Reported by: dynamic-wind Owned by: igloo
Priority: normal Milestone: 6.10.4
Component: Runtime System Version: 6.10.3
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

using ghci from binary distribution built w/mingw command line arguments +RTS -G3 enter:

let n=[1..10000000] last n

sometimes hereafter ghc crashes in various fashions, e.g. "evacuate: unknown closure type: 0" reproducing the crash may require several attempts seems like only 2 spaced gc works ok?

Change History

Changed 3 years ago by igloo

  • difficulty set to Unknown

Thanks for the report. The stable branch crashes even earlier than that for me, on amd64/Linux:

ghc/stage2-inplace/ghc --interactive +RTS -G3
GHCi, version 6.10.3.20090702: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
zsh: segmentation fault  ghc/6.10-branch/ghc/ghc/stage2-inplace/ghc --interactive +RTS -G3

I can't reproduce the problem with the HEAD.

Changed 3 years ago by igloo

  • milestone set to 6.10.4

Changed 3 years ago by simonmar

  • owner set to simonmar

I'm validating the fix for this.

Changed 3 years ago by simonmar

  • owner changed from simonmar to igloo
  • type changed from bug to merge

Fixed:

Mon Jul  6 04:22:27 PDT 2009  Simon Marlow <marlowsd@gmail.com>
  * Fix generational GC bug (#3348)

Changed 3 years ago by igloo

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

Merged

Note: See TracTickets for help on using tickets.