Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 tkgate 2.0 segfaults directly after startup

v2.0
open
nobody
None
5
2012-11-08
2012-11-08
Peter Simons
No

I managed to build tkgate-2.0-b10 successfuly, but the tkgate binary crashes immediately after startup. The stack trace at the time of the crash is:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff77e2768 in Tk_MakeWindowExist () from /nix/store/00dd0bhdlapabs4i4ijr4p39q57kb02z-tk-8.5.7/lib/libtk8.5.so
(gdb) bt
#0 0x00007ffff77e2768 in Tk_MakeWindowExist () from /nix/store/00dd0bhdlapabs4i4ijr4p39q57kb02z-tk-8.5.7/lib/libtk8.5.so
#1 0x000000000044fe19 in init_mainWindow (tcl=0x6b5290) at tkgatewin.c:1629
#2 0x000000000044ca46 in tkgate_posttk (_d=<optimized out>, tcl=0x6b5290, argc=<optimized out>, argv=<optimized out>) at tkgate.c:1084
#3 0x00007ffff7af614c in TclInvokeStringCommand () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#4 0x00007ffff7afa3f7 in TclEvalObjvInternal () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#5 0x00007ffff7b3d84d in TclExecuteByteCode () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#6 0x00007ffff7b7e03b in TclObjInterpProcCore () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#7 0x00007ffff7afa3f7 in TclEvalObjvInternal () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#8 0x00007ffff7afbc7b in TclEvalEx () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#9 0x00007ffff7b606fe in Tcl_FSEvalFileEx () from /nix/store/xcivkrq313d74d6yhzkr7mn3kmblnn0p-tcl-8.5.7/lib/libtcl8.5.so
#10 0x00007ffff77d4f72 in Tk_MainEx () from /nix/store/00dd0bhdlapabs4i4ijr4p39q57kb02z-tk-8.5.7/lib/libtk8.5.so
#11 0x0000000000403fa2 in main (argc=<optimized out>, argv=0x7fffffffd808) at main.c:104
(gdb)

Discussion