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

SEGV in getGraphics() when launching app

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.0
    • 1.2.0
    • hotspot
    • 1.2fcs
    • sparc
    • solaris_2.6
    • Not verified

      This SEGV appears to be a recurring problem on Solaris 2.6 - 24 bit. It shows itself maybe one out of a dozen launches. The source code has been attached. Compile & run. run, compile, run, run, run, compile, run, run, compile, run... maybe you'll see the SEGV by now.


      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_MAPERR [addr: 0xeafc0000]

              stackpointer=EAAC0C64

      Full thread dump:
          "Rotator3D Demo" (TID:0xebcb41a8, sys_thread_t:0x25adf8, state:R) prio=1 *current thread*
              at sun.awt.motif.X11Graphics.cacheInit(Native Method)
              at sun.awt.motif.X11Graphics.<clinit>(X11Graphics.java:96)
              at sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:251)
              at java.awt.Component.getGraphics(Component.java:1487)
              at J2DCanvas.run(J2DCanvas.java:269)
              at java.lang.Thread.run(Thread.java:472)
          "Screen Updater" (TID:0xebcb4310, sys_thread_t:0x25a300, state:CW) prio=4
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:303)
              at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:79)
              at sun.awt.ScreenUpdater.run(ScreenUpdater.java:99)
          "AWT-Motif" (TID:0xebcae800, sys_thread_t:0x207eb0, state:CW) prio=5
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:472)
          "AWT-Input" (TID:0xebcaebe0, sys_thread_t:0x206da0, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at sun.awt.motif.InputThread.run(Native Method)
          "AWT-EventQueue-0" (TID:0xebcaeb38, sys_thread_t:0x1ee3a0, state:CW) prio=6
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:303)
              at java.awt.EventQueue.getNextEvent(EventQueue.java:175)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:62)
          "Finalizer" (TID:0xebc983a0, sys_thread_t:0x64b08, state:CW) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:113)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:128)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:128)
          "Reference Handler" (TID:0xebc98430, sys_thread_t:0x634d8, state:CW) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:303)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:209)
          "Signal dispatcher" (TID:0xebc982e8, sys_thread_t:0x366d8, state:CW) prio=10
          "Thread-1" (TID:0xebcb4308, sys_thread_t:0x29568, state:CW) prio=5
      Monitor Cache Dump:
          sun.awt.motif.MToolkit@EBCAED10/EBD0C5D0: owner "AWT-Motif" (0x207eb0, 1 entry)
              Waiting to be notified:
                  "AWT-Input" (0x206da0)
      Registered Monitor Dump:
          utf8 hash table: <unowned>
          JNI pinning lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class linking lock: <unowned>
          System class loader lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: <unowned>
          Dynamic loading lock: owner "Rotator3D Demo" (0x25adf8, 1 entry)
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
              Waiting to be notified:
                  "Signal dispatcher" (0x366d8)
          Child death monitor: <unowned>
          I/O monitor: <unowned>
              Waiting to be notified:
                  "AWT-Motif" (0x207eb0)
          Alarm monitor: <unowned>
              Waiting to be notified:
              Internal clock thread (ef7a0bfc)
          Thread queue lock: <unowned>
              Waiting to be notified:
                  "Thread-1" (0x29568)
          Monitor registry: owner "Rotator3D Demo" (0x25adf8, 1 entry)
      Segmentation Fault

            never Tom Rodriguez
            blichtensunw Brian Lichtenwalter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: