ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Segmentation fault ... ?
Date Mon, 21 Apr 2003 06:54:31 GMT
In this case, can you try different JDK or JRE versions to see if you get
this problem with all JDKs or JREs.
Also, maybe you should try to write an AspectJ Hello World and see if you
can run it with ant's Java task.
If the Hello World Aspect J can be started from ant, then a next step would
be to fraction your program(s) to find out which part(s) of them are causing
ant to crash.
You could also try to see which files are being opened or sought by the
combination ant+AspectJ with Filemon from sysinternals.com on Windows or
with truss on Solaris ...; compare this with the activity of your AspectJ
program running outside of ant, this may lead to some information about what
is missing.
Of course have a look at AspectJ resources too to find out if other AspectJ
users have encountered this problem.
Antoine
----- Original Message -----
From: "Thomas SMETS" <tsmets@netscape.net>
To: "Ant Users List" <user@ant.apache.org>
Sent: Sunday, April 20, 2003 11:50 PM
Subject: Re: Segmentation fault ... ?


>
> With or without the fork="true" it gives exception....
>
> Thomas,
>
>
>
> levylambert@tiscali-dsl.de 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Mime
View raw message