Overview
| Artifact ID: | 3a57eeb6405b82fbaea962658699a278bb09c8d5121612d5f995bf40dd17c959 |
|---|---|
| Ticket: | 7c934f4a3d5fbe0ce86912c09b53cd2c7e700ac5
oo error printed during valgrind run |
| User & Date: | dkf on 2024-05-30 20:34:16 |
Changes
- icomment:
The *problem* is that this is trying to do a callback into an object that is in an advanced state of dying, and where that callback is being done from a destructor on an object deleted during that main deletion process. Ugh! Be aware that this will *never* work as written (or rather as originally written; these two failing tests are cut down versions of it designed to determine whether things were crashing, which they were originally); the `write` method implementation in question is definitely not callable at that point. Not that I think we ought to alter these tests. They're making sure we don't do really bad things. I'm actually more interested in why enabling valgrind is causing an empty call chain to be generated (which is what this particular error message is reporting) when otherwise there is no error. That makes me suspicious that there's a Use-After-Free present or that some flag isn't being set correctly... NB: I can't run valgrind on this machine.
- login: "dkf"
- mimetype: "text/x-markdown"