Crash on 16-bit colordepth (Windows)

Bug #968638 reported by Johan Engelen
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
jazzynico
Inkscape Devlibs
Fix Released
Medium
jazzynico

Bug Description

When the Windows monitor color depth is set to 16-bit, Inkscape crashes with

(inkscape.exe:3712): Gdk-WARNING **: gdk_win32_pixmap_new: depth = 16 not supported
(inkscape.exe:3712): Gdk-CRITICAL **: gdk_gc_new_with_values: assertion `drawable != NULL' failed
(inkscape.exe:3712): Gdk-CRITICAL **: gdk_gc_set_colormap: assertion `GDK_IS_GC(gc)' failed
(inkscape.exe:3712): Gdk-CRITICAL **: gdk_gc_new_with_values: assertion `drawable != NULL' failed

etc.
etc.

(trunk and 0.48.3.1)

Perhaps a hint to a fix:
http://svn.gnucash.org/trac/changeset/21957

Although 16-bit colordepth is rare, it is annoying when it is set to 16bit when connected to a beamer...
Thanks a bunch.

Revision history for this message
Johan Engelen (johanengelen) wrote :

to clarify: Inkscape crashes on startup.

tags: added: crash win32
Revision history for this message
Johan Engelen (johanengelen) wrote :

Seems devlibs need to be updated to GTK >=2.24.9

Revision history for this message
su_v (suv-lp) wrote :
affects: inkscape → inkscape-devlibs
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape 0.48.3.1 and trunk.
Not reproduced with 0.48.2 and older versions.

Changed in inkscape-devlibs:
status: New → Confirmed
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
tags: added: regression
Revision history for this message
jazzynico (jazzynico) wrote :

Manually replacing the installed devlibs with the ones in the file in http://ftp.acc.umu.se/pub/gnome/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip fixes the issue.

Changed in inkscape-devlibs:
status: Confirmed → Triaged
Changed in inkscape:
milestone: none → 0.49
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Devlibs update in progress.

Changed in inkscape-devlibs:
assignee: nobody → JazzyNico (jazzynico)
status: Triaged → In Progress
Changed in inkscape:
status: Triaged → In Progress
assignee: nobody → JazzyNico (jazzynico)
Revision history for this message
jazzynico (jazzynico) wrote :

GTK+ updated to 2.24.10, devlibs revision 35.

Changed in inkscape-devlibs:
importance: Undecided → Medium
status: In Progress → Fix Released
Changed in inkscape:
milestone: 0.49 → 0.48.4
status: In Progress → Fix Committed
Revision history for this message
Johan Engelen (johanengelen) wrote :

Thank you very much for this fix. Plenty of times that I couldn't figure out why Inkscape crashed and it turned out to be 16bit colors.
Good work :)

Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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