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

Re: gcjwebplugin and gcj 4.0.1



Il giorno lun, 05/09/2005 alle 16.17 +0200, Michael Koch ha scritto:
> On Mon, Jul 25, 2005 at 06:48:32PM +0200, Daniele Cruciani wrote:
> > Hi,
> > 
> > had someone tried to compile and run gcjwebplugin with and in gcj
> > 4.0.1 ? problems?
> 
> Current gcjwebplugin in Debian is built with gcj-4.0.
> 
> > I did, and I got exception on all applet.
> > 
> > During last experience with gcjwebplugin I can load and run local
> > applets, but not network applet (I can just run appletviewer), I do not
> > investigate more, I think it is a mozilla integration problem.
> > 
> > This time I do not tried appletviewer alone.
> 
> Please retry with the current package and give detailed feedback what
> you have done if something fails.
> 

open: http://classpath.org/
GCJ web plugin console give:
java.lang.NumberFormatException
   at java.lang.Integer.parseInt(java.lang.String, int, boolean)
(/usr/lib/libgcj.so.6.0.0)
   at java.lang.Integer.parseInt(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
   at Animation.init() (Unknown Source)
   at gnu.gcjwebplugin.PluginAppletWindow.setHandle(long) (Unknown
Source)
   at gnu.gcjwebplugin.PluginAppletViewer.start(java.io.InputStream,
java.io.OutputStream) (Unknown Source)
   at gnu.gcjwebplugin.AppletViewer.main(java.lang.String[]) (Unknown
Source)
   at .__libc_start_main (/lib/tls/i686/cmov/libc-2.3.5.so)

while console message are:

crux@fincos:~$ firefox
Spawned gcjappletviewer successfully.
Got confirmation that gcjappletviewer is running.
  PIPE: applet viewer wrote: running
  PIPE: applet viewer read: instance applet0
  PIPE: applet viewer read: tag http://www.gnu.org/software/classpath/
<EMBED CODE="Animation.class" CODEBASE="http://www.gnu.org/graphics";
HEIGHT="86" WIDTH="130" base-name="drop" extension="jpg" num-images="15"
image-sequence="1..10,9,7,5,3,1" frame-delay="30" inner-loop-repeat="2"
loop-delay="10000" outer-loop-repeat="0" ></EMBED>
  PIPE: applet viewer read: instance applet0
  PIPE: applet viewer read: xid 6293505

while another applet return
java.lang.NullPointerException
   at Bridge.init() (Unknown Source)
   at gnu.gcjwebplugin.PluginAppletWindow.setHandle(long) (Unknown
Source)
   at gnu.gcjwebplugin.PluginAppletViewer.start(java.io.InputStream,
java.io.OutputStream) (Unknown Source)
   at gnu.gcjwebplugin.AppletViewer.main(java.lang.String[]) (Unknown
Source)
   at .__libc_start_main (/lib/tls/i686/cmov/libc-2.3.5.so)

If, after the error I try to open another page I got in console:
crux@fincos:~$ firefox
Spawned gcjappletviewer successfully.
Got confirmation that gcjappletviewer is running.
  PIPE: applet viewer wrote: running
  PIPE: applet viewer read: instance applet0
  PIPE: applet viewer read: tag file:///home/crux/Bridge/Bridge.htm
<EMBED CODE="Bridge.class" HEIGHT="600" WIDTH="800" ></EMBED>
  PIPE: applet viewer read: instance applet0
  PIPE: applet viewer read: xid 6292430
Done shutting down.
Spawned gcjappletviewer successfully.
*** glibc detected *** malloc(): memory corruption (fast): 0x091c3470
***
Got confirmation that gcjappletviewer is running.
  PIPE: applet viewer wrote: running
  PIPE: applet viewer read: instance applet1
  PIPE: applet viewer read: tag http://www.gnu.org/software/classpath/
<EMBED CODE="Animation.class" CODEBASE="http://www.gnu.org/graphics";
HEIGHT="86" WIDTH="130" base-name="drop" extension="jpg" num-images="15"
image-sequence="1..10,9,7,5,3,1" frame-delay="30" inner-loop-repeat="2"
loop-delay="10000" outer-loop-repeat="0" ></EMBED>

This with kernel 2.6.12-k7

Do you need strace or can you figure what the problem here?

still no problem with appletviewer

> > I know it depend on gcj and so package is small enought, but can it be
> > splitted or could it be provided some way to disable mozilla plugin
> > leaving it installed?
> 
> This should be fixed by now.

I got gcjwebplugin 0.3.2-1
mozilla-firefox 1.0.6-3

I was talking about some mechanism to disable this specific plugin
(gcjwebplugin) in firefox, or some trick to do this by editing
configuration files, hopefull automatic, but at least an hint in a
README or FAQ file.

mozilla 1.7.10-1 give me the same error

sorry, I thing this is not enought for a bug report, maybe the next
sunday I got more time for this.

Regards,
Daniele.




Reply to: