After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697541 - changing preferences crashes/fails after closing one of multiple windows
changing preferences crashes/fails after closing one of multiple windows
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal critical
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2013-04-08 09:39 UTC by Adam Dingle
Modified: 2013-04-08 13:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2013-04-08 09:39:13 UTC
To see the problem:

1. Start Devhelp.
2. Choose File->New Window to create a second window.
3. Close the second window.
4. Open Preferences and check "Group by language".

Devhelp will crash:

===
(devhelp:10410): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `DhBookTree'

(devhelp:10410): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Segmentation fault (core dumped)
===

Similarly, if in step 4 you go to Preferences->Fonts and check "Use system fonts", you'll see a slew of critical errors on the console (though Devhelp won't crash).
Comment 1 Aleksander Morgado 2013-04-08 13:37:24 UTC
Fixed in git master, commits 1fd47dbecd6e293f9e6e0b644761c8e4e82ca03f and fd2656d1b740673f83483927d35396bd5024349e.

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.