Your message dated Wed, 07 May 2014 15:35:37 +0000
with message-id <e1wi3sf-0006bj...@franck.debian.org>
and subject line Bug#745815: fixed in jarjar 1.4+svn142-4
has caused the Debian Bug report #745815,
regarding libjarjar-java: generate jars with invalid information
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
745815: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745815
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libjarjar-java
Version: 1.4+svn142-1
Severity: important

groovy package generates two jar files during build time and one of
them (groovy-all.jar) is manipulated with libjarjar-java during its
creation.

This worked OK until 1.1-3 but stopped working on 1.4+svn142-1 with
the inclusion of libasm4-java among libjarjar-java dependencies.

Example:

miguel@nina:~/packages/groovy$ groovy -cp 
"/usr/share/java/groovy-all-1.8.6.jar" -e 'println 1'
java.lang.OutOfMemoryError: Java heap space
        at java.util.ArrayList.<init>(ArrayList.java:144)
        at 
org.codehaus.groovy.reflection.GeneratedMetaMethod$DgmMethodRecord.loadDgmInfo(GeneratedMetaMethod.java:193)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:155)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:83)
        at 
org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:61)
        at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:29)
        at 
org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:49)
        at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32)
        at groovy.lang.Binding.<init>(Binding.java:34)
        at groovy.lang.GroovyShell.<init>(GroovyShell.java:70)
        at groovy.ui.GroovyMain.processOnce(GroovyMain.java:544)
        at groovy.ui.GroovyMain.run(GroovyMain.java:337)
        at groovy.ui.GroovyMain.process(GroovyMain.java:323)
        at groovy.ui.GroovyMain.processArgs(GroovyMain.java:120)
        at groovy.ui.GroovyMain.main(GroovyMain.java:100)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108)
        at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
1


I also took a look at groovy source code on that file GeneratedMetaMethod.java
at line 193 and I found this call:

List<DgmMethodRecord> res = new ArrayList<DgmMethodRecord>(size);

On normal circumstances 'size' variable contains the size of dgminfo
(jar:file:/usr/share/java//groovy-all-1.8.6.jar!/META-INF/dgminfo)
contained on the groovy jar file and we are talking about 1072
elements. However when groovy-all.jar is generated with recent
libjarjar-java versions, the .jar contains invalid information and
'size' variable ends with an insanely high value, ending with a memory
error and triggering the described error, e.g.:

List<DgmMethodRecord> res = new ArrayList<DgmMethodRecord>(570428522);

If I find more information I'll post it here, in the meantime, as
workaround I had to avoid any usage on groovy-all.jar if possible.

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at
http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: jarjar
Source-Version: 1.4+svn142-4

We believe that the bug you reported is fixed in the latest version of
jarjar, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 745...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Miguel Landaeta <nomad...@debian.org> (supplier of updated jarjar package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 04 May 2014 20:30:37 -0300
Source: jarjar
Binary: libjarjar-java libjarjar-java-doc
Architecture: source all
Version: 1.4+svn142-4
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Miguel Landaeta <nomad...@debian.org>
Description: 
 libjarjar-java - repackage third-party jars
 libjarjar-java-doc - repackage third-party jars - documentation
Closes: 745815
Changes: 
 jarjar (1.4+svn142-4) unstable; urgency=low
 .
   * Add myself to Uploaders.
   * Remove szzepiq_jar_resources.diff patch. (Closes: #745815).
   * Add B-D on libmaven2-core-java.
   * Bump Standards-Version to 3.9.5. No changes were required.
   * Remove outdated readme d/README.Debian.
   * Remove outdated patch d/patches/0001-fix-build.xml.patch.
   * Add patch d/patches/0005-fix-javadocs.patch to fix some
     warnings during javadoc generation.
Checksums-Sha1: 
 eb1d066dc48df4f622b39418a9b4436bd3100516 2181 jarjar_1.4+svn142-4.dsc
 dd315fb9444d46f2660206dcd577539d61836424 6824 jarjar_1.4+svn142-4.debian.tar.xz
 d7b70046131fb0ba108e0d13cb93f8ad4692ffa3 120600 
libjarjar-java_1.4+svn142-4_all.deb
 75a799d13906a27fed836ccd449bed05220231a9 43570 
libjarjar-java-doc_1.4+svn142-4_all.deb
Checksums-Sha256: 
 dbefbf98cece25c9fa9708afbf5b82f5abb26cd8f08ee74d87c7b20a57b3cfc3 2181 
jarjar_1.4+svn142-4.dsc
 6850685b5782681ccd714c7be9601bdebe54f47a7086468d960b7bd728dcec90 6824 
jarjar_1.4+svn142-4.debian.tar.xz
 729c61319978b39e15c69cd6274df05949add741e153d6e449e66093c8e768d5 120600 
libjarjar-java_1.4+svn142-4_all.deb
 68063e69e17826910338844f680105c24fb336120bf3fea2f62127269357f13e 43570 
libjarjar-java-doc_1.4+svn142-4_all.deb
Files: 
 af8aaac69a50424e4324f434bae9667c 120600 java optional 
libjarjar-java_1.4+svn142-4_all.deb
 2b98a43655bd6642f0df73c360a9900f 43570 doc optional 
libjarjar-java-doc_1.4+svn142-4_all.deb
 d26416ec7b9e6b6dcc499f91dafe7224 2181 java optional jarjar_1.4+svn142-4.dsc
 640c121287cd2e22d842f2c0bbfa4cb5 6824 java optional 
jarjar_1.4+svn142-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJTaXsSAAoJEI8AS/UHtGj7CQ4P/1g6deXbPAHk3r0Cpq9eiEgU
RjnHMfjsfrIzhRAA2EhhvnnzIhEOUQLXe5M3y/6drywBOPIBKbwCl8yHU6twtREf
P6GiY9D8MelcyYUaTQKSKyLRQPW2mTERAWsTfBd97Xz+4c7dqN7oWYY766o9Xrz7
5mudW8MnC9AjEbVGeNy22yGesHhjivSPrlQTAbg/xjuw4b1o3dXREyB38xP7Prse
deo1w43xp0t8lnUssZ7ScyLZNbQT6JCRrKBQPh2TyUh/Vrv5uwGAOoPnr506irb+
JqjYwMbELA384UvaGEh/jn971ICv/ELk4Lkox4wSpJOrr9+9UHDt+eP+yxrSmVk5
EsHjQ4eGx+rhZwwIqfyTmU0IqqJ7CKBgN6pQoztoyVwLGzE4h9bsba39VviS1d+g
ITBGPreEI9PaNQzJl7QVBsoapWoORB6138m5eumTahTcHzJWFnQRe9ImZjmbhHp8
FgkBa4/L1Kw94aoHXhRthOF1ofAjv/ff3kXTygD57vz9RMzlVsjSH+pJ7LtTsvQp
F6k2LlegvUXeqNpWiuVv367xFXjZ4kYVFRddgdjlZdpSToY835dl26yrhTqqw5g/
m6bbXDgD1RxQg6lXEXM74sqQzWfBylgp64lyKkluI7sWAaenbuui3iAUpaBCdB9Q
O+ycAzZSg1SggRimdkS2
=jA21
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to