You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Doug Douglass <do...@gmail.com> on 2008/05/01 00:20:57 UTC

Re: maven build causing java segmentation fault - help needed

Mark,

The only time I've seen a maven build trigger a JVM seg fault the problem
was due to bad server memory. It was low end hardware running CentOS and
hosted our Cruise Control install, amongst many other things. The seg faults
were intermittent.

HTH and good luck,
Doug

On Wed, Apr 30, 2008 at 3:54 PM, Mark Hansen <ma...@agileitinc.com>
wrote:

> We are trying to get the maven build for our product working under
> RedHat linux (running as a guest OS under VMWare).  This build works
> fine on Windows Vista and XP.  But under RedHat it is causing a Java
> segmentation fault.  See attached log file for details.
>
> Does anyone have any ideas about how we might get to the bottom of what
> is causing this and fix it?
>
> Here are some details about our environment.
>
> Maven version 2.0.9
> JDK 1.6.0_05
> Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
> jvm_args: -Xms768m -Xmx768m -Xss2048k
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x06313045, pid=16347, tid=3086891936
> #
> # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing
> linux-x86)
> # Problematic frame:
> # V  [libjvm.so+0x313045]
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x08058800):  JavaThread "main" [_thread_in_vm, id=16349,
> stack(0xb7de3000,0xb7fe4000)]
>
> siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
> si_addr=0x08ae7000
>
> Registers:
> EAX=0x00000b1a, EBX=0x00a8f768, ECX=0xb7fe1df8, EDX=0x00000000
> ESP=0xb7fe1d04, EBP=0xb7fe1d10, ESI=0x08057898, EDI=0x08057898
> EIP=0x06313045, CR2=0x08ae7000, EFLAGS=0x00210283
>
> Top of Stack: (sp=0xb7fe1d04)
> 0xb7fe1d04:   08058a1c 00000000 b7fe1df8 b7fe1e90
> 0xb7fe1d14:   061877b0 b7fe1df8 08057898 08057898
> 0xb7fe1d24:   08058800 63e2a0e8 00000000 08058a44
> 0xb7fe1d34:   b7fe1d60 b7fe1db8 0626e7a2 63db07e0
> 0xb7fe1d44:   00000005 08059028 08059028 00000000
> 0xb7fe1d54:   00000000 61099438 08058a44 00000005
> 0xb7fe1d64:   08058800 b7fe1d01 08058ec0 00000000
> 0xb7fe1d74:   0000001e 63e2a0e8 00096180 08058800
>
> Instructions: (pc=0x06313045)
> 0x06313035:   53 8b 75 10 31 db 8b 4d 08 8b 7d 0c 39 f3 73 17
> 0x06313045:   8a 04 3b 3c 0a 74 28 3c 09 74 11 8b 41 0c 40 89
>
> Stack: [0xb7de3000,0xb7fe4000],  sp=0xb7fe1d04,  free space=2043k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> V  [libjvm.so+0x313045]
> V  [libjvm.so+0x1877b0]
> V  [libjvm.so+0x3752ec]
> V  [libjvm.so+0x373f35]
> V  [libjvm.so+0x372fa7]
> V  [libjvm.so+0x372cb2]
> V  [libjvm.so+0x285e71]
> V  [libjvm.so+0x26fb31]
> C  [libjava.so+0xbbd4]
>  Java_java_lang_ClassLoader_findBootstrapClass+0x114
> J
>  java.lang.ClassLoader.findBootstrapClass(Ljava/lang/String;)Ljava/lang/Class;
> J  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
> J
>  org.codehaus.classworlds.RealmClassLoader.loadClassDirect(Ljava/lang/String;)Ljava/lang/Class;
> J
>  org.codehaus.classworlds.DefaultClassRealm.loadClass(Ljava/lang/String;)Ljava/lang/Class;
> J
>  org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(Lorg/codehaus/plexus/component/repository/ComponentDescriptor;Lorg/codehaus/classworlds/ClassRealm;Lorg/codehaus/plexus/PlexusContainer;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(Lorg/codehaus/plexus/component/repository/ComponentDescriptor;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent()Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.personality.plexus.lifecycle.phase.AutoConfigurePhase.execute(Ljava/lang/Object;Lorg/codehaus/plexus/component/manager/ComponentManager;)V
> J
>  org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(Ljava/lang/Object;Lorg/codehaus/plexus/component/manager/ComponentManager;)V
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::StubRoutines (1)
> V  [libjvm.so+0x21c40d]
> V  [libjvm.so+0x310378]
> V  [libjvm.so+0x21c2a0]
> V  [libjvm.so+0x339835]
> V  [libjvm.so+0x33c40c]
> V  [libjvm.so+0x288355]
> C  [libjava.so+0x15214]
>  Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::StubRoutines (1)
> V  [libjvm.so+0x21c40d]
> V  [libjvm.so+0x310378]
> V  [libjvm.so+0x21c2a0]
> V  [libjvm.so+0x2458c6]
> V  [libjvm.so+0x2370c8]
> C  [java+0x1b98]  JavaMain+0x2c8
> C  [libpthread.so.0+0x53cc]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> J
>  java.lang.ClassLoader.findBootstrapClass(Ljava/lang/String;)Ljava/lang/Class;
> J  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
> J
>  org.codehaus.classworlds.RealmClassLoader.loadClassDirect(Ljava/lang/String;)Ljava/lang/Class;
> J
>  org.codehaus.classworlds.DefaultClassRealm.loadClass(Ljava/lang/String;)Ljava/lang/Class;
> J
>  org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(Lorg/codehaus/plexus/component/repository/ComponentDescriptor;Lorg/codehaus/classworlds/ClassRealm;Lorg/codehaus/plexus/PlexusContainer;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(Lorg/codehaus/plexus/component/repository/ComponentDescriptor;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent()Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.personality.plexus.lifecycle.phase.AutoConfigurePhase.execute(Ljava/lang/Object;Lorg/codehaus/plexus/component/manager/ComponentManager;)V
> J
>  org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(Ljava/lang/Object;Lorg/codehaus/plexus/component/manager/ComponentManager;)V
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;)Ljava/lang/Object;
> J
>  org.codehaus.plexus.DefaultPlexusContainer.lookup(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::StubRoutines (1)
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::Interpreter
> v  ~BufferBlob::StubRoutines (1)
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>  0x0808e000 JavaThread "Low Memory Detector" daemon [_thread_blocked,
> id=16355, stack(0xb4ebb000,0xb50bc000)]
>  0x0808b400 JavaThread "CompilerThread0" daemon [_thread_blocked,
> id=16354, stack(0xb50bc000,0xb513d000)]
>  0x0808a000 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
> id=16353, stack(0xb513d000,0xb533e000)]
>  0x08081800 JavaThread "Finalizer" daemon [_thread_blocked, id=16352,
> stack(0xb553e000,0xb573f000)]
>  0x08080800 JavaThread "Reference Handler" daemon [_thread_blocked,
> id=16351, stack(0xb573f000,0xb5940000)]
> =>0x08058800 JavaThread "main" [_thread_in_vm, id=16349,
> stack(0xb7de3000,0xb7fe4000)]
>
> Other Threads:
>  0x0807f000 VMThread [stack: 0xb5940000,0xb59c1000] [id=16350]
>  0x08097c00 WatcherThread [stack: 0xb4e3a000,0xb4ebb000] [id=16356]
>
> VM state:not at safepoint (normal execution)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Heap
>  def new generation   total 54464K, used 23470K [0x602a0000, 0x63db0000,
> 0x63db0000)
>  eden space 48448K,  36% used [0x602a0000, 0x613ab8a8, 0x631f0000)
>  from space 6016K, 100% used [0x637d0000, 0x63db0000, 0x63db0000)
>  to   space 6016K,   0% used [0x631f0000, 0x631f0000, 0x637d0000)
>  tenured generation   total 725952K, used 48263K [0x63db0000, 0x902a0000,
> 0x902a0000)
>   the space 725952K,   6% used [0x63db0000, 0x66cd1fa0, 0x66cd2000,
> 0x902a0000)
>  compacting perm gen  total 36864K, used 36629K [0x902a0000, 0x926a0000,
> 0x942a0000)
>   the space 36864K,  99% used [0x902a0000, 0x926657e0, 0x92665800,
> 0x926a0000)
>    ro space 8192K,  73% used [0x942a0000, 0x94883458, 0x94883600,
> 0x94aa0000)
>    rw space 12288K,  58% used [0x94aa0000, 0x95198650, 0x95198800,
> 0x956a0000)
>
> Dynamic libraries:
> 004ac000-004b4000 r-xp 00000000 fd:00 164815     /lib/tls/librt-2.3.4.so
> 004b4000-004b5000 r-xp 00007000 fd:00 164815     /lib/tls/librt-2.3.4.so
> 004b5000-004b6000 rwxp 00008000 fd:00 164815     /lib/tls/librt-2.3.4.so
> 004b6000-004c0000 rwxp 004b6000 00:00 0
> 00818000-0082e000 r-xp 00000000 fd:00 164796     /lib/ld-2.3.4.so
> 0082e000-0082f000 r-xp 00015000 fd:00 164796     /lib/ld-2.3.4.so
> 0082f000-00830000 rwxp 00016000 fd:00 164796     /lib/ld-2.3.4.so
> 00832000-00958000 r-xp 00000000 fd:00 164797     /lib/tls/libc-2.3.4.so
> 00958000-0095a000 r-xp 00125000 fd:00 164797     /lib/tls/libc-2.3.4.so
> 0095a000-0095c000 rwxp 00127000 fd:00 164797     /lib/tls/libc-2.3.4.so
> 0095c000-0095e000 rwxp 0095c000 00:00 0
> 00960000-00962000 r-xp 00000000 fd:00 164799     /lib/libdl-2.3.4.so
> 00962000-00963000 r-xp 00001000 fd:00 164799     /lib/libdl-2.3.4.so
> 00963000-00964000 rwxp 00002000 fd:00 164799     /lib/libdl-2.3.4.so
> 00966000-00987000 r-xp 00000000 fd:00 164798     /lib/tls/libm-2.3.4.so
> 00987000-00988000 r-xp 00020000 fd:00 164798     /lib/tls/libm-2.3.4.so
> 00988000-00989000 rwxp 00021000 fd:00 164798     /lib/tls/libm-2.3.4.so
> 00a96000-00aa4000 r-xp 00000000 fd:00 164800     /lib/tls/
> libpthread-2.3.4.so
> 00aa4000-00aa5000 r-xp 0000d000 fd:00 164800     /lib/tls/
> libpthread-2.3.4.so
> 00aa5000-00aa6000 rwxp 0000e000 fd:00 164800     /lib/tls/
> libpthread-2.3.4.so
> 00aa6000-00aa8000 rwxp 00aa6000 00:00 0
> 00ac7000-00ad6000 r-xp 00000000 fd:00 164802     /lib/libresolv-2.3.4.so
> 00ad6000-00ad7000 r-xp 0000f000 fd:00 164802     /lib/libresolv-2.3.4.so
> 00ad7000-00ad8000 rwxp 00010000 fd:00 164802     /lib/libresolv-2.3.4.so
> 00ad8000-00ada000 rwxp 00ad8000 00:00 0
> 00d68000-00d7b000 r-xp 00000000 fd:00 164807     /lib/libnsl-2.3.4.so
> 00d7b000-00d7c000 r-xp 00012000 fd:00 164807     /lib/libnsl-2.3.4.so
> 00d7c000-00d7d000 rwxp 00013000 fd:00 164807     /lib/libnsl-2.3.4.so
> 00d7d000-00d7f000 rwxp 00d7d000 00:00 0
> 06000000-0641a000 r-xp 00000000 fd:00 2427445
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so
> 0641a000-06434000 rwxp 0041a000 fd:00 2427445
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/libjvm.so
> 06434000-06854000 rwxp 06434000 00:00 0
> 08048000-08052000 r-xp 00000000 fd:00 2265551
>  /usr/java/jdk1.6.0_05/bin/java
> 08052000-08053000 rwxp 00009000 fd:00 2265551
>  /usr/java/jdk1.6.0_05/bin/java
> 08053000-08ae7000 rwxp 08053000 00:00 0
> 602a0000-926a0000 rwxp 602a0000 00:00 0
> 926a0000-942a0000 rwxp 926a0000 00:00 0
> 942a0000-94884000 r-xs 00001000 fd:00 2427307
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/classes.jsa
> 94884000-94aa0000 rwxp 94884000 00:00 0
> 94aa0000-95199000 rwxp 005e5000 fd:00 2427307
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/classes.jsa
> 95199000-956a0000 rwxp 95199000 00:00 0
> 956a0000-95779000 rwxp 00cde000 fd:00 2427307
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/classes.jsa
> 95779000-95aa0000 rwxp 95779000 00:00 0
> 95aa0000-95aa4000 r-xs 00db7000 fd:00 2427307
>  /usr/java/jdk1.6.0_05/jre/lib/i386/client/classes.jsa
> 95aa4000-95ea0000 rwxp 95aa4000 00:00 0
> abca8000-b3de2000 rwxp abca8000 00:00 0
> b3de2000-b3e00000 ---p b3de2000 00:00 0
> b3f00000-b3ffe000 rwxp b3f00000 00:00 0
> b3ffe000-b4000000 ---p b3ffe000 00:00 0
> b4000000-b40fa000 rwxp b4000000 00:00 0
> b40fa000-b4100000 ---p b40fa000 00:00 0
> b4100000-b41fe000 rwxp b4100000 00:00 0
> b41fe000-b4200000 ---p b41fe000 00:00 0
> b4239000-b423b000 r-xs 00015000 fd:00 3195335
>  /home/admin/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
> b423b000-b423d000 <http://1.1.3.3/xpp3-1.1.3.3.jarb423b000-b423d000> r-xs
> 00005000 fd:00 3195332
>  /home/admin/.m2/repository/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar
> b423d000-b4247000 r-xs 00052000 fd:00 3195329
>  /home/admin/.m2/repository/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.jar
> b4247000-b424a000 rwxp b4247000 00:00 0
> b424a000-b4448000 rwxp b424a000 00:00 0
> b444e000-b445e000 r-xs 0007e000 fd:00 3179425
>  /home/admin/.m2/repository/jaxb2-reflection/jaxb2-reflection/2.0/jaxb2-reflection-2.0.jar
> b445e000-b4464000 r-xs 00067000 fd:00 3195288
>  /home/admin/.m2/repository/jboss/javassist/3.1/javassist-3.1.jar
> b4464000-b4465000 r-xs 00006000 fd:00 3195301
>  /home/admin/.m2/repository/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
> b4465000-b446f000 r-xs 00079000 fd:00 3195298
>  /home/admin/.m2/repository/org/apache/bcel/bcel/5.2/bcel-5.2.jar
> b446f000-b4470000 r-xs 00007000 fd:00 3195395
>  /home/admin/.m2/repository/jug/jug-asl/2.0.0/jug-asl-2.0.0.jar
> b4470000-b4472000 r-xs 0000a000 fd:00 3195276
>  /home/admin/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
> b4472000-b4475000 r-xs 00013000 fd:00 3195279
>  /home/admin/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
> b4475000-b4479000 r-xs 00038000 fd:00 3195282
>  /home/admin/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
> b4479000-b447e000 r-xs 00020000 fd:00 3195304
>  /home/admin/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
> b447e000-b4480000 r-xs 00000000 00:12 598363
> /mnt/hgfs/servicelayer/testclassesj16/target/testclassesj16-1.1.jar
> b4480000-b4481000 r-xs 00001000 00:12 597940
> /mnt/hgfs/servicelayer/testclassesj14/target/testclassesj14-1.1.jar
> b4481000-b4483000 r-xs 00005000 fd:00 3195064
>  /home/admin/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
> b4483000-b44c0000 r-xs 0024e000 fd:00 3195040
>  /home/admin/.m2/repository/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar
> b44c0000-b44ca000 r-xs 0002d000 00:12 608579
> /mnt/hgfs/servicelayer/soap-config/target/soap-config-1.1.jar
> b44ca000-b44d0000 r-xs 0004a000 fd:00 3195273
>  /home/admin/.m2/repository/com/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.jar
> b44d0000-b44d7000 r-xs 00053000 fd:00 3195295
>  /home/admin/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
> b44d7000-b44d8000 r-xs 00000000 fd:00 3195052
>  /home/admin/.m2/repository/org/apache/xmlbeans/xmlbeans-qname/2.3.0/xmlbeans-qname-2.3.0.jar
> b44d8000-b44db000 r-xs 00013000 fd:00 2427487
>  /usr/java/jdk1.6.0_05/jre/lib/jce.jar
> b44db000-b44df000 r-xp 00000000 fd:00 163887     /lib/libnss_dns-2.3.4.so
> b44df000-b44e0000 r-xp 00003000 fd:00 163887     /lib/libnss_dns-2.3.4.so
> b44e0000-b44e1000 rwxp 00004000 fd:00 163887     /lib/libnss_dns-2.3.4.so
> b44e2000-b44e9000 r-xs 00110000 fd:00 2427498
>  /usr/java/jdk1.6.0_05/jre/lib/resources.jar
> b44e9000-b44ec000 r-xs 00027000 fd:00 2427412
>  /usr/java/jdk1.6.0_05/jre/lib/ext/sunjce_provider.jar
> b44ec000-b44f2000 r-xs 00091000 fd:00 2427499
>  /usr/java/jdk1.6.0_05/jre/lib/jsse.jar
> b44f2000-b4505000 r-xp 00000000 fd:00 2427477
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libnet.so
> b4505000-b4506000 rwxp 00013000 fd:00 2427477
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libnet.so
> b4506000-b4515000 r-xs 000ee000 fd:00 3195193
>  /home/admin/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
> b4515000-b4516000 r-xs 00002000 fd:00 3195190
>  /home/admin/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
> b4516000-b4575000 r-xs 00b89000 fd:00 2197837
>  /usr/java/jdk1.6.0_05/lib/tools.jar
> b4575000-b4576000 r-xs 00002000 fd:00 3195121
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
> b4576000-b457a000 r-xs 00023000 fd:00 3195118
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
> b457a000-b457c000 r-xs 00003000 fd:00 3195115
>  /home/admin/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar
> b457c000-b457f000 r-xs 0002f000 fd:00 3195015
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar
> b457f000-b4588000 r-xs 00073000 fd:00 3179523
>  /home/admin/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
> b4588000-b458e000 r-xs 0003a000 fd:00 3179520
>  /home/admin/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.jar
> b458e000-b45ed000 r-xs 00b89000 fd:00 2197837
>  /usr/java/jdk1.6.0_05/lib/tools.jar
> b45ed000-b45ee000 r-xs 00003000 fd:00 3179507
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
> b45ee000-b45f0000 r-xs 00000000 fd:00 3179504
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
> b45f0000-b45f1000 r-xs 00004000 fd:00 3179501
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
> b45f1000-b45f3000 r-xs 00026000 fd:00 3179498
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
> b45f3000-b45f5000 r-xs 00005000 fd:00 3179458
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
> b45f5000-b45f6000 r-xs 00005000 fd:00 3179450
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.jar
> b45f6000-b45f8000 r-xs 00002000 fd:00 3179436
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> b45f8000-b45fb000 r-xs 0002a000 fd:00 3179079
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-eclipse-plugin/2.5.1/maven-eclipse-plugin-2.5.1.jar
> b45fb000-b45fc000 r-xs 00004000 fd:00 3179184
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
> b45fc000-b45fd000 r-xs 00002000 fd:00 3195160
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
> b45fd000-b4600000 r-xs 0001e000 fd:00 3196371
>  /home/admin/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
> b4600000-b4603000 r-xs 0001f000 fd:00 3196368
>  /home/admin/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
> b4603000-b4609000 r-xs 00071000 fd:00 3196365
>  /home/admin/.m2/repository/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar
> b4609000-b460c000 r-xs 00020000 fd:00 3179392
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> b460c000-b460d000 r-xs 00006000 fd:00 3196362
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.jar
> b460d000-b460f000 r-xs 00003000 fd:00 3196359
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.jar
> b460f000-b4611000 r-xs 0000a000 fd:00 3196356
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.jar
> b4611000-b4615000 r-xs 0002f000 fd:00 3195124
>  /home/admin/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
> b4615000-b4622000 r-xs 0007f000 fd:00 3196353
>  /home/admin/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
> b4622000-b462a000 r-xs 00058000 fd:00 3196350
>  /home/admin/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
> b462a000-b462b000 r-xs 00001000 fd:00 3196347
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
> b462b000-b462c000 r-xs 00002000 fd:00 3196344
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
> b462c000-b462e000 r-xs 0000a000 fd:00 3196341
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.jar
> b462e000-b4630000 r-xs 0000b000 fd:00 3196338
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar
> b4630000-b4633000 r-xs 0000b000 fd:00 3196335
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar
> b4633000-b4635000 r-xs 00004000 fd:00 3196332
>  /home/admin/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.jar
> b4635000-b4639000 r-xs 0002f000 fd:00 3179395
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar
> b4639000-b463a000 r-xs 00003000 fd:00 3179466
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
> b463a000-b463d000 r-xs 0001b000 fd:00 3196185
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.jar
> b463d000-b463f000 r-xs 00008000 fd:00 3179390
>  /home/admin/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
> b463f000-b4641000 r-xs 00008000 fd:00 3179376
>  /home/admin/.m2/repository/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar
> b4641000-b4643000 r-xs 00014000 fd:00 3179168
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.jar
> b4643000-b4644000 r-xs 00002000 fd:00 3179160
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> b4644000-b4645000 r-xs 00002000 fd:00 3179077
>  /home/admin/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
> b4645000-b4647000 r-xs 0000e000 fd:00 3179147
>  /home/admin/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
> b4647000-b464c000 r-xs 00028000 fd:00 3179144
>  /home/admin/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar
> b464c000-b464f000 r-xs 00027000 fd:00 3179138
>  /home/admin/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> b464f000-b4651000 r-xs 00002000 fd:00 3179141
>  /home/admin/.m2/repository/org/apache/maven/wagon/wagon-ftp/1.0-beta-2/wagon-ftp-1.0-beta-2.jar
> b4651000-b4654000 rwxp b4651000 00:00 0
> b4654000-b4852000 rwxp b4654000 00:00 0
> b4852000-b4855000 rwxp b4852000 00:00 0
> b4855000-b4a53000 rwxp b4855000 00:00 0
> b4a53000-b4a54000 r-xp b4a53000 00:00 0
> b4a54000-b4a57000 rwxp b4a54000 00:00 0
> b4a57000-b4c55000 rwxp b4a57000 00:00 0
> b4c55000-b4c7c000 r-xs 001f4000 fd:00 2474500
>  /usr/local/apache-maven/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
> b4c7c000-b4cae000 rwxp b4c7c000 00:00 0
> b4cae000-b4e38000 r-xs 02ded000 fd:00 2427501
>  /usr/java/jdk1.6.0_05/jre/lib/rt.jar
> b4e38000-b4e3a000 r-xs 00008000 fd:00 2346875
>  /usr/local/apache-maven/apache-maven-2.0.9/boot/classworlds-1.1.jar
> b4e3a000-b4e3b000 ---p b4e3a000 00:00 0
> b4e3b000-b4ebb000 rwxp b4e3b000 00:00 0
> b4ebb000-b4ebe000 ---p b4ebb000 00:00 0
> b4ebe000-b50bc000 rwxp b4ebe000 00:00 0
> b50bc000-b50bf000 ---p b50bc000 00:00 0
> b50bf000-b513d000 rwxp b50bf000 00:00 0
> b513d000-b5140000 ---p b513d000 00:00 0
> b5140000-b533e000 rwxp b5140000 00:00 0
> b533e000-b553e000 r-xp 00000000 fd:00 2034955
>  /usr/lib/locale/locale-archive
> b553e000-b5541000 ---p b553e000 00:00 0
> b5541000-b573f000 rwxp b5541000 00:00 0
> b573f000-b5742000 ---p b573f000 00:00 0
> b5742000-b5940000 rwxp b5742000 00:00 0
> b5940000-b5941000 ---p b5940000 00:00 0
> b5941000-b59e0000 rwxp b5941000 00:00 0
> b59e0000-b59ee000 rwxp b59e0000 00:00 0
> b59ee000-b5ce3000 rwxp b59ee000 00:00 0
> b5ce3000-b5cf1000 rwxp b5ce3000 00:00 0
> b5cf1000-b5d22000 rwxp b5cf1000 00:00 0
> b5d22000-b5d7c000 rwxp b5d22000 00:00 0
> b5d7c000-b66e4000 rwxp b5d7c000 00:00 0
> b66e4000-b7d7c000 rwxp b66e4000 00:00 0
> b7d7c000-b7d8b000 r-xp 00000000 fd:00 2427485
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libzip.so
> b7d8b000-b7d8d000 rwxp 0000e000 fd:00 2427485
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libzip.so
> b7d8d000-b7db0000 r-xp 00000000 fd:00 2427462
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libjava.so
> b7db0000-b7db2000 rwxp 00023000 fd:00 2427462
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libjava.so
> b7db2000-b7dbd000 r-xp 00000000 fd:00 2427484
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libverify.so
> b7dbd000-b7dbe000 rwxp 0000b000 fd:00 2427484
>  /usr/java/jdk1.6.0_05/jre/lib/i386/libverify.so
> b7dbe000-b7dc7000 r-xp 00000000 fd:00 163890     /lib/
> libnss_files-2.3.4.so
> b7dc7000-b7dc8000 r-xp 00008000 fd:00 163890     /lib/
> libnss_files-2.3.4.so
> b7dc8000-b7dc9000 rwxp 00009000 fd:00 163890     /lib/
> libnss_files-2.3.4.so
> b7dd2000-b7dda000 rwxs 00000000 fd:00 3606449
>  /tmp/hsperfdata_admin/16347
> b7dda000-b7de0000 r-xp 00000000 fd:00 2441224
>  /usr/java/jdk1.6.0_05/jre/lib/i386/native_threads/libhpi.so
> b7de0000-b7de1000 rwxp 00006000 fd:00 2441224
>  /usr/java/jdk1.6.0_05/jre/lib/i386/native_threads/libhpi.so
> b7de1000-b7de2000 rwxp b7de1000 00:00 0
> b7de2000-b7de3000 r-xp b7de2000 00:00 0
> b7de3000-b7de6000 ---p b7de3000 00:00 0
> b7de6000-b7fe5000 rwxp b7de6000 00:00 0
> b7fe5000-b7fec000 r-xp 00000000 fd:00 2441220
>  /usr/java/jdk1.6.0_05/jre/lib/i386/jli/libjli.so
> b7fec000-b7fee000 rwxp 00006000 fd:00 2441220
>  /usr/java/jdk1.6.0_05/jre/lib/i386/jli/libjli.so
> b7fee000-b7fef000 rwxp b7fee000 00:00 0
> bfff9000-c0000000 rwxp bfff9000 00:00 0
> ffffe000-fffff000 r-xp 00000000 00:00 0
>
> VM Arguments:
> jvm_args: -Xms768m -Xmx768m -Xss2048k
> -Dclassworlds.conf=/usr/local/apache-maven/apache-maven-2.0.9/bin/m2.conf
> -Dmaven.home=/usr/local/apache-maven/apache-maven-2.0.9
> java_command: org.codehaus.classworlds.Launcher "clean" "install"
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=/usr/java/jdk1.6.0_05
>
> PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/admin/bin:/usr/java/jdk1.6.0_05/bin:/usr/local/apache-maven/apache-maven-2.0.9/bin:/usr/local/apache-ant-1.7.0/bin:.home
>
> LD_LIBRARY_PATH=/usr/java/jdk1.6.0_05/jre/lib/i386/client:/usr/java/jdk1.6.0_05/jre/lib/i386:/usr/java/jdk1.6.0_05/jre/../lib/i386
> SHELL=/bin/bash
> DISPLAY=:0.0
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x3be340], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGBUS: [libjvm.so+0x3be340], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGFPE: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGPIPE: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGXFSZ: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGILL: [libjvm.so+0x30f440], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGUSR2: [libjvm.so+0x311480], sa_mask[0]=0x00000000, sa_flags=0x10000004
> SIGHUP: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGINT: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGTERM: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGQUIT: [libjvm.so+0x311220], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
>
>
> ---------------  S Y S T E M  ---------------
>
> OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
>
> uname:Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686
> libc:glibc 2.3.4 NPTL 2.3.4
> rlimit: STACK 10240k, CORE 0k, NPROC 25536, NOFILE 1024, AS infinity
> load average:2.19 1.83 1.17
>
> CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 15
> stepping 8, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
>
> Memory: 4k page, physical 1615684k(514644k free), swap 2031608k(2031608k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (10.0-b19) for linux-x86 JRE
> (1.6.0_05-b13), built on Feb 22 2008 01:33:55 by "java_re" with gcc 3.2.1-7a
> (J2SE release)
>
> time: Wed Apr 30 13:26:02 2008
> elapsed time: 348 seconds
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Re: maven build causing java segmentation fault - help needed

Posted by david delbecq <de...@oma.be>.
Doug Douglass a écrit :
> Mark,
>
> The only time I've seen a maven build trigger a JVM seg fault the problem
> was due to bad server memory. It was low end hardware running CentOS and
> hosted our Cruise Control install, amongst many other things. The seg faults
> were intermittent.
>
> HTH and good luck,
> Doug
>
> On Wed, Apr 30, 2008 at 3:54 PM, Mark Hansen <ma...@agileitinc.com>
> wrote:
>
>   
>> We are trying to get the maven build for our product working under
>> RedHat linux (running as a guest OS under VMWare).  This build works
>> fine on Windows Vista and XP.  But under RedHat it is causing a Java
>> segmentation fault.  See attached log file for details.
>>
>> Does anyone have any ideas about how we might get to the bottom of what
>> is causing this and fix it?
>>
>> Here are some details about our environment.
>>
>> Maven version 2.0.9
>> JDK 1.6.0_05
>> Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
>> jvm_args: -Xms768m -Xmx768m -Xss2048k
>>     
Is that a sun provided jvm (you downloaded it from sun web site) or a 
redhat provided one (using rpms). In later case, try to switch to sun 
jvm. If that doesn't solve, try to change minor jvm verison (download 
from sun archive a 1.6.0_04 for example). Such crashes are most of the 
time due to either hardware issues, or jvm bugs.
Try also this, before starting maven:

ulimit -s 2048





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven build causing java segmentation fault - help needed

Posted by Mark Hansen <ma...@agileitinc.com>.
Doug,

Thanks - your comments do provide a clue.  We are running inside a 
VMWare virtual machine.  So, if it were bad physical RAM, then I think 
the failure would occur at the VMWare level.  In our case, the virtual  
machine and host operating system are not reporting any problems.  It is 
the JVM running inside the guest OS that gives the segmentation fault.

So, sounds like we might have a problem with the way that our virtual 
machine memory is configured.

Has anybody out there had problems with Maven and/or Java inside VMWare 
causing segmentation faults?

-- Mark



Doug Douglass wrote:
> Mark,
>
> The only time I've seen a maven build trigger a JVM seg fault the problem
> was due to bad server memory. It was low end hardware running CentOS and
> hosted our Cruise Control install, amongst many other things. The seg faults
> were intermittent.
>
> HTH and good luck,
> Doug
>
> On Wed, Apr 30, 2008 at 3:54 PM, Mark Hansen <ma...@agileitinc.com>
> wrote:
>
>   
>> We are trying to get the maven build for our product working under
>> RedHat linux (running as a guest OS under VMWare).  This build works
>> fine on Windows Vista and XP.  But under RedHat it is causing a Java
>> segmentation fault.  See attached log file for details.
>>
>> Does anyone have any ideas about how we might get to the bottom of what
>> is causing this and fix it?
>>
>> Here are some details about our environment.
>>
>> Maven version 2.0.9
>> JDK 1.6.0_05
>> Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
>> jvm_args: -Xms768m -Xmx768m -Xss2048k
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>     


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org