[2452] in java-interest
Re: jdk demos
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Mon Oct 2 22:36:56 1995
Date: Mon, 2 Oct 1995 10:04:38 -0700
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: Calvin.Austin@UK.Sun.COM
Cc: java-interest@java.Eng.Sun.COM
Hi,
> I have looked through the mail achives and known bugs but haven't been able
> to find the problem I have with some of the JDK demos applets. Some
> applets work fine but others like Animator churn out some debugging info
> and then dump core. Has anyone else experienced this or is there
> something wrong with my setup
Is your DISPLAY environment variable set? There is a bug in the JDK
that causes a coredump if it isn't.
Have fun,
Arthur van Hoff
>
> Thanks for any replies, here is the output
>
> corn% ../../bin/appletviewer example1.html
> SIGSEGV 11* segmentation violation
> si_signo [11]: SIGSEGV 11* segmentation violation
> si_errno [0]: Error 0
> si_code [1]: SEGV_ACCERR [addr: 0xc]
>
> stackbase=EFFFEB2C, stackpointer=EFFFB570
>
> Full thread dump:
> "Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
> "Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
> "Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
> "clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
> "main" (TID:0xee300048, sys_thread_t:0x60118) prio=5 *current thread*
> sun.awt.motif.MToolkit.<init>(MToolkit.java:33)
> java.awt.Toolkit.getDefaultToolkit(Toolkit.java:178)
> java.awt.Window.getToolkit(Window.java:126)
> java.awt.Frame.addNotify(Frame.java:63)
> java.awt.Window.pack(Window.java:67)
> sun.applet.AppletViewer.<init>(AppletViewer.java:109)
> sun.applet.AppletViewer.parse(AppletViewer.java:507)
> sun.applet.AppletViewer.main(AppletViewer.java:590)
> Monitor Cache Dump:
> unknown key (key=0xef4c0de8): unowned
> Waiting to be notified:
> "Async Garbage Collector"
> unknown key (key=0x9fb38): monitor owner: "main"
> sun.awt.motif.MToolkit@EE302710/EE33D2A0 (key=0xee302710): monitor
owner: "main"
> java.lang.Class@EE302610/91A60 (key=0xee302610): monitor owner: "main"
> sun.applet.AppletViewer@EE302290/EE33C170 (key=0xee302290): monitor
owner: "main"
> Registered Monitor Dump:
> Finalize me queue lock: unowned
> Waiting to be notified:
> "Finalizer thread"
> Thread queue lock: unowned
> Class lock: unowned
> Java stack lock: unowned
> Code rewrite lock: unowned
> Heap lock: unowned
> Has finalization queue lock: unowned
> Monitor IO lock: unowned
> Child death monitor: unowned
> Event monitor: unowned
> I/O monitor: unowned
> Alarm monitor: unowned
> Waiting to be notified:
> "clock handler"
> Sbrk lock: unowned
> Monitor cache lock: unowned
> Monitor registry: monitor owner: "main"
> Thread Alarm Q:
> sys_thread_t 0xef4c0de8 [Timeout in 900 ms]
> Segmentation Fault
> corn% ls
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com