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

fp.bugs 4166 javap does GPF/Seg Fault on Animator demo

    XMLWordPrintable

Details

    • sparc
    • solaris_2.5

    Description

      From: "Thomas M. Wicki" <###@###.###>
      This does not look like form output to me.


      Hello:

      I found recently a problem with your disassembler 'javap -c'. The details of this bug
      are as follows (according to your bug report web page):

      1. Bug
      2. JDK
      3. JDK Versions 1.0 and 1.0.1
      4. disassembler 'javap -c' crashes when trying to disassemble
      Sun's demo program 'Animator'
      5. IBM-compatible laptop running Windows 95
      6. Sun's demo program 'Animator'
      7. 'javap -c Animator'
      8. "This program has performed an illegal operation and will
      be shut down"

      JAVAP caused an invalid page fault in
      module JAVAP.EXE at 0137:00409231.
      Registers:
      EAX=00000009 CS=0137 EIP=00409231 EFLGS=00010206
      EBX=006683aa SS=013f ESP=0064f948 EBP=00000018
      ECX=815472f8 DS=013f ESI=006666ec FS=0c17
      EDX=c1094bd8 ES=013f EDI=7fda027b GS=0000
      Bytes at CS:EIP:
      8b 04 9e 50 ff 15 08 42 41 00 83 c0 20 50 e8 2c
      Stack dump:
      00000018 7fda027b 006695c1 0000003f bff798bd 8153f460
        00000005 7fd810d7 00686f94 00000018 7fda02c3 0000001b
        7fda027b 006695bf 004089cc 00666690

      Hope this helps.

      Regards,
      Thomas

      _____
      This also produces a Segmentation fault in Solaris.
      This may be related to 1243669, but javap seems to break in different places.

      Solaris output just before crash:
       
      Method boolean fetchImages(java.util.Vector)
         0 aload_1
         1 invokevirtual #223 <Method java.util.Vector.size()I>
         4 istore_3
         5 iconst_0
         6 istore_2
         7 goto 68
        10 aload_1
        11 iload_2
        12 invokevirtual #178 <Method java.util.Vector.elementAt(I)Ljava/lang/Object;>
        15 astore 4
        17 aload 4
        19 instanceof #79 <Class java.net.URL>
        22 ifeq 65
        25 aload 4
        27 checkcast #79 <Class java.net.URL>
        30 astore 5
        32 aload_0
        33 aload 5
      Segmentation Fault

      Attachments

        Issue Links

          Activity

            People

              mr Mark Reinhold
              bhagen Benjamin Hagen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: