ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas SMETS <tsm...@netscape.net>
Subject Re: Segmentation fault ... ?
Date Mon, 21 Apr 2003 10:21:58 GMT

 From a console here is the return code I get :
	23282 Segmentation fault

While ant returns the :
BUILD FAILED
file:/home/tsmets/workspace/TestForBgc/scripts/build.xml:75: Java 
returned: 139

None of these two seem at the moment return anything relevant from a 
long Google search (up to now)


It's one of my fears...
That the install of the IBM JDK's/ JRE's introduced some perturbation on 
the system. Thought I just extracted & untarred the two archives 
(/opt/IBMJava2-SDK-131.tgz, /opt/IBMJava2-SDK-14.tgz).

Thomas,



Antoine Levy-Lambert wrote:
> I guess you start your aspectj program with the <java> task. Try the
> attribute fork="true" to see whether this helps.
> Other than that I do not know.
> Antoine
> ----- Original Message -----
> From: "Thomas SMETS" <tsmets@netscape.net>
> To: "Ant Users List" <user@ant.apache.org>
> Sent: Sunday, April 20, 2003 1:42 AM
> Subject: Re: Segmentation fault ... ?
> 
> 
> 
>>yes.
>>Positive.
>>Thomas,
>>
>>levylambert@tiscali-dsl.de wrote:
>>
>>>Can you run your aspectj program outside of ant without a segmentation
>>
> fault
> 
>>>?
>>>Antoine
>>>----- Original Message -----
>>>From: "Thomas SMETS" <tsmets@netscape.net>
>>>To: <user@ant.apache.org>
>>>Sent: Saturday, April 19, 2003 7:40 PM
>>>Subject: Segmentation fault ... ?
>>>
>>>
>>>
>>>
>>>>Here are the variables in my environment (Intel / Linux) :
>>>>
>>>>JAVA_HOME=/opt/jdk/1.4          (Sun's)
>>>>ANT_HOME=/opt/jakarta-ant-1.5.1
>>>>
>>>>When I try to run an program that includes some aspect, here is what I
>>>>get :
>>>>
>>>>/opt/jakarta-ant-1.5.1/bin/ant: line 191: 14334 Segmentation fault
>>>>"$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}"
>>>>$ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"
>>>>
>>>>
>>>>Thought the compilation was OK...
>>>>
>>>>Would someone have an hint ?
>>>>
>>>>Tx,
>>>>
>>>>Thomas,
>>>>
>>>>
>>>>--
>>>>Thomas SMETS
>>>>SCJP2 - Brussels
>>>>
>>>>http://tsmets.lautre.net
>>>>
>>>>
>>>>
>>>>
>>>>Herebelow is my directory structure.
>>>>Sun's JDK were installed with the rpm's from Sun's web site.
>>>>IBM's JDK were installed with following two archives :
>>>>/opt/IBMJava2-SDK-131.tgz & /opt/IBMJava2-SDK-14.tgz
>>>>
>>>>[tsmets@calvin tsmets]$ tree -d  -L 2 /opt/IB* /opt/jdk
>>>>/opt/IBMJava2-131
>>>>|-- bin
>>>>|   `-- exe
>>>>|-- demo
>>>>|   |-- applets
>>>>|   |-- bigdecimal
>>>>|   |-- jdbcodbc
>>>>|   |-- jfc
>>>>|   |-- jpda
>>>>|   |-- misc
>>>>|   |-- rmi-iiop
>>>>|   `-- sound
>>>>|-- docs
>>>>|   `-- sdk
>>>>|-- include
>>>>|-- jre
>>>>|   |-- bin
>>>>|   `-- lib
>>>>`-- lib
>>>>/opt/IBMJava2-14
>>>>|-- bin
>>>>|-- demo
>>>>|   |-- applets
>>>>|   |-- bigdecimal
>>>>|   |-- jfc
>>>>|   |-- jni
>>>>|   |-- jpda
>>>>|   |-- misc
>>>>|   |-- rmi-iiop
>>>>|   `-- sound
>>>>|-- docs
>>>>|   |-- jaas
>>>>|   |-- jre
>>>>|   |-- rmi-iiop
>>>>|   `-- sdk
>>>>|-- include
>>>>|-- jre
>>>>|   |-- bin
>>>>|   `-- lib
>>>>`-- lib
>>>>
>>>>/opt/jdk
>>>>|-- 1.1.8
>>>>|   |-- bin
>>>>|   |-- demo
>>>>|   |-- include
>>>>|   `-- lib
>>>>|-- 1.2
>>>>|   |-- bin
>>>>|   |-- demo
>>>>|   |-- docs
>>>>|   |-- include
>>>>|   |-- include-old
>>>>|   |-- jre
>>>>|   `-- lib
>>>>|-- 1.3
>>>>|   |-- bin
>>>>|   |-- demo
>>>>|   |-- docs
>>>>|   |-- include
>>>>|   |-- include-old
>>>>|   |-- jre
>>>>|   |-- lib
>>>>|   `-- man
>>>>|-- 1.4
>>>>|   |-- bin
>>>>|   |-- demo
>>>>|   |-- include
>>>>|   |-- jre
>>>>|   |-- lib
>>>>|   `-- man
>>>>`-- lib
>>>>
>>>>72 directories
>>>>[tsmets@calvin tsmets]$
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>For additional commands, e-mail: user-help@ant.apache.org
>>>
>>
>>
>>--
>>Thomas SMETS
>>SCJP2 - Brussels
>>
>>http://tsmets.lautre.net
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


-- 
Thomas SMETS
SCJP2 - Brussels

http://tsmets.lautre.net


Mime
View raw message