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 676589 - Deal with Osinfo media == null
Deal with Osinfo media == null
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-05-22 19:17 UTC by Marc-Andre Lureau
Modified: 2016-03-31 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Deal with Osinfo media == null (2.99 KB, patch)
2012-05-22 19:17 UTC, Marc-Andre Lureau
committed Details | Review

Description Marc-Andre Lureau 2012-05-22 19:17:30 UTC
media == null happens, it shouldn't show criticals
Comment 1 Marc-Andre Lureau 2012-05-22 19:17:32 UTC
Created attachment 214688 [details] [review]
Deal with Osinfo media == null

According to my critical logs, "media" can be null.

log_level=G_LOG_LEVEL_CRITICAL, format=
    0x380b2b563a "%s: assertion `%s' failed",
args1=args1@entry=0x7fffffffd2d8) at gmessages.h:101
(log_domain=log_domain@entry=0x380c637e44 "GLib-GObject",
log_level=log_level@entry=
    G_LOG_LEVEL_CRITICAL, format=format@entry=0x380b2b563a "%s:
assertion `%s' failed") at gmessages.c:792
(log_domain=log_domain@entry=0x380c637e44 "GLib-GObject",
    pretty_function=pretty_function@entry=0x380c63b111 "g_object_get",
expression=expression@entry=
    0x380c639f17 "G_IS_OBJECT (object)") at gmessages.c:801
first_property_name=first_property_name@entry=0x45d133 "live")
    at gobject.c:2101
(_data_=0x1b28000) at installer-media.c:563
(simple=0x18d0580 [GSimpleAsyncResult]) at gsimpleasyncresult.c:767
boxes_os_database_guess_os_from_install_media_co (_data_=0x1617360) at
os-database.c:281
at os-database.c:238
(simple=0x198d020 [GSimpleAsyncResult]) at gsimpleasyncresult.c:767
Comment 2 Zeeshan Ali 2012-05-23 20:31:45 UTC
Review of attachment 214688 [details] [review]:

ACK
Comment 3 Marc-Andre Lureau 2012-05-23 23:03:33 UTC
Attachment 214688 [details] pushed as 5d1f9f5 - Deal with Osinfo media == null