Re: [tcljava-user] Crash with tclblend 1.3.0 & JDK 1.4.0_02 but only under windows :-)
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2003-07-17 04:00:50
|
On Wed, 16 Jul 2003 08:23:25 +0100 (BST) George Petasis <pet...@ya...> wrote: ... > However, running this code through Java usually causes a crash > when the destructors of java objects (and as a result the underlying > C++ objects) are called. But this happens only when the objects > have been created at the tcl level, exposed to java through the > C++ API (wrapped in a class with proper refCounting) > and then freed from java through the object destructor. > If the object is created and freed from the java level, > everything works fine. You may have already read this, but there is some discussion of ref counts in the documentation that might interest you. http://tcljava.sourceforge.net/docs/TclJava/JavaRefCount.html > The crash did happen again, > but I was unable to debug it (I don't know how I can debug > such a process under windows :-)) Well, you could download gdb for Mingw and install it. That should at least be able to show you a backtrace of the crash. You could also install Dr. Mingw and install it as the default exception handler, it should also be able to show you a stack trace. Without knowing where exactly the crash is happening, there is not much I can suggest. Did you run "make test" after building Tcl Blend? If not, try it and see if the test cases are crashing. Mo |