Closed Bug 55537 Opened 24 years ago Closed 24 years ago

N601 (Linux) crash #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]

Categories

(Core Graveyard :: Plug-ins, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: shrir, Assigned: rebron)

References

()

Details

(4 keywords, Whiteboard: [rtm-])

Crash Data

Attachments

(2 files)

build:2000100509 branch ,linux

Steps:
1 Go to the above url
2 Click on the "java 2.0 plugin for Linux" button
3 Notice java plugin getting downloaded
4 After the installation is just about to be finished, the browser crashed for 
  me
5 I did not notice the problem as mentioned in bug 55261

However, restarting the browser and trying some applets, I could see applets 
working. The installation seems fine.

Stack Trace:


 Call Stack:    (Signature = nsJARChannel::OnStartRequest() 0401d18a) 
     
   nsJARChannel::OnStartRequest() 
                                             
     
   nsOnStartRequestEvent::HandleEvent() 
                                             
     
   nsStreamListenerEvent::HandlePLEvent() 
                                             
     
   PL_HandleEvent() 
                                             
     
   PL_ProcessPendingEvents() 
                                             
     
   nsEventQueueImpl::ProcessPendingEvents() 
                                             
     
   event_processor_callback() 
                                             
     
   our_gdk_io_invoke() 
                                             
     
   libglib-1.2.so.0 + 0xe52a (0x4064952a) 
                                             
     
   libglib-1.2.so.0 + 0xfbe6 (0x4064abe6) 
                                             
     
   libglib-1.2.so.0 + 0x101a1 (0x4064b1a1) 
                                             
     
   libglib-1.2.so.0 + 0x10341 (0x4064b341) 
                                             
     
   libgtk-1.2.so.0 + 0x8c209 (0x40575209) 
                                             
     
   nsAppShell::Run() 
                                             
     
   nsAppShellService::Run() 
                                             
     
   main1() 
                                             
     
   main() 
                                             
     
   libc.so.6 + 0x181eb (0x402581eb)
adding topcrash, crash keywords and [@ nsJARChannel::OnStartRequest] for 
tracking.  This is a topcrash for both PR3 release build 2000092909 and the 
latest branch builds.  Here are some entries:

PR3 Release:
nsJARChannel::OnStartRequest 9dbddbd7
        
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/protocol/jar/src/nsJ
ARChannel.cpp line 683
        Build: 2000092909 CrashDate: 2000-10-06 UptimeMinutes: 4  Total: 4 
        OS: Windows NT  5.0 build 2195
        URL: www.download.com
        Comment: I was using a MS Intellimouse to scroll down the download.com 
site
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18638368

nsJARChannel::OnStartRequest() e38e6278
         line 
        Build: 2000092909 CrashDate: 2000-10-04 UptimeMinutes: 3  Total: 3 
        OS: Linux 2.2.16-22
        URL: http://www.3dnews.net
        Comment: loading the above page
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18506855

nsJARChannel::OnStartRequest() 50912273
         line 
        Build: 2000092909 CrashDate: 2000-10-04 UptimeMinutes: 6  Total: 6 
        OS: Linux 2.2.16-3
        URL: 
        Comment: I was setting up my email account for the first time.  I 
finished the wizard
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18508405

nsJARChannel::OnStartRequest() fc0276d2
         line 
        Build: 2000092909 CrashDate: 2000-10-04 UptimeMinutes: 3  Total: 3 
        OS: Linux 2.2.16
        URL: 
        Comment: setting up an IMAP mail account
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18511661

nsJARChannel::OnStartRequest() 2809e9ee
         line 
        Build: 2000092909 CrashDate: 2000-10-04 UptimeMinutes: 3  Total: 3 
        OS: Linux 2.2.14-5.0
        URL: 
        Comment: I was configuring my mail using the Email Wizard. I had just 
clicked finish and was about to use the mail tool when it crashed.
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18530163

