Opened 15 years ago

Last modified 11 years ago

#1046 new defect

IZ105: make commands dump core on memory errors

Reported by: joga Owned by:
Priority: normal Milestone:
Component: testsuite Version: current
Severity: Keywords: NetBSD framework


[Imported from gridengine issuezilla]

        Issue #:      105             Platform:     All           Reporter: joga (joga)
       Component:     testsuite          OS:        NetBSD
     Subcomponent:    framework       Version:      current          CC:    None defined
        Status:       NEW             Priority:     P3
      Resolution:                    Issue type:    DEFECT
                                  Target milestone: milestone 1
      Assigned to:    joga (joga)
      QA Contact:     joga
       * Summary:     make commands dump core on memory errors
   Status whiteboard:

     Issue 105 blocks:
   Votes for issue 105:     Vote for this issue

   Opened: Fri Dec 15 02:08:00 -0700 2006 

On NetBSD (and probably other platforms), we can set malloc options to make
commands dump core when there are memory errors.

This is a good way to detect memory access problems.

To make commands dump core instead of just printing a warning message,
the environment variable MALLOC_OPTIONS has to be set to "A".

This can be done in the testsuite function create_shell_script - which is used
whenever a command will be executed via
open_remote_spawn_process, start_remote_prog, start_sge_bin, ...

   ------- Additional comments from joga Fri Dec 15 02:10:27 -0700 2006 -------
I'll do it ...

Change History (0)

Note: See TracTickets for help on using tickets.