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

List:       kde-bugs-dist
Subject:    [dolphin] [Bug 325359] Dolphin crash
From:       Frank Reininghaus <frank78ac () googlemail ! com>
Date:       2013-09-27 8:51:39
Message-ID: bug-325359-17878-nWlMhCnhDT () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=325359

--- Comment #1 from Frank Reininghaus <frank78ac@googlemail.com> ---
Thanks for the bug report!

It crashes when checking the condition of the following while-loop in

KFileItemModel::lessThan(const ItemData* a, const ItemData* b) const:

while (a->parent != b->parent) {
    a = a->parent;
    b = b->parent;
}

Looks like one of the ItemData* pointers a or b became dangling, possibly
because one of them had a dangling "parent" and then got replaced by it in the
loop body.

If this theory is correct, it would mean that an expanded folder was removed
from the model, but at least one child remained in the model and kept its
dangling "parent" pointer. I don't know how that could happen though...

Some questions:

(a) Is it correct that you used the "Details" view before the crash, and that
at least one folder was expanded?

(b) Was there anything special about the folder where it happened (local
folder, remote file system, ...)?

(c) Did you use a filter (which you can set, e.g., by pressing Ctrl+I and then
entering some text)?

(d) Most importantly: can you reproduce the crash if you try to repeat what you
did before the first crash?

Thanks for your help!

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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