Bug 478224 - Setting sector alignment to zero caused crash
Summary: Setting sector alignment to zero caused crash
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 24.01.80
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-12-07 16:50 UTC by Trần Nam Tuấn (Bill)
Modified: 2023-12-07 21:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trần Nam Tuấn (Bill) 2023-12-07 16:50:06 UTC
Application: partitionmanager (24.01.80)

Qt Version: 6.6.1
Frameworks Version: 5.246.0
Operating System: Linux 6.6.4-arch1-1 x86_64
Windowing System: Wayland
Distribution: EndeavourOS
DrKonqi: 5.90.0 [CoredumpBackend]

-- Information about the crash:
If the sector alignment is set to zero in Partition Manager Config, General Settings, the app will crash on the next start.
First reported by /u/fennectech on Reddit: https://www.reddit.com/r/kde/comments/18cijbf/kde_partition_manager_allows_you_to_set_sector

STEP TO REPRODUCE:
1. Open Partition Manager.
2. Authenticate.
3. Open "Configure KDE Partition Manager..."
4. Set "General Settings" > "Partition Alignment" > "Sector alignment" to "0 sector".
5. Close and re-open Partition Manager.
6. Authenticate.
7. App crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Partition Manager (partitionmanager), signal: Floating point exception

           PID: 23059 (partitionmanage)
           UID: 1000 (tuantran1632001)
           GID: 1000 (tuantran1632001)
        Signal: 8 (FPE)
     Timestamp: Thu 2023-12-07 23:39:15 +07 (2min 50s ago)
  Command Line: /usr/bin/partitionmanager
    Executable: /usr/bin/partitionmanager
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.partitionmanager-d478c7d5b950463aa6593369b1fe512b.scope
          Unit: user@1000.service
     User Unit: app-org.kde.partitionmanager-d478c7d5b950463aa6593369b1fe512b.scope
         Slice: user-1000.slice
     Owner UID: 1000 (tuantran1632001)
       Boot ID: b8104e24fe5546078c8016f27a11e608
    Machine ID: 756efd162e8f4a8398f34f42f5a609c4
      Hostname: billarch-pc
       Storage: /var/lib/systemd/coredump/core.partitionmanage.1000.b8104e24fe5546078c8016f27a11e608.23059.1701967155000000.zst (present)
  Size on Disk: 3.1M
       Message: Process 23059 (partitionmanage) of user 1000 dumped core.
                
                Stack trace of thread 23059:
                #0  0x00007fbafb6ac83c n/a (libc.so.6 + 0x8e83c)
                #1  0x00007fbafb65c668 raise (libc.so.6 + 0x3e668)
                #2  0x00007fbafd7cf960 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x7960)
                #3  0x00007fbafb65c710 n/a (libc.so.6 + 0x3e710)
                #4  0x00007fbafb6ac83c n/a (libc.so.6 + 0x8e83c)
                #5  0x00007fbafb65c668 raise (libc.so.6 + 0x3e668)
                #6  0x00007fbafb65c710 n/a (libc.so.6 + 0x3e710)
                #7  0x00007fbafb6ac83c n/a (libc.so.6 + 0x8e83c)
                #8  0x00007fbafb65c668 raise (libc.so.6 + 0x3e668)
                #9  0x00007fbafb2e01ab n/a (libgio-2.0.so.0 + 0x751ab)
                #10 0x00007fbafb23cb73 n/a (libgobject-2.0.so.0 + 0x33b73)
                #11 0x00007fbafb23cc77 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33c77)
                #12 0x00007fbafb23cd34 g_signal_emit (libgobject-2.0.so.0 + 0x33d34)
                #13 0x00007fbafb360a6b n/a (libgio-2.0.so.0 + 0xf5a6b)
                #14 0x00007fbafb116f69 n/a (libglib-2.0.so.0 + 0x59f69)
                #15 0x00007fbafb175367 n/a (libglib-2.0.so.0 + 0xb8367)
                #16 0x00007fbafb115162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #17 0x00007fbafbf9d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
                #18 0x00007fbafbd6cf5e _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
                #19 0x00007fbafbd65518 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x165518)
                #20 0x000055f570832a93 main (partitionmanager + 0x2da93)
                #21 0x00007fbafb645cd0 n/a (libc.so.6 + 0x27cd0)
                #22 0x00007fbafb645d8a __libc_start_main (libc.so.6 + 0x27d8a)
                #23 0x000055f570832f15 _start (partitionmanager + 0x2df15)
                
                Stack trace of thread 23065:
                #0  0x00007fbafb6a74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007fbafb6aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007fbafbeccf94 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                #3  0x00007fbafbecfaba _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 + 0x2cfaba)
                #4  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23062:
                #0  0x00007fbafb720f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007fbafa017b18 n/a (libQt6WaylandClient.so.6 + 0x70b18)
                #2  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #3  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #4  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23061:
                #0  0x00007fbafb6a74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007fbafb6a9d40 pthread_cond_wait (libc.so.6 + 0x8bd40)
                #2  0x00007fbafbecd000 _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer (libQt6Core.so.6 + 0x2cd000)
                #3  0x00007fbafa017a98 n/a (libQt6WaylandClient.so.6 + 0x70a98)
                #4  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23060:
                #0  0x00007fbafb720f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007fbafb1752b6 n/a (libglib-2.0.so.0 + 0xb82b6)
                #2  0x00007fbafb115162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #3  0x00007fbafbf9d09a _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d09a)
                #4  0x00007fbafbd6cf5e _ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
                #5  0x00007fbafbe4a13f _ZN7QThread4execEv (libQt6Core.so.6 + 0x24a13f)
                #6  0x00007fbafcb7695f _ZN22QDBusConnectionManager3runEv (libQt6DBus.so.6 + 0x2f95f)
                #7  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #8  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #9  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23069:
                #0  0x00007fbafb720f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007fbafb1752b6 n/a (libglib-2.0.so.0 + 0xb82b6)
                #2  0x00007fbafb117b97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
                #3  0x00007fbafb37d19c n/a (libgio-2.0.so.0 + 0x11219c)
                #4  0x00007fbafb148a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23068:
                #0  0x00007fbafb72156c read (libc.so.6 + 0x10356c)
                #1  0x00007fbafb164e10 n/a (libglib-2.0.so.0 + 0xa7e10)
                #2  0x00007fbafb1181f4 n/a (libglib-2.0.so.0 + 0x5b1f4)
                #3  0x00007fbafb1751d0 n/a (libglib-2.0.so.0 + 0xb81d0)
                #4  0x00007fbafb115162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #5  0x00007fbafb1151b2 n/a (libglib-2.0.so.0 + 0x581b2)
                #6  0x00007fbafb148a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                #7  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #8  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23064:
                #0  0x00007fbafb6a74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007fbafb6aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007fbafbeccf94 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                #3  0x00007fbafbecfaba _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 + 0x2cfaba)
                #4  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23066:
                #0  0x00007fbafb6a74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007fbafb6aa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007fbafbeccf94 _ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
                #3  0x00007fbafbecfaba _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 + 0x2cfaba)
                #4  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23067:
                #0  0x00007fbafb72c73d syscall (libc.so.6 + 0x10e73d)
                #1  0x00007fbafb1702f7 g_cond_wait (libglib-2.0.so.0 + 0xb32f7)
                #2  0x00007fbafb0e21b4 n/a (libglib-2.0.so.0 + 0x251b4)
                #3  0x00007fbafb14aa8e n/a (libglib-2.0.so.0 + 0x8da8e)
                #4  0x00007fbafb148a05 n/a (libglib-2.0.so.0 + 0x8ba05)
                #5  0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 23183:
                #0  0x00007fbafb720f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007fbafd7cee32 n/a (libKF6Crash.so.6 + 0x6e32)
                #2  0x00007fbafd7cf8f0 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x78f0)
                #3  0x00007fbafb65c710 n/a (libc.so.6 + 0x3e710)
                #4  0x00007fbafdbdafe7 _ZN18PartitionAlignment10firstDeltaERK6DeviceRK9Partitionx (libkpmcore.so.12 + 0x9afe7)
                #5  0x00007fbafdbdc30d _ZN18PartitionAlignment9isAlignedERK6DeviceRK9Partitionxxb (libkpmcore.so.12 + 0x9c30d)
                #6  0x00007fbaf416f33e _ZN13SfdiskBackend20scanDevicePartitionsER6DeviceRK10QJsonArray (pmsfdiskbackendplugin.so + 0x1233e)
                #7  0x00007fbaf416d401 _ZN13SfdiskBackend11scanDevicesE6QFlagsI8ScanFlagE (pmsfdiskbackendplugin.so + 0x10401)
                #8  0x00007fbafdbc66fc _ZN13DeviceScanner4scanEv (libkpmcore.so.12 + 0x866fc)
                #9  0x00007fbafbec9e63 operator() (libQt6Core.so.6 + 0x2c9e63)
                #10 0x00007fbafb6aa9eb n/a (libc.so.6 + 0x8c9eb)
                #11 0x00007fbafb72e7cc n/a (libc.so.6 + 0x1107cc)
                ELF object binary architecture: AMD x86-64

