https://bugs.kde.org/show_bug.cgi?id=484050

            Bug ID: 484050
           Summary: plasma-browser-integration-host crash after
                    serviceOwnerChanged
    Classification: Plasma
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
plasma-browser-integration-host crashes when restarting plasmashell with
`plasmashell --replace`


STEPS TO REPRODUCE
1. run plasmashell --replace
2. 
3. 

OBSERVED RESULT
crash in plasma-browser-integration-host 

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 VISION D
System Version: -CF

ADDITIONAL INFORMATION
Application: plasma-browser-integration-host (plasma-browser-integration-host),
signal: Segmentation fault


This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.neon.kde.org/:
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 338520]
[New LWP 338535]
[New LWP 338536]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-browser-integration-host
/usr/lib/mozilla/native-messaging-host'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (no_tid=0, signo=11,
threadid=124825575692992) at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x718738191ac0 (LWP 338520))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x718738191ac0 (LWP 338520))]

Thread 3 (Thread 0x7187371fe640 (LWP 338536)):
#0  0x000071873d2efbcf in __GI___poll (fds=0x7187371fd928, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000071873ae267e2 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x000071873ae2822c in xcb_wait_for_event () from
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x0000718737dedc18 in QXcbEventQueue::run (this=0x555d89874b20) at
./src/plugins/platforms/xcb/qxcbeventqueue.cpp:192
#4  0x000071873d988e7d in operator() (__closure=<optimized out>) at
./src/corelib/thread/qthread_unix.cpp:324
#5  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at ./src/corelib/thread/qthread_unix.cpp:260
#6  QThreadPrivate::start (arg=0x555d89874b20) at
./src/corelib/thread/qthread_unix.cpp:283
#7  0x000071873d26bac3 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:442
#8  0x000071873d2fd850 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7187379ff640 (LWP 338535)):
#0  0x000071873d2efbcf in __GI___poll (fds=0x555d89874810, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000071873ba9f1f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000071873ba473e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000071873d881c30 in QEventDispatcherGlib::processEvents
(this=0x718730000b70, flags=...) at
./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#4  0x000071873daabceb in QEventLoop::exec (this=0x7187379fe9d0, flags=...) at
./src/corelib/global/qflags.h:34
#5  0x000071873d9c4388 in QThread::exec (this=this@entry=0x71873e4bc3a0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>)
at ./src/corelib/global/qflags.h:74
#6  0x000071873e444e4e in QDBusConnectionManager::run (this=0x71873e4bc3a0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>)
at ./src/dbus/qdbusconnection.cpp:131
#7  0x000071873d988e7d in operator() (__closure=<optimized out>) at
./src/corelib/thread/qthread_unix.cpp:324
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at ./src/corelib/thread/qthread_unix.cpp:260
#9  QThreadPrivate::start (arg=0x71873e4bc3a0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>)
at ./src/corelib/thread/qthread_unix.cpp:283
#10 0x000071873d26bac3 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:442
#11 0x000071873d2fd850 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x718738191ac0 (LWP 338520)):
[KCrash Handler]
#6  std::__atomic_base<int>::fetch_add (__m=std::memory_order_acq_rel, __i=1,
this=0x40000408201add) at /usr/include/c++/12/bits/atomic_base.h:616
#7  QAtomicOps<int>::ref<int> (_q_value=..., _q_value=...) at
./src/corelib/thread/qatomic_cxx11.h:258
#8  QBasicAtomicInteger<int>::ref (this=<optimized out>, this=<optimized out>)
at ./src/corelib/thread/qbasicatomic.h:49
#9  QtSharedPointer::ExternalRefCountData::getAndRef (obj=<optimized out>) at
./src/corelib/tools/qsharedpointer.cpp:1409
#10 0x000071873f058240 in ?? () from
/lib/x86_64-linux-gnu/libKF6JobWidgets.so.6
#11 0x000071873da683ce in QtPrivate::QSlotObjectBase::call (a=<optimized out>,
r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433
#12 doActivate<false> (sender=0x71873f06c6a0, signal_index=3,
argv=0x7ffcf4269788) at ./src/corelib/kernel/qobject.cpp:4039
#13 0x000071873da683ce in QtPrivate::QSlotObjectBase::call (a=<optimized out>,
r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:433
#14 doActivate<false> (sender=0x555d89eddf30, signal_index=5,
argv=0x7ffcf42698b0) at ./src/corelib/kernel/qobject.cpp:4039
#15 0x000071873e477573 in QDBusServiceWatcher::serviceOwnerChanged
(this=this@entry=0x555d89eddf30, _t1=..., _t2=..., _t3=...) at
./obj-x86_64-linux-gnu/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:318
#16 0x000071873e47ac7e in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged
(this=<optimized out>, newOwner=..., oldOwner=..., service=...) at
./src/dbus/qdbusservicewatcher.cpp:53
#17 QDBusServiceWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized
out>, _id=<optimized out>, _a=<optimized out>) at
./obj-x86_64-linux-gnu/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:209
#18 0x000071873e47aeb8 in QDBusServiceWatcher::qt_metacall
(this=0x555d89eddf30, _c=QMetaObject::InvokeMetaMethod, _id=3,
_a=0x7ffcf4269ab8) at
./obj-x86_64-linux-gnu/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:285
#19 0x000071873e4a8a5f in QDBusConnectionPrivate::deliverCall(QObject*, int,
QDBusMessage const&, QList<QMetaType> const&, int) [clone .constprop.0]
(this=0x718730004200, object=0x555d89eddf30, msg=..., metaTypes=..., slotIdx=8)
at ./src/dbus/qdbusintegrator.cpp:977
#20 0x000071873d9f89b2 in QObject::event (this=0x555d89eddf30,
e=0x718730009670) at ./src/corelib/kernel/qobject.cpp:1437
#21 0x000071873eed281b in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x555d89eddf30, e=0x718730009670) at
./src/widgets/kernel/qapplication.cpp:3296
#22 0x000071873daa1e08 in QCoreApplication::notifyInternal2
(receiver=0x555d89eddf30, event=event@entry=0x718730009670) at
./src/corelib/kernel/qcoreapplication.cpp:1121
#23 0x000071873daa1e4d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=event@entry=0x718730009670) at
./src/corelib/kernel/qcoreapplication.cpp:1539
#24 0x000071873daa2000 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x555d8985ffd0) at
./src/corelib/kernel/qcoreapplication.cpp:1901
#25 0x000071873d8844f7 in postEventSourceDispatch (s=0x555d898ed850) at
./src/corelib/kernel/qeventdispatcher_glib.cpp:243
#26 0x000071873ba49d3b in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x000071873ba9f258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x000071873ba473e3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x000071873d881c30 in QEventDispatcherGlib::processEvents
(this=0x555d89944e80, flags=...) at
./src/corelib/kernel/qeventdispatcher_glib.cpp:393
#30 0x000071873daabceb in QEventLoop::exec (this=0x7ffcf426a080, flags=...) at
./src/corelib/global/qflags.h:34
#31 0x000071873daa636c in QCoreApplication::exec () at
./src/corelib/global/qflags.h:74
#32 0x0000555d883fb6b2 in ?? ()
#33 0x000071873d200d90 in __libc_start_call_main
(main=main@entry=0x555d883fa660, argc=argc@entry=3,
argv=argv@entry=0x7ffcf426a418) at ../sysdeps/nptl/libc_start_call_main.h:58
#34 0x000071873d200e40 in __libc_start_main_impl (main=0x555d883fa660, argc=3,
argv=0x7ffcf426a418, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffcf426a408) at ../csu/libc-start.c:392
#35 0x0000555d883fdb45 in ?? ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to