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

            Bug ID: 475266
           Summary: Plasma crash after launching Firefox from Task
                    Manager, Asahi Linux
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.8
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kjoon...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

Application: plasmashell (5.27.8)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.4-403.asahi.fc39.aarch64+16k aarch64
Windowing System: Wayland
Distribution: Fedora Linux Asahi Remix 39 (Thirty Nine)
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
This started happening for me with Fedora today, after Firefox update:

    Pin Firefox 118.0.1 to Task Manager.
    Launch Firefox from Task Manager.

Expected results: Firefox should be launched.

Actual results: Plasma Shell (maybe it is plasma-workspace) dies, Firefox is
not launched.

Workaround: Launch Firefox from Launcher menu instead.

When Plasma Shell (maybe it is plasma-workspace) dies, this is printed to
stdout/stderr:

QString::arg: 2 argument(s) missing in firefox

I am running Asahi Linux, Fedora 39, M1 Macbook Air.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  0x0000ffff9fc42280 in __pthread_kill_implementation () at /lib64/libc.so.6
#5  0x0000ffff9fbf5800 [PAC] in raise () at /lib64/libc.so.6
#6  0x0000ffff9fbe0288 [PAC] in abort () at /lib64/libc.so.6
#7  0x0000ffff9e3cbec4 [PAC] in _dbus_abort () at ../../dbus/dbus-sysdeps.c:101
#8  0x0000ffff9e3cc404 [PAC] in _dbus_warn_check_failed (format=0xffff9e3e5ef8
"arguments to %s() were incorrect, assertion \"%s\" failed in file %s line
%d.\nThis is normally a bug in some application using the D-Bus library.\n") at
../../dbus/dbus-internals.c:289
#9  0x0000ffff9e3ba2ac [PAC] in dbus_message_new_method_call
(destination=0xaaab8a342e18 "firefox", path=0xaaab8a342f68 "/firefox",
iface=0xaaab8a302fa8 "org.freedesktop.Application", method=0xaaab8a3433b8
"Activate") at ../../dbus/dbus-message.c:1375
#10 0x0000ffffa0c902fc [PAC] in q_dbus_message_new_method_call
(method=<optimized out>, interface=<optimized out>, path=<optimized out>,
bus_name=<optimized out>) at
/usr/src/debug/qt5-qtbase-5.15.10-9.fc39.aarch64/src/dbus/qdbus_symbols_p.h:381
#11 QDBusMessagePrivate::toDBusMessage(QDBusMessage const&,
QFlags<QDBusConnection::ConnectionCapability>, QDBusError*) (message=...,
capabilities=..., error=error@entry=0xfffffc22ecd8) at qdbusmessage.cpp:139
#12 0x0000ffffa0c88fd0 [PAC] in
QDBusConnectionPrivate::sendWithReplyAsync(QDBusMessage const&, QObject*, char
const*, char const*, int) (this=0xffff84001620, message=...,
receiver=receiver@entry=0x0, returnMethod=returnMethod@entry=0x0,
errorMethod=errorMethod@entry=0x0, timeout=timeout@entry=-1) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#13 0x0000ffffa0c748dc [PAC] in QDBusConnection::asyncCall(QDBusMessage const&,
int) const (this=this@entry=0xfffffc22ee00, message=...,
timeout=timeout@entry=-1) at qdbusconnection.cpp:711
#14 0x0000ffff9f765be4 [PAC] in DBusActivationRunner::startProcess()
(this=0xaaab8a33c1f0) at
/usr/src/debug/kf5-kio-5.110.0-2.fc39.aarch64/src/gui/dbusactivationrunner.cpp:71
#15 0x0000ffffa02d1ea4 [PAC] in QtPrivate::QSlotObjectBase::call(QObject*,
void**) (a=0xfffffc22eef0, r=<optimized out>, this=0xaaab8a33c490) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0xaaab8a33c1f0,
signal_index=5, argv=0xfffffc22eef0) at kernel/qobject.cpp:3925
#17 0x0000ffffa02cc858 [PAC] in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) (sender=<optimized out>, m=<optimized out>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at
kernel/qobject.cpp:3985
#18 0x0000ffff9f75f448 in KProcessRunner::xdgActivationTokenArrived()
(this=<optimized out>) at
/usr/src/debug/kf5-kio-5.110.0-2.fc39.aarch64/redhat-linux-build/src/gui/KF5KIOGui_autogen/include/moc_kprocessrunner_p.cpp:169
#19 0x0000ffff9f75f89c in operator() (token=<optimized out>,
tokenSerial=<optimized out>, __closure=0xaaab8a33ae90) at
/usr/src/debug/kf5-kio-5.110.0-2.fc39.aarch64/src/gui/kprocessrunner.cpp:300
#20 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int,
const QString&>, void, KProcessRunner::init(const KService::Ptr&, const
QString&, const QString&, const QString&, const QByteArray&)::<lambda(int,
const QString&)> >::call (arg=<optimized out>, f=...) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#21 QtPrivate::Functor<KProcessRunner::init(const KService::Ptr&, const
QString&, const QString&, const QString&, const QByteArray&)::<lambda(int,
const QString&)>, 2>::call<QtPrivate::List<int, QString const&>, void>
(arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#22 QtPrivate::QFunctorSlotObject<KProcessRunner::init(const KService::Ptr&,
const QString&, const QString&, const QString&, const
QByteArray&)::<lambda(int, const QString&)>, 2, QtPrivate::List<int, const
QString&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **,
bool *) (which=<optimized out>, this_=0xaaab8a33ae80, r=<optimized out>,
a=<optimized out>, ret=<optimized out>) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#23 0x0000ffffa02d1ea4 [PAC] in QtPrivate::QSlotObjectBase::call(QObject*,
void**) (a=0xfffffc22f020, r=<optimized out>, this=0xaaab8a33ae80) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#24 doActivate<false>(QObject*, int, void**) (sender=0xffffa16d0490 <(anonymous
namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>,
signal_index=18, argv=0xfffffc22f020) at kernel/qobject.cpp:3925
#25 0x0000ffffa02cc858 [PAC] in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) (sender=<optimized out>, m=m@entry=0xffffa16ceba8
<KWindowSystem::staticMetaObject>,
local_signal_index=local_signal_index@entry=15, argv=argv@entry=0xfffffc22f020)
at kernel/qobject.cpp:3985
#26 0x0000ffffa168cc58 in KWindowSystem::xdgActivationTokenArrived(int, QString
const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at
/usr/src/debug/kf5-kwindowsystem-5.110.0-1.fc39.aarch64/redhat-linux-build/src/KF5WindowSystem_autogen/include/moc_kwindowsystem.cpp:503
#27 0x0000ffffa02d1ea4 [PAC] in QtPrivate::QSlotObjectBase::call(QObject*,
void**) (a=0xfffffc22f128, r=<optimized out>, this=0xaaab89d863d0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false>(QObject*, int, void**) (sender=0xaaab89dc38a0,
signal_index=4, argv=0xfffffc22f128) at kernel/qobject.cpp:3925
#29 0x0000ffff744a1768 [PAC] in non-virtual thunk to
WaylandXdgActivationTokenV1::xdg_activation_token_v1_done(QString const&) () at
/usr/src/debug/kwayland-integration-5.27.8-1.fc39.aarch64/redhat-linux-build/src/windowsystem/KF5WindowSystemKWaylandPlugin_autogen/EWIEGA46WW/../../../../../src/windowsystem/waylandxdgactivationv1_p.h:19
#30 0x0000ffff744ac178 [PAC] in
QtWayland::xdg_activation_token_v1::handle_done(void*,
xdg_activation_token_v1*, char const*) (data=0xaaab89dc38b0, object=<optimized
out>, token=<optimized out>) at
/usr/src/debug/kwayland-integration-5.27.8-1.fc39.aarch64/redhat-linux-build/src/windowsystem/qwayland-xdg-activation-v1.cpp:183
#31 0x0000ffff9fa4c050 [PAC] in ffi_call_SYSV () at ../src/aarch64/sysv.S:127
#32 0x0000ffff9fa463ac in ffi_call_int (cif=cif@entry=0xfffffc22f2f8,
fn=<optimized out>, orig_rvalue=0xffff9fa600f0 <ffi_type_pointer>,
orig_rvalue@entry=0x0, avalue=avalue@entry=0xfffffc22f3c8,
closure=0xffff9fa600f0 <ffi_type_pointer>, closure@entry=0x0) at
../src/aarch64/ffi.c:816
#33 0x0000ffff9fa48a6c [PAC] in ffi_call (cif=cif@entry=0xfffffc22f2f8,
fn=<optimized out>, rvalue=rvalue@entry=0x0,
avalue=avalue@entry=0xfffffc22f3c8) at ../src/aarch64/ffi.c:825
#34 0x0000ffffa2ad1a60 in wl_closure_invoke
(closure=closure@entry=0xffff7c00d870, target=<optimized out>,
target@entry=0xaaab8a33b1d0, opcode=opcode@entry=0, data=<optimized out>,
flags=1) at ../src/connection.c:1025
#35 0x0000ffffa2ad23fc [PAC] in dispatch_event (display=0xaaab8825fe90,
queue=<optimized out>) at ../src/wayland-client.c:1631
#36 0x0000ffffa2ad2724 [PAC] in dispatch_queue (queue=0xaaab8825ff80,
display=0xaaab8825fe90) at ../src/wayland-client.c:1777
#37 wl_display_dispatch_queue_pending (display=0xaaab8825fe90,
queue=0xaaab8825ff80) at ../src/wayland-client.c:2019
#38 0x0000ffffa17c3a0c [PAC] in
QtWaylandClient::QWaylandDisplay::flushRequests() (this=<optimized out>) at
/usr/src/debug/qt5-qtwayland-5.15.10-4.fc39.aarch64/src/client/qwaylanddisplay.cpp:255
#39 0x0000ffffa02c7a9c [PAC] in QObject::event(QEvent*) (this=0xaaab8825b830,
e=0xffff80001f70) at kernel/qobject.cpp:1347
#40 0x0000ffffa10b2c18 [PAC] in QApplicationPrivate::notify_helper(QObject*,
QEvent*) (this=<optimized out>, receiver=0xaaab8825b830, e=0xffff80001f70) at
kernel/qapplication.cpp:3640
#41 0x0000ffffa0295f10 [PAC] in QCoreApplication::notifyInternal2(QObject*,
QEvent*) (receiver=0xaaab8825b830, event=0xffff80001f70) at
kernel/qcoreapplication.cpp:1064
#42 0x0000ffffa02961ec [PAC] in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=receiver@entry=0xaaab8825b830, event=event@entry=0xffff80001f70) at
kernel/qcoreapplication.cpp:1462
#43 0x0000ffffa02999e0 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0xaaab88234e30) at
kernel/qcoreapplication.cpp:1821
#44 0x0000ffffa0299e5c [PAC] in QCoreApplication::sendPostedEvents(QObject*,
int) (receiver=<optimized out>, event_type=<optimized out>) at
kernel/qcoreapplication.cpp:1680
#45 0x0000ffffa02f4740 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0xaaab88298f10) at kernel/qeventdispatcher_glib.cpp:277
#46 0x0000ffff9e550310 [PAC] in g_main_context_dispatch_unlocked.lto_priv () at
/lib64/libglib-2.0.so.0
#47 0x0000ffff9e5ae59c [PAC] in g_main_context_iterate_unlocked.isra () at
/lib64/libglib-2.0.so.0
#48 0x0000ffff9e54dac8 [PAC] in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#49 0x0000ffffa02f40e8 [PAC] in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0xaaab8829ce10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#50 0x0000ffffa02941e4 [PAC] in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0xfffffc22fa20, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#51 0x0000ffffa029d880 [PAC] in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#52 0x0000ffffa06ebd6c [PAC] in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1863
#53 0x0000ffffa10b2bb8 in QApplication::exec() () at
kernel/qapplication.cpp:2832
#54 0x0000aaab79e169ac in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/plasma-workspace-5.27.8-2.fc39.aarch64/shell/main.cpp:235
[Inferior 1 (process 12513) detached]

Reported using DrKonqi

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

Reply via email to