Bug 407617 - Partition manager crash on clicking (probably faulty) drive.
Summary: Partition manager crash on clicking (probably faulty) drive.
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 20:47 UTC by Nils
Modified: 2019-07-26 12:57 UTC (History)
1 user (show)

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


Attachments
crash text file (11.68 KB, text/plain)
2019-05-16 20:47 UTC, Nils
Details
partitionmanager crash log (10.11 KB, text/plain)
2019-05-18 08:53 UTC, Schlaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils 2019-05-16 20:47:49 UTC
Created attachment 120121 [details]
crash text file

SUMMARY
First there are some messages about (non-existing) partitions not being aligned properly. Probably caused by faulty usb:

"Partition ‘/dev/sdc1’ is not properly aligned (first sector: 1948285285, modulo: 357)."
"Partition ‘/dev/sdc1’ is not properly aligned (last sector: 3650263507, modulo: 468)."
"Partition ‘/dev/sdc4’ is not properly aligned (last sector: 28049848, modulo: 441)." 

Then, as soon as i click that device in the partition manager gui, it crashes. The bug reporting window reports that the information might be useful.

STEPS TO REPRODUCE
1. Insert probably faulty usb.
2. Click on it in the gui
3. 

OBSERVED RESULT
The gui crashes

EXPECTED RESULT
the gui crashes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.0.13-arch1-1-ARCH
(available in About System)
KDE Plasma Version: 5.15
KDE Frameworks Version: 5.57
Qt Version: 5.12.3

ADDITIONAL INFORMATION
See attachment
Comment 1 Andrius Štikonas 2019-05-17 18:15:33 UTC
Is this reproducible?

I think I saw similar backtrace from time to time but could never reproduce it reliably.
Comment 2 Andrius Štikonas 2019-05-17 18:16:22 UTC
By the way, I don't think it's because of faulty drive. The drive is probably fine.
Comment 3 Schlaefer 2019-05-18 08:53:55 UTC
Created attachment 120157 [details]
partitionmanager crash log

After entering the password and scanning is finished with 100% the app always crashes for me at the moment. Maybe this is related and my "faulty drive" is just shown by default?

Partition Manager 4.0.0
Operating System: Manjaro Linux 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3
Kernel Version: 5.1.1-2-MANJARO
Comment 4 Schlaefer 2019-07-26 10:42:48 UTC
> always crashes for me at the moment.

It works for me again, no crashes anymore.

Partition Manager 4.0.0
Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Kernel Version: 5.2.2-1-MANJARO