#8858 closed bug (fixed)

Wrong maxStkSize calculation

Reported by: awson Owned by: thoughtpolice
Priority: normal Milestone: 7.8.1
Component: Runtime System Version: 7.8.1-rc2
Keywords: Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

When fighting with #8839, I've found what I think is a bug in maxStkSize calculation: if getPhysicalMemorySize succeeds, we set maxStkSize in bytes, not words.

It did not manifest itself yet, but I've decided to provide a patch.

Attachments (1)

wrong_max_stack_size.patch (875 bytes) - added by awson 14 months ago.

Download all attachments as: .zip

Change History (6)

Changed 14 months ago by awson

comment:1 Changed 14 months ago by awson

  • Status changed from new to patch

comment:2 Changed 14 months ago by simonmar

  • Milestone set to 7.8.1
  • Owner changed from simonmar to thoughtpolice

yep, thanks.

comment:3 Changed 14 months ago by Austin Seipp <austin@…>

In b99ace39cb2484bfc2d648b55a1a43ed78e4b9a0/ghc:

Fix incorrect maxStkSize calculation (#8858)

Signed-off-by: Austin Seipp <[email protected]>

comment:4 Changed 14 months ago by thoughtpolice

  • Status changed from patch to merge

comment:5 Changed 14 months ago by thoughtpolice

  • Resolution set to fixed
  • Status changed from merge to closed

Merged in 7.8.

Note: See TracTickets for help on using tickets.