https://bugs.kde.org/show_bug.cgi?id=408364
Bug ID: 408364 Summary: Valgrind causes OOM when running a function in a deleted virtual class Product: valgrind Version: 3.15 SVN Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: krzysio.ku...@wp.pl Target Milestone: --- Created attachment 120611 --> https://bugs.kde.org/attachment.cgi?id=120611&action=edit Source code to replicate the issue SUMMARY If you try to run a virtual function on a deleted object, valgrind starts allocating massive amounts of memory before running into a system-wide OOM STEPS TO REPRODUCE 1. Compile the attached code 2. Run under valgrind OBSERVED RESULT Code is ran, an error is optionally reported and valgrind exits EXPECTED RESULT Valgrind starts allocating massive amounts of memory, never exits. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux-5.1.5-1-default OpenSUSE Tumbleweed -- You are receiving this mail because: You are watching all bug changes.