Closed
Bug 197855
Opened 21 years ago
Closed 21 years ago
[UNIX] JRE 1.3.1 crashes because we don't resolve symbolic links to plugin before loading it
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.4alpha
People
(Reporter: tracy, Assigned: peterlubczynski-bugs)
References
()
Details
(Keywords: crash, regression)
Attachments
(2 files)
143.39 KB,
application/zip
|
Details | |
2.98 KB,
patch
|
dougt
:
review+
hjtoi-bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
seen on linux commercial 2003-03-17-05-trunk -install the build usign the Full installation -launch the app. -goto the java.sun.com/applets page and click on an applet to run (a simple and quick one is LED, under Applet Archive) The browser quits; no talkback generated. The follow appears in the console: 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
Comment 1•21 years ago
|
||
1) mozilla is now build using gcc 3.2.x, not Java. 2) Go to Blackdown.org and download a jre from there 3) install it and try to see if it is working. Bug duplicate of bug 197360 ?
Comment 2•21 years ago
|
||
> 1) mozilla is now build using gcc 3.2.x, not Java.
The RPM builds are. The installer and tarball are NOT.
Comment 3•21 years ago
|
||
and it wouldn't crash mozilla if the build would be compiled with gcc3.2 (but they are not)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Comment 4•21 years ago
|
||
Sorry for the mistake. I am lost in all linux versions ! :-/
tracy: can you strace mozilla? ./run-mozilla.sh /usr/bin/strace -f -ff -q -o log197855 ./mozilla-bin
Assignee | ||
Comment 6•21 years ago
|
||
This WFM with JRE 1.4.1 with bits dated 17-Mar-2003 08:49 from: http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz ...checking NSCP commercial
Updated•21 years ago
|
QA Contact: shrir → petersen
I see this on RH 8.0, downloaded Mozilla nightly, went to LED page, got dialog I don't have the plugin, clicked ok to get the plugin, it installed 1.3.1_02-b02, and now I crash on the LED page.
Reporter | ||
Comment 8•21 years ago
|
||
the log from the strace is too big to be attached here.
I installed Mozilla as root into /usr/local/mozillatest. I first run it as regular user, but it wouldn't install the Java plugin. I then run it as root, and installed the plugin. The plugin was installed in /usr/local/mozillatest/plugins (the linked .so), and the actual stuff is in /usr/local/mozillatest/plugins/java2).
Comment 10•21 years ago
|
||
right now we know that 1.3.1 crashes and 1.4.x doesn't.
Assignee | ||
Comment 11•21 years ago
|
||
JRE 1.3.1 crashes my mozilla build from today too. However it works in a build from the 11th. 1.4.1 seems to work today but commercial still ships 1.3.1. Interesting that the 1.3 plugin seems to be in a ns600 directory while the 1.4.1 is in a ns6100 directory. Be sure if you are debugging this that you compiled with gcc2.
Assignee | ||
Comment 12•21 years ago
|
||
here's the strace for comment #5
I am downgrading this to critical so that we can open the tree. The workaround is to install a newer Java plugin (JRE). However, we need to find out if we can prevent the crash in the plugin on our side for the older plugins as well. If that is not feasible, then we need to make sure that a working plugin will be installed, or available for install from the "plugin finder plugin", and document the problems with older Java plugins in the 1.4a and forward release notes.
Assignee | ||
Updated•21 years ago
|
Severity: critical → blocker
Assignee | ||
Comment 14•21 years ago
|
||
oops, caused a mid-air
Severity: blocker → critical
Priority: -- → P2
Target Milestone: --- → mozilla1.4alpha
Comment 15•21 years ago
|
||
according to Comment1: "INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2 < System error?:: No such file or directory" This should be the problem of java plugin 's installation. For jre1.3.1 on linux, you should create symbolic link to jre/plugin/i386/ns600/libjavaplugin_oji.so in mozilla's plugins directory.
That symbolic link is there, installed properly.
Assignee | ||
Comment 17•21 years ago
|
||
Okay, I downloaded the Java 1.3.1 source from Sun and searched for one of the errors coming out to the console: "Could not read ack from browser". This error happens just after the point where the VM gets the path to the plugin from dladdr() in JavaVM5.cpp. Looking at Dougt's changes, at about:plugins with the pref plugin.expose_full_path active, and putting in some printf's, I think the problem is being caused from not resolving the path to symbolicly linked plugin before calling dlopen(). When I put a call to |Normalize| in |nsPluginHostImpl::ScanPluginsDirectory|, this crash goes away. I'll attach a patch to this bug shortly with that fix along with the fix to bug 197975.
Keywords: regression
Summary: Browser quits on attempt to open java applets → [UNIX] JRE 1.3.1 crashes because we don't resolve symbolic links to plugin before loading it
Assignee | ||
Comment 18•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #117947 -
Flags: superreview?(heikki)
Attachment #117947 -
Flags: review?(dougt)
Updated•21 years ago
|
Attachment #117947 -
Flags: review?(dougt) → review+
Updated•21 years ago
|
Attachment #117947 -
Flags: superreview?(heikki) → superreview+
Reporter | ||
Comment 19•21 years ago
|
||
was the patch checked in? I haven't crashed on a java applet with linux in several days. The browser pops up the get plugin dialog as expected.
Comment 20•21 years ago
|
||
Looks to me like it was checked in (at least from a quick look at the first part of the patch).
Assignee | ||
Comment 21•21 years ago
|
||
oops, forgot to mark FIXED along with bug 197975.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Flags: blocking1.4a?
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•