Missing theme icon 'image-missing' causes crash at startup

Bug #1784226 reported by Mattia Basaglia
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Jabiertxof

Bug Description

I'm using inkscape-trunk from the ubuntu ppa, --version reports "Inkscape 0.92+devel (unknown)"

Stdout shows a few warnings and this message:

(There are a few similar icon not present messages in the log)

Icon Loader: Icon 'go-down' not present in theme hicolor
Prototype::Prototype()
Icon Loader: Icon 'gtk-preferences' not present in theme hicolor
Prototype::handleDesktopChanged(): 0x556221466a80
  getDesktop() == desktop
Prototype::present()
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme hicolor (gtk-icon-theme-error-quark, 0)

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

Revision history for this message
Mattia Basaglia (mattia-basaglia) wrote :

The version reported by the package manager is 0.92.0+devel+201807291229

Revision history for this message
Patrick Storz (ede123) wrote :

Subscribing Jabier as I suspect this is due to the latest code changes regarding themeing.

Revision history for this message
Alvin Penner (apenner) wrote :
Download full text (13.6 KiB)

running Windows 10, Inkscape 0.92+devel (07bed47, 2018-07-30)
I get the following warning messages:
After this, Inkscape runs, but there are no icons.

…………………………………………………….
Pango version: 1.42.2

(inkscape.exe:11520): Gtk-WARNING **: 17:36:36.641: Could not find the icon 'object-locked'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
Icon Loader: Icon 'object-locked' not present in theme hicolor
Icon Loader: Icon 'zoom-original' not present in theme hicolor
Icon Loader: Icon 'color-management' not present in theme hicolor
Icon Loader: Icon 'object-visible' not present in theme hicolor
Icon Loader: Icon 'object-hidden' not present in theme hicolor
Icon Loader: Icon 'object-unlocked' not present in theme hicolor
Icon Loader: Icon 'object-locked' not present in theme hicolor
Icon Loader: Icon 'path-union' not present in theme hicolor
Icon Loader: Icon 'path-difference' not present in theme hicolor
Icon Loader: Icon 'path-intersection' not present in theme hicolor
Icon Loader: Icon 'path-exclusion' not present in theme hicolor
Icon Loader: Icon 'path-division' not present in theme hicolor
Icon Loader: Icon 'path-cut' not present in theme hicolor
Icon Loader: Icon 'path-combine' not present in theme hicolor
Icon Loader: Icon 'path-break-apart' not present in theme hicolor
Icon Loader: Icon 'path-inset' not present in theme hicolor
Icon Loader: Icon 'path-outset' not present in theme hicolor
Icon Loader: Icon 'path-offset-dynamic' not present in theme hicolor
Icon Loader: Icon 'path-offset-linked' not present in theme hicolor
Icon Loader: Icon 'tool-pointer' not present in theme hicolor
Icon Loader: Icon 'tool-node-editor' not present in theme hicolor
Icon Loader: Icon 'tool-tweak' not present in theme hicolor
Icon Loader: Icon 'zoom' not present in theme hicolor
Icon Loader: Icon 'tool-measure' not present in theme hicolor
Icon Loader: Icon 'draw-rectangle' not present in theme hicolor
Icon Loader: Icon 'draw-cuboid' not present in theme hicolor
Icon Loader: Icon 'draw-ellipse' not present in theme hicolor
Icon Loader: Icon 'draw-polygon-star' not present in theme hicolor
Icon Loader: Icon 'draw-spiral' not present in theme hicolor
Icon Loader: Icon 'draw-freehand' not present in theme hicolor
Icon Loader: Icon 'draw-path' not present in theme hicolor
Icon Loader: Icon 'draw-calligraphic' not present in theme hicolor
Icon Loader: Icon 'draw-text' not present in theme hicolor
Icon Loader: Icon 'tool-spray' not present in theme hicolor
Icon Loader: Icon 'draw-eraser' not present in theme hicolor
Icon Loader: Icon 'color-fill' not present in theme hicolor
Icon Loader: Icon 'color-gradient' not present in theme hicolor
Icon Loader: Icon 'mesh-gradient' not present in theme hicolor
Icon Loader: Icon 'color-picker' not present in theme hicolor
Icon Loader: Icon 'draw-connector' not present in theme hicolor
Icon Loader: Icon 'draw-geometry' not present in theme hicolor
Icon Loader: Icon 'zoom-in' not present in theme hicolor
Icon Loader: Icon 'zoom-out' not present in theme hicolor
Icon Loader: Icon 'zoom-original' not present in theme hicolor
Icon Loa...

