crash on start

Aleix Pol aleixpol at kde.org
Tue Sep 21 11:19:58 UTC 2010


On Tue, Sep 21, 2010 at 10:48 AM, David Nolden <zwabel at googlemail.com>wrote:

> 2010/9/21 Andreas Pakulat <apaku at gmx.de>:
> > On 20.09.10 23:49:05, Aleix Pol wrote:
> >> Hi!
> >> I've been getting a crash on a system using master and kdelibs trunk
> when
> >> starting kdevelop with a session that already had files in it.
> >>
> >> I've been trying to debug the problem a little and I've found out the
> >> problem goes that way:
> >> - The same file happens to be opened two times for some reason (dunno
> what),
> >> the file that's in the workingset, of course.
> >> - the first one goes to check it's mimetype using the KIO::MimetypeJob
> >> - The exec function somehow tries to add again the same file we were
> adding,
> >> I guess it's because there's some qApp->processEvents somewhere, not
> sure
> >> why.
> >> - The file tries to be opened again.
> >> - When the second file is created, we hit:
> Q_ASSERT(!documents.contains(url)
> >> || documents[url]==doc);
> >>
> >> Any clue on how to fix that?
> >> I'm not sure why does that happen, isn't ::exec supposed to create a new
> >> event loop?
> >
> > It does, however that just means events are not processed by the main
> > event loop. So the question is why is the same file being added a second
> > time.
>
> Maybe it has something to do with a split-view? However for me, even
> split-views work without problems. I also guess there's something
> messed up with the event-processing.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

No, that happens with only one file.

I have to say I'm not hitting that problem with 4.1 + KDE 4.5, maybe it's
kdelibs that's broken?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100921/f9cd1d46/attachment.html>


More information about the KDevelop-devel mailing list