Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerge <ant dependant pkg> fails. sun-jdk the cause?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Mon Jan 09, 2006 1:06 pm    Post subject: [SOLVED]emerge <ant dependant pkg> fails. sun-jdk the Reply with quote

Hi,

I've recently been doing some "spring cleaning" (or messing about, as it's more often called) and have updated my Java version to 1.4.2.10 from 1.4.2.09. I've also upgraded to GCC 3.4 and done the emerge -e system | world rebuild. I also recently upgraded to the 2.6.14 kernel version. Not all at once, but over a week or two. Now....

My system boots correctly, behaves correctly and seems generally fine. Java also works in general (I can load eclipse and work on projects, as far as I can tell). However, I can't build eclipse-sdk any more; on closer inspection I can't seem to build anything using ant. A simple failure case is a bare emerge jakarta-regexp which tries to build jakarta-regexp-1.3-r2 which gets as far as the initial class build and then causes a JVM crash. The crash message is :

Code:

compile:
    [javac] Compiling 14 source files to /var/tmp/portage/jakarta-regexp-1.3-r2/work/jakarta-regexp-1.3/build/classes
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0x7) at pc=0xb79164ef, pid=25499, tid=16384
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
# Problematic frame:
# C  [libzip.so+0x114ef]
#
# An error report file with more information is saved as hs_err_pid25499.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
/usr/portage/dev-java/jakarta-regexp/jakarta-regexp-1.3-r2.ebuild: line 28: 25499 Aborted                 ant ${antflags}

!!! ERROR: dev-java/jakarta-regexp-1.3-r2 failed.
!!! Function src_compile, Line 32, Exitcode 134
!!! compile problem


