FS#35371 - [gsmartcontrol] crash when selecting any hard drive

Attached to Project: Community Packages
Opened by Vasili (3point2) - Sunday, 19 May 2013, 22:08 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 28 June 2013, 13:57 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: gsmartcontrol crashes every time i double click a hard drive in order to view its SMART information. smartctl from the command line works fine.

** (gsmartcontrol.elf:5646): CRITICAL **: atk_object_ref_accessible_child: assertion `ATK_IS_OBJECT (accessible)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
/usr/bin/gsmartcontrol: line 2: 5646 Segmentation fault (core dumped) pkexec --disable-internal-agent "/usr/bin/gsmartcontrol.elf" "$@"


Additional info:
* gsmartcontrol 0.8.7-3


Steps to reproduce:

start gsmartcontrol. double click any hard drive.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Friday, 28 June 2013, 13:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  gtkmm 2.24.4-1
Comment by Jelle van der Waa (jelly) - Monday, 20 May 2013, 08:31 GMT
It fails compiling due to the new gtkmm version, I'll have to look into the diff between the two versions.
Comment by Robin Hahling (Rolinh) - Wednesday, 29 May 2013, 19:23 GMT
I applied theses two patches and it allowed me, at least, to build gsmartcontrol 0.8.7 with gtkmm 2.24.3.
The patches originate from OpenBSD. They fix includes as gtkmm 2.24.3 is "generally broken" (See https://bugzilla.gnome.org/show_bug.cgi?id=697835).

However, gsmartcontrol still shows the same bug:

<warn> [app] SmartctlParser::parse_section_info_property(): Unknown property "Rotation Rate"
<warn> [app] SmartctlParser::parse_section_info_property(): Unknown property "Rotation Rate"
<warn> [app] SmartctlParser::parse_section_info_property(): Unknown property "Rotation Rate"

** (gsmartcontrol.elf:20506): CRITICAL **: atk_object_ref_accessible_child: assertion `ATK_IS_OBJECT (accessible)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
/usr/bin/gsmartcontrol: line 2: 20506 Segmentation fault (core dumped) pkexec --disable-internal-agent "/usr/bin/gsmartcontrol.elf" "$@"
Comment by mattia (nTia89) - Sunday, 16 June 2013, 14:09 GMT
very SIMILAR on my system:

[mattia@arch-dekstop ~]$ sudo gsmartcontrol
[sudo] password for mattia:
<warn> [hz] Warning: exit: Device open failed, or device did not return an IDENTIFY DEVICE structure.
<warn> [app] execute_smartctl(): Error while executing smartctl binary.
<warn> [app] StorageDevice::execute_device_smartctl(): Error while executing smartctl binary.

** (gsmartcontrol.elf:1744): CRITICAL **: atk_object_ref_accessible_child: assertion `ATK_IS_OBJECT (accessible)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
<error> [gtk] g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
/bin/gsmartcontrol: line 2: 1744 Segmentation fault (core dumped) pkexec --disable-internal-agent "/usr/bin/gsmartcontrol.elf" "$@"

Loading...