Bug 457070 - Crash when closing dolphin
Summary: Crash when closing dolphin
Status: RESOLVED DUPLICATE of bug 477425
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-24 13:22 UTC by Bruno Hivert
Modified: 2023-11-28 10:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.25 KB, text/plain)
2022-09-15 09:45 UTC, Bruno Hivert
Details
New crash information added by DrKonqi (58.42 KB, text/plain)
2023-01-02 20:47 UTC, Oded Arbel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Hivert 2022-07-24 13:22:01 UTC
Application: dolphin (19.12.3)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.14.0-1045-oem x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had a few tabs open, but I cannot reproduce this consistently.
However, I was closing dolphin to work around another bug: the newly downloaded file where not showing anymore, and restarting the app is the only way to correct this problem.
The non-refreshing problem essentially happens when dolphin runs long enough, it's possibly related to the crashing-when-closing (current) one.
I'll update this bug if I notice a real correlation.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7ffda4143608) at ../sysdeps/nptl/futex-internal.h:183
[Current thread is 1 (Thread 0x7f6b1c3e3800 (LWP 3062))]

Thread 5 (Thread 0x7f6afb08e700 (LWP 24242)):
#0  0x00007f6b22c5a99f in __GI___poll (fds=fds@entry=0x7f6aec012b60, nfds=nfds@entry=3, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6b1f3341d6 in poll (__timeout=-1, __nfds=3, __fds=0x7f6aec012b60) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  poll_func (ufds=0x7f6aec012b60, nfds=3, timeout=-1, userdata=0x5614930a4630) at pulse/thread-mainloop.c:70
#3  0x00007f6b1f325841 in pa_mainloop_poll (m=m@entry=0x561492b1dd80) at pulse/mainloop.c:824
#4  0x00007f6b1f325ec3 in pa_mainloop_iterate (m=0x561492b1dd80, block=<optimized out>, retval=0x0) at pulse/mainloop.c:926
#5  0x00007f6b1f325f70 in pa_mainloop_run (m=0x561492b1dd80, retval=retval@entry=0x0) at pulse/mainloop.c:945
#6  0x00007f6b1f33411d in thread (userdata=0x561492e3fbe0) at pulse/thread-mainloop.c:101
#7  0x00007f6b1e79072c in internal_thread_func (userdata=0x56149308bb30) at pulsecore/thread-posix.c:81
#8  0x00007f6b1f3a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6b22c67133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6afbfff700 (LWP 24211)):
[KCrash Handler]
#7  0x00007f6b22af08a9 in UpdateItemStatesThread::run (this=0x56148e8d6dd0) at ./src/views/versioncontrol/updateitemstatesthread.cpp:54
#8  0x00007f6b209579d2 in QThreadPrivate::start (arg=0x56148e8d6dd0) at thread/qthread_unix.cpp:361
#9  0x00007f6b1f3a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f6b22c67133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6b0dc4e700 (LWP 3073)):
#0  0x00007f6b22c5a99f in __GI___poll (fds=0x7f6b00013440, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6b1ea6936e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f6b00013440, timeout=<optimized out>, context=0x7f6b00000c30) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f6b00000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f6b1ea694a3 in g_main_context_iteration (context=0x7f6b00000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f6b20b77453 in QEventDispatcherGlib::processEvents (this=0x7f6b00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f6b20b1e3ab in QEventLoop::exec (this=this@entry=0x7f6b0dc4dd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f6b20956785 in QThread::exec (this=this@entry=0x7f6b20e7cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f6b20df9efa in QDBusConnectionManager::run (this=0x7f6b20e7cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f6b209579d2 in QThreadPrivate::start (arg=0x7f6b20e7cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f6b1f3a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f6b22c67133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6b0e7fb700 (LWP 3071)):
#0  0x00007f6b22c5a99f in __GI___poll (fds=fds@entry=0x7f6b0e7faca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6b1f364c1a in poll (__timeout=-1, __nfds=1, __fds=0x7f6b0e7faca8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x56148c7f1d00, cond=cond@entry=0x56148c7f1d40, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007f6b1f36690a in xcb_wait_for_event (c=c@entry=0x56148c7f1d00) at ../../src/xcb_in.c:697
#4  0x00007f6b0efd6298 in QXcbEventQueue::run (this=0x56148c7d3f40) at qxcbeventqueue.cpp:228
#5  0x00007f6b209579d2 in QThreadPrivate::start (arg=0x56148c7d3f40) at thread/qthread_unix.cpp:361
#6  0x00007f6b1f3a8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f6b22c67133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6b1c3e3800 (LWP 3062)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7ffda4143608) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56148c7f1d18, cond=0x7ffda41435e0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7ffda41435e0, mutex=0x56148c7f1d18) at pthread_cond_wait.c:647
#3  0x00007f6b1f364df0 in _xcb_conn_wait (c=c@entry=0x56148c7f1d00, cond=cond@entry=0x7ffda41435e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:448
#4  0x00007f6b1f36661f in wait_for_reply (c=c@entry=0x56148c7f1d00, request=request@entry=42636, e=e@entry=0x7ffda4143660) at ../../src/xcb_in.c:516
#5  0x00007f6b1f36683d in xcb_request_check (c=0x56148c7f1d00, cookie=...) at ../../src/xcb_in.c:745
#6  0x00007f6b0efc741e in QXcbBackingStoreImage::destroyShmSegment (this=this@entry=0x56148d2b99e0) at qxcbconnection_basic.h:71
#7  0x00007f6b0efc7e08 in QXcbBackingStoreImage::destroy (this=this@entry=0x56148d2b99e0, destroyShm=destroyShm@entry=true) at qxcbbackingstore.cpp:282
#8  0x00007f6b0efc9b9e in QXcbBackingStoreImage::~QXcbBackingStoreImage (this=0x56148d2b99e0, __in_chrg=<optimized out>) at qxcbbackingstore.cpp:82
#9  QXcbBackingStore::~QXcbBackingStore (this=0x56148caed1b0, __in_chrg=<optimized out>) at qxcbbackingstore.cpp:776
#10 0x00007f6b0efc9c5d in QXcbBackingStore::~QXcbBackingStore (this=0x56148caed1b0, __in_chrg=<optimized out>) at qxcbbackingstore.cpp:774
#11 0x00007f6b2118c2af in QBackingStore::~QBackingStore (this=0x56148cb52bd0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:116
#12 0x00007f6b21639b77 in deleteBackingStore (d=d@entry=0x56148c842400) at kernel/qwidget.cpp:1865
#13 0x00007f6b21642996 in QWidgetPrivate::deleteTLSysExtra (this=0x56148c842400) at kernel/qwidget.cpp:1876
#14 0x00007f6b21647568 in QWidget::destroy (this=this@entry=0x56148c833a70, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12514
#15 0x00007f6b2164ec45 in QWidget::~QWidget (this=0x56148c833a70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1701
#16 0x00007f6b22121508 in KMainWindow::~KMainWindow (this=0x56148c833a70, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:404
#17 0x00007f6b22d8a9c9 in DolphinMainWindow::~DolphinMainWindow (this=0x56148c833a70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:167
#18 0x00007f6b22d8aa1d in DolphinMainWindow::~DolphinMainWindow (this=0x56148c833a70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/dolphinmainwindow.cpp:202
#19 0x00007f6b20b4ba44 in QObject::event (this=this@entry=0x56148c833a70, e=e@entry=0x56148ecc0b50) at kernel/qobject.cpp:1252
#20 0x00007f6b2165325d in QWidget::event (this=this@entry=0x56148c833a70, event=event@entry=0x56148ecc0b50) at kernel/qwidget.cpp:9409
#21 0x00007f6b21768148 in QMainWindow::event (this=this@entry=0x56148c833a70, event=event@entry=0x56148ecc0b50) at widgets/qmainwindow.cpp:1339
#22 0x00007f6b221239ab in KMainWindow::event (this=this@entry=0x56148c833a70, ev=ev@entry=0x56148ecc0b50) at ./src/kmainwindow.cpp:868
#23 0x00007f6b2216e5bb in KXmlGuiWindow::event (this=0x56148c833a70, ev=0x56148ecc0b50) at ./src/kxmlguiwindow.cpp:121
#24 0x00007f6b22d8cc88 in DolphinMainWindow::event (this=<optimized out>, event=<optimized out>) at ./src/dolphinmainwindow.cpp:2212
#25 0x00007f6b21610a66 in QApplicationPrivate::notify_helper (this=this@entry=0x56148c7cbe80, receiver=receiver@entry=0x56148c833a70, e=e@entry=0x56148ecc0b50) at kernel/qapplication.cpp:3700
#26 0x00007f6b2161a0f0 in QApplication::notify (this=0x7ffda4144170, receiver=0x56148c833a70, e=0x56148ecc0b50) at kernel/qapplication.cpp:3446
#27 0x00007f6b20b1f80a in QCoreApplication::notifyInternal2 (receiver=0x56148c833a70, event=0x56148ecc0b50) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#28 0x00007f6b20b22488 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56148c7d3c90) at kernel/qcoreapplication.cpp:1825
#29 0x00007f6b20b77e37 in postEventSourceDispatch (s=0x56148c8314e0) at kernel/qeventdispatcher_glib.cpp:276
#30 0x00007f6b1ea6917d in g_main_dispatch (context=0x7f6b08005010) at ../../../glib/gmain.c:3309
#31 g_main_context_dispatch (context=context@entry=0x7f6b08005010) at ../../../glib/gmain.c:3974
#32 0x00007f6b1ea69400 in g_main_context_iterate (context=context@entry=0x7f6b08005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#33 0x00007f6b1ea694a3 in g_main_context_iteration (context=0x7f6b08005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#34 0x00007f6b20b77435 in QEventDispatcherGlib::processEvents (this=0x56148c840240, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f6b20b1e3ab in QEventLoop::exec (this=this@entry=0x7ffda4144080, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#36 0x00007f6b20b26116 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#37 0x00007f6b20fd69a0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1784
#38 0x00007f6b216109d9 in QApplication::exec () at kernel/qapplication.cpp:2856
#39 0x00007f6b22d868b5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:188
#40 0x00007f6b22b6c083 in __libc_start_main (main=0x56148bf61060 <main>, argc=3, argv=0x7ffda41442e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda41442d8) at ../csu/libc-start.c:308
#41 0x000056148bf6109e in _start ()
[Inferior 1 (process 3062) detached]

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

