Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work on USB flash #4

Open
rapgro opened this issue Feb 28, 2015 · 0 comments
Open

does not work on USB flash #4

rapgro opened this issue Feb 28, 2015 · 0 comments

Comments

@rapgro
Copy link

rapgro commented Feb 28, 2015

QtParted (and QParted fork) in Fedora 21 is not able to handle any USB key. It does not matter what partition table content is, empty or not.

An user reports:

Connected a 4GB stick with a FAT32 filesystem. The device will be mounted automatically.

Qparted doesn't detect the stick only if it is already connected (and mounted!) when Qparted starts. Then, Qparted is unable to unmount it, this has to be done manually.

Similar to Gparted, I can delete the partition virtually and click then on File → Commit to apply the changes. Result: Qparted crashes.

Terminal output:

Backtrace has 20 calls on stack:
20: /lib64/libparted.so.2(ped_assert+0x44) [0x3689e0d2f4]
19: /lib64/libparted.so.2() [0x3689e120f8]
18: qparted() [0x445fa6]
17: qparted() [0x41ce66]
16: qparted() [0x440d8c]
15: qparted() [0x42fa5b]
14: qparted() [0x44dac2]
13: /lib64/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x32c) [0x33bff9a25c]
12: /lib64/libQtGui.so.4(_ZN7QAction9activatedEi+0x41) [0x368a5c1871]
11: /lib64/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x9c) [0x368a5c332c]
10: /lib64/libQtGui.so.4() [0x368aa1504d]
9: /lib64/libQtGui.so.4() [0x368aa19a09]
8: /lib64/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x298) [0x368a61b118]
7: /lib64/libQtGui.so.4(_ZN5QMenu5eventEP6QEvent+0x6b) [0x368aa1d9db]
6: /lib64/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c) [0x368a5c7efc]
5: /lib64/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x41f) [0x368a5ceabf]
4: /lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8d) [0x33bff8570d]
3: /lib64/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x15f) [0x368a5ce11f]
2: /lib64/libQtGui.so.4() [0x368a6448ca]
1: /lib64/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x60c) [0x368a642f2c]
A bug has been detected in GNU Parted. Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what could be useful for bug submitting! Please email a bug report to [email protected] containing at least the version (3.2) and the following message: Assertion (old_disk != NULL) at disk.c:255 in function ped_disk_duplicate() failed.
Aborted (core dumped)

It's obviously no bug in Qparted, rather in GNU parted. But probably Gparted handles USB media differently, so that it works there.

https://bugzilla.redhat.com/show_bug.cgi?id=885365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant