Ben Hague wrote:
Hi,
I've been having a problem with the latest git code. In docking mode if I open the Tree Window, then close it, and then reopen it it segfaults. In tcl\windows\tree.tcl there's a proc called ::tree::closeTree which has the line ::docking::cleanup .treeWin$baseNumber. If I comment this out it works. Does anyone know what this is doing and why it's failing?
If I remeber correctly, when you create a docked windows a group of variables are created to store attributes such as size, position, etc... ::docking::cleanup should clear that vars (there is a sort of constructor function ::docking::CreateWindowOrASimilarName and ::docking::cleanup act as a sort of destructor). However segfaults are caused by c code, on linux you can use gdb to get the exact line that cause the segfault.
Bye,
Fulvio
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to