nsJARChannel::OnStartRequest() 4692d1a8
         line 
        Build: 2000092909 CrashDate: 2000-10-05 UptimeMinutes: 4  Total: 4 
        OS: Linux 2.2.14
        URL: 
        Comment: Seting a pop account. When I  click on finish botton
        Stacktrace: 
http://cyclone/reports/stackcommentemail.cfm?dynamicBBID=18564167

Latest branch builds:
nsJARChannel::OnStartRequest() f454c77f
         line 
        Build: 2000100309 CrashDate: 2000-10-03 UptimeMinutes: 40  Total: 77 
        OS: Linux 2.2.14-5.0
        URL: hr.netscape.com
        Comment: searched for "moz cafe"
         Detailed : http://climate/reports/incidenttemplate.cfm?bbid=18477052
         StackTrace: 
http://climate/reports/stackcommentemail.cfm?dynamicBBID=18477052

nsJARChannel::OnStartRequest() 0401d18a
         line 
        Build: 2000100509 CrashDate: 2000-10-06 UptimeMinutes: 3  Total: 3 
        OS: Linux 2.2.12-20smp
        URL: 
        Comment: crashed trying to install jvm on linux
         Detailed : http://climate/reports/incidenttemplate.cfm?bbid=18643285
         StackTrace: 
http://climate/reports/stackcommentemail.cfm?dynamicBBID=18643285

    nsJARChannel::OnStartRequest() 54f56098
         line 
        Build: 2000100509 CrashDate: 2000-10-08 UptimeMinutes: 27  Total: 741 
        OS: Linux 2.2.14-5.0
        URL: www.hotmail.com
        Comment: clicked on a link in my email which pops up a new window 
through a hotmail portal (frames) to the link.
         Detailed : http://climate/reports/incidenttemplate.cfm?bbid=18757034
         StackTrace: 
http://climate/reports/stackcommentemail.cfm?dynamicBBID=18757034

    nsJARChannel::OnStartRequest() ec231112
         line 
        Build: 2000100610 CrashDate: 2000-10-09 UptimeMinutes: 26  Total: 26 
        OS: Linux 2.2.5-22
        URL: 
        Comment: branch build 2000-10-06-10MN6: Linux 6.0
         Detailed : http://climate/reports/incidenttemplate.cfm?bbid=18784070
         StackTrace: 
http://climate/reports/stackcommentemail.cfm?dynamicBBID=18784070

    nsJARChannel::OnStartRequest() 7fc9dac0
         line 
        Build: 2000100909 CrashDate: 2000-10-09 UptimeMinutes: 108  Total: 108 
        OS: Linux 2.2.14-5.0smp
        URL: open web location
        Comment: open web location
         Detailed : http://climate/reports/incidenttemplate.cfm?bbid=18805416
         StackTrace: 
http://climate/reports/stackcommentemail.cfm?dynamicBBID=18805416

Most of the crashes show Linux as the OS, and for some reason the symbols were 
missing so talkback could not give us the line numbers...but for the few crashes 
in the PR3 build that occurred on Windows, we had those numbers...so here is a 
stack trace from a crash on Windows 2000 (Incident ID: 18638368):

Incident ID 18638368 
nsJARChannel::OnStartRequest
[d:\builds\seamonkey\mozilla\netwerk\protocol\jar\src\nsJARChannel.cpp, line 
683] 
nsOnStartRequestEvent::HandleEvent
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line 
213] 
nsStreamListenerEvent::HandlePLEvent
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line 
106] 
PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 576] 
PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, 
line
512] 
_md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line
1046] 
nsAppShellService::Run
[d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 408] 
Netscp6.exe + 0x1711 (0x00401711) 
Netscp6.exe + 0x1230 (0x00401230) 
Netscp6.exe + 0x2aae (0x00402aae) 
KERNEL32.DLL + 0x7903 (0x77e87903) 
Keywords: crash, topcrash
Summary: Browser crashes after installation of java plugin on linux → Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]
*** Bug 56552 has been marked as a duplicate of this bug. ***
Nominating for rtm since topcrash.
Keywords: rtm
Priority P1. George, Ed, is there *any* way you or another Sun engineer could
get this fixed for RTM? Andrei's buried and needs help. Please accept the bug
and go for it if you can. Thanks!
Priority: P3 → P1
Reassigning (hopefully ;-> ) to George Drapeau--could you fix this for RTM or
find someone who can? Marking regression and pp as the check-in of the Linux JVM
appears to be causing a crash of the browser on Linux now.
Assignee: av → drapeau
Keywords: pp, regression
Adding [rtm need info].
Whiteboard: [rtm need info]
User comments in talkback reports for nsJARChannel::OnStopRequest crashes don't
all seem to refer to plugin installation (some do, though).  Is this a more
general problem that should be assigned somewhere else, or are there multiple
bugs causing crashes at nsJARChannel::OnStopRequest?

