Don't know if the mailing list is the best place to post bug reports. Let me know the correct way to do it.
On a clean 32 bit debian based system, fresh compilation of TCL 8.5.9 and XOTcl/Next, TCL will crash when calling "obj info has type" without arguments or with wrong arguments:
nx::Class create C C create obj obj has type tclsh: ./generic/nsf.c:9853: IsSubType: Assertion `cl && subcl' failed.
On 09.10.10 21:05, vitick@gmail.com wrote:
Don't know if the mailing list is the best place to post bug reports. Let me know the correct way to do it.
let's hope, there are not to many! if the report is short (like the current one), you can send it here. if it is more complex, please send to me + stefan.
the requiredness of several info commands was still incorrect. these are fixed by now.
-gustaf neumann
On a clean 32 bit debian based system, fresh compilation of TCL 8.5.9 and XOTcl/Next, TCL will crash when calling "obj info has type" without arguments or with wrong arguments:
nx::Class create C C create obj obj has type tclsh: ./generic/nsf.c:9853: IsSubType: Assertion `cl&& subcl' failed. _______________________________________________ Xotcl mailing list Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
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
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@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl