Review Request 128113: [kuiserverjobtracker] Fix crash when unregister job

Anthony Fieroni bvbfan at abv.bg
Tue Jun 7 03:25:23 UTC 2016



> On Юни 6, 2016, 11:40 след обяд, David Faure wrote:
> > I'm not fully convinced by the fix, because it was crashing in disconnect, which sounds like the pointer was dangling, therefore deleteLater could crash too.
> > In addition I can't reproduce the fix here.
> > Finally, this code was already in kdelibs4, so -something- else must have changed.
> > 
> > This is worth a more through investigation. If you can still reproduce the crash after reverting your change, can you run that command in valgrind, so we know exactly what's happening?
> > 
> > I recommend this alias:
> > alias memcheck="QT_ENABLE_REGEXP_JIT=0 valgrind --tool=memcheck --partial-loads-ok=yes  --read-var-info=yes"

Added memcheck.


- Anthony


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128113/#review96234
-----------------------------------------------------------


On Юни 7, 2016, 6:25 преди обяд, Anthony Fieroni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128113/
> -----------------------------------------------------------
> 
> (Updated Юни 7, 2016, 6:25 преди обяд)
> 
> 
> Review request for KDE Frameworks and David Faure.
> 
> 
> Repository: kjobwidgets
> 
> 
> Description
> -------
> 
> + Fix memory leak in finished
> 
> 
> Diffs
> -----
> 
>   src/kuiserverjobtracker.cpp ebed3a5 
> 
> Diff: https://git.reviewboard.kde.org/r/128113/diff/
> 
> 
> Testing
> -------
> 
> ark --changetofirstpath --add --autofilename zip kjobwidgets
> Crash before, fix with patch
> 
> 
> File Attachments
> ----------------
> 
> backtrace
>   https://git.reviewboard.kde.org/media/uploaded/files/2016/06/06/5b87387e-7e7b-4982-b91b-a18f72414509__backtrace
> memcheck
>   https://git.reviewboard.kde.org/media/uploaded/files/2016/06/07/ba4b0150-5e01-4cc1-8776-7530d053d6f0__memcheck
> 
> 
> Thanks,
> 
> Anthony Fieroni
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160607/26a148d5/attachment.html>


More information about the Kde-frameworks-devel mailing list