Apache OpenOffice (AOO) Bugzilla – Issue 73139
testtool crashes because of wrong delete order
Last modified: 2007-06-20 09:44:19 UTC
I have investigated a crash of testtool. It was caused by a wrong order of delete commands. pImpl was deleted before pImpl->pChildEnv. It is fixed by the attached patch. BTW: When I investigated the code, I found that the following variables were allocated in the constructor but not deleted in the destructor. Is it OK? pImpl->xErrorList pImpl->xWarningList pImpl->xQAErrorList pImpl->xIncludeFileWarningList
Created attachment 41885 [details] Proposed fix of the crash
too bad you didn't find it earlier as the original bug was files on linux PPC which was kind of impossible for me to reproduce. Stumbled across it by accident. But will add the other changes in CWS GH13 *** This issue has been marked as a duplicate of 49665 ***
Patch not moved to original issue. This may solve crashes on startup in the MacOSX Intel version (69378). Incorporating patch into ongoing test builds. James McKenzie
Closing.