[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request 110633: Don't report crashes if version is disabled in Bugzilla
From:       "Jekyll Wu" <adaptee () gmail ! com>
Date:       2013-05-25 7:48:58
Message-ID: 20130525074858.12215.67892 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On May 24, 2013, 9:44 p.m., Jekyll Wu wrote:
> > Bugzilla itself (since 4.2.5) already rejects any attempt against disabled \
> > versions. So even without this patch, DrKonqi users won't be able to create crash \
> > report against disabled versions in the end. From developers POV, you don't need \
> > to worry about that. 
> > The problem is usability for users. I'm not sure this reused error dialog is more \
> > informative than the existing one in \
> > https://bugs.kde.org/attachment.cgi?id=78600&action=edit. So I'm against this \
> > patch in its current simple form. 
> > As said in [1][2], I'm working on a patch for the usability improvement and plan \
> > to make it into 4.11. I will create a review request today or tomorrow.  
> > 
> > [1] https://bugs.kde.org/show_bug.cgi?id=315073#c3
> > [2] https://bugs.kde.org/show_bug.cgi?id=318769#c1
> 
> Martin Gräßlin wrote:
> > Bugzilla itself (since 4.2.5) already rejects any attempt against disabled \
> > versions.
> Bugzilla does blcok, but DrKonqi still reports them as "unknown" version. I know it \
> because I see the crash reports coming in 
> Martin Gräßlin wrote:
> > So I'm against this patch in its current simple form.
> Are you also against into backporting it to prevent that we stop getting useless \
> crash reports? I worked on this for fixing a real world problem. Just look at:  \
> https://bugs.kde.org/buglist.cgi?list_id=661927&bug_severity=crash&chfieldto=Now&que \
> ry_format=advanced&chfield=[Bug%20creation]&chfieldfrom=2013-01-01&version=unspecified&longdesc=kwin%20%284.8&product=kwin&longdesc_type=allwordssubstr
>  
> All crashes reported this year against KWin 4.8.
> 
> Yes the dialog might not be best, but I cannot change it because it's in string \
> freeze. I agree that for 4.11 something better should be done, but this is more for \
> 4.10 and older (especially older). 
> Ben Cooksley wrote:
> Perhaps it might be worth requesting a string freeze exemption here?
> 
> Martin Gräßlin wrote:
> > Perhaps it might be worth requesting a string freeze exemption here?
> We would need that from each and every distribution. It doesn't help that KDE did \
> the freeze exception and Debian is then not accepting the patch because it violates \
> their policy. 
> Jekyll Wu wrote:
> Those reports are all from KDE SC 4.8.5, where kwin version (using \
> KDE_VERSION_STRING) was in the strange form of "4.8.5 (4.8.5)" . For some strange \
> reason I'm still not aware of, bugs.kde.org fails to reject reports with that kind \
> of version (probably due the space in the version) as it should have. I'm well \
> aware of those reports which shouldn't have been accepted at the first place (since \
> I'm subscribed to kde-bugs-dist@), but I haven't got the time to do a good \
> investigation. Anyway, those "escaped" crash reports are definitely the race cases. \
>  
> I understand you are annoyed by those kwin crash reports from 4.8.5, but \
> backporting this simple patch won't help you much: the DrKonqi from KDE SC 4.8.x \
> simply don't contain the code of fetching version info from bugs.kde.org through \
> the Product.get webservice API, so backing this simple patch to 4.8.x is useless.  \
> I added those code not long time ago, as the necessary base of my final goal of \
> preventing outdated crash reports. 
> So if your goal is not seeing those kwin 4.8.5 crash reports anymore, there are two \
> quick solutions:  
> 1. apply this simple drkonqi patch to 4.10.x, then ask distribution packagers(I'm \
> think of Debian Stable) to ship DrKonqi from KDE SC 4.10.4 together with other \
> components from KDE SC 4.8.4/5. I'm not sure how distribution packagers will think \
> of this kind of mixture. 
> 2. prepare a one-line patch to make kwin from KDE 4.8.5 use version "4.8.5" \
> explicitly,  instead of using KDE_VERSION_STRING. That way, bugs.kde.org itself \
> will reject those crash reports as it has done for 4.9.{0,1,2,3} . Then ask \
> distribution packers to apply this kwin one-line patch. I think this is more \
> acceptable for distribution packagers. Or maybe that one line patch should be \
> created against kdelibs, changing KDE_VERSION_STRING to the plain "4.8.5" ? 
> 
> Martin Gräßlin wrote:
> > Or maybe that one line patch should be created against kdelibs, changing \
> > KDE_VERSION_STRING to the plain "4.8.5" ?
> That's the place where it needs to be done, I think. KWin doesn't set a version \
> number it uses KDE_VERSION_STRING. On the other hand fixing in kdelibs won't fix \
> the problem as it would require to recompile everything. 
> This is btw. not just a problem for KWin (that's just what I am familiar with), it \
> applies to all software from KDE SC. The problem of 4.8.4 and 4.8.5 is common in \
> the complete workspaces and it's not going to go away as it's the version used in \
> Debian Stable and Ubuntu LTS. 
> Would creating versions "4.8.4 (4.8.4)" and "4.8.5 (4.8.5)" in bugzilla fix the \
> problem?

I already created and disabled those (kwin) versions in bugs.kde.org some weeks ago, \
thinking that would work. Unfortunately, that doesn't prevent \
https://bugs.kde.org/show_bug.cgi?id=320106 . I'm not 100% sure who(drkonqi or \
bugs.kde.org) is at fault, but my guess is bugs.kde.org,  since drkonqi filled all \
other information (product, platform, severity,etc) correctly, which means \
bugs.kde.org happily accepted the very first request sent by drkonqi.


- Jekyll


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


On May 24, 2013, 2:54 p.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110633/
> -----------------------------------------------------------
> 
> (Updated May 24, 2013, 2:54 p.m.)
> 
> 
> Review request for KDE Runtime, Plasma, Ben Cooksley, and Myriam Schweingruber.
> 
> 
> Description
> -------
> 
> Bugzilla provides a feature to disable versions. This means that the developers do \
> not want to have further reports for this version. Any crash report is by that not \
> helpful any more. So let's just disable reporting crashes for such bugs. 
> If this change gets accepted I intend to backport it to 4.10 and to inform \
> kde-packagers about it to ship it as an update to *all* version they support. This \
> would automatically prevent most duplicates report we get e.g. for KWin. 
> 
> Diffs
> -----
> 
> drkonqi/reportinterface.cpp 4190c40 
> 
> Diff: http://git.reviewboard.kde.org/r/110633/diff/
> 
> 
> Testing
> -------
> 
> See https://bugs.kde.org/show_bug.cgi?id=320217 - the bug was created with version \
> 4.10.60. Afterward the version got disabled and DrKonqi doesn't allow me to report \
> crashes for this version anymore. 
> 
> File Attachments
> ----------------
> 
> With it disabled
> http://git.reviewboard.kde.org/media/uploaded/files/2013/05/24/drkonqi-disabled.png
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
> 


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/110633/">http://git.reviewboard.kde.org/r/110633/</a>
  </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On May 24th, 2013, 9:44 p.m. UTC, <b>Jekyll Wu</b> \
wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; \
padding-left: 10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Bugzilla \
itself (since 4.2.5) already rejects any attempt against disabled versions. So even \
without this patch, DrKonqi users won&#39;t be able to create crash report against \
disabled versions in the end. From developers POV, you don&#39;t need to worry about \
that.

The problem is usability for users. I&#39;m not sure this reused error dialog is more \
informative than the existing one in \
https://bugs.kde.org/attachment.cgi?id=78600&amp;action=edit. So I&#39;m against this \
patch in its current simple form.

As said in [1][2], I&#39;m working on a patch for the usability improvement and plan \
to make it into 4.11. I will create a review request today or tomorrow. 


[1] https://bugs.kde.org/show_bug.cgi?id=315073#c3
[2] https://bugs.kde.org/show_bug.cgi?id=318769#c1</pre>
 </blockquote>




 <p>On May 25th, 2013, 6:06 a.m. UTC, <b>Martin Gräßlin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">&gt; Bugzilla itself \
(since 4.2.5) already rejects any attempt against disabled versions. Bugzilla does \
blcok, but DrKonqi still reports them as &quot;unknown&quot; version. I know it \
because I see the crash reports coming in</pre>  </blockquote>





 <p>On May 25th, 2013, 6:15 a.m. UTC, <b>Martin Gräßlin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">&gt; So I&#39;m against \
this patch in its current simple form. Are you also against into backporting it to \
prevent that we stop getting useless crash reports? I worked on this for fixing a \
real world problem. Just look at:  \
https://bugs.kde.org/buglist.cgi?list_id=661927&amp;bug_severity=crash&amp;chfieldto=N \
ow&amp;query_format=advanced&amp;chfield=[Bug%20creation]&amp;chfieldfrom=2013-01-01&a \
mp;version=unspecified&amp;longdesc=kwin%20%284.8&amp;product=kwin&amp;longdesc_type=allwordssubstr


All crashes reported this year against KWin 4.8.

Yes the dialog might not be best, but I cannot change it because it&#39;s in string \
freeze. I agree that for 4.11 something better should be done, but this is more for \
4.10 and older (especially older).</pre>  </blockquote>





 <p>On May 25th, 2013, 7:05 a.m. UTC, <b>Ben Cooksley</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Perhaps it might be \
worth requesting a string freeze exemption here?</pre>  </blockquote>





 <p>On May 25th, 2013, 7:07 a.m. UTC, <b>Martin Gräßlin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">&gt; Perhaps it might be \
worth requesting a string freeze exemption here? We would need that from each and \
every distribution. It doesn&#39;t help that KDE did the freeze exception and Debian \
is then not accepting the patch because it violates their policy.</pre>  \
</blockquote>





 <p>On May 25th, 2013, 7:15 a.m. UTC, <b>Jekyll Wu</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Those reports are all \
from KDE SC 4.8.5, where kwin version (using KDE_VERSION_STRING) was in the strange \
form of &quot;4.8.5 (4.8.5)&quot; . For some strange reason I&#39;m still not aware \
of, bugs.kde.org fails to reject reports with that kind of version (probably due the \
space in the version) as it should have. I&#39;m well aware of those reports which \
shouldn&#39;t have been accepted at the first place (since I&#39;m subscribed to \
kde-bugs-dist@), but I haven&#39;t got the time to do a good investigation. Anyway, \
those &quot;escaped&quot; crash reports are definitely the race cases.


I understand you are annoyed by those kwin crash reports from 4.8.5, but backporting \
this simple patch won&#39;t help you much: the DrKonqi from KDE SC 4.8.x simply \
don&#39;t contain the code of fetching version info from bugs.kde.org through the \
Product.get webservice API, so backing this simple patch to 4.8.x is useless.  I \
added those code not long time ago, as the necessary base of my final goal of \
preventing outdated crash reports.

So if your goal is not seeing those kwin 4.8.5 crash reports anymore, there are two \
quick solutions:   
   1. apply this simple drkonqi patch to 4.10.x, then ask distribution \
packagers(I&#39;m think of Debian Stable) to ship DrKonqi from KDE SC 4.10.4 together \
with other components from KDE SC 4.8.4/5. I&#39;m not sure how distribution \
packagers will think of this kind of mixture.  
   2. prepare a one-line patch to make kwin from KDE 4.8.5 use version \
&quot;4.8.5&quot; explicitly,  instead of using KDE_VERSION_STRING. That way, \
bugs.kde.org itself will reject those crash reports as it has done for 4.9.{0,1,2,3} \
. Then ask distribution packers to apply this kwin one-line patch. I think this is \
more acceptable for distribution packagers. Or maybe that one line patch should be \
created against kdelibs, changing KDE_VERSION_STRING to the plain &quot;4.8.5&quot; ? \
</pre>  </blockquote>





 <p>On May 25th, 2013, 7:28 a.m. UTC, <b>Martin Gräßlin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">&gt; Or maybe that one \
line patch should be created against kdelibs, changing KDE_VERSION_STRING to the \
plain &quot;4.8.5&quot; ? That&#39;s the place where it needs to be done, I think. \
KWin doesn&#39;t set a version number it uses KDE_VERSION_STRING. On the other hand \
fixing in kdelibs won&#39;t fix the problem as it would require to recompile \
everything.

This is btw. not just a problem for KWin (that&#39;s just what I am familiar with), \
it applies to all software from KDE SC. The problem of 4.8.4 and 4.8.5 is common in \
the complete workspaces and it&#39;s not going to go away as it&#39;s the version \
used in Debian Stable and Ubuntu LTS.

Would creating versions &quot;4.8.4 (4.8.4)&quot; and &quot;4.8.5 (4.8.5)&quot; in \
bugzilla fix the problem?</pre>  </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I already created and \
disabled those (kwin) versions in bugs.kde.org some weeks ago, thinking that would \
work. Unfortunately, that doesn&#39;t prevent \
https://bugs.kde.org/show_bug.cgi?id=320106 . I&#39;m not 100% sure who(drkonqi or \
bugs.kde.org) is at fault, but my guess is bugs.kde.org,  since drkonqi filled all \
other information (product, platform, severity,etc) correctly, which means \
bugs.kde.org happily accepted the very first request sent by drkonqi.</pre> <br />










<p>- Jekyll</p>


<br />
<p>On May 24th, 2013, 2:54 p.m. UTC, Martin Gräßlin wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for KDE Runtime, Plasma, Ben Cooksley, and Myriam \
Schweingruber.</div> <div>By Martin Gräßlin.</div>


<p style="color: grey;"><i>Updated May 24, 2013, 2:54 p.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Bugzilla provides a feature to disable versions. This means that the \
developers do not want to have further reports for this version. Any crash report is \
by that not helpful any more. So let&#39;s just disable reporting crashes for such \
bugs.

If this change gets accepted I intend to backport it to 4.10 and to inform \
kde-packagers about it to ship it as an update to *all* version they support. This \
would automatically prevent most duplicates report we get e.g. for KWin.</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">See https://bugs.kde.org/show_bug.cgi?id=320217 - the bug was created \
with version 4.10.60. Afterward the version got disabled and DrKonqi doesn&#39;t \
allow me to report crashes for this version anymore.</pre>  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>drkonqi/reportinterface.cpp <span style="color: grey">(4190c40)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/110633/diff/" style="margin-left: \
3em;">View Diff</a></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">File Attachments \
</h1>

<ul>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/05/24/drkonqi-disabled.png">With \
it disabled</a></li>

</ul>





  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic