Closed Bug 75515 Opened 23 years ago Closed 23 years ago

Browser crash with Java plugin

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 75070

People

(Reporter: eon, Assigned: edburns)

Details

(Keywords: crash)

Attachments

(2 files)

Hey,

I am using latest mozilla build (ID 20001041012) on linux 2.4.2-ac18.  Here is
an id showed in mozilla (Mozilla/5.0 (X11; U; Linux 2.4.2-ac18 i586; en-US; 0.8.1)

My Linux distro is Debian unstable (Sid)

This problem crashes mozilla completely in linux.  I will try to explain it very
properly.  I installed java plugin.  It installed properly in mozilla.  Then I
went to http://java.sun.com and that page loads with its java ticker on the site
properly.  Then I hit back to the original site (www.mozilla.org) and browser
quits compeletely.  This bug has been reproduced by a mozilla user (robert) in
#mozillazine on irc.mozilla.org.  It happens on any website where there is java
applet running.  I believe that will also include any site which has java
running on it. I believe the bug is there when forward button is hit also.

Steps

1)Install Linux Java plugin
2)go to some site (www.mozilla.org), make sure browser is restarted after
installing plugin
3) Go to java.sun.com (or any other java enabled site)
4)Hit back and watch linux mozilla crash and quit

I have tried this bunch of times and the results are the same

thanks
Over to OJI
Assignee: av → edburns
Component: Plug-ins → OJI
Eon do you have the stacktrace/console output from the crash?
Keywords: crash
Hope I am not intruding, but:
See also
http://bugzilla.mozilla.org/show_bug.cgi?id=73916

This is a very frustrating problem for me too.
I have gotten a reliable crash on trying to leave or reload ANY page containing
a Java applet. 
Okay, This is eon again.  Yeah I reported this bug.  I have been trying to get
mozilla -g to work properly with gdb but I get this ptrace: No such process
error and I get see the window open up.  If anyone knows how let me know please

So i installed strace on my sid box.  And this is the output i have (I will put
from where the pages get loaded to finish).  Hope this helps

Right after http://java.sun.com loads properly I hit back button

Document http://www.mozilla.org/ loaded successfully
Document http://java.sun.com/ loaded successfully
[WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 7344
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD TTOU], 8) = 0
uname({sys="Linux", node="darkstar", ...}) = 0
write(2, "/usr/local/src/mozilla/run-mozil"...,
94/usr/local/src/mozilla/run-mozilla.sh: line 72:  7344 Segmentation fault     
$prog ${1+"$@"}
) = 94
rt_sigprocmask(SIG_SETMASK, [CHLD TTOU], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbfffefb8, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x806b8d8, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("core", 0xbffff22c)              = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "\nexit $exitcode\n", 8073)   = 16
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
_exit(139)                              = ?


Yes I have java plugin installed properly.  And someone referenced about bug
73916.  I looked it up (none of pages on that report exist).  But I can click on
java apps / applets on the page.  I really appreciate everyone's input on this
bug.  Thanks for pointing that bug #73916 out, Ian.  But mozilla crashes
completely when I press Backwards or forwards (I technically can't hit forward
b/c I have a java enabled site after loading mozilla with a no-java enabled site
aka my home page is www.mozilla.org).

If this strace helps let me know. I am still trying to find the ptrace issue
Confirmed 100% ! Marking NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file backtracing
Attached file complete
Hey guys whats up.

I finally got gdb working.  I have submitted 2 files. One is called bt.txt and
complete.txt. Bt.txt is about backtracing results and complete.txt is about
everything..from where i start run on gdb...all thread info etc.

Here are few last lines where mozilla crashed on me (this is not bt)

Document http://www.mozilla.org/ loaded successfully
Document http://java.sun.com/ loaded successfully

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 32160)]
0x40e3294d in nsPluginInstanceOwner::~nsPluginInstanceOwner ()
   from /usr/local/src/mozilla/components/libgklayout.so


After that I did type bt and here are the first few lines from its output (total
83 things were shown)

#0  0x40e3294d in nsPluginInstanceOwner::~nsPluginInstanceOwner ()
   from /usr/local/src/mozilla/components/libgklayout.so
#1  0x40e32b49 in nsPluginInstanceOwner::Release ()
   from /usr/local/src/mozilla/components/libgklayout.so
#2  0x40e2f1f1 in nsObjectFrame::~nsObjectFrame ()
   from /usr/local/src/mozilla/components/libgklayout.so


Please check the txt files attached to this bug report.  And let me know how to
improve and give more better results.  I am fairly new to this.  I hope this was
a very detailed report.  Except more like this in the very near future from me.

Thanks 

:)
Hmm, this is happening a lot for me in the last time, verytime I go from a
java-using page to a non-java-using page... And that's quite annyoing if you're
going to sites that use java in ads :(((
I just wanted to add a big "ME TOO" to this bug. I'm on Redhat 7.0, using 
build 2001041108. Steps:

1) Wipe out the previous install (but not my profile)
2) Install nightly build
3) Start mozilla
4) Go to www.javasoft.com
5) Click on "get plugin". Then click on get java plugin
6) Get a "successful install of java plugin"
7) Quit mozilla
8) Restart mozilla
9) Go to www.javasoft.com
10) Applet comes up and works just fine
11) Leave the site through any method (back, forward, bookmark)
12) Mozilla crashes with a Segmentation Fault

Let me know if there's anything I can do to help reproduce this bug.
I've been seeing this for weeks now (can't remember exactly when it
started, but I do remember having Java work correctly on linux at one
point). 
This is a dup of bug 75070.

*** This bug has been marked as a duplicate of 75070 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: