Ticket #191 (closed bug: None)
Heap profile w/ debugging RTS dumps core
Description
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]
Change History
Note: See
TracTickets for help on using
tickets.
