logo       

[ ghc-Bugs-827485 ] Heap profile w/ debugging RTS dumps core: msg#00059

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-827485 ] Heap profile w/ debugging RTS dumps core

Bugs item #827485, was opened at 2003-10-21 14:46
Message generated for change (Comment added) made by volkersf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=827485&group_id=8032

Category: Compiler
Group: 6.2
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Volker Stolz (volkersf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Heap profile w/ debugging RTS dumps core

Initial Comment:
stolz@menelaos [14:41:59]> ~/a.out +RTS -h
Segmentation fault (core dumped)
stolz@menelaos [14:42:00]> ~/a.out +RTS -hL
Segmentation fault (core dumped)
stolz@menelaos [14:42:55]> ~/a.out +RTS -hT
Segmentation fault (core dumped)

Relevant section from RtsFlags.c:
case 'h': /* serial heap profile */
#if !defined(PROFILING) && defined(DEBUG)
switch (rts_argv[arg][2]) {
case '\0':
case 'L':
RtsFlags.ProfFlags.doHeapProfile = HEAP_BY_INFOPTR;
break;
case 'T':
RtsFlags.ProfFlags.doHeapProfile =
HEAP_BY_CLOSURE_TYPE;
break;

[I don't need profiling, I just thought I'd get a list of all available
RTS-flags on -h]

----------------------------------------------------------------------

>Comment By: Volker Stolz (volkersf)
Date: 2003-10-24 16:46

Message:
Logged In: YES
user_id=126328

Fixed in CVS rev. 1.49.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=827485&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise