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

segv in SocketRead? in 1.2.1 "F"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.2
    • core-libs
    • generic
    • solaris_2.5

      Running the JCK test:
      api/java_awt/java2d/font/TextLayout/index.html#GetCaretTesttestCase11

      we see a sigsegv. I am not sure, but it appears this may be coming
      from net.SocketRead. Test system is 2 processor Solaris 2.6
      We are testing with JIT off.

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

              stackpointer=ef1011a0


      Full thread dump Classic VM (JDK-1.2.2-F, green threads):
          "JavaTest-SlaveThread-1" (TID:0xeb68e840, sys_thread_t:0x18a768, state:CW) prio=3
              at java.net.SocketInputStream.socketRead(Native Method)
              at java.net.SocketInputStream.read(SocketInputStream.java:90)
              at java.net.SocketInputStream.read(SocketInputStream.java:106)
              at java.io.DataInputStream.readShort(DataInputStream.java:268)
              at javasoft.sqe.javatest.SlaveThread.handleRequest(Slave.java:359)
              at javasoft.sqe.javatest.SlaveThread.run(Slave.java:305)
          "JavaTest-SlaveThread-0" (TID:0xeb68e8a0, sys_thread_t:0x1774e0, state:R) prio=3
              at java.io.BufferedWriter.<init>(BufferedWriter.java:94)
              at java.io.BufferedWriter.<init>(BufferedWriter.java:77)
              at java.io.PrintStream.<init>(PrintStream.java:85)
              at java.io.PrintStream.<init>(PrintStream.java:63)
              at javasoft.sqe.javatest.lib.Deprecated.createPrintStream(Deprecated.java:46)
              at javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd.executeOldTest(ExecJCKTestSameJVMCmd.java:224)
              at javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:135)
              at javasoft.sqe.javatest.SlaveThread.executeCommand(Slave.java:549)
              at javasoft.sqe.javatest.SlaveThread.handleRequest(Slave.java:380)
              at javasoft.sqe.javatest.SlaveThread.run(Slave.java:305)
          "Timer0" (TID:0xeb68e2b0, sys_thread_t:0x17f228, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at javasoft.sqe.javatest.util.Timer.run(Timer.java:149)
          "Finalizer" (TID:0xeb6666c8, sys_thread_t:0x5ca60, state:CW) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0xeb6664a0, sys_thread_t:0x74e58, state:CW) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0xeb6664d8, sys_thread_t:0x5d160, state:CW) prio=5
          "main" (TID:0xeb666388, sys_thread_t:0x26da0, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at javasoft.sqe.javatest.Slave.run(Slave.java:130)
              at javasoft.sqe.javatest.SlaveMain.main(SlaveMain.java:176)
      Monitor Cache Dump:
          javasoft.sqe.javatest.Slave@EB68DB48/EBDB1388: <unowned>
              Waiting to be notified:
                  "main" (0x26da0)
          java.lang.ref.Reference$Lock@EB6664B0/EBCD0D10: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x74e58)
          java.lang.ref.ReferenceQueue$Lock@EB6666D8/EBCD1278: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x5ca60)
          javasoft.sqe.javatest.util.Timer@EB68E2B0/EBDB58A0: <unowned>
              Waiting to be notified:
                  "Timer0" (0x17f228)
      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: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Monitor cache lock: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
              Waiting to be notified:
                  "Signal dispatcher" (0x5d160)
          Child death monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
              Waiting to be notified:
                  <unknown thread> (0x2bb00)
          Thread queue lock: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Monitor registry: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry

      SIGABRT 6* abort (generated by abort(3) routine)
          si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
          si_errno [0]: Error 0
          si_code [0]: SI_USER [pid: 25818, uid: 37364]
              stackpointer=ef1011a0

      Full thread dump Classic VM (JDK-1.2.2-F, green threads):
          "JavaTest-SlaveThread-1" (TID:0xeb68e840, sys_thread_t:0x18a768, state:CW) prio=3
              at java.net.SocketInputStream.socketRead(Native Method)
              at java.net.SocketInputStream.read(SocketInputStream.java:90)
              at java.net.SocketInputStream.read(SocketInputStream.java:106)
              at java.io.DataInputStream.readShort(DataInputStream.java:268)
              at javasoft.sqe.javatest.SlaveThread.handleRequest(Slave.java:359)
              at javasoft.sqe.javatest.SlaveThread.run(Slave.java:305)
          "JavaTest-SlaveThread-0" (TID:0xeb68e8a0, sys_thread_t:0x1774e0, state:R) prio=3
              at java.io.BufferedWriter.<init>(BufferedWriter.java:94)
              at java.io.BufferedWriter.<init>(BufferedWriter.java:77)
              at java.io.PrintStream.<init>(PrintStream.java:85)
              at java.io.PrintStream.<init>(PrintStream.java:63)
              at javasoft.sqe.javatest.lib.Deprecated.createPrintStream(Deprecated.java:46)
              at javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd.executeOldTest(ExecJCKTestSameJVMCmd.java:224)
              at javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:135)
              at javasoft.sqe.javatest.SlaveThread.executeCommand(Slave.java:549)
              at javasoft.sqe.javatest.SlaveThread.handleRequest(Slave.java:380)
              at javasoft.sqe.javatest.SlaveThread.run(Slave.java:305)
          "Timer0" (TID:0xeb68e2b0, sys_thread_t:0x17f228, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at javasoft.sqe.javatest.util.Timer.run(Timer.java:149)
          "Finalizer" (TID:0xeb6666c8, sys_thread_t:0x5ca60, state:CW) prio=8
              at java.lang.Object.wait(Native Method)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
          "Reference Handler" (TID:0xeb6664a0, sys_thread_t:0x74e58, state:CW) prio=10
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
          "Signal dispatcher" (TID:0xeb6664d8, sys_thread_t:0x5d160, state:CW) prio=5
          "main" (TID:0xeb666388, sys_thread_t:0x26da0, state:CW) prio=5
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:424)
              at javasoft.sqe.javatest.Slave.run(Slave.java:130)
              at javasoft.sqe.javatest.SlaveMain.main(SlaveMain.java:176)
      Monitor Cache Dump:
          javasoft.sqe.javatest.Slave@EB68DB48/EBDB1388: <unowned>
              Waiting to be notified:
                  "main" (0x26da0)
          java.lang.ref.Reference$Lock@EB6664B0/EBCD0D10: <unowned>
              Waiting to be notified:
                  "Reference Handler" (0x74e58)
          java.lang.ref.ReferenceQueue$Lock@EB6666D8/EBCD1278: <unowned>
              Waiting to be notified:
                  "Finalizer" (0x5ca60)
          javasoft.sqe.javatest.util.Timer@EB68E2B0/EBDB58A0: <unowned>
              Waiting to be notified:
                  "Timer0" (0x17f228)
      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: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Monitor cache lock: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Dynamic loading lock: <unowned>
          Monitor IO lock: <unowned>
          User signal monitor: <unowned>
              Waiting to be notified:
                  "Signal dispatcher" (0x5d160)
          Child death monitor: <unowned>
          I/O monitor: <unowned>
          Alarm monitor: <unowned>
              Waiting to be notified:
                  <unknown thread> (0x2bb00)
          Thread queue lock: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry
          Monitor registry: owner "JavaTest-SlaveThread-0" (0x1774e0) 1 entry


      ==============jtr file===============
      #Test Results
      #Wed Feb 10 11:27:16 PST 1999
      testsuite=/java/jck/workspaces/stageb/int-build/unzip/JCK-runtime-api-122/test
      source=GetCaretTest.java
      executeClass=javasoft.sqe.tests.api.java.awt.java2d.font.TextLayout.GetCaretTe
      title=TextLayout.getLogicalHighlightShape(int,int)
      status=Failed. premature EOF from slave
      work=/java/jck/workspaces/stageb/int-build/test/JCK-runtime-api-122/runtime-ba
      execStatus=Failed. premature EOF from slave
      description=file:/java/jck/workspaces/stageb/int-build/unzip/JCK-runtime-api-1
      tCaretTesttestCase11
      id=GetCaretTesttestCase11
      javatestVersion=JT_2.0_zn
      sections=testExecute testExecute
      file=/java/jck/workspaces/stageb/int-build/unzip/JCK-runtime-api-122/tests/api
      end=Wed Feb 10 11:27:16 PST 1999
      start=Wed Feb 10 11:27:13 PST 1999
      keywords=positive&nbsp; runtime
      environment=jck-runtime-singleJVM
      timeout=120
      executeArgs=-TestCaseID testCase11 testCase27

      test: api/java_awt/java2d/font/TextLayout/index.html#GetCaretTesttestCase11
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.SlaveCommand javasoft.sqe.javatest.lib.Exec
      ont.TextLayout.GetCaretTest -TestCaseID testCase11 testCase27
      ----------ref:testExecute(0/0)----------
      ----------log:testExecute(0/0)----------
      command result: Failed. premature EOF from slave
      test result: Failed. premature EOF from slave

      ====== stevef, 3/11/99 ======

      Jeff, I suspect this bug may really be due to 4215393 which is a reproducible
      vm bug. Hopefully this bug will go away when 4215393 is fixed.

            jdn Jeffrey Nisewanger (Inactive)
            sflemingsunw Steve Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: