Bug 1689020 - gbrainy crashes with 'Could not load resource: gtk-info.svg'
Summary: gbrainy crashes with 'Could not load resource: gtk-info.svg'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gbrainy
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benoît Marcelin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 23:41 UTC by Marcin Zajaczkowski
Modified: 2019-04-06 19:42 UTC (History)
3 users (show)

Fixed In Version: gbrainy-2.4.0-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-06 19:42:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcin Zajaczkowski 2019-03-14 23:41:00 UTC
Description of problem:
gbrainy crashes on a try start any activity in it.

Version-Release number of selected component (if applicable):
gbrainy-2.3.5-2.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start gbrainy
2. Click any icon on the left (e.g. Memory)

Actual results:
Game crashes. The last things displayed on a console is:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IO.IOException: SVGImage. SVGImage (assembly). Could not load resource: gtk-info.svg
  at gbrainy.Core.Libraries.SVGImage..ctor (System.Reflection.Assembly _assembly, System.String resource) [0x00085] in <63cd9e3be38c48b592643de3e32928ab>:0 
  at gbrainy.Clients.Classical.Widgets.GameDrawingArea.DrawSolutionIcon (gbrainy.Core.Main.CairoContextEx cr, System.Double x, System.Double y, System.Double width, System.Double height) [0x00062] in <a7e8c094704b498a8e5bc6c3d2bc64a4>:0 
  at gbrainy.Clients.Classical.Widgets.GameDrawingArea.DrawSolution (gbrainy.Core.Main.CairoContextEx cr, System.Int32 height, System.Double max_width) [0x001e5] in <a7e8c094704b498a8e5bc6c3d2bc64a4>:0 
  at gbrainy.Clients.Classical.Widgets.GameDrawingArea.DrawQuestionAndAnswer (gbrainy.Core.Main.CairoContextEx cr, System.Int32 height) [0x0003f] in <a7e8c094704b498a8e5bc6c3d2bc64a4>:0 
  at gbrainy.Clients.Classical.Widgets.GameDrawingArea.OnDrawn (Cairo.Context cc) [0x00114] in <a7e8c094704b498a8e5bc6c3d2bc64a4>:0 
  at Gtk.Widget.Drawn_cb (System.IntPtr inst, System.IntPtr cr) [0x00017] in <abfdc020c64b4059b184ac4670044efc>:0 
  at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <3eb93253711f4c08b41956dc83a81a30>:0 
  at Gtk.Widget.Drawn_cb (System.IntPtr inst, System.IntPtr cr) [0x00000] in <abfdc020c64b4059b184ac4670044efc>:0 
  at Gtk.Application.gtk_main () [0x00000] in <abfdc020c64b4059b184ac4670044efc>:0 
  at Gtk.Application.Run () [0x00000] in <abfdc020c64b4059b184ac4670044efc>:0 
  at gbrainy.Clients.Classical.GtkClient.Main (System.String[] args) [0x00000] in <a7e8c094704b498a8e5bc6c3d2bc64a4>:0 


Expected results:
An activity is ready to play.

Additional info:
The aforementioned file is not packages. In addition, the program is also wonky about terminal options. TERM has to be set to "xterm" (instead of "xterm-256color") to do not fail with "System.Exception: Magic number is wrong: 542").

Comment 1 Marcin Zajaczkowski 2019-03-17 21:55:43 UTC
I dig it up and the problem is caused by librsvg2 >= 2.44.3. It was fixed upstream in gbrainy 2.3.8 - https://gitlab.gnome.org/GNOME/gbrainy/issues/2 . In fact, RPM rebuilt locally with 2.3.9 works fine.

@Benoît, could you just bump a version in spec file to fix it?

Comment 2 Benoît Marcelin 2019-03-20 07:07:35 UTC
Yes, I'm on it.

Comment 3 Fedora Update System 2019-03-21 00:10:17 UTC
gbrainy-2.4.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c5c2108db8

Comment 4 Fedora Update System 2019-03-21 21:19:03 UTC
gbrainy-2.4.0-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c5c2108db8

Comment 5 Fedora Update System 2019-04-06 19:42:59 UTC
gbrainy-2.4.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.