See
http://www.mozilla.org/projects/seamonkey/reports/ns6analysis.html#nsJARChannel::OnStartRequest()
*** Bug 55535 has been marked as a duplicate of this bug. ***
This is looking good on today's build. The browser did not crash. Can anyone 
confirm ?
oops..linux branch build, forgot to mention.
crashes for me on the mozilla tree.
I went to http://www.mozillazine.org
It asked if I wanted to download the java plugin, I clicked okay.
I did no other actions and a little later it crashed.

Gdb indicates nullplugin.c line 118: a call to
gtk_widget_destroy(This->dialogBox);
yes crashed for me trying to do this on today's branch build onlinux 20001024.
To answer dbaron's question, I crashed with this evenings Linux build, opening
up the help window and clicking on a category -- and the user comments do 
seem to indicate that this is a generalized crash. There may be a specific 
reproducible case with the java plugin, etc., but the fix may lie elsewhere.
You have to be sure that you have a NON-DEBUG build of mozilla.  No other kind 
of mozilla build will work with java.

Please see bug http://bugzilla.mozilla.org/show_bug.cgi?id=26323 for why this 
is the casee. 
I tried on the latest Mozilla build, and found out that after downloading java
plugin from the Netscape page (home.netscape.com/plugins/jvm.html), a different
libjavaplugin_oji.so was downloaded and linked to the browser plugin dir
(.../mozilla/dist/bin/plugins), which size was 343959 and dated Sep 29 (the size
should be 349608 and the date should be Oct. 19 or after). Then when I tried to
go to java.sun.com, the browser crashed, as expected (due to bug 57046).

Solution: need to download the right libjavaplug_oji.so.

This may be related to 57004 and 57046.
jpatel: You dumped a bunch of talkback links in this bug, but they all just 
point to pages that say things like "Incident ID 18757034". Is there something 
interesting that's supposed to happen here?
warren:  the links would normally take you to a page with the stack trace for 
that crash.  however, since those stack traces are only in the talkback database 
for a few days (normally around 10)...and seeing that all the entries i included 
in this bug were for crashes that occurred before 10 days ago, that data is no 
longer available.  If you need a new stack trace, I will post it here.  
To get the best info, look at
http://www.mozilla.org/projects/seamonkey/reports/ns6analysis.html
.  If you want to see even more info, take the incident ID off one of the
reports listed there and type it in at http://cyclone (internal) (Search |
Incident ID, or something like that) to see the full report.
David: Thanks, I didn't know about the ns6analysis.html page.

Jay: Is there some pointer we can put in the bug report that lives longer than 
10 days? Thanks,

I'll take a look at bullet-proofing OnStartRequest.
The only possibility I can see here is that mUserListener might be null (which 
would only seem to happen if OnStopRequest gets called before OnStartRequest 
for some reason -- seems unlikely though). If mUserListener is trashed, I don't 
know how to defend against it. 

I've included some defensive null checking code for review.
Warren: We don't save any data(other mtbf and ranking information) more 10 
days(max 15days) and it is not useful after 15 days anyways. Since the code 
changes constantly it will be difficult to find relevance between the old the 
crash and the current source tree. If the crash is not fixed then we will get 
more everyday and the reports we generate will have the newer once. You can 
easily get to them by stack signature. 

