Bug 481529 - Dolphin crashes after applying global theme
Summary: Dolphin crashes after applying global theme
Status: RESOLVED DUPLICATE of bug 471531
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-02-19 02:26 UTC by doncbugs
Modified: 2024-03-03 06:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2024-02-19 02:26:15 UTC
Application: dolphin (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.5.0-15-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
On a fresh user, perhaps coincidentally after opening Dolphin in a fish session, when setting a global theme in System settings, Dolphin appears to crash. Other odd behavior includes the plasma style not applying and the icon theme applying in an incomplete fashion.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f64edb113ee in std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/11/bits/atomic_base.h:820
#5  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/11/atomic:578
#6  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::loadRelaxed<QtSharedPointer::ExternalRefCountData*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#7  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::loadRelaxed (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#8  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x559f7d499de0) at tools/qsharedpointer.cpp:1396
#9  0x00007f64efc28900 in QWeakPointer<QObject>::QWeakPointer<KJob, true> (ptr=<optimized out>, this=<optimized out>, this=<optimized out>, ptr=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:685
#10 QPointer<KJob>::QPointer (p=<optimized out>, this=<optimized out>, this=<optimized out>, p=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:62
#11 operator() (__closure=0x559f7d0990b0) at ./src/kuiserverv2jobtracker.cpp:206
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KUiServerV2JobTracker::registerJob(KJob*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#13 QtPrivate::Functor<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#14 QtPrivate::QFunctorSlotObject<KUiServerV2JobTracker::registerJob(KJob*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x559f7d0990a0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#15 0x00007f64edcf4db4 in QtPrivate::QSlotObjectBase::call (a=0x7ffe238cdce0, r=0x559f7d5511f0, this=0x559f7d0990a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x7f64efc3a8e0 <_ZZN12_GLOBAL__N_117Q_QGS_serverProxy13innerFunctionEvE6holder.lto_priv.1>, signal_index=3, argv=0x7ffe238cdce0) at kernel/qobject.cpp:3925
#17 0x00007f64edcf4db4 in QtPrivate::QSlotObjectBase::call (a=0x7ffe238cde00, r=0x7f64efc3a8e0 <_ZZN12_GLOBAL__N_117Q_QGS_serverProxy13innerFunctionEvE6holder.lto_priv.1>, this=0x559f7d551190) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x559f7d5145a0, signal_index=5, argv=0x7ffe238cde00) at kernel/qobject.cpp:3925
#19 0x00007f64edcede87 in QMetaObject::activate (sender=sender@entry=0x559f7d5145a0, m=m@entry=0x7f64ef164b60 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe238cde00) at kernel/qobject.cpp:3985
#20 0x00007f64ef149cb3 in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x559f7d5145a0, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#21 0x00007f64ef14a5c2 in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (newOwner=..., oldOwner=..., service=..., this=<optimized out>) at ./src/dbus/qdbusservicewatcher.cpp:76
#22 QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x559f7d5145a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffe238cdf80) at .moc/moc_qdbusservicewatcher.cpp:116
#23 0x00007f64ef14aa83 in QDBusServiceWatcher::qt_metacall (this=0x559f7d5145a0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffe238cdf80) at .moc/moc_qdbusservicewatcher.cpp:197
#24 0x00007f64ef0fafeb in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#25 0x00007f64edcea85e in QObject::event (this=0x559f7d5145a0, e=0x7f64e0032250) at kernel/qobject.cpp:1347
#26 0x00007f64ee96c783 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559f7d5145a0, e=0x7f64e0032250) at kernel/qapplication.cpp:3640
#27 0x00007f64edcbd30a in QCoreApplication::notifyInternal2 (receiver=0x559f7d5145a0, event=0x7f64e0032250) at kernel/qcoreapplication.cpp:1064
#28 0x00007f64edcc0407 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559f7c93fec0) at kernel/qcoreapplication.cpp:1821
#29 0x00007f64edd171a7 in postEventSourceDispatch (s=0x559f7ca2cf50) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f64ebb20d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f64ebb76258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f64ebb1e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f64edd167f8 in QEventDispatcherGlib::processEvents (this=0x559f7ca31e60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f64edcbbc2b in QEventLoop::exec (this=this@entry=0x7ffe238ce3e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f64edcc41d4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x0000559f7aeefb97 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:255
[Inferior 1 (process 10439) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-02-20 08:50:20 UTC
Hi, can you share what global theme you had and what global theme did you change to?
Comment 2 Akseli Lahtinen 2024-02-20 08:55:06 UTC
I couldn't reproduce on Plasma 6 when changing from dark to light global theme.

Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.0
Kernel Version: 6.7.4-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 3 Akseli Lahtinen 2024-02-20 09:01:55 UTC
This is likely duplicate of 471531, but if you can still provide us the information about what global themes you were changing and did you change any other similar settings, that would be appreciated!

*** This bug has been marked as a duplicate of bug 471531 ***
Comment 4 doncbugs 2024-03-03 06:04:21 UTC
This was the theme in question: https://www.pling.com/p/2130847/. It may be unrelated to settings and just be caused by an awkward initial state after creating a new user, but I suspect the fish session in Dolphin could be related.