[BUG] fillbuf while rebuilding

pkt
2004-08-03
2004-08-05
  • Jason Martin

    Jason Martin - 2004-08-03

    Performing a rebuild; I changed two characters in the uuencoded format.

    jhmartin@butler test4 $ java -jar ../pkt.jar rebuild .
    PKT>
    PKT>                _/_/_/_/  _/  _/ _/_/_/_/_/_/
    PKT>               _/    _/  _/ _/       _/
    PKT>              _/    _/  _/_/        _/
    PKT>             _/_/_/_/  _/ _/       _/
    PKT>            _/        _/   _/     _/
    PKT> http://   _/        _/     _/   _/  .sf.net
    PKT>                       v.1.9
    PKT> Loading plugins...
    PKT>  LDPC parity (m=XX) plugin ....(OK)
    PKT>  RIPEMD-160bit hash plugin ....(OK)
    PKT>  XML reader/writer plugin  ....(OK)
    PKT>  UU Encoder/Decoder plugin ....(OK)
    PKT>  BZIP2 compression plugin  ....(OK)
    PKT>  AES-256 (FIPS-197) plugin ....(OK)
    PKT>  AES-128 (FIPS-197) plugin ....(OK)
    PKT>  Blowfish cipher plugin    ....(OK)
    PKT>  DoD 5220.22-M wipe plugin ....(OK)
    PKT>  Legacy archiver plugin    ....(OK)
    PKT>  Secure RNG function tests ....(OK)
    PKT>  ASCII CLI Shell Interface ....(OK)
    PKT>
    PKT>PKT 1.9 starting at Tue Aug 03 13:24:25 PDT 2004
    PKT> PKT Engine 1.9z ... ok
    PKT>Rebuilding...
    PKT> Directories 1 ... [./]
    PKT> Starting file system scan...
    PKT> Scanned 39956781 bytes in 3434ms (11635 Kbytes/sec).
    PKT> Located 155 uncompressed packets and 1 compressed packets.
    PKT> Rebuilding file(s) from packets...
    PKT> Unpacking uncompressed packet 0 ...
    PKT> Verifying packet 0 is valid XML ...
    PKT> Verified packet 0 has a valid length.
    PKT> Packet 0 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 0
    PKT> Unpacking uncompressed packet 1 ...
    PKT> Verifying packet 1 is valid XML ...
    PKT> Verified packet 1 has a valid length.
    PKT> Packet 1 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 1
    PKT> Unpacking uncompressed packet 2 ...
    PKT> Verifying packet 2 is valid XML ...
    PKT> Verified packet 2 has a valid length.
    PKT> Packet 2 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 2
    PKT> Unpacking uncompressed packet 3 ...
    PKT> Verifying packet 3 is valid XML ...
    PKT> Verified packet 3 has a valid length.
    PKT> Packet 3 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 3
    PKT> Unpacking uncompressed packet 4 ...
    PKT> Verifying packet 4 is valid XML ...
    PKT> Verified packet 4 has a valid length.
    PKT> Packet 4 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 4
    PKT> Unpacking uncompressed packet 5 ...
    PKT> Verifying packet 5 is valid XML ...
    PKT> Verified packet 5 has a valid length.
    PKT> Packet 5 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 5
    PKT> Unpacking uncompressed packet 6 ...
    PKT> Verifying packet 6 is valid XML ...
    PKT> Verified packet 6 has a valid length.
    PKT> Packet 6 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 6
    PKT> Unpacking uncompressed packet 7 ...
    PKT> Verifying packet 7 is valid XML ...
    PKT> Verified packet 7 has a valid length.
    PKT> Packet 7 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 7
    PKT> Unpacking uncompressed packet 8 ...
    PKT> Verifying packet 8 is valid XML ...
    PKT> Verified packet 8 has a valid length.
    PKT> Packet 8 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 8
    PKT> Unpacking uncompressed packet 9 ...
    PKT> Verifying packet 9 is valid XML ...
    PKT> Verified packet 9 has a valid length.
    PKT> Packet 9 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 9
    PKT> Unpacking uncompressed packet 10 ...
    PKT> Verifying packet 10 is valid XML ...
    PKT> Verified packet 10 has a valid length.
    PKT> Packet 10 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 10
    PKT> Unpacking uncompressed packet 11 ...
    PKT> Verifying packet 11 is valid XML ...
    PKT> Verified packet 11 has a valid length.
    PKT> Packet 11 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 11
    PKT> Unpacking uncompressed packet 12 ...
    PKT> Verifying packet 12 is valid XML ...
    PKT> Verified packet 12 has a valid length.
    PKT> Packet 12 is a valid packet.
    PKT> No errors found in file data ... Skipping packet 12
    PKT> Unpacking uncompressed packet 13 ...
    PKT> Verifying packet 13 is valid XML ...
    Exception in thread "main" java.lang.InternalError: fillbuf
            at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:545)
            at org.apache.crimson.parser.Parser2.content(Parser2.java:1826)
            at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
            at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
            at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
            at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
            at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
            at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:370)
            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:724)
            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:703)
            at net.sf.pkt.e.b.a(Unknown Source)
            at net.sf.pkt.PKTENGINE.a(Unknown Source)
            at net.sf.pkt.PKTENGINE.bridge(Unknown Source)
            at net.sf.pkt.PKTCLI.a(Unknown Source)
            at net.sf.pkt.PKTCLI.main(Unknown Source)

     
    • Nobody/Anonymous

      can you email me packet 13 ? my email address is yhs@users.sf.net....or alternatively just email me the whole pkt file as an attachment.
      Thx.

       
      • Jason Martin

        Jason Martin - 2004-08-05

        I've sent another example to your email.

         
    • Nobody/Anonymous

      hmm..looks like an apache crimson parser bug and not a PKT bug...still needs to be fixed. email me the packet.

       
    • Nobody/Anonymous

      I dont see the error you mentioned. looks like the problem is with your JVM and not pkt. you might want to try it with the sun JVM (which is better than blackdown anyway, especially with sun copying a lot of blackdown code)
      heres what i get :
      C:\pkt\test>c:\java\bin\java -jar c:\pkt\pktupload\pkt.jar decompress .
      PKT>
      PKT>                _/_/_/_/  _/  _/ _/_/_/_/_/_/
      PKT>               _/    _/  _/ _/       _/
      PKT>              _/    _/  _/_/        _/
      PKT>             _/_/_/_/  _/ _/       _/
      PKT>            _/        _/   _/     _/
      PKT> http://   _/        _/     _/   _/  .sf.net
      PKT>                       v.1.9
      PKT> Loading plugins...
      PKT>  LDPC parity (m=XX) plugin ....(OK)
      PKT>  RIPEMD-160bit hash plugin ....(OK)
      PKT>  XML reader/writer plugin  ....(OK)
      PKT>  UU Encoder/Decoder plugin ....(OK)
      PKT>  BZIP2 compression plugin  ....(OK)
      PKT>  AES-256 (FIPS-197) plugin ....(OK)
      PKT>  AES-128 (FIPS-197) plugin ....(OK)
      PKT>  Blowfish cipher plugin    ....(OK)
      PKT>  DoD 5220.22-M wipe plugin ....(OK)
      PKT>  Legacy archiver plugin    ....(OK)
      PKT>  Secure RNG function tests ....(OK)
      PKT>  ASCII CLI Shell Interface ....(OK)
      PKT>
      PKT>PKT 1.9 starting at Thu Aug 05 18:08:13 EDT 2004
      PKT> PKT Engine 1.9z ... ok
      PKT>Decompressing/Decoding files...
      PKT> Directories 1 ... [./]
      PKT> Starting file system scan...
      PKT> Scanned 324613 bytes in 10651ms (30 Kbytes/sec).
      PKT> Located 1 uncompressed packets and 0 compressed packets.
      PKT> Decompressing/Decoding file(s) from packets...
      PKT> Unpacking uncompressed packet 0 ...
      PKT> Verifying packet 0 is valid XML ...
      PKT> Error org.jdom.input.JDOMParseException: Error on line 1 of document file:/
      C:/WINDOWS/TEMP/pkt59752tmp: Document root element is missing. in packet XML dec
      oding. Skipping packet.. 0
      PKT> Decompress/Decode completed in 6271ms (51 Kbytes/sec).
      PKT>PKT 1.9 ending at Thu Aug 05 18:08:34 EDT 2004
      C:\pkt\test>c:\java\bin\java -version
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
      Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks