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

List:       kde-devel
Subject:    Re: Fix for kfilewidget.cpp
From:       "David Boosalis" <david.boosalis () gmail ! com>
Date:       2008-10-18 11:47:38
Message-ID: 870c99310810180447r24ad1ab3j356d50fecd110939 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Its been about two weeks for me that I have not been able to run koffice.
Sorry I can't be more precise.  Speaking for myself, the whole world thanks
you for looking into this.

-David






On Sat, Oct 18, 2008 at 3:24 AM, Andreas Pakulat <apaku@gmx.de> wrote:

> On 18.10.08 02:13:12, Cyrille Berger wrote:
> > On Friday 17 October 2008, David Boosalis wrote:
> > > Rafael.
> > > Maybe some one more intimate with kword can address this issue.  I've
> seen
> > > this problem for sometime with koffice in SVN and that's why I peaked a
> > > little under the covers to see what it is the matter.  Eventually they
> have
> > > to address it, or maybe it's just my system and this is all a mute
> point.
> > Nope it's not just your system, well, at least I have heard other people
> > having crash in kfilewidget at startup.
> >
> > As for the fancy things we do:
>
> Well, the code you've posted doesn't trigger a crash in a simple KDE4 app,
> so there's something else that triggers the problem. I'm attaching the
> sample app as its pretty small (app generated from kapptemplate).
>
> That said if I understood correctly I should just start kword and it
> crashes? Well it does, backtrace attached. And I think its quite clear now
> why it crashes: The kio-job in the KFileWidget constructor causes an update
> of the GUI, hence showEvent is called. Unfortunately the KDirOperator isn't
> created yet at this point, but please read on.
>
> I don't understand though why the nested event loop causes GUI events to be
> sent. As far as I know it shouldn't. And as I've recently seen a similar
> problem with KJob (the DeferredDelete event, that was posted to the
> main-app-loop got executed during a nested event loop and then also during
> the next run of the main event loop) we might be facing a Qt bug here. Did
> this crash start to happen "recently", i.e. after the 4.4.2 update to
> qt-copy?
>
> What I also don't understand is why I'm getting an "unknown protocol
> kfiledialog" with the sample application, but not with koffice, so that
> might be the reason why the sample app doesn't crash.
>
> Andreas
>
> --
> You will have long and healthy life.
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Its been about two weeks for me that I have not been able to \
run koffice.&nbsp;&nbsp; Sorry I can&#39;t be more precise.&nbsp; Speaking \
for myself, the whole world thanks you for looking into \
this.<br><br>-David<br><br><br> <br><br>&nbsp;<br><br><div \
class="gmail_quote">On Sat, Oct 18, 2008 at 3:24 AM, Andreas Pakulat <span \
dir="ltr">&lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div \
class="Ih2E3d">On 18.10.08 02:13:12, Cyrille Berger wrote:<br> &gt; On \
Friday 17 October 2008, David Boosalis wrote:<br> &gt; &gt; Rafael.<br>
&gt; &gt; Maybe some one more intimate with kword can address this issue. \
&nbsp;I&#39;ve seen<br> &gt; &gt; this problem for sometime with koffice in \
SVN and that&#39;s why I peaked a<br> &gt; &gt; little under the covers to \
see what it is the matter. &nbsp;Eventually they have<br> &gt; &gt; to \
address it, or maybe it&#39;s just my system and this is all a mute \
point.<br> &gt; Nope it&#39;s not just your system, well, at least I have \
heard other people<br> &gt; having crash in kfilewidget at startup.<br>
&gt;<br>
&gt; As for the fancy things we do:<br>
<br>
</div>Well, the code you&#39;ve posted doesn&#39;t trigger a crash in a \
simple KDE4 app,<br> so there&#39;s something else that triggers the \
problem. I&#39;m attaching the<br> sample app as its pretty small (app \
generated from kapptemplate).<br> <br>
That said if I understood correctly I should just start kword and it<br>
crashes? Well it does, backtrace attached. And I think its quite clear \
now<br> why it crashes: The kio-job in the KFileWidget constructor causes \
an update<br> of the GUI, hence showEvent is called. Unfortunately the \
KDirOperator isn&#39;t<br> created yet at this point, but please read \
on.<br> <br>
I don&#39;t understand though why the nested event loop causes GUI events \
to be<br> sent. As far as I know it shouldn&#39;t. And as I&#39;ve recently \
seen a similar<br> problem with KJob (the DeferredDelete event, that was \
posted to the<br> main-app-loop got executed during a nested event loop and \
then also during<br> the next run of the main event loop) we might be \
facing a Qt bug here. Did<br> this crash start to happen \
&quot;recently&quot;, i.e. after the 4.4.2 update to<br> qt-copy?<br>
<br>
What I also don&#39;t understand is why I&#39;m getting an &quot;unknown \
protocol<br> kfiledialog&quot; with the sample application, but not with \
koffice, so that<br> might be the reason why the sample app doesn&#39;t \
crash.<br> <br>
Andreas<br>
<font color="#888888"><br>
--<br>
You will have long and healthy life.<br>
</font><br><br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> <br></blockquote></div><br></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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