Revision history for this message
Alvin Penner (apenner) wrote :

these files exist in the directory:
C:\APP\Temp\inkscape_07_30\share\icons\hicolor\scalable\actions
where inkscape.exe is in the directory
C:\APP\Temp\inkscape_07_30

Revision history for this message
Alvin Penner (apenner) wrote :

just ran the latest version:
Windows 10, Inkscape 0.92+devel (9dfa251, 2018-07-31).
the output is the same as in comment 3

Revision history for this message
Alvin Penner (apenner) wrote :

- on Windows 10, testing Inkscape 0.92+devel (ff7515f, 2018-08-01)
- the icons are back again as normal. I just get the following messages:

(inkscape.exe:14980): GLib-GObject-WARNING **: 22:19:04.481: g_object_get_valist: value location for 'gboolean' passed as NULL
Pango version: 1.42.3
Icon Loader: Icon 'gtk-preferences' not present in theme hicolor

thanks, Jabier!

Revision history for this message
Alvin Penner (apenner) wrote :

fwiw, the file 'gtk-preferences' does not seem to exist anywhere on my machine

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Think is fixed now in trunk, wait one day or two the PPA update. Sorry for the inconveniences.

Revision history for this message
Alvin Penner (apenner) wrote :

just ran 'master-1458' on Windows 10, Inkscape 0.92+devel (dbb1827, 2018-08-02)
here is the output:

Pango version: 1.42.3
Icon Loader: Icon 'gtk-preferences' not present in theme hicolor

thanks for the Windows fixes.

Revision history for this message
Jabiertxof (jabiertxof) wrote : Re: [Bug 1784226] Re: Missing theme icon 'image-missing' causes crash at startup

I try to fix, anyway this icon couldn't load previously but new code warn it, regards, jabier

⁣Enviado desde TypeApp ​

En 2 ago. 2018 14:01, en 14:01, Alvin Penner <email address hidden> escribió:
>just ran 'master-1458' on Windows 10, Inkscape 0.92+devel (dbb1827,
>2018-08-02)
>here is the output:
>
>Pango version: 1.42.3
>Icon Loader: Icon 'gtk-preferences' not present in theme hicolor
>
>thanks for the Windows fixes.
>
>--
>You received this bug notification because you are subscribed to the
>bug
>report.
>https://bugs.launchpad.net/bugs/1784226
>
>Title:
> Missing theme icon 'image-missing' causes crash at startup
>
>Status in Inkscape:
> New
>
>Bug description:
> I'm using inkscape-trunk from the ubuntu ppa, --version reports
> "Inkscape 0.92+devel (unknown)"
>
> Stdout shows a few warnings and this message:
>
> (There are a few similar icon not present messages in the log)
>
> Icon Loader: Icon 'go-down' not present in theme hicolor
> Prototype::Prototype()
> Icon Loader: Icon 'gtk-preferences' not present in theme hicolor
> Prototype::handleDesktopChanged(): 0x556221466a80
> getDesktop() == desktop
> Prototype::present()
> **
>Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon:
>assertion failed (error == NULL): Icon 'image-missing' not present in
>theme hicolor (gtk-icon-theme-error-quark, 0)
>
> Emergency save activated!
> Emergency save completed. Inkscape will close now.
> If you can reproduce this crash, please file a bug at www.inkscape.org
>with a detailed description of the steps leading to the crash, so we
>can fix it.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/inkscape/+bug/1784226/+subscriptions

Revision history for this message
Alvin Penner (apenner) wrote :

Hi,
    just tested master-1465, on Windows 10, Inkscape 0.92+devel (d373e22, 2018-08-04)
here is the output:

Pango version: 1.42.3
Icon Loader: Icon 'gtk-preferences' not present in theme hicolor

Revision history for this message
Jabiertxof (jabiertxof) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

just tested 'removeSimbolsMissed-1467', Windows 10, Inkscape 0.92+devel (75e0a3f, 2018-08-04)

output is attached:
Pango version: 1.42.3

thanks, Jabier!

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Thanks Alvin, merged!

Revision history for this message
Mattia Basaglia (mattia-basaglia) wrote :

Should this be fixed? With the Ubuntu PPA, (version 1:0.92.0+devel+201808211851~ubuntu18.04.1) I still get the crash at startup.

Revision history for this message
Axel Meunier (axel-meunier) wrote :

Hi also using the PPA. I still get the errors and the crash at startup... Should i report in gitlab ? Thx in advance.

Jabiertxof (jabiertxof)
Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.