Bug 1077454 - Inconsistent NTFS partition makes libstorage-ng crash YaST during installation
Inconsistent NTFS partition makes libstorage-ng crash YaST during installation
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation
x86-64 Other
: P5 - None : Major (vote)
: ---
Assigned To: YaST Team
Jiri Srain
Depends on:
  Show dependency treegraph
Reported: 2018-01-24 16:23 UTC by Luca Beltrame
Modified: 2018-03-06 13:25 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Luca Beltrame 2018-01-24 16:23:22 UTC
Setup: brand new Dell workstation

I accidentally interrupted the first boot into Windows (missed the BIOS) and thus the NTFS partition was in an inconsistent state.

After the keyboard selection in the installer, YaST probes the partitions and under the hood uses ntfsresize --info on the NTFS partitions. However, ntfsresize found 35 cluster mismatches on that drive and thus exited with an error. This caused the following message to be printed in the log (copied, no network access on that machine)

NTFSImpl.cc:68 THROW   ntfsresize --info failed

And afterwards YaST crashes (SIGABRT, as far as I can see), aborting installation. 

Removing the offending NTFS partition (via parted) made the installation continue.
Comment 1 Abdel-Rahman A. 2018-01-24 22:54:10 UTC
Can confirm. Same problem occurred with my Dell laptop when having a corrupt NTFS partition. running ntfsresize --info on the corrupt partition can still print the metadata of the partition, but returns a non-zero exit code (1) . I believe that is what is causing the crash.
Comment 3 Josef Reidinger 2018-01-25 08:27:33 UTC
Thanks for report.
It is known issue with broken partition and new Leap 15. Adding to our queue for fixing.