Comment 7 for bug 1309050

Revision history for this message
Liam P. White (liampwhite) wrote :

Reproduced with r13291 on Ubuntu 12.04.

Issue: bad casting.

1364│ gpointer knot = dse->getItem2();
1365│ if (knot && SP_IS_KNOT(knot)) {
1366│-> sp_knot_handler_request_position(dse->getEvent(), SP_KNOT(knot));
1367│ }
-------------------------------src/ui/tools/tool-base.cpp------------------------------------------------

#0 Inkscape::UI::Tools::sp_event_context_snap_watchdog_callback (data=0x64d62d0) at ../../inkscape-wo-tag/src/ui/tools/tool-base.cpp:1369
(gdb) set $knot = dse->getItem2()
(gdb) print $knot
$3 = {gpointer (Inkscape::UI::Tools::DelayedSnapEvent * const)} 0x0

Additionally, ~suv has stated that the same line of code has had issues in stable.