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

hotjava aborts with segmentation violation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1.1
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1.1
    • CPU:
      x86
    • OS:
      solaris_2.5
    • Verification:
      Verified

      Description

      use hotjava 1.0j with jdk1.1.1(that comes with the promoted build)

      1. On solaris, load page ca.living.net/cnty/sclara/welcome.htm
      2. modify the URL to: ca.living.net/cnty/sclara
      3. hit "RETURN"
      4. HJ aborts with segmentation violation.
      See the core dump:
      [Starting HotJava]
      [Initializing globals]
      [Creating frame]
      [Loading: /home/tinasu/.hotjava/urlpool]
      [Loaded DTD html32 in 397ms]
      [Saving: /home/tinasu/.hotjava/urlpool]
      [Saving cookies]
      [Saving: /home/tinasu/.hotjava/urlpool]
      [Starting HotJava]
      [Initializing globals]
      [Creating frame]
      [Loading: /home/tinasu/.hotjava/urlpool]
      [Loaded DTD html32 in 397ms]
      [Saving: /home/tinasu/.hotjava/urlpool]
      [Saving cookies]
      [Saving: /home/tinasu/.hotjava/urlpool]
      [Saving cookies]
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_ACCERR [addr: 0x4]

          stackbase=EF051000, stackpointer=EF050690

      Full thread dump:
          "DocParser" (TID:0xed60e0d0, sys_thread_t:0xecd70de0, state:R) prio=4
          java.io.BufferedWriter.<init>(BufferedWriter.java)
          java.io.BufferedWriter.<init>(BufferedWriter.java)
          java.io.PrintStream.<init>(PrintStream.java)
          java.io.PrintStream.<init>(PrintStream.java)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:272)
          sun.net.www.http.HttpClient.openServer(HttpClient.java:325)
          sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:214)
          sun.net.www.http.HttpClient.&lt;init&gt;(HttpClient.java:222)
          sun.net.www.http.HttpClient.New(HttpClient.java:233)
          sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
      va:235)
          sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
      tion.java:306)
          sun.hotjava.doc.DocParser.run(DocParser.java:266)
          java.lang.Thread.run(Thread.java)
          "Image Animator" (TID:0xed610070, sys_thread_t:0xecc20de0, state:R) prio
      =3
          sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:548)
          sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:223)
          sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java
      :219)
          sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:139)
          sun.awt.image.ImageFetcher.run(ImageFetcher.java:116)
          "Image Animator" (TID:0xed5fae68, sys_thread_t:0xecc80de0, state:R) prio
      =3
          sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:548)
          sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:223)
          sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java
      :219)
          sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:139)
          sun.awt.image.ImageFetcher.run(ImageFetcher.java:116)
          "AWT-Finalizer" (TID:0xed605778, sys_thread_t:0xecd10de0, state:CW) prio
      =9
          java.lang.Object.wait(Object.java)
          sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
          "HotJava Clock" (TID:0xed600ac0, sys_thread_t:0xecda0de0, state:CW) prio
      =7
          sun.hotjava.ui.ClockTicker.run(ClockTicker.java:55)
          java.lang.Thread.run(Thread.java)
          "Image Animator" (TID:0xed5ff638, sys_thread_t:0xece00de0, state:R) prio
      =3
          sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:179
      )
          sun.awt.image.InputStreamImageSource.setPixels(InputStreamImageSource.ja
      va:468)
          sun.awt.image.GifImageDecoder.sendPixels(GifImageDecoder.java:439)
          sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:537)
          sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:223)
          sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java
      :219)
          sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:139)
          sun.awt.image.ImageFetcher.run(ImageFetcher.java:116)
          "Screen Updater" (TID:0xed5c6b78, sys_thread_t:0xecdd0de0, state:R) prio
      =4
          sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:87)
          sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
          "AWT-Motif" (TID:0xed5b85c0, sys_thread_t:0xef050de0, state:R) prio=5 *c
      urrent thread*
          java.lang.Thread.run(Thread.java)
          "AWT-Input" (TID:0xed5b85a0, sys_thread_t:0xef080de0, state:CW) prio=5
          "AWT-EventQueue-0" (TID:0xed5b8580, sys_thread_t:0xef0b0de0, state:CW) p
      rio=5
          java.awt.EventQueue.getNextEvent(EventQueue.java)
          java.awt.EventDispatchThread.run(EventDispatchThread.java)
          "Alloc State Notifier" (TID:0xed5b72a8, sys_thread_t:0xef200de0, state:C
      W) prio=9
          sun.misc.VMNotifierThread.run(VM.java)
          "Red Alloc State Notifier" (TID:0xed5b7288, sys_thread_t:0xef230de0, sta
      te:CW) prio=10
          sun.misc.VMNotifierThread.run(VM.java)
          "Request Processor" (TID:0xed5b7140, sys_thread_t:0xef260de0, state:CW)
      prio=7
          sun.misc.Queue.dequeue(Queue.java:84)
          sun.misc.Queue.dequeue(Queue.java:71)
          sun.misc.RequestProcessor.run(RequestProcessor.java:56)
          java.lang.Thread.run(Thread.java)
          "Finalizer thread" (TID:0xed5991d8, sys_thread_t:0xef2c0de0, state:MW) p
      rio=1
          "Idle thread" (TID:0xed599190, sys_thread_t:0xef2f0de0, state:R) prio=0
          "Clock" (TID:0xed5990d0, sys_thread_t:0xef430de0, state:CW) prio=12
          "main" (TID:0xed5990a8, sys_thread_t:0x45af8, state:CW) prio=5
      Monitor Cache Dump:
          www.protocol.http.HttpURLConnection@ED60AFD0'>sun.net.www.protocol.http.HttpURLConnection@ED60AFD0/ED96FD28: owner "Do
      cParser" (0xecd70de0, 1 entry)
          sun.misc.VMNotifierThread@ED5B7288/ED702810: <unowned>
          Waiting to be notified:
              "Red Alloc State Notifier"
          <unknown key> (0xecc20de0): owner "Image Animator" (0xecc20de0, 1 entry)
          <unknown key> (0xecc80de0): owner "Image Animator" (0xecc80de0, 1 entry)
          <unknown key> (0xecda0de0): <unowned>
          Waiting to be notified:
              "HotJava Clock"
          sun.awt.image.ImageRepresentation@ED601F40/ED941620: owner "Image Animat
      or" (0xece00de0, 1 entry)
          sun.misc.VMNotifierThread@ED5B72A8/ED7028C8: <unowned>
          Waiting to be notified:
              "Alloc State Notifier"
          java.awt.EventQueue@ED5B8530/ED707830: <unowned>
          Waiting to be notified:
              "AWT-EventQueue-0"
          sun.awt.AWTFinalizer@ED605778/ED6C1170: <unowned>
          Waiting to be notified:
              "AWT-Finalizer"
          sun.awt.motif.MToolkit@ED5B8520/ED6C9728: owner "AWT-Motif" (0xef050de0,
       1 entry)
          Waiting to be notified:
              "AWT-Input"
          www.http.HttpClient@ED60AF38'>sun.net.www.http.HttpClient@ED60AF38/ED96FF10: owner "DocParser" (0xecd7
      0de0, 1 entry)
          sun.awt.ScreenUpdater@ED5C6B78/ED6EFFD8: owner "Screen Updater" (0xecdd0
      de0, 1 entry)
          sun.misc.Queue@ED5B7170/ED702370: <unowned>
          Waiting to be notified:
              "Request Processor"
      Registered Monitor Dump:
          Thread queue lock: <unowned>
          Waiting to be notified:
              "main"
          Name and type hash table lock: <unowned>
          String intern lock: <unowned>
          JNI global reference lock: <unowned>
          BinClass lock: <unowned>
          Class loading lock: <unowned>
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: owner "DocParser" (0xecd70de0, 1 entry)
          Has finalization queue lock: owner "DocParser" (0xecd70de0, 1 entry)
          Finalize me queue lock: owner "DocParser" (0xecd70de0, 1 entry)
          Waiting to enter:
              "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 "AWT-Motif" (0xef050de0, 1 entry)
      Thread Alarm Q:
          sys_thread_t 0xecda0de0 [Timeout in 5207 ms]

        Attachments

          Activity

            People

            Assignee:
            tsusunw Tina Su (Inactive)
            Reporter:
            tsusunw Tina Su (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: