https://bugs.kde.org/show_bug.cgi?id=521791
Bug ID: 521791
Summary: Hotspot not working via toggle button on the network
widget
Classification: Frameworks and Libraries
Product: frameworks-kwallet
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
kded6 crashes with SIGABRT every time a WiFi/hotspot password is entered and
saved via the network management widget (system tray network applet / "Create
Hotspot" toggle). The crash occurs inside qtkeychain's password-write path
while attempting to store the credential in KWallet. Since the crashed module
is loaded inside kded6, the crash also kills the NetworkManager secrets agent
(org.kde.plasma.networkmanagement), causing subsequent "Failed to get secrets —
No agents were available for this request" errors from NetworkManager until
kded6/the module is manually reloaded.
STEPS TO REPRODUCE
Open the network widget in the system tray (Plasma 6, KDE network applet)
Use the "Create Hotspot" / WiFi hotspot toggle to configure a new hotspot
connection with a WPA-PSK password
Enter the password and confirm/activate the hotspot
OBSERVED RESULT
kded6 immediately crashes with SIGABRT. A KCrash dialog appears reporting the
crash. The crash is 100% reproducible on every attempt to save a hotspot/WiFi
password through this flow. Full backtrace (clean, with symbols resolved):
Thread 1 (Thread ...):
[KCrash Handler]
#4 ... in ?? () from /usr/lib/libc.so.6
#5 ... in raise () from /usr/lib/libc.so.6
#6 ... in abort () from /usr/lib/libc.so.6
#7 ... in ?? () from /usr/lib/libstdc++.so.6
#8 ... in ?? () from /usr/lib/libstdc++.so.6
#9 ... in std::terminate() () from /usr/lib/libstdc++.so.6
#10 ... in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 ... in qBadAlloc() () from /usr/lib/libQt6Core.so.6
#12 ... in ?? () from /usr/lib/libQt6Core.so.6
#13 ... in ?? () from /usr/lib/libQt6Core.so.6
#14 ... in QString::append(QBasicUtf8StringView<false>) () from
/usr/lib/libQt6Core.so.6
#15 ... in QKeychain::WritePasswordJobPrivate::scheduledStart() () from
/usr/lib/libqt6keychain.so.1
#16 ... in QKeychain::JobExecutor::startNextIfNoneRunning() () from
/usr/lib/libqt6keychain.so.1
#17 ... in ?? () from /usr/lib/libQt6Core.so.6
#18 ... in QKeychain::Job::finished(QKeychain::Job*) () from
/usr/lib/libqt6keychain.so.1
#19 ... in QKeychain::Job::emitFinished() () from /usr/lib/libqt6keychain.so.1
#20 ... in ?? () from /usr/lib/libQt6Core.so.6
#21 ... in ?? () from /usr/lib/libQt6DBus.so.6
#22 ... in QObject::event(QEvent*) () from /usr/lib/libQt6Core.so.6
...
The wallet entry itself (visually inspected via KWalletManager after working
around the crash) is small and well-formed (e.g. {"psk":"vidal123"}), so this
does not appear to be caused by corrupted/oversized existing wallet data.
EXPECTED RESULT
The password should be saved to KWallet without kded6 crashing, and the
NetworkManager secrets agent should remain alive afterward.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux, kernel 7.0.12-arch1-1
KDE Plasma Version: (fill in from kinfo)
KDE Frameworks Version: (fill in from kinfo)
Qt Version: (fill in from kinfo)
kwallet-pam version: 6.7.0-1
ADDITIONAL INFORMATION
Crash is consistently reproducible, not intermittent.
Working around the crash (by setting wifi-sec.psk-flags=0 via nmcli so the
connection's PSK is stored directly in the NetworkManager connection profile
rather than going through the agent/KWallet) avoids the crash entirely for that
specific connection, but the underlying kded6 crash in
QKeychain::WritePasswordJobPrivate::scheduledStart() remains whenever the GUI
password-save flow is used.
After the crash, kded6's networkmanagement module needs to be manually reloaded
(qdbus6 org.kde.kded6 /kded org.kde.kded6.loadModule networkmanagement) before
Claude's response was interrupted.Try againYou said: ❯ kinfo❯ kinfo
Operating System: Arch Linux
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1060 6GB
~9:26 PMClaude responded: Here's the final version with everything filled
in — copy this straight into the bug report form:Here's the final version with
everything filled in — copy this straight into the bug report form:
DESCRIPTION
kded6 crashes with SIGABRT every time a WiFi/hotspot password is entered and
saved via the network management widget (system tray network applet / "Create
Hotspot" toggle). The crash occurs inside qtkeychain's password-write path
while attempting to store the credential in KWallet. Since the crashed module
is loaded inside kded6, the crash also kills the NetworkManager secrets agent
(org.kde.plasma.networkmanagement), causing subsequent "Failed to get secrets —
No agents were available for this request" errors from NetworkManager until
kded6/the module is manually reloaded.
STEPS TO REPRODUCE
Open the network widget in the system tray (Plasma 6, KDE network applet)
Use the "Create Hotspot" / WiFi hotspot toggle to configure a new hotspot
connection with a WPA-PSK password
Enter the password and confirm/activate the hotspot
OBSERVED RESULT
kded6 immediately crashes with SIGABRT. A KCrash dialog appears reporting the
crash. The crash is 100% reproducible on every attempt to save a hotspot/WiFi
password through this flow. Full backtrace (clean, with symbols resolved):
Thread 1 (Thread ...):
[KCrash Handler]
#4 ... in ?? () from /usr/lib/libc.so.6
#5 ... in raise () from /usr/lib/libc.so.6
#6 ... in abort () from /usr/lib/libc.so.6
#7 ... in ?? () from /usr/lib/libstdc++.so.6
#8 ... in ?? () from /usr/lib/libstdc++.so.6
#9 ... in std::terminate() () from /usr/lib/libstdc++.so.6
#10 ... in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 ... in qBadAlloc() () from /usr/lib/libQt6Core.so.6
#12 ... in ?? () from /usr/lib/libQt6Core.so.6
#13 ... in ?? () from /usr/lib/libQt6Core.so.6
#14 ... in QString::append(QBasicUtf8StringView<false>) () from
/usr/lib/libQt6Core.so.6
#15 ... in QKeychain::WritePasswordJobPrivate::scheduledStart() () from
/usr/lib/libqt6keychain.so.1
#16 ... in QKeychain::JobExecutor::startNextIfNoneRunning() () from
/usr/lib/libqt6keychain.so.1
#17 ... in ?? () from /usr/lib/libQt6Core.so.6
#18 ... in QKeychain::Job::finished(QKeychain::Job*) () from
/usr/lib/libqt6keychain.so.1
#19 ... in QKeychain::Job::emitFinished() () from /usr/lib/libqt6keychain.so.1
#20 ... in ?? () from /usr/lib/libQt6Core.so.6
#21 ... in ?? () from /usr/lib/libQt6DBus.so.6
#22 ... in QObject::event(QEvent*) () from /usr/lib/libQt6Core.so.6
#23 ... in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#24 ... in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from
/usr/lib/libQt6Core.so.6
#25 ... in QCoreApplicationPrivate::sendPostedEvents(QObject*, int,
QThreadData*) () from /usr/lib/libQt6Core.so.6
#26 ... in ?? () from /usr/lib/libQt6Core.so.6
#27 ... in ?? () from /usr/lib/libglib-2.0.so.0
#28 ... in ?? () from /usr/lib/libglib-2.0.so.0
#29 ... in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 ... in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#31 ... in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#32 ... in QCoreApplication::exec() () from /usr/lib/libQt6Core.so.6
The wallet entry itself (visually inspected via KWalletManager after working
around the crash) is small and well-formed (e.g. {"psk":"123"}), so this does
not appear to be caused by corrupted/oversized existing wallet data.
EXPECTED RESULT
The password should be saved to KWallet without kded6 crashing, and the
NetworkManager secrets agent should remain alive afterward.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux, kernel 7.0.12-arch1-1, Wayland
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
kwallet-pam version: 6.7.0-1
Hardware: Intel Core i7-8700K, NVIDIA GeForce GTX 1060 6GB
ADDITIONAL INFORMATION
Crash is consistently reproducible, not intermittent.
Working around the crash (by setting wifi-sec.psk-flags=0 via nmcli so the
connection's PSK is stored directly in the NetworkManager connection profile
rather than going through the secrets agent/KWallet) avoids the crash entirely
for that specific connection, but the underlying kded6 crash in
QKeychain::WritePasswordJobPrivate::scheduledStart() remains whenever the GUI
password-save flow is used for any new connection.
After the crash, kded6's networkmanagement module needs to be manually reloaded
(qdbus6 org.kde.kded6 /kded org.kde.kded6.loadModule networkmanagement) before
NetworkManager can request secrets again.
--
You are receiving this mail because:
You are watching all bug changes.