Bug 489994 - Plasma-browser-integration crashes right after session starts in Connection::sendData
Summary: Plasma-browser-integration crashes right after session starts in Connection::...
Status: CONFIRMED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 490041 493078 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-09 22:15 UTC by Leonardo de Araujo Augusto
Modified: 2024-09-24 10:18 UTC (History)
4 users (show)

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


Attachments
Crash-reporter bug report (29.22 KB, text/vnd.kde.kcrash-report)
2024-07-09 22:15 UTC, Leonardo de Araujo Augusto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo de Araujo Augusto 2024-07-09 22:15:59 UTC
Created attachment 171512 [details]
Crash-reporter bug report

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Boot
2. Start session
3. Watch notifications pop

OBSERVED RESULT
Many error notifications

EXPECTED RESULT
No error notifications

SOFTWARE/OS VERSIONS
Windows: n/a 
macOS:  n/a
Linux/KDE Plasma: 6.9.7-200.fc40.x86_64 (64-bit) 
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
This doesn't happen at every session start, but at most. When it does, the login process feels a little bit slower, but I didn't measure that.
Comment 1 TraceyC 2024-07-15 21:13:39 UTC
Thread 1 (Thread 0x7f2bf2fc8b00 (LWP 12192)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f2bf9aa8513 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x00007f2bf9a4fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f2bf9a37902 in __GI_abort () at abort.c:79
#9  0x00007f2bf9a38767 in __libc_message_impl (fmt=fmt@entry=0x7f2bf9bc22f7 "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#10 0x00007f2bf9ab2625 in malloc_printerr (str=str@entry=0x7f2bf9bc5210 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5772
#11 0x00007f2bf9ab326c in malloc_consolidate (av=av@entry=0x7f2bf9bf6ac0 <main_arena>) at malloc.c:4846
#12 0x00007f2bf9ab5a20 in _int_malloc (av=av@entry=0x7f2bf9bf6ac0 <main_arena>, bytes=bytes@entry=16402) at malloc.c:4041
#13 0x00007f2bf9ab6cb4 in __GI___libc_malloc (bytes=16402) at malloc.c:3336
#14 0x00007f2bfa2d1689 in allocateData (allocSize=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydata.cpp:139
#15 allocateHelper (objectSize=1, alignment=16, capacity=16384, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydata.cpp:181
#16 allocateHelper (objectSize=1, alignment=16, capacity=140726426679776, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydata.cpp:157
#17 QArrayData::allocate1 (dptr=dptr@entry=0x7ffd6cac39e0, capacity=capacity@entry=16384, option=option@entry=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydata.cpp:211
#18 0x00007f2bfa2639e4 in QTypedArrayData<char>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydata.h:128
#19 QArrayDataPointer<char>::QArrayDataPointer (this=<optimized out>, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:58
#20 QByteArray::QByteArray (this=this@entry=0x7ffd6cac3a10, size=size@entry=16384) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/text/qbytearray.cpp:1834
#21 0x00007f2bfa306f60 in QRingChunk::QRingChunk (this=0x7ffd6cac3a10, alloc=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qringbuffer_p.h:34
#22 QRingBuffer::reserve (this=0x560d6c457320, bytes=bytes@entry=4) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qringbuffer.cpp:115
#23 0x00007f2bfa3071a5 in QRingBuffer::append (this=<optimized out>, data=data@entry=0x7ffd6cac3b38 "=\001", size=size@entry=4) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/tools/qringbuffer.cpp:308
#24 0x00007f2bfa147bb2 in QIODevicePrivate::QRingBufferRef::append (this=0x560d6c457278, data=0x7ffd6cac3b38 "=\001", size=4) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/io/qiodevice_p.h:85
#25 QFileDevice::writeData (this=0x560d6c78f340, data=0x7ffd6cac3b38 "=\001", len=4) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/io/qfiledevice.cpp:544
#26 0x00007f2bfa15aa09 in QIODevice::write (this=this@entry=0x560d6c78f340, data=data@entry=0x7ffd6cac3b38 "=\001", maxSize=maxSize@entry=4) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/io/qiodevice.cpp:1703
#27 0x0000560d350a62a4 in Connection::sendData (this=0x560d6c78f330, data=<optimized out>) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/host/connection.cpp:37
#28 0x0000560d350c8cfb in AbstractBrowserPlugin::sendReply(int, QJsonObject const&) [clone .isra.0] (requestSerial=requestSerial@entry=60, payload=..., this=<optimized out>) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/host/abstractbrowserplugin.cpp:54
#29 0x0000560d350a745f in PluginManager::onDataReceived (this=<optimized out>, json=...) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/host/pluginmanager.cpp:126
#30 0x00007f2bfa1fc872 in QtPrivate::QSlotObjectBase::call (this=0x560d6c8b69d0, r=<optimized out>, a=0x7ffd6cac3e40) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#31 doActivate<false> (sender=0x560d6c78f330, signal_index=3, argv=0x7ffd6cac3e40) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#32 0x00007f2bfa1f2b47 in QMetaObject::activate (sender=sender@entry=0x560d6c78f330, m=m@entry=0x560d350d8540 <Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd6cac3e40) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#33 0x0000560d350a4972 in Connection::dataReceived (this=0x560d6c78f330, _t1=...) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/redhat-linux-build/host/plasma-browser-integration-host_autogen/include/moc_connection.cpp:141
#34 Connection::readData (this=0x560d6c78f330) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/host/connection.cpp:91
#35 0x00007f2bfa1fc872 in QtPrivate::QSlotObjectBase::call (this=0x560d6c8b79d0, r=<optimized out>, a=0x7ffd6cac3f80) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#36 doActivate<false> (sender=0x560d6c8b5690, signal_index=3, argv=0x7ffd6cac3f80) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#37 0x00007f2bfa1f2b47 in QMetaObject::activate (sender=sender@entry=0x560d6c8b5690, m=m@entry=0x7f2bfa68afa0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd6cac3f80) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#38 0x00007f2bfa20a4cd in QSocketNotifier::activated (this=this@entry=0x560d6c8b5690, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:195
#39 0x00007f2bfa20acdb in QSocketNotifier::event (this=0x560d6c8b5690, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qsocketnotifier.cpp:327
#40 0x00007f2bfb78b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560d6c8b5690, e=0x7ffd6cac40d0) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#41 0x00007f2bfa196dc8 in QCoreApplication::notifyInternal2 (receiver=0x560d6c8b5690, event=0x7ffd6cac40d0) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#42 0x00007f2bfa19702d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583
#43 0x00007f2bfa4862af in socketNotifierSourceDispatch (source=0x560d6c4c9ed0) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:75
#44 0x00007f2bf846ae8c in g_main_dispatch (context=0x7f2be0000f00) at ../glib/gmain.c:3344
#45 g_main_context_dispatch_unlocked (context=0x7f2be0000f00) at ../glib/gmain.c:4152
#46 0x00007f2bf84ccc98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f2be0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#47 0x00007f2bf846c383 in g_main_context_iteration (context=0x7f2be0000f00, may_block=1) at ../glib/gmain.c:4282
#48 0x00007f2bfa4850a3 in QEventDispatcherGlib::processEvents (this=0x560d6c4395b0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#49 0x00007f2bfa1a3b03 in QEventLoop::exec (this=this@entry=0x7ffd6cac4370, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/global/qflags.h:34
#50 0x00007f2bfa19f9bc in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/corelib/global/qflags.h:74
#51 0x00007f2bfa9d67ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#52 0x00007f2bfb78b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#53 0x0000560d350a3f3f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-browser-integration-6.1.1-1.fc40.x86_64/host/main.cpp:113
Comment 2 cwo 2024-09-13 19:11:26 UTC
*** Bug 490041 has been marked as a duplicate of this bug. ***
Comment 3 cwo 2024-09-13 19:11:43 UTC
*** Bug 493078 has been marked as a duplicate of this bug. ***
Comment 4 postix 2024-09-24 10:09:53 UTC
Just started to happen for me on

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland

with the same backtrace.