Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4082904

The JDK 1.1.2 can't handle grey scale displays (X11R6)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description



      Name: joT67522 Date: 09/30/97


      [Please, give an email address for bug reports (or have I just
      missed it?). Bug reports by web forms is just silly handholding
      (supply a bug report template instead).]

      JDK 1.1.2 (and 1.1.1) crashes when running the test program
      below, when displaying output on a X11R6.3 server (on a
      Sun IPX running NetBSD, but that shouldn't matter). It works
      with 1.0.2. The X server is a vanilla installation of the latest
      (last) version from the X consortium, i.e., R6.3, public-patch-1.


      Test program:

      import java.awt.Frame;
      import java.awt.Label;

      public class Foo extends Frame {

        Foo() {
          super("Foo");
          add("Center", new Label("Hello world!"));
          pack();
          show();
        }

        public static void main(String args[]) {
          Foo win = new Foo();
        }
        
      }


      Output when running on a Sun Ultra running SunOS 5.5.1:

      nevada>/proj/cbs/java/JDK-1.1.2/bin/java Foo
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_ACCERR [addr: 0x0]

              stackbase=EFFFF530, stackpointer=EFFFE110

      Full thread dump:
          "AWT-Motif" (TID:0xee704a78, sys_thread_t:0xedfb1de0, state:MW) prio=5
              java.lang.Thread.run(Thread.java)
          "AWT-Input" (TID:0xee704a98, sys_thread_t:0xedfe1de0, state:CW) prio=5
          "AWT-EventQueue-0" (TID:0xee704aa8, sys_thread_t:0xee011de0, state:CW) prio=5
              java.lang.Object.wait(Object.java)
              java.awt.EventQueue.getNextEvent(EventQueue.java:118)
              java.awt.EventDispatchThread.run(EventDispatchThread.java:55)
          "Finalizer thread" (TID:0xee700220, sys_thread_t:0xee2c1de0, state:CW) prio=1
          "Async Garbage Collector" (TID:0xee7001d8, sys_thread_t:0xee2f1de0, state:CW) prio=1
          "Idle thread" (TID:0xee700190, sys_thread_t:0xee3c1de0, state:R) prio=0
          "Clock" (TID:0xee7000d0, sys_thread_t:0xee3f1de0, state:CW) prio=12
          "main" (TID:0xee7000a8, sys_thread_t:0x421c8, state:R) prio=5 *current thread*
              sun.awt.motif.MFramePeer.<init>(MFramePeer.java:59)
              sun.awt.motif.MToolkit.createFrame(MToolkit.java:120)
              java.awt.Frame.addNotify(Frame.java:139)
              java.awt.Window.pack(Window.java:113)
              Foo.<init>(Foo.java:9)
              Foo.main(Foo.java:14)
      Monitor Cache Dump:
          <unknown key> (0xee2f1de0): <unowned>
              Waiting to be notified:
                  "Async Garbage Collector"
          sun.awt.motif.MToolkit@EE704A28/EE74F530: owner "main" (0x421c8, 1 entry)
              Waiting to enter:
                  "AWT-Motif"
              Waiting to be notified:
                  "AWT-Input"
          java.awt.EventQueue@EE704A58/EE74F5F0: <unowned>
              Waiting to be notified:
                  "AWT-EventQueue-0"
      Registered Monitor Dump:
          Thread queue lock: <unowned>
          Name and type hash table lock: <unowned>
          String intern lock: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class loading lock: <unowned>
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Has finalization queue lock: <unowned>
          Finalize me queue lock: <unowned>
              Waiting to be notified:
                  "Finalizer thread"
          Monitor IO lock: <unowned>
          Child death monitor: <unowned>
          Event monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
              Waiting to be notified:
                  "Clock"
          Sbrk lock: <unowned>
          Monitor cache expansion lock: <unowned>
          Monitor registry: owner "main" (0x421c8, 1 entry)
      Thread Alarm Q:
          sys_thread_t 0xee2f1de0 [Timeout in 650 ms]
      Abort


      I can send you core dumps if it would be of any help.
      company - Ericsson Radio Systems AB , email - ###@###.###
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            rraysunw Richard Ray (Inactive)
            Reporter:
            johsunw Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: