Crash in gtkrbtree.c with Pg up/down in Fill/Stroke Dialog with swatches
Migrated from: https://bugs.launchpad.net/inkscape/+bug/1777536
Steps to reproduce:
- Open Inkscape
- Create at least 1 object
- Go to the Fill and Stroke Dialog (Ctrl+Shift+F)
- Set the fill or stroke type to swatch for two objects (or for the fill and stroke of a single object)
- With one of the swatches selected in the Fill and Stroke Dialog, hit Page Up or Down
- Crash
Backtrace from 0.92 (from LP): bt.txt
Backtrace from 1.0alpha: bt_1.0alpha.txt
Most of it is GTK stuff, but last bit from Inkscape functions is:
#23 0x00007ffff59f4897 in Gtk::Widget::on_key_press_event(_GdkEventKey*) ()
at /usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so.1
#24 0x00007ffff741ef87 in InkscapeWindow::on_key_press_event(_GdkEventKey*) (this=0x55555702a540, event=0x5555592f2490) at ../src/inkscape-window.cpp:125
What happened?
Crashes with error: gtkrbtree.c:967:_gtk_rbtree_node_find_offset: assertion failed: (node->left)
Note that the swatch does change.
What should have happened?
Selected a different swatch without crash.
Note that up and down arrows don't currently change swatch.
Inkscape Version and Operating System:
- Inkscape 0.92.2 (2405546, 2018-03-11) Linux 4.16.11-1-ARCH x86_64 GNU/Linux (original post)
- Inkscape 0.92.3 (2405546, 2018-03-11) Windows 10 (Alvin Penner on Launchpad)
- Inkscape 0.92+devel (418e2db0, 2018-06-06) Windows 10 (Alvin Penner on Launchpad)
- Inkscape 0.92.4 (5da689c313, 2019-01-14 flatpak) Linux Mint 19.1
- Inkscape 1.0alpha (9dee831c, 2019-01-15 AppImage) Linux Mint 19.1
- Inkscape 1.0alpha (c1bc786a, 2019-04-10) Linux Mint 19.1
Edited by Bryce Harrington