[KDE/Mac] Review Request 120150: [OS X] prevent another crash after finishing a code difference review
Kevin Funk
kfunk at kde.org
Fri Sep 12 09:49:49 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120150/#review66328
-----------------------------------------------------------
Let me chime in here...
I'm heavily agreeing with Milian here -- don't just blindly plaster QObject::deleteLater calls just everywhere. They make it even harder to debug the application.
Anyway, about the actual bug you're trying to fix:
- Is it the same backtrace as in https://bugs.kde.org/show_bug.cgi?id=338829?
- If so, please try to make sure you also get line numbers in the backtrace (currently it's quite useless)
- Run KDevelop through valgrind (should be available on OSX) or some XCode memory analyzer, provide the dump here after the crash happened. Check why/where qt_mac_getTargetForMouseEvent fails.
At any rate, please try to find the real issue first.
- Kevin Funk
On Sept. 12, 2014, 8:52 a.m., René J.V. Bertin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120150/
> -----------------------------------------------------------
>
> (Updated Sept. 12, 2014, 8:52 a.m.)
>
>
> Review request for KDE Software on Mac OS X, KDevelop and Olivier Goffart.
>
>
> Repository: kdevplatform
>
>
> Description
> -------
>
> In https://reviewboard.kde.org/r/120081/ I proposed an (accepted) approach to prevent kdevelop from crashing after closing the patch review ("git/show differences") toolview. I had another of those crashes after heavier-than-usual perusal of the toolview, despite the previous patch. The attached patch replaces all `delete`s of `QObject` derived class instances with `deleteLater()`.
>
>
> Diffs
> -----
>
> plugins/patchreview/patchreview.cpp 18b63db
>
> Diff: https://git.reviewboard.kde.org/r/120150/diff/
>
>
> Testing
> -------
>
> kdevplatform git/kde4-legacy on KDE/MacPorts OS X 10.6.8 .
>
>
> Thanks,
>
> René J.V. Bertin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20140912/72187254/attachment.html>
More information about the kde-mac
mailing list