Otherwise, 
 We can paste more information about a particular crash as attachment in the bug
itself. For that we need to identify what information  you need in the longer 
term.
Sounds like a better plan than pasting dead links.
Hmm, from Joe's comment, it sounds as if the culprit might be that the version
of Linux Java bits available for download hasn't been refreshed yet from us or
Netscape release engineering.  Possible?
Sameer's comments from bug 57004 :

Shrirang,
I highly doubt these new Linux JRE bits have been pushed to Netcenter.  At the 
very least, the jre.xpi module needs to be QA's (implicitly through the 
linux installer) before they can be pushed.  I don't believe there has been a 
request to push the new Linux JRE bits out immediately.  From this we can 
deduce that the new Linux JRE bits would likely hit the wire when Netscape 6 is 
released.
The good news: I tryed blackdown version and it worked well with all the applets
on java.sun.com and www.mozillazine.org plus a few others of mine.

The bad news: there's a probable memory leak in java_vm, since it grows
indefinitely loading and using the applets causing the slowdown noticed by LENHOF.


FYI: I have Debian 2.2 and I have installed the j2re1.3.0 debian package from
ftp://sunsite.auc.dk/pub/languages/java/java-linux/debian/. To complete the
installation, I softlinked /usr/lib/mozilla/plugins/javaplugin.so into mozilla's
plugin directory.
*** Bug 58356 has been marked as a duplicate of this bug. ***
I checked on this one before, and I added what I found in the bug report. The
problem I found was that the bits of Java plugin downloaded from the url
(home.netscape.com/plugins/jvm.html) was the older version with time stamp of
Sep 29 (the fix of 57046, update interface in Java plugin was submitted after
Oct 19).
I tried the test again today (Nov 2), and the same problem still exists: dated
Sep 29 with the same old size: 343959. The Java plugin bits being downloaded
from home.netscape.com/plugin/jvm.html needs to be updated.
I think this should be rtm minus, since it appears to be an installer issue.
Is the correct fix for this to get the right bits pushed on the server?  If so,
then we need to get a server person to own this.  That doesn't make this rtm-
since we need the bits for the rtm.
Even with the latest jre plugin downloaded from
http://java.sun.com/products/plugin/  ,  Mozilla (yesterday's nightly) will
still crash on startup with the following message:

INTERNAL ERROR on Browser End: Some problem with the version 5

System error?:: Invalid argument
Please see: http://www.mozilla.org/oji/index.html#LATEST_OJI

Where do I get the latest Java Plugin?

The latest available Java plugin for Netscape 6 is the one that comes with
Netscape 6 PR3. Please visit netscape to download Netscape 6 PR3 with the Java
Plugin Java version 1.3.0_01.

Please note that due to an API change after PR3, the Java Plugin that comes with
PR3 will not work with any Netscape 6 or Mozilla build after 10 October 2000. We
will be bundling a new release of the Java Plugin with the final release of
Netscape 6.
Yes, but the latest Linux plugin from java.sun.com isn't the correct set of
bits, either.  Netscape has an internal candidate build from Sun, and that set
of bits works with recent nightly Mozilla and commercial builds.  But that set
of JRE bits for Linux has not yet been released to the java.sun.com web site.

