swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Error running swarm in Windows: JVM access violation


From: Otto Cordero
Subject: Re: [Swarm-Support] Error running swarm in Windows: JVM access violation
Date: Thu, 6 Mar 2003 15:01:19 -0500

I tryed the jdb again, but since the error does not occur in java, no
exception is thrown. The debugger does not show anything useful, just the
same error. I tryed to run the jheatbugs example and I got the following
error

/src/Swarm/swarm/src/defobj/directory.m:507 swarm_directory_objc_remove
    0 [sig] java 1000 stackdump: Dumping stack trace to java.exe.stackdump

As you can see it is not the same as the previous one, which happened in the
jsimplebug example.. Additionally, I executed the jmousetrap example
succesfully. I thought this was a problem with any swarm app, but nothing
bad happened with mousetrap.

Do you have an idea of what could it be? ...what is different in the
mousetrap that makes it survive?...


----- Original Message -----
From: "Marshall, James A R" <address@hidden>
To: <address@hidden>
Sent: Thursday, March 06, 2003 10:11 AM
Subject: RE: [Swarm-Support] Error running swarm in Windows: JVM access
violation


> Otto,
>   have you tried running your model through jdb (the Java debugger) yet?
> This could help you work out what's causing the problem. So, you're using
> the same JDK and same version of Swarm on both machines? It seems strange
to
> me then that the same code should run on one and not the other... you say
> you're using XP on both machines too? Try comparins service packs.
>   Anyway, the main thing to do is use jdb and see where in your code the
> problem is triggered.
> James
>
> ---
> Dr James A R Marshall
> Complex Systems Modelling Group (COSMIC)
> Department of Earth Science and Engineering
> Imperial College London
> Tel: +44 (0)20 7594 7493
> Fax: +44 (0)20 7594 7444
> Container World Project - http://www.ese.ic.ac.uk/research/containerworld/
>
>
>
> -----Original Message-----
> From: Otto Cordero [mailto:address@hidden
> Sent: 06 March 2003 14:54
> To: address@hidden
> Subject: Re: [Swarm-Support] Error running swarm in Windows: JVM access
> violation
>
>
> Hi all,
>
> I changed my jsdk to 1.4.1 version but the error is still ocurring. This
is
> the message I get when trying to run any swarm application in my win-xp,
> j2sdk 1.4.x, swarm 2.1.1.
>
> *** event raised for error: InvalidArgument
> *** function: _i_Object_s__forward__(), file:
> /src/Swarm/swarm/src/defobj/DefObj
> ect.m, line: 626
> unable to find Java selector `allocIVars:' in objc:`JavaProxy' 0x1098db58
> java:
> 0x9aa0bc hash: 14078
> *** execution terminating due to error
> /src/Swarm/swarm/src/defobj/Symbol.m:173 -[Error(c) _raiseEvent:]
>       0 [sig] java 1000 stackdump: Dumping stack trace to
java.exe.stackdump
>
> The stackdump is below in this email, but I think it doesn't say much.
> Can someone please help me with this?, do you know how can I solve this
> error?
>
> Thanks,
>
> Otto.
>
>
> ----- Original Message -----
> From: "Otto Cordero" <address@hidden>
> To: <address@hidden>
> Sent: Wednesday, March 05, 2003 12:01 PM
> Subject: Re: [Swarm-Support] Error running swarm in Windows: JVM access
> violation
>
>
> > Thanks for your reply,
> >
> > I am using Swarm 2.1.1. ... yes, the difference seems to be the jdk
> version,
> > but given that the difference is just between 1.4.1 - 1.4.0, My guess
was
> > there must be something else. I'll upgrade my JVM and I'll let you know,
> >
> > Thanks again,
> >
> > Otto.
> >
> >
> > ----- Original Message -----
> > From: "Marshall, James A R" <address@hidden>
> > To: <address@hidden>
> > Sent: Wednesday, March 05, 2003 10:35 AM
> > Subject: RE: [Swarm-Support] Error running swarm in Windows: JVM access
> > violation
> >
> >
> > > Otto,
> > >   what version of Swarm are you using? The obvious difference between
> the
> > > machines is the JDK version. To get a better idea of where your
> simulation
> > > is going down try running it through jdb,
> > > James
> > >
> > > ---
> > > Dr James A R Marshall
> > > Complex Systems Modelling Group (COSMIC)
> > > Department of Earth Science and Engineering
> > > Imperial College London
> > > Tel: +44 (0)20 7594 7493
> > > Fax: +44 (0)20 7594 7444
> > > Container World Project -
> http://www.ese.ic.ac.uk/research/containerworld/
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Otto Cordero [mailto:address@hidden
> > > Sent: 05 March 2003 15:23
> > > To: address@hidden
> > > Subject: [Swarm-Support] Error running swarm in Windows: JVM access
> > > violation
> > >
> > >
> > > Dear List,
> > >
> > > I am compiling and building a simple swarm app in Windows XP ,
> > J2SDK-1.4.0.
> > > The program runs, but when trying to start the simulation the JVM
> crashes.
> > > In other words, I can see the initial configuration windows, but when
I
> > hit
> > > the 'start' button, the following error occurs:
> > >
> > > 145 [sig] java 1001 handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
> > > Exception: STATUS_ACCESS_VIOLATION at eip=61009ACE
> > > eax=00000000 ebx=00000458 ecx=00000458 edx=00000007 esi=0AEAFE9C
> > > edi=00000000
> > > ebp=0AEAFE84 esp=0AEAFE6C
> program=C:\J2SDK_Forte\jdk1.4.0\jre\bin\java.exe
> > > cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
> > > Stack trace:
> > > Frame     Function  Args
> > > 0AEAFE84  61009F35  (00000000, 00000000, 00000000, 0000040C)
> > > 0AEAFEB4  61009F35  (00000000, 00000000, 00000000, 00000000)
> > > 0AEAFF04  6100B3C7  (00000006, 00000000, 00000000, 000001F4)
> > > 0AEAFF64  6103E747  (00000000, 00000001, 0AEAFFB4, 6100324C)
> > > 0AEAFFB4  61003252  (61080890, 00000001, 01B40035, 61080890)
> > > 0AEAFFEC  77E802ED  (610031F0, 61080890, 00000000, 000000C8)
> > > End of stack trace
> > >
> > > Addtionally, I have succesfully executed the same simulation in
another
> > > machine with WinXP and J2SDK 1.4.1.
> > >
> > > I hope someone knows what is this error about. If you do, please let
me
> > > know,
> > >
> > > Thanks,
> > >
> > > Otto.
> > >
> > > _______________________________________________
> > > Support mailing list
> > > address@hidden
> > > http://www.swarm.org/mailman/listinfo/support
> > > _______________________________________________
> > > Support mailing list
> > > address@hidden
> > > http://www.swarm.org/mailman/listinfo/support
> > >
> > >
> >
> > _______________________________________________
> > Support mailing list
> > address@hidden
> > http://www.swarm.org/mailman/listinfo/support
> >
> >
>
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]