Ticket #2592 (closed merge: fixed)

Opened 5 years ago

Last modified 4 years ago

Can't profile when the heap maximum is hit

Reported by: adekoba Owned by: igloo
Priority: normal Milestone: 6.10.2
Component: Profiling Version: 6.8.2
Keywords: profile, heap Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

$ echo "main = print $ product [1..]" > temp.hs
$ ghc -prof -auto-all temp.hs --make
$ ./temp +RTS -M100k -p -RTS
$ cat temp.prof

and the contents of temp.prof will be empty.

Change History

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by igloo

  • milestone changed from 6.10.1 to 6.10.2

Changed 4 years ago by simonmar

  • owner set to igloo
  • type changed from bug to merge
Tue Dec  9 02:59:19 PST 2008  Simon Marlow <marlowsd@gmail.com>
  * Fix #2592: do an orderly shutdown when the heap is exhausted
  Really we should be raising an exception in this case, but that's
  tricky (see comments).  At least now we shut down the runtime
  correctly rather than just exiting.

Changed 4 years ago by igloo

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

Merged,

Note: See TracTickets for help on using tickets.