Ticket #191 (closed bug: None)

Opened 10 years ago

Last modified 43 years ago

Heap profile w/ debugging RTS dumps core

Reported by: volkersf Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 6.2
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 10 years ago by volkersf

  • status changed from assigned to closed
Logged In: YES 
user_id=126328

Fixed in CVS rev. 1.49.
Note: See TracTickets for help on using tickets.