Bug 493579

Summary: Plasma crashed in Plasma5Support::DataSource::dataChanged() while connecting external drive
Product: [Plasma] plasmashell Reporter: Caio <caiohideo>
Component: DataEnginesAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 6.1.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Caio 2024-09-24 11:21:42 UTC
Application: plasmashell (6.1.5)

Qt Version: 6.7.2
Frameworks Version: 6.6.0
Operating System: Linux 6.10.10-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.1.5 [CoredumpBackend]

-- Information about the crash:
The bug triggered after a fresh boot when I attached a external ssd drive. The drive use a single btrfs partition on MBR partition scheme, there is an entry configured for this drive on my fstab file to mount a subvolume at a specific path. After recovery from the crash the drive is listed in the plasmoid applet and it mounts the subvolume correctly.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  QV4::ExecutableAllocator::allocate (this=0x5ea0cff89870, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4executableallocator.cpp:168
#6  JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (this=<optimized out>, allocator=0x5ea0cff89870, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/stubs/ExecutableAllocator.h:36
#7  JSC::ExecutableAllocator::allocate (this=<optimized out>, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/stubs/ExecutableAllocator.h:73
#8  JSC::AssemblerBuffer::executableCopy (ownerUID=<optimized out>, effort=<optimized out>, this=0x5ea0d0ab5218, globalData=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/AssemblerBuffer.h:138
#9  JSC::X86Assembler::X86InstructionFormatter::executableCopy (this=0x5ea0d0ab5218, globalData=..., ownerUID=<optimized out>, effort=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/X86Assembler.h:2423


Reported using DrKonqi
Comment 1 Caio 2024-09-24 11:21:44 UTC
Created attachment 174022 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-09-24 12:35:16 UTC
Searchable backtrace of the crashing thread:


Thread 1 (Thread 0x7f4207c9ea00 (LWP 1056)):
[KCrash Handler]
#5  QV4::ExecutableAllocator::allocate (this=0x5ea0cff89870, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4executableallocator.cpp:168
#6  JSC::ExecutableMemoryHandle::ExecutableMemoryHandle (this=<optimized out>, allocator=0x5ea0cff89870, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/stubs/ExecutableAllocator.h:36
#7  JSC::ExecutableAllocator::allocate (this=<optimized out>, size=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/stubs/ExecutableAllocator.h:73
#8  JSC::AssemblerBuffer::executableCopy (ownerUID=<optimized out>, effort=<optimized out>, this=0x5ea0d0ab5218, globalData=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/AssemblerBuffer.h:138
#9  JSC::X86Assembler::X86InstructionFormatter::executableCopy (this=0x5ea0d0ab5218, globalData=..., ownerUID=<optimized out>, effort=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/X86Assembler.h:2423
#10 JSC::X86Assembler::executableCopy (this=0x5ea0d0ab5218, globalData=..., ownerUID=<optimized out>, effort=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/X86Assembler.h:2058
#11 JSC::LinkBufferBase<JSC::MacroAssembler<JSC::MacroAssemblerX86_64>, JSC::DefaultExecutableOffsetCalculator>::linkCode(void*, JSC::JITCompilationEffort) [clone .constprop.0] [clone .isra.0] (this=this@entry=0x7ffddb7a4510, effort=<optimized out>, ownerUID=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/LinkBuffer.h:333
#12 0x00007f420f21dc30 in JSC::LinkBuffer<JSC::MacroAssembler<JSC::MacroAssemblerX86_64> >::LinkBuffer (this=<optimized out>, globalData=..., masm=<optimized out>, ownerUID=<optimized out>, effort=<optimized out>, this=<optimized out>, globalData=..., masm=<optimized out>, ownerUID=<optimized out>, effort=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/../3rdparty/masm/assembler/LinkBuffer.h:369
#13 QV4::JIT::PlatformAssemblerCommon::link (jitKind=0x7f420f447fb5 "BaselineJIT", this=0x5ea0d0ab5210, function=0x5ea0d17d32f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jit/qv4assemblercommon.cpp:108
#14 QV4::JIT::BaselineAssembler::link (this=<optimized out>, function=0x5ea0d17d32f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jit/qv4baselineassembler.cpp:826
#15 QV4::JIT::BaselineJIT::generate (this=0x7ffddb7a44e0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jit/qv4baselinejit.cpp:39
#16 QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:470
#17 0x00007f420f184ab6 in QV4::doCall (self=<optimized out>, thisObject=thisObject@entry=0x7f41d7bbf4f0, argv=<optimized out>, argc=argc@entry=0, context=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:54
#18 0x00007f420f18795d in QV4::Function::call (this=this@entry=0x5ea0d17d32f0, thisObject=0x7f41d7bbf4f0, argv=argv@entry=0x7f41d7bbf4f0, argc=argc@entry=0, context=context@entry=0x7f41c8a3cb18) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:79
#19 0x00007f420f187c51 in operator() (__closure=<synthetic pointer>, thisObject=<optimized out>, argv=0x7f41d7bbf4f0, argc=0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:30
#20 QV4::convertAndCall<QV4::Function::call(QObject*, void**, const QMetaType*, int, QV4::ExecutionContext*)::<lambda(const QV4::Value*, const QV4::Value*, int)> > (engine=<optimized out>, thisObject=0x5ea0d1798740, a=0x7ffddb7a4890, types=0x7ffddb7a4880, argc=0, call=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:202
#21 QV4::Function::call (this=0x5ea0d17d32f0, thisObject=0x5ea0d1798740, a=0x7ffddb7a4890, types=0x7ffddb7a4880, argc=0, context=0x7f41c8a3cb18) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:27
#22 0x00007f420f2bafc4 in QQmlJavaScriptExpression::evaluate (this=<optimized out>, a=<optimized out>, types=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression_p.h:248
#23 0x00007f420f2651a3 in QQmlBoundSignalExpression::evaluate (this=0x5ea0d17a6e60, a=a@entry=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:199
#24 0x00007f420f26a0bf in QQmlBoundSignal_callback (e=0x5ea0d1800f50, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/ftw/qqmlrefcount_p.h:73
#25 QQmlBoundSignal_callback (e=0x5ea0d1800f50, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:293
#26 0x00007f420f2dba4c in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:70
#27 0x00007f420dfa30ea in doActivate<false> (sender=0x5ea0d1798740, signal_index=11, argv=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:3976
#28 0x00007f41e202788c in Plasma5Support::DataSource::dataChanged (this=0x5ea0d1798740) at /usr/src/debug/plasma5support/build/src/declarativeimports/plasma5supportplugin_autogen/include/moc_datasource.cpp:495
#29 Plasma5Support::DataSource::dataUpdated (this=0x5ea0d1798740, sourceName=..., data=...) at /usr/src/debug/plasma5support/plasma5support-6.1.5/src/declarativeimports/datasource.cpp:162
#30 Plasma5Support::DataSource::dataUpdated (this=0x5ea0d1798740, sourceName=..., data=...) at /usr/src/debug/plasma5support/plasma5support-6.1.5/src/declarativeimports/datasource.cpp:157
#31 Plasma5Support::DataSource::qt_static_metacall (_o=0x5ea0d1798740, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma5support/build/src/declarativeimports/plasma5supportplugin_autogen/include/moc_datasource.cpp:268
#32 0x00007f420dfa35ea in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4098
#33 0x00007f4204b4ac2e in Plasma5Support::DataContainer::dataUpdated (this=this@entry=0x5ea0d1866f60, _t1=..., _t2=...) at /usr/src/debug/plasma5support/build/src/plasma5support/Plasma5Support_autogen/include/moc_datacontainer.cpp:264
#34 0x00007f4204b4eef4 in Plasma5Support::DataContainer::checkForUpdate (this=0x5ea0d1866f60) at /usr/src/debug/plasma5support/plasma5support-6.1.5/src/plasma5support/datacontainer.cpp:343
#35 0x00007f4204b50d5a in Plasma5Support::DataEngine::timerEvent (this=<optimized out>, event=<optimized out>) at /usr/src/debug/plasma5support/plasma5support-6.1.5/src/plasma5support/dataengine.cpp:326
#36 0x00007f420df8d859 in QObject::event (this=0x5ea0d07d1330, e=0x7ffddb7a6810) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1427
#37 0x00007f420fefc8cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5ea0d07d1330, e=0x7ffddb7a6810) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#38 0x00007f420df45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5ea0d07d1330, event=0x7ffddb7a6810) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#39 0x00007f420e0c7658 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffddb7a6810) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#40 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:434
#41 0x00007f420e1a9fd1 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#42 idleTimerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:197
#43 0x00007f420cbad559 in g_main_dispatch (context=0x7f4200000f00) at ../glib/glib/gmain.c:3357
#44 0x00007f420cc10157 in g_main_context_dispatch_unlocked (context=0x7f4200000f00) at ../glib/glib/gmain.c:4208
#45 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f4200000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#46 0x00007f420cbaca55 in g_main_context_iteration (context=0x7f4200000f00, may_block=1) at ../glib/glib/gmain.c:4338
#47 0x00007f420e1a82bd in QEventDispatcherGlib::processEvents (this=0x5ea0cf757710, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#48 0x00007f420df4ff66 in QEventLoop::processEvents (this=0x7ffddb7a6af0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#49 QEventLoop::exec (this=0x7ffddb7a6af0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#50 0x00007f420df4a11d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#51 0x00007f420fef86aa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#52 0x00005ea0b3de0d86 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.1.5/shell/main.cpp:188
Comment 3 Nate Graham 2024-09-24 12:36:48 UTC

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