Segmentation violation under jdk

Segmentation violation under jdk

Post by dcmy.. » Sun, 06 Oct 1996 04:00:00



Many, many thanks to the folks who ported jdk to FreeBSD.  I'm bringing
over some applets I wrote under Solaris, and find the following error when
attempting to run them.  The applet in question actually makes a socket
connection to a Postgres database and does a bunch of other stuff; all of
that stuff appears to work fine.  This error occurs when the AWT code is
invoked:

/home/myers/java/addressbook >java AddressBook

SIGSEGV   11*  segmentation violation
    sig 11, code 12 or 0xc, sc 0xefbfb75c, addr 0x93e0fff
        stackbase=0xefbfd648, stackpointer=0xefbfcf00

Full thread dump:
    "Finalizer thread" (TID:0x85653b0, sys_thread_t:0x9369f28) prio=1
    "Async Garbage Collector" (TID:0x8565368, sys_thread_t:0x9348f28) prio=1
    "Idle thread" (TID:0x8565320, sys_thread_t:0x9327f28) prio=0
    "clock handler" (TID:0x85651f8, sys_thread_t:0x9306f28) prio=11
    "main" (TID:0x85650a0, sys_thread_t:0x135300) prio=5 *current thread*
        sun.awt.motif.MToolkit.<init>(MToolkit.java:49)
        java.awt.Toolkit.getDefaultToolkit(Toolkit.java:199)
        java.awt.Window.getToolkit(Window.java:163)
        java.awt.Frame.addNotify(Frame.java:90)
        java.awt.Window.show(Window.java:114)
        AddressBook.main(AddressBook.java:585)
Monitor Cache Dump:



    unknown key (key=0x9348f28):     unowned
        Waiting to be notified:
            "Async Garbage Collector"
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"
    Monitor cache lock:     unowned
    Monitor registry:     monitor owner: "main"
Thread Alarm Q:
    sys_thread_t 0x9348f28   [Timeout in 65 ms]
Abort

Any ideas?

-David.