Are you running under Solaris? Also, what version of Tcl are you using?
If you do not have Tcl 8.0.5 you should get the source for it and
compile it with the --enable-symbols option to configure. Once you
have a debug version of Tcl and Tcl Blend you should be able to attach
gdb to a running Tcl Blend shell. Start up Tcl Blend by typing
"make shell" in the build directory. Then type "package require java"
at the command line. Once this is done type pid to get the process id
and then start up gdb with the full path name of the tclsh executable
and the pid that you got from the Tcl Blend command line.

(like so)
gdb PATH_TO_TCLSH PID


After you attach gdb to the Tcl Blend shell type "cont" into the gdb
shell. Now go back to the Tcl Blend shell and type
"cd ../tests ; source all". That will run the regression tests
with the full debugger attached. Oh yeah, before you run
"source all" set a variable called VERBOSE in the Tcl Blend shell.
That will print out extra info while the tests are being run.

Please try that and post the results back to the list. I know this
is a lot of steps but for now it is the only way to debug it. I
have already added some new rules to the makefile for the 1.2.4
version that will do all this automatically so it will be easier
in the future.

later
mo


On Fri, 23 Jul 1999, Suvarna Ayyagari wrote:

> Hi All,
> 
> I am trying to build Tclblend1.2.3. I got throught the compilation.
> I am using tcl8.0 and JDK 1.1.6 with native threads.
> 
> I got a tclblend shell when I did make shell and then I did 'make tests'
> 
> At this point I get a bus error at javaUtil.test. Here's a print out of 
> 'make test'
> 
> Any help is appreciated.
> 
> Thanks
> Suvarna
> 
> pwd is /usr/test/tools/local/cte/pub/tclBlend1.2.3/tests
> CLASSPATH is 
> 
>/usr/test/java/jdk1.1.6/lib/classes.zip:/usr/test/tools/local/cte/pub/tclBlend1.2.3/unix/tests:/usr/test/tools/local/cte/pub/tclBlend1.2.3/unix/tclblend.jar:/usr/test/tools/local/cte/pub/tclBlend1.2.3/unix/tcljava.jar
> auto_path is /usr/test/tools/local/cte/pub/tclBlend1.2.3/unix 
> /usr/test/tools/local/cte/pub/tclBlend1.2.3/unix 
> /usr/test/tools/local/cte/pub/tcl8.0/library /usr/test/tools/local/cte/lib
> tcljava/ArrayObject.test
> tcljava/AutomaticSignature.test
> tcljava/BeanEvent.test
> tcljava/BeanEventMgr.test
> tcljava/CdCmd.test
> 
> 
> ==== CdCmd-1.1 cmdProc
> ==== Contents of test case:
> 
>     list [catch {cd foo bar} msg] $msg
> 
> ==== Result was:
> 1 {wrong # args: should be "cd dirName"}
> ---- Result should have been:
> 1 {wrong # args: should be "cd ?dirName?"}
> ---- CdCmd-1.1 FAILED
> tcljava/ClassRep.test
> tcljava/FieldSig.test
> tcljava/FileCmd.test
> tcljava/FuncSig.test
> tcljava/JavaBindCmd.test
> tcljava/JavaCallCmd.test
> tcljava/JavaCastCmd.test
> tcljava/JavaDefineClassCmd.test
> tcljava/JavaEventCmd.test
> tcljava/JavaFieldCmd.test
> 
> 
> ==== javaFieldCmd-6.7 test -Inf
> ==== Contents of test case:
> 
>     java::field java.lang.Double NEGATIVE_INFINITY
> 
> ==== Result was:
> -Infinity
> ---- Result should have been:
> -Inf
> ---- javaFieldCmd-6.7 FAILED
> 
> 
> ==== javaFieldCmd-6.8 test Inf
> ==== Contents of test case:
> 
>     java::field java.lang.Double POSITIVE_INFINITY
> 
> ==== Result was:
> Infinity
> ---- Result should have been:
> Inf
> ---- javaFieldCmd-6.8 FAILED
> tcljava/JavaInfoCmd.test
> tcljava/JavaInstanceofCmd.test
> tcljava/JavaInvoke.test
> tcljava/JavaIsNullCmd.test
> tcljava/JavaLoadCmd.test
> tcljava/JavaLock.test
> tcljava/JavaNewCmd.test
> tcljava/JavaNullCmd.test
> tcljava/JavaPropCmd.test
> tcljava/JavaThrowCmd.test
> tcljava/JavaTryCmd.test
> tcljava/LsearchCmd.test
> tcljava/PkgInvoker.test
> tcljava/Procedure.test
> tcljava/PropertySig.test
> tcljava/PwdCmd.test
> tcljava/ReflectException.test
> tcljava/ReflectObject.test
> tcljava/RegexpCmd.test
> tcljava/ReturnCmd.test
> tcljava/SwitchCmd.test
> tcljava/TclEvent.test
> tcljava/UpdateCmd.test
> tclblend/javaCmd.test
> tclblend/javaIdle.test
> tclblend/javaInterp.test
> tclblend/javaObj.test
> tclblend/javaTimer.test
> tclblend/javaUtil.test
> SIGBUS    10*  bus error
>     si_signo [10]: SIGBUS    10*  bus error
>     si_errno [0]: Error 0
>     si_code [1]: BUS_ADRALN [addr: 0x20202083]
> 
>         stackbase=0, stackpointer=EFFFDC2C
> 
> Full thread dump:
>     "SIGQUIT handler" (TID:0xed700298, sys_thread_t:0xb9e20, state:R, 
> thread_t: t@5, sp:0xef343b10 threadID:0xef343e00, stack_base:0xef343d94, 
> stack_size:0x0) prio=0
>     "Finalizer thread" (TID:0xed700088, sys_thread_t:0xb9d90, state:CW, 
> thread_t: t@4, sp:0xef373a40 threadID:0xef373e00, stack_base:0xef373d94, 
> stack_size:0x0) prio=1
>     "main" (TID:0xed7000b0, sys_thread_t:0xb8cb8, state:R, thread_t: t@1, 
> sp:0xefffa988 threadID:0x6aa40, stack_base:0x0, stack_size:0x800000) prio=5 
> *current thread*
> Monitor Cache Dump:
>     java.lang.Class@ED704098/ED74DA18: owner "main" (0xb8cb8, 1 entry)
> Registered Monitor Dump:
>     Verifier lock: <unowned>
>     Thread queue lock: <unowned>
>     Name and type hash table lock: <unowned>
> Waiting to be notified:
>             "Finalizer thread" (0xb9d90)
>     Monitor registry: owner "main" (0xb8cb8, 1 entry)
> *** Error code 134

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
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]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to