Crash when resizing the application window (0.92.x)

Bug #1608216 reported by jazzynico
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
jazzynico

Bug Description

Reproduced on Windows XP (32-bit) with Inkscape 0.92.x rev. 15025.
Not reproduced with trunk rev. 15028.

Steps:
1. Open a blank new Inkscape instance.
2. Resize the application window to the minimal possible size.
-> Crash with the following errors:
  - an error window showing "Glib-ERROR **: gmem.c:239: failled to allocate 16 bytes aborting..." (the bytes value changes each time you try).
  - a console message saying "GLib:ERROR:gmain.c:2444:g_main_dispatch: assertion failed: (current->dispatching_sources == &current_source_link)"

GDB backtrace attached.

Revision history for this message
jazzynico (jazzynico) wrote :
tags: added: blocker
Revision history for this message
su_v (suv-lp) wrote :

Not reproduced on OS X 10.7.5 (MBP 13") with lp:inkscape/0.92.x r15024:
- GTK+/X11 2.24.29, Glib 2.46.2, gtkmm 2.24.4, glibmm 2.44.0
- GTK+/Quartz 2.24.30, Glib 2.48.0, gtkmm 2.24.4, glibmm 2.44.0

Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Xubuntu 16.04, Inkscape 0.92.x rev. 15027.

Probably related to a bug in the devlibs (glib is rather old). Since we have no plan to update the win32 devlibs for 0.92 (particularly glib), I suggest we try to find a workaround in the code.

tags: added: win32
Revision history for this message
jazzynico (jazzynico) wrote :

Could anyone test the Windows 64-bit package and confirm it only affects win32?

Revision history for this message
rickmastfan67 (rickmastfan67) wrote :

Give me a link to which package you want to be tested, and I'd be more than glad to do it. Running Windows 7 x64 here.

Revision history for this message
jazzynico (jazzynico) wrote :

Thanks Rick!
Just checked ftp://download.tuxfamily.org/inkscape/win64/, and there's no package available for the 0.92.x branch for now. I'm going to ask Eduard if he can provide the missing package.

Revision history for this message
jazzynico (jazzynico) wrote :

Tested again with 0.92.x rev. 15043. The trace is not always the same. Apart from the one already reported, it sometimes crashes in one of the following functions:
- in sp_desktop_widget_size_allocate(_GtkWidget*, _GdkRectangle*) ()
- in sp_desktop_widget_update_zoom(SPDesktopWidget*) ()

jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
status: New → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

The bug is apparently due to a typo when mass renaming a var.
Patch tested on Windows XP, Inkscape 0.92.x rev. 15043.

The same patch seems to also fix bug #1608152 "Canvas drawing errors".
Please test!

Revision history for this message
jazzynico (jazzynico) wrote :

Also seems to fix another blocker: bug #1607698 "Crash on 0.92.x on file open".

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Great work!!! Just testing it!

Revision history for this message
jazzynico (jazzynico) wrote :

Tested successfully on Xubuntu 16.04 and committed rev. 15044.

Changed in inkscape:
milestone: 0.92 → none
status: In Progress → Fix Released
Revision history for this message
bananenkasper (bananenkasper) wrote :

Still an issue with 0.92.4.

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.