[Xotcl] troubleshooting
Gustaf Neumann
neumann at wu-wien.ac.at
Thu Oct 14 03:56:00 CEST 2010
Hi Victor,
our typical test setup is to run the regression test with
8.5.9, tcl 8.6b1,
and with 8.6head version (where i have applied the
SANE-NRE-patch
from Miguel). i just double-checked, for me all three test
settings
work fine.
does the regression work on your installation with tcl 8.6b4
(run: make test)?
If they run fine, and you experience a crash with your
application,
the following works probably best:
Strategy a: try to isolate and pinpoint the problem from the
tcl layer
by simplifying your script. if the problem can be
reproduced with
a few lines of code, send it to me.
Strategy b: mostly for c-literate developers: use gdb.
- compile tcl and nsf with -g enabled (e.g. add it to
the compile flags in the Makefile and recompile with
"make clean" and "make")
- start the tcl shell under gdb, like e.g.
gdb /usr/local/src/tcl8.5.9/unix/tclsh
- start your application from gdb using
run ..../yourapp.tcl
- when it crashes, type in
where
an you will get the backtrace.
maybe what you see makes sense to you.
if not, send it to me, i'll try me best on it.
all the best
-gustaf
On 14.10.10 00:33, Victor Mayevski wrote:
> I have just tried my application on latest TCL 8.6b4 and it crashes (Segmentation fault). The same application works just fine in TCL 8.5.9. Any idea how I can troubleshoot it? Tools, techniques etc?
>
> Thank you
> _______________________________________________
> Xotcl mailing list
> Xotcl at alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
More information about the Xotcl
mailing list