Segmentation fault in Blt_TreeDeleteEventHandler (treeview)
Brought to you by:
ghowlett
There is returned a Segmentation fault after execute in
a ActiveTCL8.4 with BLT2.4z in a GNU Linux operating system
blt::treeview $W.$tree -tree "mytree" -hideroot 1
This fail is not reported in windows with TCL8.4 with BLT2.4z.
Logged In: NO
A note:
The same segfault is obtained executing the trivial code:
package require BLT
blt::treeview .t
As documented in the manpage, the last command should create
it own tree object.
Please note the runtime environment is an ActiveTcl
installation, with
blt shared libraries copied into /usr/local/ActiveTcl/lib
and blt Tcl files
into /usr/local/ActiveTcl/lib/blt2.4
BLT's tree functions runs well.
Logged In: YES
user_id=2772
I have the same problem when running
package require BLT
::blt::hiertable .t -tree junk
GDB traceback:
Program received signal SIGSEGV, Segmentation fault.
0x00f394cc in Blt_TreeDeleteEventHandler () from
/usr/lib/blt2.4/libBLT24.so
(gdb) where
#0 0x00f394cc in Blt_TreeDeleteEventHandler ()
from /usr/lib/blt2.4/libBLT24.so
#1 0x00f8fc99 in Blt_TreeViewStyleTag () from
/usr/lib/blt2.4/libBLT24.so
#2 0x00b20db5 in Tcl_EventuallyFree () from
/usr/lib/libtcl8.4.so
#3 0x00f8fff2 in Blt_TreeViewStyleTag () from
/usr/lib/blt2.4/libBLT24.so
#4 0x009fdff5 in Tk_HandleEvent () from /usr/lib/libtk8.4.so
Fedore Core 2, tk 8.4.5, blt 2.4z