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 710521 - Assertion fails when creating a GDesktopAppInfo from a GKeyFile (from Gnome Weather .desktop file)
Assertion fails when creating a GDesktopAppInfo from a GKeyFile (from Gnome W...
Status: RESOLVED DUPLICATE of bug 709326
Product: glib
Classification: Platform
Component: gio
2.38.x
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-10-19 17:42 UTC by Alexander De Sousa
Modified: 2013-10-22 16:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple test program. (1.11 KB, text/x-csrc)
2013-10-19 17:42 UTC, Alexander De Sousa
Details

Description Alexander De Sousa 2013-10-19 17:42:07 UTC
Created attachment 257728 [details]
Simple test program.

Creating a GDesktopAppInfo from a GKeyFile loaded with the data of the .desktop file of Gnome Weather seems to lead to a segmentation fault of the application.

To my knowledge it only happens with that particular .desktop file, others seem to work fine; so it's either a bug in GIO/GLib or that file is malformed but it looks right to me.

I've written a small test program in C to help reproduce the issue, it's attached to the bug report. I'm running a 64-bit Arch Linux, with Gnome Weather version 3.10.1 and GLib 2.38.0.
Comment 1 Allison Karlitskaya (desrt) 2013-10-22 14:18:10 UTC
hi,

Pretty sure this is a dup of bug 709326.

I forgot to put that on master so I've pulled it over now.

*** This bug has been marked as a duplicate of bug 709326 ***
Comment 2 Allison Karlitskaya (desrt) 2013-10-22 14:19:06 UTC
*Forgot to put that on glib-2-38, rather.
Comment 3 Alexander De Sousa 2013-10-22 16:14:45 UTC
Indeed it is, I just recompiled 2.38 applying the patch and there's no segmentation fault anymore.

Thanks.