Bug 309251
Summary: | gparted crashes after re-scanning devices | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Saltzman <mjs> | ||||
Component: | gparted | Assignee: | Deji Akingunola <dakingun> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | jimhayward | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.3.3-13.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-10 06:00:42 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Matthew Saltzman
2007-09-27 16:29:49 UTC
Looking at the problem, the GtkComboBox on the toolbar that displays the list of devices uses a GtkListStore as its underlying model. When Refresh Devices is called the GtkListStore is cleared, this causes the function connected to the "changed" signal of the GtkComboBox to be called. This causes the segfault by trying to set the value of the GtkComboBox to an invalid value. The simplest way I see to work around this is to simply block the "changed" signal from being emitted when Refresh Devices is called. Created attachment 240891 [details]
bug_309251_gparted_crashes_after_re-scanning_devices.patch
This patch blocks the "changed" signal of the GtkComboBox when Refresh Devices
is called.
Thanks Jim for the patch. However I have other issue with building the package on rawhide (bz #313281), I'll work on integrating the patch once the other issue is resolved. I haven't seen the issue with bug #313281. But I can add a patch for it too. ;-) Jim to the rescue again, thanks. Let me know if you're interested in being a co-maintainer for this package. I've applied the patch, new package already built. gparted-0.3.3-13.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gparted' gparted-0.3.3-13.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |