Review Request 109852: Restore printing tp-qt version and fix it for debug kdelibs

David Edmundson david at davidedmundson.co.uk
Thu Apr 4 11:23:08 UTC 2013



> On April 4, 2013, 11:20 a.m., David Edmundson wrote:
> > What Alex is trying to say is "Ship it!"
> > 
> > Do we want to backport it? I'm more skeptical about doing that till have a bit more testing.
> 
> Aleix Pol Gonzalez wrote:
>     Well, the current implementation has crashes, I'm skeptical about keeping that :P.

No it doesn't.

It used to crash. Then I removed the code before 0.6. This patch restores it in a less crashy way.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109852/#review30357
-----------------------------------------------------------


On April 4, 2013, 9:14 a.m., Daniele E. Domenichelli wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109852/
> -----------------------------------------------------------
> 
> (Updated April 4, 2013, 9:14 a.m.)
> 
> 
> Review request for Telepathy, Aleix Pol Gonzalez and David Edmundson.
> 
> 
> Description
> -------
> 
> Restore printing tp-qt version and fix it for debug kdelibs
> 
> Commit 6cbefb04441bab0d25dde78d95a2adee4d163fd5 "Prevent crashes with
> debug kdelibs" should probably have been reverting commit
> 58d7eb5a461bc597455065da3a4cd813e4f0a15a "Print tp-qt library name and
> version in tp-qt debug"
> 
> If the line cannot be printed, it doesn't make sense to keep the extra
> string and the extra check.
> 
> Anyway the problem seem to come with a Q_ASSERT_X in kdelibs that
> searches for "(" (see kdelibs kdecore/io/kdebug.cpp.html:577)
> 
> This patch restore the previous behaviour, and should fix the crash.
> 
> Also add a ":" to the string, because I realized that everything that
> comes before the white space is stripped away, so now it prints
> something like "tp-qt:0.9.3.1"
> 
> 
> Diffs
> -----
> 
>   KTp/debug.cpp adad3fbad2456379d0f0775fc701904316479f68 
> 
> Diff: http://git.reviewboard.kde.org/r/109852/diff/
> 
> 
> Testing
> -------
> 
> I don't have kdelibs built with debug, so please test it if you have.
> 
> 
> Thanks,
> 
> Daniele E. Domenichelli
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130404/7120b6ba/attachment.html>


More information about the KDE-Telepathy mailing list