Bug 431071

Summary: Dolphin shows duplicate items and crashes on closeing
Product: [Applications] dolphin Reporter: guenter <guenter.k>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: justin.zobel, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 20.08.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Typical view

Description guenter 2021-01-02 15:34:33 UTC
Application: dolphin (20.08.2)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-31-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.10

-- Information about the crash:
- What I was doing when the application crashed:
* Dolphin showed duplicate items
* So i closed it (to open again then)
-> crash

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  QSharedDataPointer<KFileItemPrivate>::~QSharedDataPointer (this=0x5609b9c2ece0, __in_chrg=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:333
#5  0x00007ff455c5961a in KFileItemModel::ItemData::~ItemData (this=0x5609b9c2ece0, __in_chrg=<optimized out>) at ./src/kitemviews/kfileitemmodel.h:298
#6  qDeleteAll<QList<KFileItemModel::ItemData*>::const_iterator> (end=..., begin=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#7  qDeleteAll<QList<KFileItemModel::ItemData*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#8  KFileItemModel::~KFileItemModel (this=0x5609ba217930, __in_chrg=<optimized out>) at ./src/kitemviews/kfileitemmodel.cpp:118
#9  0x00007ff455c5979d in KFileItemModel::~KFileItemModel (this=0x5609ba217930, __in_chrg=<optimized out>) at ./src/kitemviews/kfileitemmodel.cpp:116
#10 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=0x5609ba57c910) at kernel/qobject.cpp:2123
#11 0x00007ff453e4e474 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1107
#12 0x00007ff455c6be8d in KItemListController::~KItemListController (this=0x5609ba572780, __in_chrg=<optimized out>) at ./src/kitemviews/kitemlistcontroller.cpp:75
#13 0x00007ff455c68e2f in KItemListContainer::~KItemListContainer (this=0x5609ba593100, __in_chrg=<optimized out>) at ./src/kitemviews/kitemlistcontainer.cpp:98
#14 0x00007ff455c68e9d in KItemListContainer::~KItemListContainer (this=0x5609ba593100, __in_chrg=<optimized out>) at ./src/kitemviews/kitemlistcontainer.cpp:94
#15 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609ba579f50) at kernel/qobject.cpp:2123
#16 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609ba579e80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#17 0x00007ff455ca95ad in DolphinView::~DolphinView (this=0x5609ba579e80, __in_chrg=<optimized out>) at ./src/views/dolphinview.cpp:203
#18 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609b9f9c690) at kernel/qobject.cpp:2123
#19 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609b9f9f830, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#20 0x00007ff455f50325 in DolphinViewContainer::~DolphinViewContainer (this=0x5609b9f9f830, __in_chrg=<optimized out>) at ./src/dolphinviewcontainer.cpp:268
#21 DolphinViewContainer::~DolphinViewContainer (this=0x5609b9f9f830, __in_chrg=<optimized out>) at ./src/dolphinviewcontainer.cpp:270
#22 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609ba0ed5e0) at kernel/qobject.cpp:2123
#23 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609ba1b0dd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#24 0x00007ff454b398ad in QSplitter::~QSplitter (this=0x5609ba1b0dd0, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:971
#25 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609ba212570) at kernel/qobject.cpp:2123
#26 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609b9fbcaa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#27 0x00007ff455f94fc7 in DolphinTabPage::~DolphinTabPage (this=0x5609b9fbcaa0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:53
#28 DolphinTabPage::~DolphinTabPage (this=0x5609b9fbcaa0, __in_chrg=<optimized out>) at ./src/dolphintabpage.h:31
#29 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609b9b95d40) at kernel/qobject.cpp:2123
#30 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609b9b8d650, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#31 0x00007ff454b3e78d in QStackedWidget::~QStackedWidget (this=0x5609b9b8d650, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#32 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609b9b29280) at kernel/qobject.cpp:2123
#33 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609b9b9c7a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#34 0x00007ff455f93891 in DolphinTabWidget::~DolphinTabWidget (this=0x5609b9b9c7a0, __in_chrg=<optimized out>) at ./src/dolphintabwidget.h:30
#35 DolphinTabWidget::~DolphinTabWidget (this=0x5609b9b9c7a0, __in_chrg=<optimized out>) at ./src/dolphintabwidget.h:30
#36 0x00007ff453e4418e in QObjectPrivate::deleteChildren (this=this@entry=0x5609b9b7a4d0) at kernel/qobject.cpp:2123
#37 0x00007ff4549cea66 in QWidget::~QWidget (this=0x5609b9b436d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1530
#38 0x00007ff455f4c4c8 in DolphinMainWindow::~DolphinMainWindow (this=0x5609b9b436d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:53
#39 DolphinMainWindow::~DolphinMainWindow (this=0x5609b9b436d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/dolphinmainwindow.cpp:216
#40 0x00007ff453e46413 in QObject::event (this=this@entry=0x5609b9b436d0, e=e@entry=0x5609baa39850) at kernel/qobject.cpp:1326
#41 0x00007ff4549d3229 in QWidget::event (this=this@entry=0x5609b9b436d0, event=event@entry=0x5609baa39850) at kernel/qwidget.cpp:9094
#42 0x00007ff454ae2230 in QMainWindow::event (this=this@entry=0x5609b9b436d0, event=event@entry=0x5609baa39850) at widgets/qmainwindow.cpp:1341
#43 0x00007ff4554302fd in KMainWindow::event (this=this@entry=0x5609b9b436d0, ev=ev@entry=0x5609baa39850) at ./src/kmainwindow.cpp:911
#44 0x00007ff45545f41d in KXmlGuiWindow::event (this=0x5609b9b436d0, ev=0x5609baa39850) at ./src/kxmlguiwindow.cpp:109
#45 0x00007ff454992013 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5609b9b436d0, e=0x5609baa39850) at kernel/qapplication.cpp:3685
#46 0x00007ff453e1a1ca in QCoreApplication::notifyInternal2 (receiver=0x5609b9b436d0, event=0x5609baa39850) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#47 0x00007ff453e1cbc1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5609b9a82e30) at kernel/qcoreapplication.cpp:1815
#48 0x00007ff453e721c7 in postEventSourceDispatch (s=0x5609b9b39ff0) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007ff451a904db in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ff451a90788 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ff451a90853 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ff453e71843 in QEventDispatcherGlib::processEvents (this=0x5609b9b39c60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#53 0x00007ff453e18a4b in QEventLoop::exec (this=this@entry=0x7fffea57eb20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#54 0x00007ff453e20fc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#55 0x00007ff4542a0de0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1860
#56 0x00007ff454991f89 in QApplication::exec () at kernel/qapplication.cpp:2825
#57 0x00007ff455f3c7c5 in kdemain (argc=<optimized out>, argv=0x7fffea57ec28) at ./src/main.cpp:206
#58 0x00007ff455d2ccb2 in __libc_start_main (main=0x5609b90b5060 <main>, argc=1, argv=0x7fffea57ede8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffea57edd8) at ../csu/libc-start.c:314
#59 0x00005609b90b509e in _start ()
[Inferior 1 (process 354722) detached]

The reporter indicates this bug may be a duplicate of or related to bug 428384.

Possible duplicates by query: bug 431038, bug 430283, bug 429761, bug 428770, bug 428535.

Reported using DrKonqi
Comment 1 Justin Zobel 2021-01-03 00:21:21 UTC
Is this reproducible? If so please install libglib2.0-0-dbgsym and reproduce the crash and attach the new crash report, thank you.
Comment 2 guenter 2021-01-03 18:13:16 UTC
(In reply to Justin Zobel from comment #1)
> Is this reproducible? If so please install libglib2.0-0-dbgsym and reproduce
> the crash and attach the new crash report, thank you.

I had it only twice. Normally dolphin works.

libglib2.0-0-dbgsym installed now. Of cause I'll come back in case of new crash.
Comment 3 Justin Zobel 2021-01-03 23:28:13 UTC
(In reply to guenter from comment #2)
> (In reply to Justin Zobel from comment #1)
> > Is this reproducible? If so please install libglib2.0-0-dbgsym and reproduce
> > the crash and attach the new crash report, thank you.
> 
> I had it only twice. Normally dolphin works.
> 
> libglib2.0-0-dbgsym installed now. Of cause I'll come back in case of new
> crash.

Thanks, Guenter. I'm going to set this bug's status to needsinfo, it'll automatically close in 30 days. If you do experience the crash and can get a more details backtrace please change the status back to reported and provide the trace so we can investigate, thanks!
Comment 4 Christoph Feck 2021-01-04 03:16:44 UTC
Are you using the tree view mode of the details view?
Comment 5 guenter 2021-01-04 08:59:18 UTC
Created attachment 134527 [details]
Typical view
Comment 6 Christoph Feck 2021-01-04 09:17:20 UTC

*** This bug has been marked as a duplicate of bug 422282 ***