Bug 461867 - Plasma Theme Explorer crashes when closing on Wayland
Summary: Plasma Theme Explorer crashes when closing on Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: Plasma SDK
Classification: Plasma
Component: plasmathemeexplorer (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-15 12:10 UTC by Patrick Silva
Modified: 2025-03-27 14:19 UTC (History)
1 user (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 Patrick Silva 2022-11-15 12:10:10 UTC
I opened and closed Plasma Theme Explorer on Wayland, Plasma notified a crash.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland


Thread 3 (Thread 0x7f06d1dff640 (LWP 12172)):
#0  0x00007f06d6718d7f in __GI___poll (fds=0x7f06cc0053c0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f06d52a6696 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f06cc0053c0, timeout=<optimized out>, context=0x7f06cc001cf0) at ../../../glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7f06cc001cf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206
#3  0x00007f06d524f3c3 in g_main_context_iteration (context=0x7f06cc001cf0, may_block=1) at ../../../glib/gmain.c:4276
#4  0x00007f06d7115af8 in QEventDispatcherGlib::processEvents (this=0x7f06cc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f06d70ba9bb in QEventLoop::exec (this=this@entry=0x7f06d1dfeb10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f06d6ecd4e2 in QThread::exec (this=this@entry=0x7f06d6991d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f06d6918f1b in QDBusConnectionManager::run (this=0x7f06d6991d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#8  0x00007f06d6ece703 in QThreadPrivate::start (arg=0x7f06d6991d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007f06d6694b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f06d6726a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f06bbadb640 (LWP 12178)):
#0  0x00007f06d6718d7f in __GI___poll (fds=0x7f06ac0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f06d52a6696 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f06ac0029e0, timeout=<optimized out>, context=0x7f06ac000c30) at ../../../glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7f06ac000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4206
#3  0x00007f06d524f3c3 in g_main_context_iteration (context=0x7f06ac000c30, may_block=1) at ../../../glib/gmain.c:4276
#4  0x00007f06d7115af8 in QEventDispatcherGlib::processEvents (this=0x7f06ac000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f06d70ba9bb in QEventLoop::exec (this=this@entry=0x7f06bbadab20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f06d6ecd4e2 in QThread::exec (this=this@entry=0x55c2c8b0ae50) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f06d7f32959 in QQmlThreadPrivate::run (this=0x55c2c8b0ae50) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f06d6ece703 in QThreadPrivate::start (arg=0x55c2c8b0ae50) at thread/qthread_unix.cpp:330
#9  0x00007f06d6694b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f06d6726a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f06d2668540 (LWP 12171)):
#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=139667276465472) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=11, threadid=139667276465472) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=139667276465472, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3  0x00007f06d6642476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4  0x00007f06d88d00a5 in KCrash::defaultCrashHandler (sig=11) at ./src/kcrash.cpp:618
#5  <signal handler called>
#6  QMetaType::destruct (data=0x55c2c8bfa260, this=0x55c2c8bf9f38) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:2375
#7  QV4::Heap::QQmlValueTypeWrapper::destroy (this=0x7f06ba069980) at qml/qqmlvaluetypewrapper.cpp:100
#8  0x00007f06d7cae478 in QV4::Chunk::sweep (this=0x7f06ba060000, engine=0x55c2c8ae1820) at memory/qv4mm.cpp:349
#9  0x00007f06d7cae70b in operator() (c=<optimized out>, __closure=<synthetic pointer>) at memory/qv4mm.cpp:630
#10 std::__partition<__gnu_cxx::__normal_iterator<QV4::Chunk**, std::vector<QV4::Chunk*> >, QV4::BlockAllocator::sweep()::<lambda(QV4::Chunk*)> > (__pred=..., __last=0x2a00000000, __first=0x7f06ba060000) at /usr/include/c++/11/bits/stl_algo.h:1495
#11 std::partition<__gnu_cxx::__normal_iterator<QV4::Chunk**, std::vector<QV4::Chunk*> >, QV4::BlockAllocator::sweep()::<lambda(QV4::Chunk*)> > (__pred=..., __last=..., __first=...) at /usr/include/c++/11/bits/stl_algo.h:4654
#12 QV4::BlockAllocator::sweep (this=this@entry=0x55c2c8b0b1f0) at memory/qv4mm.cpp:629
#13 0x00007f06d7caf3af in QV4::MemoryManager::sweep (this=this@entry=0x55c2c8b0b1e0, lastSweep=lastSweep@entry=false, classCountPtr=classCountPtr@entry=0x0) at memory/qv4mm.cpp:994
#14 0x00007f06d7caffbd in QV4::MemoryManager::runGC (this=0x55c2c8b0b1e0) at memory/qv4mm.cpp:1054
#15 0x00007f06d7cb24f5 in QV4::MemoryManager::allocate (size=32, allocator=0x55c2c8b0b1f0, this=0x55c2c8b0b1e0) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:307
#16 QV4::MemoryManager::allocString (this=this@entry=0x55c2c8b0b1e0, unmanagedSize=<optimized out>) at memory/qv4mm.cpp:791
#17 0x00007f06d7d1cd32 in QV4::MemoryManager::allocWithStringData<QV4::String, QString> (arg1=..., unmanagedSize=<optimized out>, this=0x55c2c8b0b1e0) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../src/qml/memory/qv4mm_p.h:217
#18 QV4::ExecutionEngine::newString (this=this@entry=0x55c2c8ae1820, s=...) at jsruntime/qv4engine.cpp:894
#19 0x00007f06d7d5c744 in QV4::Heap::ErrorObject::init (this=this@entry=0x7f06ba0d5fa0, message=..., t=t@entry=QV4::Heap::ErrorObject::TypeError) at jsruntime/qv4errorobject.cpp:95
#20 0x00007f06d7d5d7fe in QV4::Heap::TypeErrorObject::init (this=this@entry=0x7f06ba0d5fa0, message=...) at jsruntime/qv4errorobject.cpp:206
#21 0x00007f06d7d23ee0 in QV4::MemoryManager::allocObject<QV4::TypeErrorObject, QV4::ScopedValue> (ic=0x7f06ba05e100, this=<optimized out>) at ../../include/QtQml/5.15.7/QtQml/private/../../../../../src/qml/memory/qv4writebarrier_p.h:98
#22 QV4::ErrorObject::create<QV4::TypeErrorObject> (message=..., e=0x55c2c8ae1820) at jsruntime/qv4errorobject_p.h:350
#23 QV4::ExecutionEngine::newTypeErrorObject (this=this@entry=0x55c2c8ae1820, message=...) at jsruntime/qv4engine.cpp:1058
#24 0x00007f06d7d25726 in QV4::ExecutionEngine::throwTypeError (this=this@entry=0x55c2c8ae1820, message=...) at jsruntime/qv4engine.cpp:1349
#25 0x00007f06d7d35eb4 in QV4::Lookup::resolvePrimitiveGetter (this=<optimized out>, engine=0x55c2c8ae1820, object=...) at jsruntime/qv4lookup.cpp:85
#26 0x00007f06aa2fadaf in ?? ()
#27 0x0000000000000000 in ?? ()
Comment 1 Patrick Silva 2025-03-27 14:19:59 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Graphics Platform: Wayland