Bug 453430

Summary: Dolphin crashed after closing tab
Product: [Applications] dolphin Reporter: Robert <robert>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, kfm-devel, pruneau
Priority: NOR Keywords: drkonqi
Version: 22.04.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Robert 2022-05-05 18:02:06 UTC
Application: dolphin (22.04.0)

Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.4.0-107-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Dolphin had 4 different tabs open and closing the fourth tab was the trigger. Not sure what made it special, but it was largely full of executable binary files. Closing any other tab first would allow that one to close without issue and closing ther others seemed to work reliably. Sometimes closing the tab in question would work without crashing, in which case opening another tab and navigating to the folder allowed it to again be reproduced once closed.

The crash can be reproduced sometimes.

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

[New LWP 57051]
[New LWP 57052]
[New LWP 57053]
[New LWP 57054]
[New LWP 57055]
[New LWP 57056]
[New LWP 57057]
[New LWP 57659]
[New LWP 57678]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fc86d2f2508 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
__preamble__
[Current thread is 1 (Thread 0x7fc86a6bf9c0 (LWP 57049))]

Thread 10 (Thread 0x7fc8437fe700 (LWP 57678)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fc86f581975 in QBasicMutex::lockInternal() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fc8719e176e in QMutexLocker::QMutexLocker (m=<optimized out>, this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmutex.h:238
#3  UpdateItemStatesThread::run (this=0x55bea85778c0) at ./src/views/versioncontrol/updateitemstatesthread.cpp:33
#4  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fc843fff700 (LWP 57659)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fc8719e186f in UpdateItemStatesThread::run (this=0x55bea8605ca0) at ./src/views/versioncontrol/updateitemstatesthread.cpp:41
#6  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fc859ffb700 (LWP 57057)):
#0  __GI___libc_read (nbytes=16, buf=0x7fc859ffa9d0, fd=22) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=22, buf=0x7fc859ffa9d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fc86d2edb2f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc86d2a4ebe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc86d2a5312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc86d2a54a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc86f7c265b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fc86f76687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fc86f580442 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fc85a7fc700 (LWP 57056)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fc85a7fbb50, clockid=<optimized out>, expected=0, futex_word=0x55bea7e186f0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fc85a7fbb50, clockid=<optimized out>, mutex=0x55bea7e186a0, cond=0x55bea7e186c8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55bea7e186c8, mutex=0x55bea7e186a0, abstime=0x7fc85a7fbb50) at pthread_cond_wait.c:656
#3  0x00007fc86f587618 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc86f584b21 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fc85affd700 (LWP 57055)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fc85affcb50, clockid=<optimized out>, expected=0, futex_word=0x55bea7f182a0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fc85affcb50, clockid=<optimized out>, mutex=0x55bea7f18250, cond=0x55bea7f18278) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55bea7f18278, mutex=0x55bea7f18250, abstime=0x7fc85affcb50) at pthread_cond_wait.c:656
#3  0x00007fc86f587618 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc86f584b21 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc85b7fe700 (LWP 57054)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fc85b7fdb50, clockid=<optimized out>, expected=0, futex_word=0x55bea7e9cac0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fc85b7fdb50, clockid=<optimized out>, mutex=0x55bea7e9ca70, cond=0x55bea7e9ca98) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55bea7e9ca98, mutex=0x55bea7e9ca70, abstime=0x7fc85b7fdb50) at pthread_cond_wait.c:656
#3  0x00007fc86f587618 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc86f584b21 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc85bfff700 (LWP 57053)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fc85bffeb50, clockid=<optimized out>, expected=0, futex_word=0x55bea7dca744) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fc85bffeb50, clockid=<optimized out>, mutex=0x55bea7dca6f0, cond=0x55bea7dca718) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55bea7dca718, mutex=0x55bea7dca6f0, abstime=0x7fc85bffeb50) at pthread_cond_wait.c:656
#3  0x00007fc86f587618 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fc86f584b21 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc868ce2700 (LWP 57052)):
#0  0x00007fc86f581b60 in QMutex::lock() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fc86f7c2552 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fc86d2a48ef in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc86d2a529b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc86d2a54a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc86f7c265b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86f76687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fc86f580442 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fc870820f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc8698c8700 (LWP 57051)):
#0  0x00007fc86f1f19cf in __GI___poll (fds=0x7fc8698c7ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc86dd56c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc86dd5890a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc86a0011a8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fc86f581623 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86dd19609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fc86f1fe163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc86a6bf9c0 (LWP 57049)):
#0  0x00007fc86d2f2508 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc86d2a4888 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc86d2a529b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc86d2a54a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc86f7c265b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc86f76687b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fc86f76ea24 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x000055bea6fb8643 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:240
[Inferior 1 (process 57049) detached]

Possible duplicates by query: bug 453174, bug 451540, bug 451110, bug 451050, bug 450981.

Reported using DrKonqi
Comment 1 Bruno Hivert 2022-05-13 10:32:45 UTC
Created attachment 148791 [details]
New crash information added by DrKonqi

dolphin (19.12.3) using Qt 5.12.8

- What I was doing when the application crashed:
  - have dolphin open, with any number of tabs
  - Go to the side bar, select my Dropbox folder and right-click to open a new tab
  - Navigate to my `Camera Uploads` folder, open any picture in there with gwenview, close gweview with Ctrl-Q
  - Close the last open tab
  => Auto SegFault

-- Backtrace (Reduced):
#8  0x00007f62179a18ac in UpdateItemStatesThread::run (this=0x5557eb8c82b0) at ./src/views/versioncontrol/updateitemstatesthread.cpp:54
#9  0x00007f62158089d2 in QThreadPrivate::start (arg=0x5557eb8c82b0) at thread/qthread_unix.cpp:361
#10 0x00007f6214259609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f6217b18133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 2 David Edmundson 2023-11-28 10:33:52 UTC

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