Bug 505990 - segmentation fault on launch
Summary: segmentation fault on launch
Status: RESOLVED DUPLICATE of bug 502141
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-22 18:05 UTC by planetory
Modified: 2025-06-22 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description planetory 2025-06-22 18:05:10 UTC
poll([{fd=4, events=POLLIN}], 1, 248)   = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426055312}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426133466}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426188851}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426235087}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426280485}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426326092}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426371839}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426419052}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426468222}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426514457}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426562230}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426613494}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426663851}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426753040}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426799625}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426848445}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426892935}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426935678}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=426980657}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427026823}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427074107}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427122088}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427172375}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427223849}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427270714}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427315902}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=427358855}) = 0
poll([{fd=4, events=POLLIN}], 1, 323)   = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=750831831}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=750893712}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=750941764}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=750985765}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751036680}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751082357}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751124123}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751164073}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751207585}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751249071}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751287136}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751327994}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=751376534}) = 0
mkdir("/root/.local/state", 0777)       = -1 EEXIST (File exists)
newfstatat(AT_FDCWD, "/root/.local/state", {st_mode=S_IFDIR|0755, st_size=28, ...}, 0) = 0
openat(AT_FDCWD, "/root/.local/state/partitionmanagerstaterc.lock", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 21
flock(21, LOCK_EX|LOCK_NB)              = 0
openat(AT_FDCWD, "/proc/sys/kernel/random/boot_id", O_RDONLY|O_CLOEXEC) = 22
read(22, "6a06b4c1-cc6e-4d90-a0a2-e87c5e1b"..., 36) = 36
close(22)                               = 0
openat(AT_FDCWD, "/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = 22
read(22, "967212d3d38e46b5b0b00e7d84fb7dc8", 32) = 32
close(22)                               = 0
uname({sysname="Linux", nodename="ph", ...}) = 0
getpid()                                = 470132
access("/proc/version", F_OK)           = 0
readlink("/proc/470132/exe", "/usr/bin/partitionmanager", 256) = 25
getpid()                                = 470132
write(21, "470132\npartitionmanager\nph\n96721"..., 97) = 97
fdatasync(21)                           = 0
openat(AT_FDCWD, "/root/.local/state/partitionmanagerstaterc", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/root/.local/state/partitionmanagerstaterc", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, 0x7fff969a1660) = -1 ENOENT (No such file or directory)
access("/root/.local/state/partitionmanagerstaterc", F_OK) = -1 ENOENT (No such file or directory)
access("/root/.local/state/partitionmanagerstaterc", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/root/.local/state/partitionmanagerstaterc", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7fff969a17c0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/root/.local/state/partitionmanagerstaterc", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, 0x7fff969a17c0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/root/.local/state", O_RDWR|O_CLOEXEC|O_TMPFILE, 0666) = 22
statx(22, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=0, ...}) = 0
write(22, "[MainWindow]\n2560x1440 screen: X"..., 679) = 679
statx(22, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=679, ...}) = 0
lseek(22, 0, SEEK_SET)                  = 0
fdatasync(22)                           = 0
linkat(AT_FDCWD, "/proc/self/fd/22", AT_FDCWD, "/root/.local/state/partitionmanagerstaterc", AT_SYMLINK_FOLLOW) = 0
close(22)                               = 0
chmod("/root/.local/state/partitionmanagerstaterc", 0600) = 0
close(21)                               = 0
unlink("/root/.local/state/partitionmanagerstaterc.lock") = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755417769}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755462608}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755506050}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755546908}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755585252}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755627297}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755666828}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755709222}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755751268}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755789961}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755829841}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755869372}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755907506}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=199246, tv_nsec=755952414}) = 0
poll([{fd=4, events=POLLIN}], 1, 28245unknown file system type  "dos"  on  "/dev/sda"
KCrash: Application 'partitionmanager' crashing... crashRecursionCounter = 2
 <unfinished ...>) = ?
+++ killed by SIGSEGV (core dumped) +++
[1]    470097 segmentation fault  sudo strace partitionmanager



I dont think this happened before. I've been using all these disks mounted for quite a while. 

I'll attach gdb trace later
Comment 1 planetory 2025-06-22 19:05:19 UTC
[New Thread 0x7fffd0ff96c0 (LWP 478378)]                                                                                                                    
[New Thread 0x7fffc4dff6c0 (LWP 478379)]
[New Thread 0x7fffa7fff6c0 (LWP 478380)]
[New Thread 0x7fffa77fe6c0 (LWP 478381)]
[New Thread 0x7fffa6ffd6c0 (LWP 478382)]
[New Thread 0x7fffa67fc6c0 (LWP 478383)]
[New Thread 0x7fffa5ffb6c0 (LWP 478387)]
Downloading 583.41 K separate debug info for /usr/lib64/qt6/plugins/imageformats/libqsvg.so
Downloading 881.70 K separate debug info for /home/phy/.cache/debuginfod_client/58de74a73bc1d4f5bbe0bb2ffa13c093aecf4600/debuginfo                          
Downloading 8.36 M separate debug info for /lib64/libQt6Svg.so.6                                                                                            
[New Thread 0x7fffa4e5a6c0 (LWP 478538)]                                                                                                                    
unknown file system type  ""  on  "/dev/nvme0n1p1"
unknown file system type  "dos"  on  "/dev/sda"

Thread 24 "m_DeviceScanner" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa4e5a6c0 (LWP 478538)]
Downloading source file /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp
0x00007fffdaf43556 in SfdiskBackend::readSectorsUsed (d=..., p=..., mountPoint=...)                                                                         
    at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp:523
523         else if (p.fileSystem().supportGetUsed() == FileSystem::cmdSupportFileSystem)
(gdb) thread apply all bt full

^CQuit
(gdb) bt
#0  0x00007fffdaf43556 in SfdiskBackend::readSectorsUsed (d=..., p=..., mountPoint=...)
    at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp:523
#1  0x00007fffdaf4377b in SfdiskBackend::scanWholeDevicePartition (this=this@entry=0x7fffdc009530, d=...)
    at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp:345
#2  0x00007fffdaf4aeb9 in SfdiskBackend::scanDevice (this=0x7fffdc009530, deviceNode=<optimized out>)
    at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp:297
#3  0x00007fffdaf4966d in SfdiskBackend::scanDevices (this=0x7fffdc009530, scanFlags=...)
    at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/plugins/sfdisk/sfdiskbackend.cpp:106
#4  0x00007ffff7f07a4d in DeviceScanner::scan (this=0x5555558d4370) at /usr/src/debug/kpmcore-25.04.0-1.fc40.x86_64/src/core/devicescanner.cpp:56
#5  0x00007ffff5d6a76f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:375
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:311
#7  QThreadPrivate::start (arg=0x5555558d4370) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:339
#8  0x00007ffff54a6088 in start_thread (arg=<optimized out>) at pthread_create.c:448
#9  0x00007ffff5529f8c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 2 Andrius Štikonas 2025-06-22 19:14:53 UTC
This should have been already fixed in 24.04.1
Comment 3 Andrius Štikonas 2025-06-22 19:15:23 UTC

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