[Bug 288164] Crash at selection of Call Graph tab

Josef Weidendorfer josef.weidendorfer at gmx.de
Tue Mar 6 22:08:42 UTC 2012


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

--- Comment #12 from Josef Weidendorfer <josef.weidendorfer at gmx.de> ---
Created attachment 69337
  --> https://bugs.kde.org/attachment.cgi?id=69337&action=edit
Alternative fix

Simpler patch. No need to check if process could be started.
If not, anything written to its stdin will be discarded anyway.

However, the real problem is that _renderProcess could be set
to 0 (in dotError(), on detection that process could not be started),
and afterwards used in "_renderProcess->closeWriteChannel()".
It should be enough to have a local "renderProcess" variable that
can not be set to 0 from the outside.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list