Bug 434946 - Dolphin Crashes in UpdateItemStatesThread::run() After opening a *.heic Image in Dropbox
Summary: Dolphin Crashes in UpdateItemStatesThread::run() After opening a *.heic Image...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: dropbox (show other bugs)
Version: 20.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-03-25 17:08 UTC by Samuel Rüegger
Modified: 2021-04-09 16:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Rüegger 2021-03-25 17:08:12 UTC
Application: dolphin (20.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.6-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.3
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I have open a .heic Image from Dolphin File Browser. The File was open but Dolphin Crashes.


- Unusual behavior I noticed:

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f30d8a9a2f4 in UpdateItemStatesThread::run (this=0x5593574bde50) at /usr/src/debug/dolphin-20.12.3-1.1.x86_64/src/views/versioncontrol/updateitemstatesthread.cpp:41
#6  0x00007f30d6964ef1 in QThreadPrivate::start (arg=0x5593574bde50) at thread/qthread_unix.cpp:329
#7  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f30c0ff9640 (LWP 10909) "QThread"):
#1  0x00007f30d490f26e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f30d490f38f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f30d6b9d8db in QEventDispatcherGlib::processEvents (this=0x7f3098000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f30d6b44ceb in QEventLoop::exec (this=this@entry=0x7f30c0ff8c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f30d6963dae in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f30d6964ef1 in QThreadPrivate::start (arg=0x5593544bba50) at thread/qthread_unix.cpp:329
#7  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f30c37fe640 (LWP 10904) "dolphin:disk$3"):
#1  0x00007f30d53e0260 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x00007f30c9e784eb in cnd_wait (mtx=0x559353febf68, cond=0x559353febf90) at ../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=input@entry=0x559354086e00) at ../src/util/u_queue.c:289
#4  0x00007f30c9e77ae7 in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#5  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f30c3fff640 (LWP 10903) "dolphin:disk$2"):
#1  0x00007f30d53e0260 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x00007f30c9e784eb in cnd_wait (mtx=0x559353febf68, cond=0x559353febf90) at ../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=input@entry=0x559354105ba0) at ../src/util/u_queue.c:289
#4  0x00007f30c9e77ae7 in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#5  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f30c8f5e640 (LWP 10902) "dolphin:disk$1"):
#1  0x00007f30d53e0260 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x00007f30c9e784eb in cnd_wait (mtx=0x559353febf68, cond=0x559353febf90) at ../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=input@entry=0x5593540889e0) at ../src/util/u_queue.c:289
#4  0x00007f30c9e77ae7 in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#5  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f30c975f640 (LWP 10901) "dolphin:disk$0"):
#1  0x00007f30d53e0260 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x00007f30c9e784eb in cnd_wait (mtx=0x559353febf68, cond=0x559353febf90) at ../include/c11/threads_posix.h:155
#3  util_queue_thread_func (input=input@entry=0x559354088a20) at ../src/util/u_queue.c:289
#4  0x00007f30c9e77ae7 in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#5  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f30d0d8f640 (LWP 10900) "QDBusConnection"):
#1  0x00007f30d490f26e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f30d490f38f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f30d6b9d8db in QEventDispatcherGlib::processEvents (this=0x7f30c4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f30d6b44ceb in QEventLoop::exec (this=this@entry=0x7f30d0d8ec30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f30d6963dae in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f30d6e557b7 in QDBusConnectionManager::run (this=0x7f30d6ec3420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f30d6964ef1 in QThreadPrivate::start (arg=0x7f30d6ec3420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#8  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f30d19ed640 (LWP 10899) "QXcbEventQueue"):
#1  0x00007f30d5405862 in poll (__timeout=-1, __nfds=1, __fds=0x7f30d19ecb88) at /usr/include/bits/poll2.h:47
#2  _xcb_conn_wait (c=0x559353d2e8f0, vector=0x0, count=0x0, cond=<optimized out>) at xcb_conn.c:480
#3  0x00007f30d540726c in _xcb_conn_wait (count=0x0, vector=0x0, cond=0x559353d2e930, c=0x559353d2e8f0) at xcb_conn.c:446
#4  xcb_wait_for_event (c=c@entry=0x559353d2e8f0) at xcb_in.c:697
#5  0x00007f30d1b33fb0 in QXcbEventQueue::run (this=0x559353d20d00) at qxcbeventqueue.cpp:228
#6  0x00007f30d6964ef1 in QThreadPrivate::start (arg=0x559353d20d00) at thread/qthread_unix.cpp:329
#7  0x00007f30d53da299 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f30d8bec3b3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f30d3a32fc0 (LWP 10897) "dolphin"):
#1  0x00007f30d5405862 in poll (__timeout=-1, __nfds=1, __fds=0x7ffdce4ca8b8) at /usr/include/bits/poll2.h:47
#2  _xcb_conn_wait (c=0x559353d2e8f0, vector=0x7ffdce4ca9a8, count=0x7ffdce4ca9a4, cond=<optimized out>) at xcb_conn.c:480
#3  0x00007f30d5405b90 in _xcb_conn_wait (count=0x7ffdce4ca9a4, vector=0x7ffdce4ca9a8, cond=0x559353d2fa20, c=0x559353d2e8f0) at xcb_out.c:463
#4  _xcb_out_send (c=c@entry=0x559353d2e8f0, vector=<optimized out>, vector@entry=0x7ffdce4ca9e0, count=<optimized out>, count@entry=1) at xcb_out.c:464
#5  0x00007f30d5405de7 in _xcb_out_flush_to (request=6771, c=0x559353d2e8f0) at xcb_out.c:488
#6  _xcb_out_flush_to (c=c@entry=0x559353d2e8f0, request=6771) at xcb_out.c:477
#7  0x00007f30d540742b in xcb_request_check (c=0x559353d2e8f0, cookie=...) at xcb_in.c:743
#8  0x00007f30d1b39a43 in QXcbConnection::xi2SelectDeviceEvents (this=0x559353d2c0b0, window=111149111) at qxcbconnection_basic.h:71
#9  0x00007f30d1b27385 in QXcbWindow::create (this=0x559354816990) at qxcbobject.h:53
#10 0x00007f30d1b15fde in QXcbIntegration::createPlatformWindow (this=0x559353d2bf70, window=0x5593540c28a0) at qxcbintegration.cpp:250
#11 0x00007f30d707d534 in QWindowPrivate::create (this=0x559353f75430, recursive=recursive@entry=false, nativeHandle=nativeHandle@entry=0) at kernel/qwindow.cpp:528
#12 0x00007f30d707d90d in QWindow::create (this=<optimized out>) at kernel/qwindow.cpp:650
#13 0x00007f30d707d938 in QWindow::winId (this=<optimized out>) at kernel/qwindow.cpp:666
#14 0x00007f30d1191623 in QDBusMenuBar::unregisterMenuBar (this=this@entry=0x7f30c4015440) at /usr/src/debug/plasma5-integration-5.21.3-1.1.x86_64/src/platformtheme/qdbusmenubar.cpp:184
#15 0x00007f30d1191876 in QDBusMenuBar::~QDBusMenuBar (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-integration-5.21.3-1.1.x86_64/src/platformtheme/qdbusmenubar.cpp:70
#16 0x00007f30d11919b9 in QDBusMenuBar::~QDBusMenuBar (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-integration-5.21.3-1.1.x86_64/src/platformtheme/qdbusmenubar.cpp:74
#17 0x00007f30d793aba7 in QMenuBar::~QMenuBar (this=0x5593540fb1f0, __in_chrg=<optimized out>) at widgets/qmenubar.cpp:751
#18 0x00007f30d793abc9 in QMenuBar::~QMenuBar (this=0x5593540fb1f0, __in_chrg=<optimized out>) at widgets/qmenubar.cpp:753
#19 0x00007f30d6b6ff3e in QObjectPrivate::deleteChildren (this=this@entry=0x559353dfb130) at kernel/qobject.cpp:2104
#20 0x00007f30d77f2ad6 in QWidget::~QWidget (this=0x559353d1f660, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#21 0x00007f30d8d0fa08 in DolphinMainWindow::~DolphinMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/dolphin-20.12.3-1.1.x86_64/src/dolphinmainwindow.cpp:206
#22 DolphinMainWindow::~DolphinMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/dolphin-20.12.3-1.1.x86_64/src/dolphinmainwindow.cpp:208
#23 0x00007f30d6b7210f in QObject::event (this=0x559353d1f660, e=0x559354508440) at kernel/qobject.cpp:1301
#24 0x00007f30d8268969 in KXmlGuiWindow::event (this=0x559353d1f660, ev=0x559354508440) at /usr/src/debug/kxmlgui-5.80.0-1.1.x86_64/src/kxmlguiwindow.cpp:109
#25 0x00007f30d77b74ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559353d1f660, e=0x559354508440) at kernel/qapplication.cpp:3632
#26 0x00007f30d6b4632a in QCoreApplication::notifyInternal2 (receiver=0x559353d1f660, event=0x559354508440) at kernel/qcoreapplication.cpp:1063
#27 0x00007f30d6b48d61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559353d0eb00) at kernel/qcoreapplication.cpp:1817
#28 0x00007f30d6b9e233 in postEventSourceDispatch (s=0x559353dee4d0) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f30d490ef57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f30d490f2d8 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f30d490f38f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f30d6b9d8bf in QEventDispatcherGlib::processEvents (this=0x559353df6cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f30d6b44ceb in QEventLoop::exec (this=this@entry=0x7ffdce4cb300, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007f30d6b4cf60 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007f30d706635c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#36 0x00007f30d77b7475 in QApplication::exec () at kernel/qapplication.cpp:2824
#37 0x00007f30d8d0f159 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-20.12.3-1.1.x86_64/src/main.cpp:205
#38 0x00007f30d8b13b25 in __libc_start_main () from /lib64/libc.so.6
#39 0x0000559353add08e in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 10897) detached]

Possible duplicates by query: bug 434860, bug 434725, bug 434456, bug 434435, bug 434366.

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-25 18:38:19 UTC
Crash is in versioncontrol/updateitemstatesthread.cpp:41, which has this:

const KVersionControlPlugin::ItemVersion version = m_plugin->itemVersion(item);

Is this image in a git repo or another kind of source control system? Do you have dolphin's source control integration plugin installed?
Comment 2 Bug Janitor Service 2021-04-09 04:33:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Samuel Rüegger 2021-04-09 05:19:42 UTC
Sorry for my late Response.

The Image was not in a GIT Folder. But in a Dropbox Sync Folder with Running Dropbox Client and installed Dolphin Dropbox Plugin.

I'm not sure if Dropbox is using Git or some form of version control system.
Comment 4 Nate Graham 2021-04-09 14:51:38 UTC
Ah, it's probably using the same versioning code for dropbox, which also does versioning.

Could you attach the file, or any HEIC file that can be used to reproduce the crash?
Comment 5 Samuel Rüegger 2021-04-09 15:03:19 UTC
This time I respond faster ;)

I can't attach the image, but would have to edit it as it is around 48MB.

But just noticed that the problem no longer occurs.

When I open the image now, the image opens and Dolphin does not crash.
Comment 6 Nate Graham 2021-04-09 16:54:40 UTC
Wow that's a big image.

Maybe something deeper in the stack fixed this. Let's re-open if it happens again.