[Jamvm-general] Javavm segmentation fault

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

 



Hi Dikran,

No, it is not possible to use JamVM with the class library provided
with Blackdown Java (a port of Suns VM).  This is because some classes
(such as Object and Thread) are tightly integrated with the VM.  JamVM
isn't compatible with the Blackdown versions, and as they're not open
source I am not able (nor do I have any wish to) make JamVM work with
them...

Regarding your second question, I'm not really familiar with
javax.imageio.  I'm therefore CC'ing this message to the Classpath
mailing list in the hope that someone will pick up on it there...

Rob.

On 5/25/06, Dikran Hovagimian <dikranh@xxxxxxxxxxx> wrote:
> Hi Rob,
>
> I am not sure who to turn to with the following problem.  I am trying to use
> JamVM in an AWT environment.  It seems that I have to put a lot of runtime
> files.  I installed gnu-classpath 0.91 and all the required gtk libs.  Now,
> javax.imageio is failing on reading a PNG image.  I added the imagemagick
> libraries but that did not help either.
>
> I have 2 questions:
> 1) Is it possible to use JamVM as a replacement for blackdown jvm while
> keeping everything else?
> 2) How can one use JamVM to in an AWT environment and use javax.imageio with
> it?
>
> Please direct me to the proper place/person if I am bothering you too much.
>
> Thanks in advance,
> Dikran Hovagimian
> ----- Original Message -----
> From: "Robert Lougher" <rob.lougher@xxxxxxxxx>
> To: "Dikran Hovagimian" <dikranh@xxxxxxxxxxx>
> Cc: "JamVM Hackers" <jamvm-general@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, May 23, 2006 12:01 AM
> Subject: Re: [Jamvm-general] Javavm segmentation fault
>
>
> Hi,
>
> Have you tried JamVM 1.4.3 which was released late Sunday night?  If
> this still crashes I will need to investigate it.  If you have gdb,
> do:
>
> > script
> > gdb jamvm
>
> (in gdb)
>
> > handle SIGUSR1 nostop pass print
>
> > run -verbosegc -verbose <classname>
>
> < output... >
>
> CRASH?
>
> get a backtrace
>
> > bt
> > quit
>
> ^D
> send the typescript file to me...
>
> Rob.
>
> On 5/23/06, Dikran Hovagimian <dikranh@xxxxxxxxxxx> wrote:
> > Hi Rob,
> >
> > Any news as to why I am seeing a crash?  Could it be a simple compilation
> > error on my part?  I really want to try JamVM but I can't run it.
> >
> > Thanks,
> > Dikran Hovagimian
> > ----- Original Message -----
> > From: "Robert Lougher" <rob.lougher@xxxxxxxxx>
> > To: "Dikran Hovagimian" <dikranh@xxxxxxxxxxx>
> > Sent: Sunday, May 21, 2006 6:18 AM
> > Subject: Re: [Jamvm-general] Javavm segmentation fault
> >
> >
> > Hi,
> >
> > Thanks for the report.  Can you provide some details of your
> > environment, i.e. operating system, processor, gcc version, etc.?
> > Also did you give any options to configure?
> >
> > Rob.
> >
> > On 5/21/06, Dikran Hovagimian <dikranh@xxxxxxxxxxx> wrote:
> > >
> > >
> > > I just started using javavm.  I started from scratch and compiled javavm
> > > 1.4.2 and classpath (tried 0.20 & 0.90).  When I run javavm I get the
> > > following segmentation fault.
> > >
> > > javavm -verbose MyClass
> > > [Loaded java/lang/Object from
> > > /usr/local/classpath/share/classpath/glibj.zip]
> > > [Linking class java/lang/Object]
> > > [Loaded java/io/Serializable from
> > > /usr/local/classpath/share/classpath/glibj.zip]
> > > [Linking class java/io/Serializable]
> > > [Loaded java/lang/Class from
> > > /usr/local/classpath/share/classpath/glibj.zip]
> > > [Linking class java/lang/Class]
> > > [Loaded java/lang/Runnable from
> > > /usr/local/classpath/share/classpath/glibj.zip]
> > > [Linking class java/lang/Runnable]
> > > ...
> > > [Linking class gnu/java/nio/channels/FileChannelImpl]
> > > [Loaded java/lang/Runtime from
> > > /usr/local/classpath/share/classpath/glibj.zip]
> > > [Linking class java/lang/Runtime]
> > > [Loaded gnu/classpath/VMStackWalker from
> > > /usr/local/share/jamvm/classes.zip]
> > > [Linking class gnu/classpath/VMStackWalker]
> > > [Loaded java/lang/VMRuntime from
> > > /usr/local/share/jamvm/classes.zip]
> > > [Linking class java/lang/VMRuntime]
> > > Segmentation fault
> > >
> > > Any help is greatly appreciated as I am interested in deploying this
> > > into
> > > an
> > > application that we want to roll out soon.
> > >
> > > Thanks in advance,
> > > Dikran Hovagimian
> >
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Jamvm-general mailing list
> Jamvm-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/jamvm-general
>


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux