https://bugs.kde.org/show_bug.cgi?id=432510

            Bug ID: 432510
           Summary: RFE: ENOMEM fault injection mode
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: f...@redhat.com
  Target Milestone: ---

It would be helpful to test programs' resilience to ENOMEM conditions under
valgrind.  While testing code under /usr/bin/prlimit -d=XXXX can help, valgrind
relaxes these ulimits for itself and for the emulated processes.  That hides
this class of problem.

It would be nice if the intercepted malloc operations can be configured to fail
at conditions such as a particular total allocation, or randomly with some
probability.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to