[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. Sorry I can't be more precise. Speaking for myself, \
the whole world thanks you for looking into this.<br><br>-David<br><br><br> \
<br><br> <br><br><div class="gmail_quote">On Sat, Oct 18, 2008 at 3:24 AM, \
Andreas Pakulat <span dir="ltr"><<a \
href="mailto:apaku@gmx.de">apaku@gmx.de</a>></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> > On Friday 17 October 2008, David Boosalis wrote:<br>
> > Rafael.<br>
> > Maybe some one more intimate with kword can address this issue. \
I've seen<br> > > this problem for sometime with koffice in SVN and \
that's why I peaked a<br> > > little under the covers to see what it is the \
matter. Eventually they have<br> > > to address it, or maybe it's \
just my system and this is all a mute point.<br> > Nope it's not just your \
system, well, at least I have heard other people<br> > having crash in kfilewidget \
at startup.<br> ><br>
> As for the fancy things we do:<br>
<br>
</div>Well, the code you've posted doesn't trigger a crash in a simple KDE4 \
app,<br> so there's something else that triggers the problem. I'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't<br>
created yet at this point, but please read on.<br>
<br>
I don't understand though why the nested event loop causes GUI events to be<br>
sent. As far as I know it shouldn't. And as I'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 "recently", i.e. after the 4.4.2 update to<br>
qt-copy?<br>
<br>
What I also don't understand is why I'm getting an "unknown protocol<br>
kfiledialog" with the sample application, but not with koffice, so that<br>
might be the reason why the sample app doesn't crash.<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You will have long and healthy life.<br>
</font><br><br>
>> 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 <<<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