Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4024010
Votes 0
Synopsis Solaris: calling java.awt.Toolkit.getDefaultToolkit (with no motif) => segfau
Category java:classes_awt
Reported Against 1.1 , 1.1beta2
Release Fixed
State 11-Closed, duplicate of 4281163, bug
Priority: 4-Low
Related Bugs 4281163
Submit Date 04-JAN-1997
Description




Calling java.awt.Toolkit.getDefaultToolkit when there's no motif
libraries installed causes a segfault, as follows. (Java 1.1)

SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Error 0
    si_code [1]: SEGV_ACCERR [addr: 0xee076000]
    stackbase=EE0A2000, stackpointer=EE09D210

    Full thread dump:
    "Request Delegator" (TID:0xee400560, sys_thread_t:0xee0a1de0) prio=5 *curren
t thread*
    sun.awt.motif.MToolkit.<init>(MToolkit.java:41)
    java.awt.Toolkit.getDefaultToolkit(Toolkit.java:191)
    g2.Images.<clinit>(Images.java:26)

======================================================================
Work Around
Install a motif library.
Evaluation
We could add some code that checks for this condion and exits gracefully.
----------------------------------------------------------------

This is a bug on Windows. It needs to be investigated further.

  xxxxx@xxxxx   1997-11-24

This will be resolved with headless Java (4281163).
  xxxxx@xxxxx   2000-03-13
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang