Hi,
I am new to TclBlend. When I tried to run the small example from
http://dev.scriptics.com/man/java1.1/TclJavaLib/Interp.htm#M25
I got the following message:



SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]: 
    si_code [1]: SEGV_MAPERR [addr: 0x4]

        stackpointer=FFBEE1D0

Inconsistent thread : best efforts attempt (may fail)
"Finalizer" (TID:0x153a78, sys_thread_t:0x1539b8, state:CW, thread_t: t@6,
threadID:0xfecb1dc8, stack_bottom:0xfecb2000, stack_size:0x20000) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
-------------------

Inconsistent thread : best efforts attempt (may fail)
"Reference Handler" (TID:0x150a98, sys_thread_t:0x1509d8, state:CW,
thread_t: t@5, threadID:0xfece1dc8, stack_bottom:0xfece2000,
stack_size:0x20000) prio=10

[1] java.lang.Object.wait(Object.java:424)

[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
-------------------

Inconsistent thread : best efforts attempt (may fail)
"Signal dispatcher" (TID:0x13cd78, sys_thread_t:0x13ccb8, state:MW,
thread_t: t@4, threadID:0xfed31dc8, stack_bottom:0xfed32000,
stack_size:0x20000) prio=10

-------------------

Inconsistent thread : best efforts attempt (may fail)
"main" (TID:0x38938, sys_thread_t:0x38878, state:R, thread_t: t@1,
threadID:0x25118, stack_bottom:0xffbf0000, stack_size:0x20000) prio=5
*current thread*

[1] tcl.lang.Interp.create(Native Method)
[2] tcl.lang.Interp.<init>(Interp.java:130)
[3] jamesxxx.main(jamesxxx.java:8)
-------------------
Abort


Here is the example:

import tcl.lang.*;

public class test {

  public static final void main(String argv[]) {
    try {
      Interp interp;
      interp = new Interp();
      interp.eval("puts {Hello, world}");
      interp.dispose();
    } catch( TclException ex ) {}
  }



I'm running it on the SunOS strome 5.7 Generic_106541-09 sun4u sparc
SUNW,Ultra-5_10 and I'm using tcl 8.3.1, tclBlend1.2.5 and jdk1.2.2.

Could anyone tell me why this happened and how to fix it to make this
small example work.

Any help will be appreciated.

Zhumei Wang

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to