Bug 509962 - cryptsetup luksFormat crashes the shell
Summary: cryptsetup luksFormat crashes the shell
Status: RESOLVED DUPLICATE of bug 494659
Alias: None
Product: kde
Classification: I don't know
Component: general (other bugs)
Version First Reported In: unspecified
Platform: NixOS Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-09-26 14:56 UTC by Lazaro O'Farrill
Modified: 2025-09-26 15:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/131879/events/5be6efe751c04bf59b0b835dc65afc76/


Attachments
New crash information added by DrKonqi (74.50 KB, text/plain)
2025-09-26 14:56 UTC, Lazaro O'Farrill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lazaro O'Farrill 2025-09-26 14:56:40 UTC
Application:  (6.3.6)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.14.0
Operating System: Linux 6.12.47 x86_64
Windowing System: Wayland
Distribution: NixOS 25.05 (Warbler)
DrKonqi: 6.3.6 [CoredumpBackend]

-- Information about the crash:
This is the command that is causing the crash. It happens almost every time I run the script.

  cryptsetup luksFormat --batch-mode \
    --key-file "$KEY_PATH" \
    --label="NIXOS-ENCRYPTED" "''${LOOP_DEV}p2"

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  0x00007f4eae610894 in QObject::deleteLater() () from /nix/store/wfpnplbdly4z5shr1agjzh429lqqksdw-qtbase-6.9.1/lib/libQt6Core.so.6
#5  0x00007f4e20746413 in DeviceControl::onDeviceRemoved(QString const&) () from /nix/store/4zgk39pmjarw5h2sqdciz1nq0js2v4rq-plasma-workspace-6.3.6/lib/qt-6/qml/org/kde/plasma/private/devicenotifier/libdevicenotifierplugin.so
#6  0x00007f4eae621ce0 in void doActivate<false>(QObject*, int, void**) () from /nix/store/wfpnplbdly4z5shr1agjzh429lqqksdw-qtbase-6.9.1/lib/libQt6Core.so.6
#7  0x00007f4eb20622f5 in Solid::DeviceNotifier::deviceRemoved(QString const&) () from /nix/store/wwfva36kk3agrkibbxrlgskyx9fh9xlx-solid-6.14.0/lib/libKF6Solid.so.6
#8  0x00007f4eae621ce0 in void doActivate<false>(QObject*, int, void**) () from /nix/store/wfpnplbdly4z5shr1agjzh429lqqksdw-qtbase-6.9.1/lib/libQt6Core.so.6


Reported using DrKonqi
Comment 1 Lazaro O'Farrill 2025-09-26 14:56:41 UTC
Created attachment 185293 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-09-26 15:53:48 UTC

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