Possible duplicates by query: bug 456491, bug 454571, bug 454290, bug 454228, bug 453858.

Reported using DrKonqi
Comment 1 Bruno Hivert 2022-09-15 09:45:32 UTC
Created attachment 152074 [details]
New crash information added by DrKonqi

dolphin (19.12.3) using Qt 5.12.8

- What I was doing when the application crashed:
I had another directory open in a split tab, and closed the split tab

-- Backtrace (Reduced):
#8  0x00007fe8915a88ac in UpdateItemStatesThread::run (this=0x563dd298db40) at ./src/views/versioncontrol/updateitemstatesthread.cpp:54
#9  0x00007fe88f40f9d2 in QThreadPrivate::start (arg=0x563dd298db40) at thread/qthread_unix.cpp:361
#10 0x00007fe88de60609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fe89171f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 2 Oded Arbel 2023-01-02 20:47:02 UTC
Created attachment 154972 [details]
New crash information added by DrKonqi

dolphin (22.08.2) using Qt 5.15.7

I also get this crash sometimes when opening dolphin to my home dir and immediately closing it.

-- Backtrace (Reduced):
#6  0x00007fecd232c1e2 in UpdateItemStatesThread::run (this=0x5576033d9510) at ./src/views/versioncontrol/updateitemstatesthread.cpp:41
#7  0x00007fecd0082703 in QThreadPrivate::start (arg=0x5576033d9510) at thread/qthread_unix.cpp:330
#8  0x00007feccfc15402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007feccfca4590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 3 David Edmundson 2023-11-28 10:33:35 UTC

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