[New LWP 23059]
[New LWP 23065]
[New LWP 23062]
[New LWP 23061]
[New LWP 23060]
[New LWP 23069]
[New LWP 23068]
[New LWP 23064]
[New LWP 23066]
[New LWP 23067]
[New LWP 23183]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.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.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/partitionmanager'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  0x00007fbafb6ac83c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fbaf728c9c0 (LWP 23059))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fbaf728c9c0 (LWP 23059))]

Thread 11 (Thread 0x7fbad2ffd6c0 (LWP 23183)):
[KCrash Handler]
#4  0x00007fbafdbdafe7 in PartitionAlignment::firstDelta(Device const&, Partition const&, long long) (d=..., p=..., s=s@entry=2048) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/core/partitionalignment.cpp:37
#5  0x00007fbafdbdc30d in PartitionAlignment::isAligned(Device const&, Partition const&, long long, long long, bool) (d=..., p=..., newFirst=2048, newLast=1953523711, quiet=false) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/core/partitionalignment.cpp:79
#6  0x00007fbafdbdc766 in PartitionAlignment::isAligned(Device const&, Partition const&, bool) (d=<optimized out>, p=<optimized out>, quiet=<optimized out>) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/core/partitionalignment.cpp:74
#7  0x00007fbaf416f33e in SfdiskBackend::scanDevicePartitions(Device&, QJsonArray const&) (jsonPartitions=..., d=..., this=0x55f5710e5a70) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/plugins/sfdisk/sfdiskbackend.cpp:379
#8  SfdiskBackend::updateDevicePartitionTable(Device&, QJsonObject const&) (jsonPartitionTable=..., d=..., this=0x55f5710e5a70) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/plugins/sfdisk/sfdiskbackend.cpp:507
#9  SfdiskBackend::scanDevice(QString const&) (this=0x55f5710e5a70, deviceNode=<optimized out>) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/plugins/sfdisk/sfdiskbackend.cpp:301
#10 0x00007fbaf416d401 in SfdiskBackend::scanDevices(QFlags<ScanFlag>) (this=0x55f5710e5a70, scanFlags=...) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/plugins/sfdisk/sfdiskbackend.cpp:111
#11 0x00007fbafdbc66fc in DeviceScanner::scan() (this=0x55f5710ec6b0) at /usr/src/debug/kpmcore/kpmcore-24.01.80/src/core/devicescanner.cpp:56
#12 0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#14 QThreadPrivate::start(void*) (arg=0x55f5710ec6b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#15 0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#16 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fbae4dfe6c0 (LWP 23067)):
#0  0x00007fbafb72c73d in syscall () at /usr/lib/libc.so.6
#1  0x00007fbafb1702f7 in g_cond_wait (cond=0x55f5714ea538, mutex=0x55f5714ea530) at ../glib/glib/gthread-posix.c:1552
#2  0x00007fbafb0e21b4 in g_async_queue_pop_intern_unlocked (queue=0x55f5714ea530, wait=1, end_time=-1) at ../glib/glib/gasyncqueue.c:425
#3  0x00007fbafb14aa8e in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/glib/gthreadpool.c:311
#4  0x00007fbafb148a05 in g_thread_proxy (data=0x55f5714eee90) at ../glib/glib/gthread.c:831
#5  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fbae55ff6c0 (LWP 23066)):
#0  0x00007fbafb6a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fbafb6aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fbafbeccf94 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f57126d350) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:93
#3  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f57126d350) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:101
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f571279870, mutex=mutex@entry=0x55f571267d88, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:181
#5  0x00007fbafbecfaba in QThreadPoolThread::run() (this=0x55f571279860) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthreadpool.cpp:114
#6  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x55f571279860) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#9  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#10 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fbaed2bb6c0 (LWP 23064)):
#0  0x00007fbafb6a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fbafb6aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fbafbeccf94 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f5711a9530) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:93
#3  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f5711a9530) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:101
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f571214a50, mutex=mutex@entry=0x55f571267d88, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:181
#5  0x00007fbafbecfaba in QThreadPoolThread::run() (this=0x55f571214a40) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthreadpool.cpp:114
#6  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x55f571214a40) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#9  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#10 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fbad3fff6c0 (LWP 23068)):
#0  0x00007fbafb72156c in read () at /usr/lib/libc.so.6
#1  0x00007fbafb164e10 in read (__nbytes=8, __buf=0x7fbad3ffea80, __fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>, __nbytes=<optimized out>) at /usr/include/bits/unistd.h:28
#2  g_wakeup_acknowledge (wakeup=<optimized out>) at ../glib/glib/gwakeup.c:218
#3  g_wakeup_acknowledge (wakeup=0x55f5714ece80) at ../glib/glib/gwakeup.c:208
#4  0x00007fbafb1181f4 in g_main_context_check_unlocked (context=0x55f5714ef1d0, max_priority=2147483647, fds=0x55f5714ef440, n_fds=1) at ../glib/glib/gmain.c:4100
#5  0x00007fbafb1751d0 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x55f5714ef1d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4346
#6  0x00007fbafb115162 in g_main_context_iteration (context=0x55f5714ef1d0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#7  0x00007fbafb1151b2 in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6574
#8  0x00007fbafb148a05 in g_thread_proxy (data=0x55f5714ef3e0) at ../glib/glib/gthread.c:831
#9  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#10 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fbad37fe6c0 (LWP 23069)):
#0  0x00007fbafb720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fbafb1752b6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7fbac8000b90, timeout=<optimized out>, context=0x55f5714fbb20) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=0x55f5714fbb20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007fbafb117b97 in g_main_loop_run (loop=0x55f5714fbc10) at ../glib/glib/gmain.c:4551
#4  0x00007fbafb37d19c in gdbus_shared_thread_func (user_data=0x55f5714fbaf0) at ../glib/gio/gdbusprivate.c:284
#5  0x00007fbafb148a05 in g_thread_proxy (data=0x55f5714f5280) at ../glib/glib/gthread.c:831
#6  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#7  0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fbaf6bff6c0 (LWP 23060)):
#0  0x00007fbafb720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fbafb1752b6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7fbaf00159e0, timeout=<optimized out>, context=0x7fbaf0000c80) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fbaf0000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007fbafb115162 in g_main_context_iteration (context=0x7fbaf0000c80, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007fbafbf9d09a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbaf0000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#5  0x00007fbafbd6cf5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fbaf6bfeb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbaf6bfeb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/kernel/qeventloop.cpp:182
#7  0x00007fbafbe4a13f in QThread::exec() (this=this@entry=0x7fbafcbfeb80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/global/qflags.h:74
#8  0x00007fbafcb7695f in QDBusConnectionManager::run() (this=0x7fbafcbfeb80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/dbus/qdbusconnection.cpp:131
#9  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x7fbafcbfeb80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#13 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fbaf4fff6c0 (LWP 23061)):
#0  0x00007fbafb6a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fbafb6a9d40 in pthread_cond_wait () at /usr/lib/libc.so.6
#2  0x00007fbafbecd000 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f570f58610) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:103
#3  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55f570ec9b88, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:181
#4  0x00007fbafa017a98 in  () at /usr/lib/libQt6WaylandClient.so.6
#5  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#7  QThreadPrivate::start(void*) (arg=0x55f570ec9b50) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#8  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#9  0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fbaeffff6c0 (LWP 23062)):
#0  0x00007fbafb720f6f in poll () at /usr/lib/libc.so.6
#1  0x00007fbafa017b18 in  () at /usr/lib/libQt6WaylandClient.so.6
#2  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#3  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#4  QThreadPrivate::start(void*) (arg=0x55f570f27c10) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#5  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#6  0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbaecaba6c0 (LWP 23065)):
#0  0x00007fbafb6a74ae in  () at /usr/lib/libc.so.6
#1  0x00007fbafb6aa055 in pthread_cond_timedwait () at /usr/lib/libc.so.6
#2  0x00007fbafbeccf94 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x55f5711af210) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:93
#3  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55f5711af210) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:101
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55f57122a820, mutex=mutex@entry=0x55f571267d88, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qwaitcondition_unix.cpp:181
#5  0x00007fbafbecfaba in QThreadPoolThread::run() (this=0x55f57122a810) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthreadpool.cpp:114
#6  0x00007fbafbec9e63 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:324
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:260
#8  QThreadPrivate::start(void*) (arg=0x55f57122a810) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.1/src/corelib/thread/qthread_unix.cpp:283
#9  0x00007fbafb6aa9eb in  () at /usr/lib/libc.so.6
#10 0x00007fbafb72e7cc in  () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbaf728c9c0 (LWP 23059)):
[KCrash Handler]
#4  0x00007fbafb6ac83c in  () at /usr/lib/libc.so.6
#5  0x00007fbafb65c668 in raise () at /usr/lib/libc.so.6
#6  0x00007fbafb65c710 in <signal handler called> () at /usr/lib/libc.so.6
#7  0x00007fbafb6ac83c in  () at /usr/lib/libc.so.6
#8  0x00007fbafb65c668 in raise () at /usr/lib/libc.so.6
Python Exception <class 'gdb.error'>: value has been optimized out

Reported using DrKonqi
Comment 1 Andrius Štikonas 2023-12-07 21:15:47 UTC
Git commit 0dc1b43db3c768e95273d47979e78836ebe65120 by Andrius Štikonas.
Committed on 07/12/2023 at 22:15.
Pushed by stikonas into branch 'master'.

Do not allow setting zero alignment.

M  +3    -0    src/config/configurepagegeneral.ui

https://invent.kde.org/system/partitionmanager/-/commit/0dc1b43db3c768e95273d47979e78836ebe65120
Comment 2 Andrius Štikonas 2023-12-07 21:21:00 UTC
Git commit f6cd2bca33bd40c45a4763a82ed1c7a7cda55dc7 by Andrius Štikonas.
Committed on 07/12/2023 at 22:20.
Pushed by stikonas into branch 'master'.

Do not allow setting zero alignment.

M  +2    -1    src/core/partitionalignment.cpp

https://invent.kde.org/system/kpmcore/-/commit/f6cd2bca33bd40c45a4763a82ed1c7a7cda55dc7