Now, I've been searching like a mad ferret to find out what's going on and the similar cases (i.e. not libzip.so but other native libraries) on the Gentoo forums were resolved by a sun-jdk rebuild combined with using java-config to make sure the version is correct. Needless to say, I've tried this. The other avenue was on Sun's development boards where it was suggested that this can be caused by certain bundled native libraries (in this case libzip.so) not being binary compatible with certain libraries they depend upon (please excuse my vagueness, I don't understand the situation fully).

So, has anyone got any idea what's happening? Also, I can't seem to revert to sun-jdk-1.4.2.9 as the ebuild seems to have been removed on an emerge sync. How do I revert to a minor revision after I've updated to a new one?

Hope you can help guys, thanks in advance,

Mike


Last edited by BeepCleep on Tue Jan 17, 2006 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Catch-22
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 244

PostPosted: Mon Jan 09, 2006 10:26 pm    Post subject: Re: emerge <anything that uses ant> fails. sun-jdk the Reply with quote

BeepCleep wrote:
# An error report file with more information is saved as hs_err_pid25499.log


please post that file
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Tue Jan 10, 2006 10:19 am    Post subject: Reply with quote

Certainly...

I don't usually like posting massive log files (VM crash logs always are) but I'm not certain what to edit out so....

Code:



#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0x7) at pc=0xb79734ef, pid=28423, tid=16384
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
# Problematic frame:
# C  [libzip.so+0x114ef]
#

---------------  T H R E A D  ---------------

Current thread (0x080d9598):  JavaThread "main" [_thread_in_native, id=28423]

siginfo:si_signo=7, si_errno=0, si_code=2, si_addr=0xaad8cb2c

Registers:
EAX=0xaad8a000, EBX=0xb7978244, ECX=0xaad8cb2c, EDX=0xaad8cb2c
ESP=0xbffe6048, EBP=0xbffe607c, ESI=0x081296a8, EDI=0x08205468
EIP=0xb79734ef, CR2=0xaad8cb2c, EFLAGS=0x00010296

Top of Stack: (sp=0xbffe6048)
0xbffe6048:   b7978244 081296a8 08205468 b7c4ccc4
0xbffe6058:   b7e27ef0 ab84d3d0 00000001 b7c0c85d
0xbffe6068:   082054e0 b7978244 bffe6080 b7973d68
0xbffe6078:   aad8cb2c bffe6098 b7973d29 08205468
0xbffe6088:   081297e8 b7978244 ab84d3d0 b7978244
0xbffe6098:   bffe60c0 b79655c2 08205468 0000000a
0xbffe60a8:   080d9598 ab84d3d0 08205468 b39c35d3
0xbffe60b8:   00000001 af8f6300 bffe60e0 b39c3618

Instructions: (pc=0xb79734ef)
0xb79734df:   55 0c 8b 40 0c 8b 12 8d 0c 02 89 4d fc 8b 55 fc
0xb79734ef:   0f b6 02 8b 55 fc 42 0f b6 0a 89 4d d8 8b 55 d8

Stack: [0xbfdf7000,0xbffe9000),  sp=0xbffe6048,  free space=1980k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libzip.so+0x114ef]
C  [libzip.so+0x11d29]  ZIP_GetNextEntry+0x59
C  [libzip.so+0x35c2]  Java_java_util_zip_ZipFile_getNextEntry+0x22
J  java.util.zip.ZipFile.getNextEntry(JI)J
J  java.util.zip.ZipFile$2.nextElement()Ljava/lang/Object;
J  com.sun.tools.javac.v8.code.ClassReader.openArchive(Ljava/lang/String;)Lcom/sun/tools/javac/v8/code/ClassReader$Archive;
J  com.sun.tools.javac.v8.code.ClassReader.list(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V
j  com.sun.tools.javac.v8.code.ClassReader.listAll(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V+44
j  com.sun.tools.javac.v8.code.ClassReader.fillIn(Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V+101
j  com.sun.tools.javac.v8.code.ClassReader.complete(Lcom/sun/tools/javac/v8/code/Symbol;)V+55
j  com.sun.tools.javac.v8.code.Symbol.complete()V+19
j  com.sun.tools.javac.v8.comp.Enter.visitTopLevel(Lcom/sun/tools/javac/v8/tree/Tree$TopLevel;)V+55
j  com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(Lcom/sun/tools/javac/v8/tree/Tree$Visitor;)V+2
j  com.sun.tools.javac.v8.comp.Enter.classEnter(Lcom/sun/tools/javac/v8/tree/Tree;Lcom/sun/tools/javac/v8/comp/Env;)Lcom/sun/tools/javac/v8/code/Type;+12
j  com.sun.tools.javac.v8.comp.Enter.classEnter(Lcom/sun/tools/javac/v8/util/List;Lcom/sun/tools/javac/v8/comp/Env;)Lcom/sun/tools/javac/v8/util/List;+30
j  com.sun.tools.javac.v8.comp.Enter.complete(Lcom/sun/tools/javac/v8/util/List;Lcom/sun/tools/javac/v8/code/Symbol$ClassSymbol;)V+26
j  com.sun.tools.javac.v8.comp.Enter.main(Lcom/sun/tools/javac/v8/util/List;)V+3
j  com.sun.tools.javac.v8.JavaCompiler.compile(Lcom/sun/tools/javac/v8/util/List;)Lcom/sun/tools/javac/v8/util/List;+109
j  com.sun.tools.javac.v8.Main.compile([Ljava/lang/String;)I+223
j  com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12
v  ~StubRoutines::call_stub
V  [libjvm.so+0x1a8aa4]
V  [libjvm.so+0x25e605]
V  [libjvm.so+0x1a8cf6]
V  [libjvm.so+0x274e0b]
V  [libjvm.so+0x2773d1]
V  [libjvm.so+0x20d1b4]
C  [libjava.so+0x12e45]  Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x25
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j  org.apache.tools.ant.taskdefs.compilers.Javac13.execute()Z+62
j  org.apache.tools.ant.taskdefs.Javac.compile()V+154
j  org.apache.tools.ant.taskdefs.Javac.execute()V+124
j  org.apache.tools.ant.UnknownElement.execute()V+58
j  org.apache.tools.ant.Task.perform()V+22
j  org.apache.tools.ant.Target.execute()V+53
j  org.apache.tools.ant.Target.performTasks()V+11
j  org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+172
j  org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+21
j  org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+370
j  org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+85
j  org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+713
j  org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub
V  [libjvm.so+0x1a8aa4]
V  [libjvm.so+0x25e605]
V  [libjvm.so+0x1a8cf6]
V  [libjvm.so+0x1b0f6c]
V  [libjvm.so+0x1bfadd]
C  [java+0x1abe]
C  [libc.so.6+0x1537e]  __libc_start_main+0xae

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  java.util.zip.ZipFile.getNextEntry(JI)J
J  java.util.zip.ZipFile$2.nextElement()Ljava/lang/Object;
J  com.sun.tools.javac.v8.code.ClassReader.openArchive(Ljava/lang/String;)Lcom/sun/tools/javac/v8/code/ClassReader$Archive;
J  com.sun.tools.javac.v8.code.ClassReader.list(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V
j  com.sun.tools.javac.v8.code.ClassReader.listAll(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V+44
j  com.sun.tools.javac.v8.code.ClassReader.fillIn(Lcom/sun/tools/javac/v8/code/Symbol$PackageSymbol;)V+101
j  com.sun.tools.javac.v8.code.ClassReader.complete(Lcom/sun/tools/javac/v8/code/Symbol;)V+55
j  com.sun.tools.javac.v8.code.Symbol.complete()V+19
j  com.sun.tools.javac.v8.comp.Enter.visitTopLevel(Lcom/sun/tools/javac/v8/tree/Tree$TopLevel;)V+55
j  com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(Lcom/sun/tools/javac/v8/tree/Tree$Visitor;)V+2
j  com.sun.tools.javac.v8.comp.Enter.classEnter(Lcom/sun/tools/javac/v8/tree/Tree;Lcom/sun/tools/javac/v8/comp/Env;)Lcom/sun/tools/javac/v8/code/Type;+12
j  com.sun.tools.javac.v8.comp.Enter.classEnter(Lcom/sun/tools/javac/v8/util/List;Lcom/sun/tools/javac/v8/comp/Env;)Lcom/sun/tools/javac/v8/util/List;+30
j  com.sun.tools.javac.v8.comp.Enter.complete(Lcom/sun/tools/javac/v8/util/List;Lcom/sun/tools/javac/v8/code/Symbol$ClassSymbol;)V+26
j  com.sun.tools.javac.v8.comp.Enter.main(Lcom/sun/tools/javac/v8/util/List;)V+3
j  com.sun.tools.javac.v8.JavaCompiler.compile(Lcom/sun/tools/javac/v8/util/List;)Lcom/sun/tools/javac/v8/util/List;+109
j  com.sun.tools.javac.v8.Main.compile([Ljava/lang/String;)I+223
j  com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j  org.apache.tools.ant.taskdefs.compilers.Javac13.execute()Z+62
j  org.apache.tools.ant.taskdefs.Javac.compile()V+154
j  org.apache.tools.ant.taskdefs.Javac.execute()V+124
j  org.apache.tools.ant.UnknownElement.execute()V+58
j  org.apache.tools.ant.Task.perform()V+22
j  org.apache.tools.ant.Target.execute()V+53
j  org.apache.tools.ant.Target.performTasks()V+11
j  org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+172
j  org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+21
j  org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+370
j  org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+85
j  org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+713
j  org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0811b540 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28434]
  0x08119ca0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28433]
  0x08114290 JavaThread "Finalizer" daemon [_thread_blocked, id=28431]
  0x08112c08 JavaThread "Reference Handler" daemon [_thread_blocked, id=28430]
=>0x080d9598 JavaThread "main" [_thread_in_native, id=28423]

Other Threads:
  0x0810e460 VMThread [id=28429]
  0x0811d9b0 WatcherThread [id=28435]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 640K, used 182K [0xab820000, 0xab8d0000, 0xabd00000)
  eden space 576K,  31% used [0xab820000, 0xab84dad8, 0xab8b0000)
  from space 64K,   0% used [0xab8b0000, 0xab8b0000, 0xab8c0000)
  to   space 64K,   0% used [0xab8c0000, 0xab8c0000, 0xab8d0000)
 tenured generation   total 7972K, used 4780K [0xabd00000, 0xac4c9000, 0xaf820000)
   the space 7972K,  59% used [0xabd00000, 0xac1ab3e0, 0xac1ab400, 0xac4c9000)
 compacting perm gen  total 5376K, used 5363K [0xaf820000, 0xafd60000, 0xb3820000)
   the space 5376K,  99% used [0xaf820000, 0xafd5ce30, 0xafd5d000, 0xafd60000)

Dynamic libraries:
08048000-08056000 r-xp 00000000 03:09 72         /opt/sun-jdk-1.4.2.10/bin/java
08056000-08059000 rwxp 0000d000 03:09 72         /opt/sun-jdk-1.4.2.10/bin/java
08059000-0854e000 rwxp 08059000 00:00 0          [heap]
aa4fe000-aa4ff000 r-xs 00000000 03:07 663272     /usr/share/ant-tasks/lib/ant-apache-resolver.jar
aa4ff000-aa52d000 r-xs 00000000 03:07 657668     /usr/share/junit/lib/junit.jar
aa52d000-aa590000 r-xs 00000000 03:07 663276     /usr/share/ant-tasks/lib/ant-nodeps.jar
aa590000-aa591000 r-xs 00000000 03:07 663280     /usr/share/ant-tasks/lib/ant-xslp.jar
aa591000-aa592000 r-xs 00000000 03:07 663268     /usr/share/ant-tasks/lib/ant-vaj.jar
aa592000-aa684000 r-xs 00000000 03:07 10068721   /usr/share/ant-core/lib/ant.jar
aa684000-aa685000 r-xs 00000000 03:07 663307     /usr/share/ant-tasks/lib/ant-apache-log4j.jar
aa685000-aa686000 r-xs 00000000 03:07 663270     /usr/share/ant-tasks/lib/ant-weblogic.jar
aa686000-aa687000 r-xs 00000000 03:07 663299     /usr/share/ant-tasks/lib/ant-commons-logging.jar
aa687000-aa690000 r-xs 00000000 03:07 663301     /usr/share/ant-tasks/lib/ant-commons-net.jar
aa690000-aa691000 r-xs 00000000 03:07 663343     /usr/share/ant-tasks/lib/ant-xalan1.jar
aa691000-aa6a3000 r-xs 00000000 03:07 663265     /usr/share/ant-tasks/lib/ant-junit.jar
aa6a3000-aa6b8000 r-xs 00000000 03:07 657143     /usr/share/jdepend/lib/jdepend.jar
aa6b8000-aa6b9000 r-xs 00000000 03:07 663282     /usr/share/ant-tasks/lib/ant-stylebook.jar
aa6b9000-aa6bc000 r-xs 00000000 03:07 663297     /usr/share/ant-tasks/lib/ant-apache-bcel.jar
aa6bc000-aa6be000 r-xs 00000000 03:07 663288     /usr/share/ant-tasks/lib/ant-swing.jar
aa6be000-aa6bf000 r-xs 00000000 03:07 663274     /usr/share/ant-tasks/lib/ant-netrexx.jar
aa6bf000-aa6c5000 r-xs 00000000 03:07 663305     /usr/share/ant-tasks/lib/ant-jsch.jar
aa6c5000-aa6c7000 r-xs 00000000 03:07 663286     /usr/share/ant-tasks/lib/ant-jmf.jar
aa6c7000-aa6c8000 r-xs 00000000 03:07 663341     /usr/share/ant-tasks/lib/ant-apache-regexp.jar
aa6c8000-aa6d9000 r-xs 00000000 03:07 663292     /usr/share/ant-tasks/lib/ant-trax.jar
aa6d9000-aa6e5000 r-xs 00000000 03:07 663339     /usr/share/ant-tasks/lib/ant-apache-oro.jar
aa6e5000-aa6e7000 r-xs 00000000 03:07 663303     /usr/share/ant-tasks/lib/ant-jdepend.jar
aa6e7000-aa6e8000 r-xs 00000000 03:07 663284     /usr/share/ant-tasks/lib/ant-icontract.jar
aa6e8000-aa6e9000 r-xs 00000000 03:07 663278     /usr/share/ant-tasks/lib/ant-starteam.jar
aa6e9000-aa6eb000 r-xs 00000000 03:07 663295     /usr/share/ant-tasks/lib/ant-antlr.jar
aa6eb000-aabc6000 r-xs 00000000 03:09 6538       /opt/sun-jdk-1.4.2.10/lib/tools.jar
aabc6000-aac52000 r-xs 00000000 03:07 658438     /usr/share/jython/lib/jython-2.1.jar
aac52000-aac6b000 r-xs 00000000 03:07 657070     /usr/share/jsch/lib/jsch.jar
aac6b000-aac80000 r-xs 00000000 03:07 657143     /usr/share/jdepend/lib/jdepend.jar
aac80000-aacad000 r-xs 00000000 03:07 657173     /usr/share/commons-net/lib/commons-net.jar
aacad000-aacb4000 r-xs 00000000 03:07 656125     /usr/share/commons-logging/lib/commons-logging-api.jar
aacb4000-aacbe000 r-xs 00000000 03:07 656126     /usr/share/commons-logging/lib/commons-logging.jar
aacbe000-aad45000 r-xs 00000000 03:07 659548     /usr/share/commons-collections/lib/commons-collections.jar
aad45000-aad8a000 r-xs 00000000 03:07 655561     /usr/share/bsh/lib/bsh.jar
aad8a000-aad91000 r-xs 00000000 03:07 656302     /usr/share/regexp/lib/regexp.jar
aad91000-aae0d000 r-xs 00000000 03:07 658348     /usr/share/bcel/lib/bcel.jar
aae0d000-aae6b000 r-xs 00000000 03:07 659641     /usr/share/antlr/lib/antlr.jar
aae6b000-aae99000 r-xs 00000000 03:07 657668     /usr/share/junit/lib/junit.jar
aae99000-ab195000 r-xs 00000000 03:07 661634     /usr/share/xalan/lib/xalan.jar
ab195000-ab1b4000 r-xs 00000000 03:07 661092     /usr/share/xerces-2/lib/xmlParserAPIs.jar
ab1b4000-ab1d3000 r-xs 00000000 03:07 661091     /usr/share/xerces-2/lib/xml-apis.jar
ab1d3000-ab2c9000 r-xs 00000000 03:07 661089     /usr/share/xerces-2/lib/xercesImpl.jar
ab2c9000-ab2ea000 r-xs 00000000 03:07 661090     /usr/share/xerces-2/lib/xercesSamples.jar
ab2ea000-ab341000 r-xs 00000000 03:07 657537     /usr/share/log4j/lib/log4j.jar
ab341000-ab3fd000 r-xs 00000000 03:09 5364       /opt/sun-jdk-1.4.2.10/jre/lib/ext/localedata.jar
ab3fd000-ab419000 r-xs 00000000 03:09 5362       /opt/sun-jdk-1.4.2.10/jre/lib/ext/sunjce_provider.jar
ab419000-ab41a000 ---p ab419000 00:00 0
ab41a000-ab49a000 rwxp ab41a000 00:00 0
ab49a000-ab49b000 ---p ab49a000 00:00 0
ab49b000-ab4a9000 rwxp ab49b000 00:00 0
ab4a9000-ab4ac000 ---p ab4a9000 00:00 0
ab4ac000-ab51b000 rwxp ab4ac000 00:00 0
ab51b000-ab51c000 ---p ab51b000 00:00 0
ab51c000-ab52a000 rwxp ab51c000 00:00 0
ab52a000-ab52d000 ---p ab52a000 00:00 0
ab52d000-ab59c000 rwxp ab52d000 00:00 0
ab59c000-ab59d000 ---p ab59c000 00:00 0
ab59d000-ab61d000 rwxp ab59d000 00:00 0
ab61d000-ab61e000 ---p ab61d000 00:00 0
ab61e000-ab62c000 rwxp ab61e000 00:00 0
ab62c000-ab62f000 ---p ab62c000 00:00 0
ab62f000-ab69e000 rwxp ab62f000 00:00 0
ab69e000-ab69f000 ---p ab69e000 00:00 0
ab69f000-ab6ad000 rwxp ab69f000 00:00 0
ab6ad000-ab6b0000 ---p ab6ad000 00:00 0
ab6b0000-ab71f000 rwxp ab6b0000 00:00 0
ab71f000-ab720000 ---p ab71f000 00:00 0
ab720000-ab7a3000 rwxp ab720000 00:00 0
ab7a3000-ab7c1000 rwxp ab7a3000 00:00 0
ab7c1000-ab7c5000 rwxp ab7c1000 00:00 0
ab7c5000-ab7df000 rwxp ab7c5000 00:00 0
ab7df000-ab7e0000 rwxp ab7df000 00:00 0
ab7e0000-ab7e1000 rwxp ab7e0000 00:00 0
ab7e1000-ab7e6000 rwxp ab7e1000 00:00 0
ab7e6000-ab7ff000 rwxp ab7e6000 00:00 0
ab7ff000-ab802000 rwxp ab7ff000 00:00 0
ab802000-ab81f000 rwxp ab802000 00:00 0
ab81f000-ab8d0000 rwxp ab81f000 00:00 0
ab8d0000-abd00000 rwxp ab8d0000 00:00 0
abd00000-ac4c9000 rwxp abd00000 00:00 0
ac4c9000-af820000 rwxp ac4c9000 00:00 0
af820000-afd60000 rwxp af820000 00:00 0
afd60000-b3820000 rwxp afd60000 00:00 0
b3820000-b384c000 rwxp b3820000 00:00 0
b384c000-b38c8000 rwxp b384c000 00:00 0
b38c8000-b39c8000 rwxp b38c8000 00:00 0
b39c8000-b58c8000 rwxp b39c8000 00:00 0
b58c8000-b5e6a000 r-xs 00000000 03:09 6472       /opt/sun-jdk-1.4.2.10/jre/lib/charsets.jar
b5e6a000-b5e7c000 r-xs 00000000 03:09 6484       /opt/sun-jdk-1.4.2.10/jre/lib/jce.jar
b5e7c000-b5f59000 r-xs 00000000 03:09 6434       /opt/sun-jdk-1.4.2.10/jre/lib/jsse.jar
b5f59000-b5f6f000 r-xs 00000000 03:09 6458       /opt/sun-jdk-1.4.2.10/jre/lib/sunrsasign.jar
b5f6f000-b5fb9000 rwxp b5f6f000 00:00 0
b5fb9000-b7962000 r-xs 00000000 03:09 6474       /opt/sun-jdk-1.4.2.10/jre/lib/rt.jar
b7962000-b7976000 r-xp 00000000 03:09 5375       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libzip.so
b7976000-b7979000 rwxp 00013000 03:09 5375       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libzip.so
b7979000-b7999000 r-xp 00000000 03:09 5386       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libjava.so
b7999000-b799b000 rwxp 0001f000 03:09 5386       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libjava.so
b799b000-b79a3000 r-xp 00000000 03:07 10686691   /lib/libnss_nis-2.3.5.so
b79a3000-b79a5000 rwxp 00007000 03:07 10686691   /lib/libnss_nis-2.3.5.so
b79a5000-b79a6000 r-xp b79a5000 00:00 0
b79a6000-b79a9000 r-xs 00000000 03:07 10068722   /usr/share/ant-core/lib/ant-launcher.jar
b79a9000-b79b6000 r-xs 00000000 03:09 5363       /opt/sun-jdk-1.4.2.10/jre/lib/ext/ldapsec.jar
b79b6000-b79c6000 r-xp 00000000 03:09 5370       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libverify.so
b79c6000-b79c8000 rwxp 0000f000 03:09 5370       /opt/sun-jdk-1.4.2.10/jre/lib/i386/libverify.so
b79c8000-b79e8000 r-xp 00000000 03:07 10686689   /lib/libm-2.3.5.so
b79e8000-b79ea000 rwxp 00020000 03:07 10686689   /lib/libm-2.3.5.so
b79ea000-b79fb000 r-xp 00000000 03:07 10686543   /lib/libnsl-2.3.5.so
b79fb000-b79fd000 rwxp 00010000 03:07 10686543   /lib/libnsl-2.3.5.so
b79fd000-b79ff000 rwxp b79fd000 00:00 0
b79ff000-b7e0f000 r-xp 00000000 03:09 5379       /opt/sun-jdk-1.4.2.10/jre/lib/i386/client/libjvm.so
b7e0f000-b7e2b000 rwxp 0040f000 03:09 5379       /opt/sun-jdk-1.4.2.10/jre/lib/i386/client/libjvm.so
b7e2b000-b7e3e000 rwxp b7e2b000 00:00 0
b7e3e000-b7f4d000 r-xp 00000000 03:07 10686545   /lib/libc-2.3.5.so
b7f4d000-b7f4e000 r-xp 0010e000 03:07 10686545   /lib/libc-2.3.5.so
b7f4e000-b7f51000 rwxp 0010f000 03:07 10686545   /lib/libc-2.3.5.so
b7f51000-b7f53000 rwxp b7f51000 00:00 0
b7f53000-b7f55000 r-xp 00000000 03:07 10686693   /lib/libdl-2.3.5.so
b7f55000-b7f57000 rwxp 00001000 03:07 10686693   /lib/libdl-2.3.5.so
b7f57000-b7f65000 r-xp 00000000 03:07 10686749   /lib/libpthread-0.10.so
b7f65000-b7f66000 r-xp 0000d000 03:07 10686749   /lib/libpthread-0.10.so
b7f66000-b7f67000 rwxp 0000e000 03:07 10686749   /lib/libpthread-0.10.so
b7f67000-b7fa9000 rwxp b7f67000 00:00 0
b7fa9000-b7faa000 r-xs 00000000 03:07 663290     /usr/share/ant-tasks/lib/ant-jai.jar
b7faa000-b7fad000 r-xs 00000000 03:09 5361       /opt/sun-jdk-1.4.2.10/jre/lib/ext/dnsns.jar
b7fad000-b7fb1000 rwxs 00000000 03:07 9855165    /tmp/hsperfdata_root/28423
b7fb1000-b7fb9000 r-xp 00000000 03:07 10686748   /lib/libnss_files-2.3.5.so
b7fb9000-b7fbb000 rwxp 00007000 03:07 10686748   /lib/libnss_files-2.3.5.so
b7fbb000-b7fc1000 r-xp 00000000 03:07 10684046   /lib/libnss_compat-2.3.5.so
b7fc1000-b7fc3000 rwxp 00006000 03:07 10684046   /lib/libnss_compat-2.3.5.so
b7fc3000-b7fcb000 r-xp 00000000 03:09 5376       /opt/sun-jdk-1.4.2.10/jre/lib/i386/native_threads/libhpi.so
b7fcb000-b7fcc000 rwxp 00007000 03:09 5376       /opt/sun-jdk-1.4.2.10/jre/lib/i386/native_threads/libhpi.so
b7fcc000-b7fcd000 rwxp b7fcc000 00:00 0
b7fcd000-b7fd4000 r-xp 00000000 03:07 10208448   /usr/lib/libsandbox.so.0.0.0
b7fd4000-b7fd5000 rwxp 00006000 03:07 10208448   /usr/lib/libsandbox.so.0.0.0
b7fd5000-b7fd7000 rwxp b7fd5000 00:00 0
b7fd7000-b7fec000 r-xp 00000000 03:07 10686724   /lib/ld-2.3.5.so
b7fec000-b7fed000 r-xp 00014000 03:07 10686724   /lib/ld-2.3.5.so
b7fed000-b7fee000 rwxp 00015000 03:07 10686724   /lib/ld-2.3.5.so
bfded000-bfdf7000 rwxp bfded000 00:00 0
bfdf7000-bfdfa000 ---p bfdf7000 00:00 0
bffd5000-bffec000 rwxp bffd5000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]

VM Arguments:
jvm_args: -Dant.home=/usr/share/ant-core -Dant.library.dir=/usr/share/ant-core/lib
java_command: org.apache.tools.ant.launch.Launcher -lib . jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/opt/sun-jdk-1.4.2.10
CLASSPATH=.
PATH=/usr/lib/ccache/bin:/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin
LD_LIBRARY_PATH=/opt/sun-jdk-1.4.2.10/jre/lib/i386/client:/opt/sun-jdk-1.4.2.10/jre/lib/i386:/opt/sun-jdk-1.4.2.10/jre/../lib/i386
LD_PRELOAD=/usr/lib/libsandbox.so
DISPLAY=:0.0
ARCH=x86


---------------  S Y S T E M  ---------------

OS:Gentoo Base System version 1.6.13

uname:Linux 2.6.14-gentoo-r5 #1 SMP Mon Jan 9 13:45:55 GMT 2006 i686
libc:glibc 2.3.5 linuxthreads-0.10 (floating stack)
rlimit: STACK 8192k, CORE 0k, NPROC 15859, NOFILE 1024, AS infinity
load average:35294526007.02 8923389716265302061835886711968329847226336217881303312151022053006362466401670870659422075998039456808329706467478161517784923124483893724261940994371932265310850001125300712425533140176822287996045877219851147355911512127797013084664802923604216905728.00 93035059788125071202208136989760319929091676026829315658036445953002316081368532823663286024666979340132829075141896661368392852874611945761952832906156194444428204035693455802740152193580485809537024.00

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1002676k(14976k free), swap 2008084k(2007804k free)

vm_info: Java HotSpot(TM) Client VM (1.4.2_10-b03) for linux-x86, built on Oct 10 2005 15:31:45 by unknown with unknown compiler


Hope this sheds some light. I've seen this thing before when I was doing JNI stuff on Win32 but that's to be expected. Never had a VM crash on Linux (let alone Gentoo) before now. Such are the consequences of binary installs :)

Mike
Back to top
View user's profile Send private message
Catch-22
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 244

PostPosted: Tue Jan 10, 2006 10:27 pm    Post subject: Reply with quote

I think it's a conflict between libzip's zlib exports
see:
http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004476.html
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=46004+0+archive/2005/freebsd-java/20050807.freebsd-java
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4953050
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Wed Jan 11, 2006 12:54 am    Post subject: Reply with quote

I've seen the Sun report which doesn't say how to fix it (other than suggest what Sun might do). I've checked those BSD links and they are very promising, thanks :)

I'll let you know if/how I fix it...

Mike
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Wed Jan 11, 2006 10:35 am    Post subject: Reply with quote

Seems like the fix suggested requires the JVM linux source code, a patch and a build. Seeing as the source build of Java doesn't exist anymore (as an ebuild, AFAIK), to get 1.4.2.10 working, I'll have to manually compile and then copy across / symlink the libzip.so that's created.
Or, I could revert to 1.4.2.09; the ebuild for this has disappeared so would it be a good enough temporary fix to get the 1.4.2.09 installer, rename it to 1.4.2.10 and then re-run the 1.4.2.10 emerge? Of can I get the old 1.4.2.09 ebuild from somewhere?

Thanks in advance,

Mike
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Thu Jan 12, 2006 11:30 am    Post subject: Reply with quote

Right, option 2 looks like it won't work. I've since tried the current 1.4 version of IBM-JDK and Blackdown (and, yes, using java-config -S) and am getting exactly the same problem suggesting that an external library is to blame. In addition, the source build of the JDK seems to be off the menu too as it requires a specific older version of GCC which I am unable (at present) and unwilling (due to the complexity I believe it will involve) to install. So, I'm a bit stuck. I've tried emerging the libstdc++-v3 compatibility library and re-emerging zlib but to no avail; at this rate I'm going to have to work in Windows because I need a correctly working JVM. I hope some of you have some good suggestions....
Back to top
View user's profile Send private message
Catch-22
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 244

PostPosted: Thu Jan 12, 2006 10:06 pm    Post subject: Reply with quote

you might want to try filing a bug and get the java devs to have a look
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Fri Jan 13, 2006 2:02 am    Post subject: Reply with quote

Already done :)
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Mon Jan 16, 2006 12:51 pm    Post subject: Reply with quote

I've now tried to use sun-jdk-1.5 and it gives, surprise surprise, the same problem. I'm getting increasingly annoyed by this as it's clearly something I've done in my kernel (although my old kernel, which worked a while back, has the same problem), glibc or zlib. Any ideas on what I can, should try next (I've even done an emerge -e world in desperation)?

P.S. I have posted the error to the offical Sun bug report area but they've got a lead time of roughly 3 weeks atm.
Back to top
View user's profile Send private message
BeepCleep
n00b
n00b


Joined: 09 Jan 2006
Posts: 9
Location: Manchester, UK

PostPosted: Mon Jan 16, 2006 2:18 pm    Post subject: [SOLVED] emerge <java package> fails. sun-jdk the caus Reply with quote

I've managed to resolve the issue. The emerge -e world (my extreme last resort) didn't work because it was using, to some extent, ant to build ant and it's dependencies. The "fix" was to for all ant's dependencies to rebuild with jikes (which does not have the native issues of javac) and then rebuild ant again with javac. This seems to have solved this very strange issue. I believe an emerge -C <java_dependent_package> and then an emerge <java_dependent_package> will end up having the same effect. Changing the JDK installed will NOT help as I believe the problem is an incompatibility with previously built jar files and native zip library; you need to completely rebuild the java toolchain to resolve this issue. Anyway, I hope this proves of use...

Mike
Back to top
View user's profile Send private message
supermihi
Guru
Guru


Joined: 09 Feb 2005
Posts: 348

PostPosted: Fri Nov 24, 2006 7:10 am    Post subject: Reply with quote

Can you recall how exactly you did this? If I emerge jikes java-config doesn't give me the ability to set jikes as system VM. I have the same problem that you had, very annoying. :(
_________________
"You may say I'm a dreamer, but I'm not the only one."
Back to top
View user's profile Send private message
supermihi
Guru
Guru


Joined: 09 Feb 2005
Posts: 348

PostPosted: Wed Dec 27, 2006 10:12 pm    Post subject: Reply with quote

It seems like I solved this issue by using sun-jdk-1.4* instead of blackdown - for some reasons with the sun jdk I could compile ant-core, but not with blackdown. In the ant-dependancy tree, ant-core was before any packages providing a "jikes"-flag, so that couldn't help.
This applies to a brand new gentoo install, the problem occurd at "emerge wildfire", which has ant as dependency, and it was the first emerge of any jdk in the lifetime of that install, so it's impossible that any old files lying around cause this.
_________________
"You may say I'm a dreamer, but I'm not the only one."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum