Closed Bug 85181 Opened 23 years ago Closed 23 years ago

mozilla 0.9.1 crashes with java 1.3.1

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ngchumin, Assigned: edburns)

References

Details

(Keywords: crash)

mozilla 0.9.1 crashes on any page with java with the java 1.3.1 plugin.
tried on sites like java.sun.com.
any page with java seems kill mozilla totally and i get the following error 
message:

INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
<
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from browser
System error?:: Resource temporarily unavailable
*** Bug 85183 has been marked as a duplicate of this bug. ***
Severity: normal → critical
Keywords: crash
possibly related and/or dupe of bug 85259
bug is only specific to linux version of M091 n java 1.3.1
windows version work without problems.
see the same crash on solaris 8.
*** Bug 85116 has been marked as a duplicate of this bug. ***
->OJI
Assignee: asa → edburns
Component: Browser-General → OJI
QA Contact: doronr → shrir
*** Bug 85383 has been marked as a duplicate of this bug. ***
Where are you getting your 0.9.1?  I just built one from the MOZILLA_0_9_1 
branch sources on Monday, and it works with JDK1.3.1 just fine.  Please let me 
know how to reproduce this.  

Can you do ls -la in your mozilla/dist/bin/plugins directory and post the 
output here?

Thanks,
Severity: critical → normal
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
my netscape trunk builds works fine..I see no crash..hm (0613 trunk build)
I was running Jun 5's tip-of-trunk build when I saw the crash. 
I got m091 from mozilla.org......
this is the output from running ls -ls in the directory 
/usr/local/mozilla/plugins    


total 1320
drwxr-xr-x    2 root     root         4096 Jun 11 12:03 ./
drwxr-xr-x    9 root     root         4096 Jun 11 12:03 ../
-rw-r--r--    1 504      xgrp         2363 Feb 16 11:39 ShockwaveFlash.class
-rw-r--r--    1 504      xgrp       947992 Feb 16 11:39 libflashplayer.so
-rw-r--r--    1 root     bin        350326 May  6 18:39 libjavaplugin_oji.so
-rwxr-xr-x    1 root     root        24663 Jun  7 13:32 libnullplugin.so*
I got m091 from mozilla.org......this is the output from running ls -ls in the directory /usr/local/mozilla/plugins    total 1320drwxr-xr-x    2 root     root         4096 Jun 11 12:03 ./drwxr-xr-x    9 root     root         4096 Jun 11 12:03 ../-rw-r--r--    1 504      xgrp         2363 Feb 16 11:39 ShockwaveFlash.class-rw-r--r--    1 504      xgrp       947992 Feb 16 11:39 libflashplayer.so-rw-r--r--    1 root     bin        350326 May  6 18:39 libjavaplugin_oji.so-rwxr-xr-x    1 root     root        24663 Jun  7 13:32 libnullplugin.so*
I tried it on my MOZILLA_0_9_1_BRANCH build (checked out today) on linux, and it
crashed when I tried to load an simple applet page. I'll look into it more.
I can reproduce a similar crash on sydney.citysearch.com.au.  Simply go there
and perform a search (you might have to try a few).  Will eventually crash with:

   Succeeding in creating proxy
  Register Env [0] proxyenv=142166712 tid=134568144
  Register Env [1] proxyenv=143832792 tid=134568144

  browser flags = 2
  Create instance called in JavaPluginFactory5!!!!!!!!
  initilizing the java plugin instantance 
  Using new SetWindow code
  Document http://sydney.citysearch.com.au/ loaded successfully
  INTERNAL ERROR on Browser End: Plugin instance index out of bounds -1

  System error?:: Success

This is a post-0.9.1 cvs build on debian.  Other details:

ssmith$ ll /opt/mozilla-build/mozilla/dist/bin/plugins/
total 8
drwxr-xr-x    2 ssmith   ssmith       4096 Jun 15 15:40 .
drwxr-xr-x    9 ssmith   ssmith       4096 Jun 15 14:56 ..
lrwxrwxrwx    1 ssmith   ssmith         38 Jun 15 15:40 javaplugin.so ->
/usr/lib/mozilla/plugins/javaplugin.so
lrwxrwxrwx    1 ssmith   ssmith         34 Jun 15 15:40 libflashplayer.so ->
/opt/flash_linux/libflashplayer.so
lrwxrwxrwx    1 ssmith   ssmith         53 Jun 14 18:24 libnullplugin.so ->
../../../modules/plugin/default/unix/libnullplugin.so
lrwxrwxrwx    1 ssmith   ssmith         46 Jun 15 15:40 nppdf.so ->
/usr/lib/Acrobat4/Browsers/intellinux/nppdf.so
lrwxrwxrwx    1 ssmith   ssmith         28 Jun 15 15:40 raclass.zip ->
/opt/RealPlayer8/raclass.zip
lrwxrwxrwx    1 ssmith   ssmith         24 Jun 15 15:40 rpnp.so ->
/opt/RealPlayer8/rpnp.so

Java version:

  j2sdk1.3   1.3.0-2      Blackdown Java(TM) 2 SDK, Standard Edition

*** Bug 86196 has been marked as a duplicate of this bug. ***
Isnt this a dupe of bug 84030 too?
How odd, I was crashing on last Friday on my 6/13 m0.9.1 build, but today I ran
the same build, and could not reproduce the crashing. Dumping the old core from
last Friday (by java_vm):

#0  __pthread_alt_lock (lock=0x8050af4, self=0x0) at spinlock.c:407
407     spinlock.c: No such file or directory.
        in spinlock.c
(gdb) where
#0  __pthread_alt_lock (lock=0x8050af4, self=0x0) at spinlock.c:407
#1  0x4002ec86 in __pthread_mutex_lock (mutex=0x8050ae4) at mutex.c:120
#2  0x0804d86b in __register_frame_info (begin=0x409beaa8, ob=0x409bebcc)
    at ../../gcc/frame.c:581
#3  0x4098fa60 in frame_dummy ()
   from /multipak/disk2/joechou/java_home/jre1.3.1/lib/i386/libmlib_image.so
#4  0x4098f921 in _init ()
   from /multipak/disk2/joechou/java_home/jre1.3.1/lib/i386/libmlib_image.so
#5  0x4000df57 in _dl_init () at eval.c:41
I tried the trunk build (checked out and built yesterday), and did not have
crash when going to java pages. 
Reporter, can you try a recent build, and see if it work for you too? 
i think i made a mistake cuz instead of creating a symbolic link to 
the java plugin i copied it into the mozilla plugin directory instead.

everything seems to work fine now after creating the symlink.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
awesome..WFM
SPAM: reassigning OJI bugs to new QA, pmac. (227 bugs)
QA Contact: shrir → pmac
*** Bug 112353 has been marked as a duplicate of this bug. ***
*** Bug 112163 has been marked as a duplicate of this bug. ***
QA Contact: pmac → petersen
*** Bug 175397 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.