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

Regression: JVM aborts when clicking JScrollBar in JComboBox twice

XMLWordPrintable

    • x86, sparc
    • solaris, solaris_8

      JVM aborts on the latest Merlin build (b45) by clicking the JScrollBar twice. This problem is only reproducible on Solaris platform. I don't see the problem on Ladybird Solaris. Here is the procedure to reproduce the problem.

      1) Extract the attached sample program
      2) Run "java SetSelectionKey"
      3) Click on the JComboBox in "System Preferences" area -> drop down list appears
      4) Click on the JScrollBar at the right hand side -> drop down list goes behind the frame. This is a regression, too.
      5) Click on the JComboBox in "System Preferences" area -> drop down list disappears
      6) Click on the JComboBox in "System Preferences" area -> drop down list appears again
      7) Click on the JScrollBar at the right hand side -> code dumps as follows:

      i18n2:/home/naoto/src/java/SetSelectionKey 412 % /usr/local/java/jdk1.4.0/solsparc/bin/java SetSelectionKey
      # # An unexpected exception has been detected in native code outside the VM.# Program counter=0xf44205e4
      #
      # Problematic Thread: prio=6 tid=0x30a290 nid=0xc runnable
      #
      Abort

      Here is the gdb stack trace, which shows signal was generated at focusEventForProxy function:

      (gdb) where
      #0 0xff379bf0 in __sigprocmask () from /usr/lib/libthread.so.1
      #1 0xff36e628 in _resetsig () from /usr/lib/libthread.so.1
      #2 0xff36dd18 in _sigon () from /usr/lib/libthread.so.1
      #3 0xff370e8c in _thrp_kill () from /usr/lib/libthread.so.1
      #4 0xff2c9b10 in raise () from /usr/lib/libc.so.1
      #5 0xff2b512c in abort () from /usr/lib/libc.so.1
      #6 0xfdcd90e4 in __1cCosFabort6Fi_v_ () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #7 0xfdcdca4c in __1cbBhandle_unexpected_exception6FpnGThread_ipnHsiginfo_pC4_v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #8 0xfdce9e4c in JVM_handle_solaris_signal () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #9 0xfdcdc404 in signalHandler () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #10 0xff37919c in __libthread_segvhdlr () from /usr/lib/libthread.so.1
      #11 0xff37bd0c in __sighndlr () from /usr/lib/libthread.so.1
      #12 <signal handler called>
      #13 0xf4d3ca4c in focusEventForProxy () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/motif21/libmawt_g.so
      #14 0xf4d3d3e4 in processOneEvent () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/motif21/libmawt_g.so
      #15 0xf4d3be78 in awt_MToolkit_loop () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/motif21/libmawt_g.so
      #16 0xf4d40374 in Java_sun_awt_motif_MToolkit_run () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/motif21/libmawt_g.so
      #17 0xfb40d7b0 in ?? ()
      #18 0xfb4069c4 in ?? ()
      #19 0xfb400530 in ?? ()
      #20 0xfdadb2fc in __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #21 0xfdcdc2f4 in __1cCosUos_exception_wrapper6FpFpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v2468_v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #22 0xfdadab44 in __1cJJavaCallsEcall6FpnJJavaValue_nMmethodHandle_pnRJavaCallArguments_pnGThread__v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #23 0xfdad9c00 in __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #24 0xfdad9cfc in __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #25 0xfdb56de8 in __1cMthread_entry6FpnKJavaThread_pnGThread__v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #26 0xfddf0a30 in __1cKJavaThreadRthread_main_inner6M_v_ ()
         from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #27 0xfddf0858 in __1cKJavaThreadDrun6M_v_ () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so
      #28 0xfdcd6490 in _start () from /export/projects/jdk1.4/build/solaris-sparc/lib/sparc/client/libjvm_g.so


      naoto.sato@Eng 2000-12-19

      FYI. I noticed that this problem is reproducible when the drop down list is showing exceeding the JFrame's border.

      naoto.sato@Eng 2000-12-20

            ssisunw Ssi Ssi (Inactive)
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: