PDA

View Full Version : Help ! I can't debug my program with MemoryScape



olivier_m
09-22-2009, 09:07 AM
Hi,

I downloaded the latest version of totalview but I can't use MemoryScape with my program... it fails printing things like that when we use the system C function:



TV_HEAP: unrecognized setting: red_zone_enabled
TV_HEAP: unrecognized setting: red_zone_over_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_under_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_unfenced_mode_enabled
TV_HEAP: unrecognized setting: red_zone_manual_mode_enabled
TV_HEAP: unrecognized setting: red_zone_use_after_free_enabled
TV_HEAP: unrecognized setting: red_zone_use_range_restrictions_enabled

Unrecoverable error:
Unsupported Operating System: TV_HEAP: unrecognized setting: red_zone_enabled TV_HEAP: unrecognized setting: red_zone_over_run_mode_enabled TV_HEAP: unrecognized setting: red_zone_under_run_mode_enabled TV_HEAP: unrecognized setting: red_zone_unfenced_mode_enabled TV_HEAP: unrecognized setting: red_zone_manual_mode_enabled TV_HEAP: unrecognized setting: red_zone_use_after_free_enabled TV_HEAP: unrecognized setting: red_zone_use_range_restrictions_enabled Linux

Supported Operating System are:
TV_HEAP: unrecognized setting: red_zone_enabled
TV_HEAP: unrecognized setting: red_zone_over_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_under_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_unfenced_mode_enabled
TV_HEAP: unrecognized setting: red_zone_manual_mode_enabled
TV_HEAP: unrecognized setting: red_zone_use_after_free_enabled
TV_HEAP: unrecognized setting: red_zone_use_range_restrictions_enabled
red_zone_enabled
red_zone_manual_mode_enabled
red_zone_over_run_mode_enabled
red_zone_under_run_mode_enabled
red_zone_unfenced_mode_enabled
red_zone_use_after_free_enabled
red_zone_use_range_restrictions_enabled
HP-UX
Linux
SunOS
TV_HEAP: unrecognized setting: red_zone_enabled
TV_HEAP: unrecognized setting: red_zone_manual_mode_enabled
TV_HEAP: unrecognized setting: red_zone_over_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_under_run_mode_enabled
TV_HEAP: unrecognized setting: red_zone_unfenced_mode_enabled
TV_HEAP: unrecognized setting: red_zone_use_after_free_enabled
TV_HEAP: unrecognized setting: red_zone_use_range_restrictions_enabled
SunOS
HP-UX
Linux

Exiting.


Unrecoverable error: Unsupported platform, cannot execute command
Exiting with FatalError code 3

If I disable MemoryScape then it runs fine... with the previous version it worked fine as well.
I use a linux redhat EL 4.0 x86...

Maybe it is possible to tell the debugger to not follow subprocesses ? (I guess it is where the pb comes from)

I've been unable to reproduce that on a simple example...

Regards

Olivier