
Maximilian Albert schrieb:
bulia byak schrieb:
On Fri, Aug 22, 2008 at 12:36 PM, Maximilian Albert <Anhalter42@...173...> wrote:
Can anyone please confirm that this really fixes the issue? And perhaps even provide an explanation?
Fix confirmed, and looking at http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/nodep..., it appears pretty obvious to me at least for the Geometry tool crashes: since you now use this function not only in node tool, you need to check if it's a node tool context before taking its message context.
But that's exactly what the function get_message_context() does (see nodepath.cpp, line 844), which was introduced precisely for this purpose. :-/
Also, this doesn't explain why it didn't crash for me at all (and apparently neither for other people) when compiling without -O2.
max