Bug 462144 - Dolphin crashes when closing tab
Summary: Dolphin crashes when closing tab
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.11.80
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-23 00:36 UTC by Jens Ramke
Modified: 2023-01-19 15:23 UTC (History)
1 user (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 Jens Ramke 2022-11-23 00:36:44 UTC
Application: dolphin (22.11.80)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.9-zen2-xanmod1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.26.3 [KCrashBackend]

-- Information about the crash:
Dolphin always crashes when I close certain tabs.
The crash only occurs when the tab had been active at least once and is now inactive.
It only happens for some directories.
The directories that are affected contain PNG files.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f787d018ca3 in QHash<QString, KVersionControlPlugin::ItemVersion>::findNode (ahp=0x0, akey=..., this=0x55f9b2632ab8) at /usr/include/qt/QtCore/qhash.h:945
#7  QHash<QString, KVersionControlPlugin::ItemVersion>::contains (akey=..., this=0x55f9b2632ab8) at /usr/include/qt/QtCore/qhash.h:920
#8  FileViewGitPlugin::beginRetrieval (this=0x55f9b2632aa0, directory=...) at /usr/src/debug/dolphin-plugins/dolphin-plugins-22.11.80/git/fileviewgitplugin.cpp:243
#9  0x00007f78960de20a in UpdateItemStatesThread::run (this=0x55f9b324de70) at /usr/src/debug/dolphin/dolphin-22.11.80/src/views/versioncontrol/updateitemstatesthread.cpp:36
#10 0x00007f7893ce42ea in QThreadPrivate::start (arg=0x55f9b324de70) at thread/qthread_unix.cpp:330
#11 0x00007f789369f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#12 0x00007f7893721a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f787cdff6c0 (LWP 185270) "QThread"):
#1  __GI___libc_read (fd=38, buf=buf@entry=0x7f787cdfe8d0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7892064ee3 in read (__nbytes=<optimized out>, __buf=<optimized out>, __fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>, __nbytes=<optimized out>) at /usr/include/bits/unistd.h:38
#3  g_wakeup_acknowledge (wakeup=0x55f9b26dd590) at ../glib/glib/gwakeup.c:212
#4  g_main_context_check (context=0x7f786c000c30, max_priority=2147483647, fds=0x7f786c0029e0, n_fds=1) at ../glib/glib/gmain.c:3990
#5  0x00007f78920bb0d8 in g_main_context_iterate.constprop.0 (context=0x7f786c000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4235
#6  0x00007f7892063132 in g_main_context_iteration (context=0x7f786c000c30, may_block=1) at ../glib/glib/gmain.c:4303
#7  0x00007f7893ed7c6f in QEventDispatcherGlib::processEvents (this=0x7f786c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f7893e8573c in QEventLoop::exec (this=0x7f787cdfeac0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#9  0x00007f7893ce721f in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f7893ce42ea in QThreadPrivate::start (arg=0x55f9b2b684c0) at thread/qthread_unix.cpp:330
#11 0x00007f789369f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#12 0x00007f7893721a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f787c5fe6c0 (LWP 185269) "dolphin"):
#1  __pselect (nfds=5, readfds=0x7f787c5f59d0, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f7892004524 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#3  0x00007f78920058a9 in ?? () from /usr/lib/libusbmuxd-2.0.so.6
#4  0x00007f789369f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007f7893721a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f788e1ff6c0 (LWP 185263) "QDBusConnection"):
#1  0x00007f78920bb1df in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f78880053e0, timeout=<optimized out>, context=0x7f7888001cf0) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x7f7888001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007f7892063132 in g_main_context_iteration (context=0x7f7888001cf0, may_block=1) at ../glib/glib/gmain.c:4303
#4  0x00007f7893ed7c6f in QEventDispatcherGlib::processEvents (this=0x7f7888000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f7893e8573c in QEventLoop::exec (this=0x7f788e1fea90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f7893ce721f in QThread::exec (this=this@entry=0x7f7895259560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f78951fdcba in QDBusConnectionManager::run (this=0x7f7895259560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007f7893ce42ea in QThreadPrivate::start (arg=0x7f7895259560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007f789369f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f7893721a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f788e671280 (LWP 185262) "dolphin"):
#1  0x00007f78920bb1df in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55f9b2b33d40, timeout=<optimized out>, context=0x7f7888005010) at ../glib/glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x7f7888005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4233
#3  0x00007f7892063132 in g_main_context_iteration (context=0x7f7888005010, may_block=1) at ../glib/glib/gmain.c:4303
#4  0x00007f7893ed7c4c in QEventDispatcherGlib::processEvents (this=0x55f9b256be80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f7893e8573c in QEventLoop::exec (this=0x7fff24e88fa0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f7893e90269 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f789433a112 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#8  0x00007f7894b76f2a in QApplication::exec () at kernel/qapplication.cpp:2829
#9  0x000055f9b1919f53 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-22.11.80/src/main.cpp:258
[Inferior 1 (process 185262) detached]

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

Reported using DrKonqi
Comment 1 Jens Ramke 2023-01-19 15:23:37 UTC
Version 22.12.1 does not crash any more.