dev@glassfish.java.net

Re: segmentation fault/Invalid memory access while building V3

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 23 Oct 2008 09:40:19 -0700

I see this now every day ("Invalid memory access"), any time I do:
'mvn clean; svn up; mvn -U install'. Then I continue by doing 'mvn -U
install' and the build goes through.

Are we running native code somewhere? Or is this a JVM bug
( HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) on
Mac OS X 10.5).

Anyone else seeing this? It is a very recent phenomenon.

Lloyd
-----------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/javax.xml.bind/
target/javax.xml.bind.jar
[INFO] [bundle:bundle {execution: osgi-bundle}]
[INFO] Expanding: /Volumes/Speedy/v3/code/javaee-api/javax.xml.bind/
target/javax.xml.bind.jar into /Volumes/Speedy/v3/code/javaee-api/
javax.xml.bind/target/classes
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/javax.xml.bind/
target/javax.xml.bind-sources.jar
[INFO] [install:install]
[INFO] Installing /Volumes/Speedy/v3/code/javaee-api/javax.xml.bind/
target/javax.xml.bind.jar to /v3/repo/org/glassfish/javax.xml.bind/3.0-
SNAPSHOT/javax.xml.bind-3.0-SNAPSHOT.jar
[INFO] Installing /Volumes/Speedy/v3/code/javaee-api/javax.xml.bind/
target/javax.xml.bind-sources.jar to /v3/repo/org/glassfish/
javax.xml.bind/3.0-SNAPSHOT/javax.xml.bind-3.0-SNAPSHOT-sources.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building javax.mail API v.1.4
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2008
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Warning in manifest for org.glassfish:javax.mail:jar:3.0-
SNAPSHOT : Superfluous export-package instructions: [javax.mail.*]
[WARNING] Warning in manifest for org.glassfish:javax.mail:jar:3.0-
SNAPSHOT : Did not find matching referal for *
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory: /Volumes/Speedy/v3/code/javaee-api/
javax.mail/target/surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/javax.mail/
target/javax.mail.jar
[INFO] [bundle:bundle {execution: osgi-bundle}]
Invalid memory access of location 4b232000 rip=ffe00de2


..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member






On Oct 21, 2008, at 7:57 PM, Lloyd Chambers wrote:

> It's not often one sees a segmentation fault with Java. Anyone else
> see this?
>
> Mac OS X 10.5, JDK 1.6
>
>
> [INFO] [jar:jar]
> [INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp/target/javax.servlet.jsp.jar
> [INFO] [bundle:bundle {execution: osgi-bundle}]
> [INFO] Expanding: /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp/target/javax.servlet.jsp.jar into /Volumes/Speedy/
> v3/code/javaee-api/javax.servlet.jsp/target/classes
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp/target/javax.servlet.jsp-sources.jar
> [INFO] [install:install]
> [INFO] Installing /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp/target/javax.servlet.jsp.jar to /v3/repo/org/
> glassfish/javax.servlet.jsp/3.0-SNAPSHOT/javax.servlet.jsp-3.0-
> SNAPSHOT.jar
> [INFO] Installing /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp/target/javax.servlet.jsp-sources.jar to /v3/repo/
> org/glassfish/javax.servlet.jsp/3.0-SNAPSHOT/javax.servlet.jsp-3.0-
> SNAPSHOT-sources.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building javax.servlet.jsp.jstl API v.1.2
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [remote-resources:process {execution: default}]
> [INFO] inceptionYear not specified, defaulting to 2008
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for
> org.glassfish:javax.servlet.jsp.jstl:jar:3.0-SNAPSHOT : Superfluous
> export-package instructions: [javax.servlet.jsp.jstl.*]
> [WARNING] Warning in manifest for
> org.glassfish:javax.servlet.jsp.jstl:jar:3.0-SNAPSHOT : Did not find
> matching referal for *
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory: /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp.jstl/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar: /Volumes/Speedy/v3/code/javaee-api/
> javax.servlet.jsp.jstl/target/javax.servlet.jsp.jstl.jar
> [INFO] [bundle:bundle {execution: osgi-bundle}]
> Invalid memory access of location 4b222000 rip=ffe00a15
>
> Segmentation fault
>
>
> ..............................................
> Lloyd Chambers
> lloyd.chambers_at_sun.com
> GlassFish team, LSARC member
>
>
>
>
>
>