selmer: yes, I believe that the Linux JRE bits that are used in current nightly
commercial builds should also be on Netcenter.  The problem is, I believe that
Netcenter won't/shouldn't take the new Linux JRE bits until Netscape 6 ships,
otherwise, people with NS6 PR 3 who try to auto-download a JRE will get the
wrong thing (the PR 3 Linux JRE doesn't work with RTM, and the RTM Linux JRE
doesn't work with PR 3).

If there's a way to get this tested without Netcenter having to get the latest
Linux JRE bits from release engineering, that would be a great help here.  We
could close the bug, knowing that the right bits will be on Netcenter on the
proper date.

How can we test this?
I believe that is the correct fix.  Rafael Ebron <rebron@netscape.com> has owned
this kind of thing in the past.
*** Bug 56509 has been marked as a duplicate of this bug. ***
Reassigning to Rafael. So does the Java we ship with work? If this is limited to
the subset of users who don't choose to install Java with N6, and then
subsequently install it from somewhere else, it's probably [rtm-]. 
Assignee: drapeau → rebron
Keywords: netcenter
The Java we ship with does work (on RH 6.2, subject to other bugs regarding
kernel version and whether kaffe is installed).  This bug regards people who
don't install java initially and want to get it later.
Here are the comments from recent talkback reports. Only one mentions Java.
warren has proposed a defensive fix, that could have gone in to the trunk 
several days ago (if it were the right thing to do). Why is this focussed 
on Java as the sole cause of this crash.

  BuildID      Comment
----------------------------------------------------------------------
 2000102409   Branch build 2000-19-24-09MN6: Linux 6.0. Just installed 
              the 10/24
 2000102421   Opened the help menu
 2000102421   started up help and then clicked on two row items in 
              succession -- boom
 2000102609   clicked on link from e-mail and it crahsed
 2000102612   about to save to disk
 2000102406   Downloading Galeon (web browser) from Sourceforge
 2000102621   downloading PS file
 2000102621   downloading a file
 2000102621   opening a web site with ^L
 2000102709   crashed on nbaca's m/c clicking ok on get plugin dialog
 2000102612   I use a modem dial-up account at home. Somehow my connection
 2000102821   Installing Personal Security Monitor.
 2000102709   changing theme back to classic ?
 2000103006   tried to download a file via http and boom.
 2000103009   pasting url into Web Loc [from xterm]
 2000103021   downloading a rpm for galeon
Reading comments and resolution of 57046 may help to explain the crash here.
rtm-, not client stopper.
Whiteboard: [rtm need info] → [rtm-]
jrgm is rite, this got fixed. Checked using trunk build on linux 20001120.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Er, I didn't mean that this was fixed. The general problem with a crash in 
nsJARChannel::OnStartRequest still shows up as one of the top crashes in both 
NS6 RTM, and in the current trunk bits. 

However, I don't crash when downloading/installing the plugin, with either
NS6 or current trunk bits. 
VERIFIED FIXED.
Status: RESOLVED → VERIFIED
Reopening bug.  This is the #1 topcrash for the RTM release on Linux.  The stack
trace is identical to the one originally reported.  
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Reopening bug.  This is the #1 topcrash for the RTM release on Linux.  The stack
trace is identical to the one originally reported.  
Summary: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest] → RTM Crash (Linux) #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]
Perhaps that should be a separate bug?
yeah, Jay pls reopen another bug since I do not see this problem on the latest 
trunk build. Closing this one again.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
If I do open another bug, it will most likely be resolved fixed also, since we
only have a trunk version to test in verifying the fix.  If this crash is indeed
fixed in the trunk then I will leave it as it is now.  I just need to know if
this will be fixed in the branch (in the event we have another release of
Netscape6 in the near future).
hey, I just tried these same steps on the 1211 branch build on linux and could 
not reproduce the crash .Everything went fine and java successfully 
installs and works. 
this is not a problem anymore. No crash is seen after java plugin install. The 
plugin does not get detected..that is filed as another bug.(66840).
Status: RESOLVED → VERIFIED
Summary: RTM Crash (Linux) #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest] → RTM N601 Crash (Linux) #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]
Summary: RTM N601 Crash (Linux) #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest] → N601 Linux #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]
Updating summary to N601 since this is the #1 topcrasher with the N601 release.  
It may be verified fixed on the trunk, but as I said before, if we decide to 
have a 6.02 and this was an easy fix, maybe we should try to get it in.  
Summary: N601 Linux #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest] → N601 (Linux) crash #1: Browser crashes after installation of java plugin on linux [@ nsJARChannel::OnStartRequest]
Crash Signature: [@ nsJARChannel::OnStartRequest]
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: