Export to GitHub

semantik - issue #41

Semantik crashes when deleting root-node


Posted on May 10, 2014 by Happy Ox

What steps will reproduce the problem? 1. Create root-node with some leaves 2. On linear view, select root node 3. Press delete

What is the expected output? What do you see instead? Expected: Root node deleted with all leaves Actual: Semantik crashes

What version of the product are you using? On what operating system? Latest (0.9.1); kde 4.13

b/trace attached

Please provide any additional information below.

Attachments

Comment #1

Posted on May 10, 2014 by Happy Ox

In console log: ASSERT: "m_oItems[k] != NULL" in file ../src/canvas_view.cpp, line 556

Comment #2

Posted on May 10, 2014 by Happy Ox

I'm not really sure that this is a right way of fixing this (canvas_view gets NULL as an item to deselect, change assert to if() check); however this worksforme. Also waf script on python 2.7 tells me that: bld.install_as('${TEMPLATE_DIR}/waf', 'waf', chmod=0755) ^ SyntaxError: invalid token

patch has change for this, too :D

Attachments

Comment #3

Posted on May 10, 2014 by Happy Hippo

Well, no, disabling an assert does not solve the problem in general, and in this case there was something more serious to fix.

For the compilation issue, blame Python 3 for its idiotic syntax changes.

Update your copy to r6f0f1577586072e709966bcc7a0f700b103180b2

Comment #4

Posted on May 10, 2014 by Happy Ox

Thank you!

Status: Fixed

Labels:
Type-Unknown Priority-Medium