Closed Bug 108098 Opened 23 years ago Closed 16 years ago

N702 M130B Trunk crash [@ js_AddRootRT ]

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla1.7final

People

(Reporter: jcarpenter0524, Assigned: dveditz)

References

()

Details

(Keywords: crash, qawanted, topcrash-, Whiteboard: [adt3])

Crash Data

This is a topcrash for N620.

The most common offset is:  js_AddRootRT 2058e690

 Crash date range: 2001-10-30 to 2001-11-01
     Min/Max Seconds since last crash: 516 - 17940
     Min/Max Runtime: 516 - 30806
     Keyword List :  
     Count   Platform List 
     14   Windows 98 4.10 build 67766446
     9   Windows 98 4.90 build 73010104
     2   Windows 98 4.10 build 67766222
 
     Count   Build Id List 
     25   2001102218
 
     No of Unique Users        25
 
 Stack trace(Frame) 

	 js_AddRootRT
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 403] 
	 js_AddRoot
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 376] 
	 JS_AddNamedRoot
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 1494] 
	 nsXPITriggerInfo::SendStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPITriggerInfo.cpp  line 203] 
	 nsXPInstallManager::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPInstallManager.cpp  line 956] 
	 nsTopProgressListener::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsTopProgressNotifier.cpp  line 193] 
	 nsInstall::FinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsInstall.cpp  line 891] 
	 InstallFinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsJSInstall.cpp  line 842] 
	 js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 809] 
	 js_Interpret
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 2720] 
	 js_Execute
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 991] 
	 JS_EvaluateUCScriptForPrincipals
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3317] 
	 JS_EvaluateUCScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3298] 
	 JS_EvaluateScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3265] 
	 RunInstallOnThread
[d:\builds\seamonkey\mozilla\xpinstall\src\nsSoftwareUpdateRun.cpp  line 445]  
 
     (37472742)	Comments: I keep getting a pop up that says This program has performed  an
illegal operation and will be shut down and when I get this pop up it kicks me
off of everything I am doing is there a resolution to this problem??
     (37466308)	Comments: Waiting for completion of download
     (37461606)	Comments: giving information for software
     (37459738)	Comments: always have errors
     (37455532)	Comments: I was installing java plugin
     (37448260)	Comments: Downloading and installing JAVA
     (37442931)	Comments: after instaling Java plugin
     (37440076)	URL: http://ivancity.com


Other offsets are:

js_AddRootRT 7bd403e
js_AddRootRT d28918bd
     (37474708)	Comments: failed to download the Java Plugin  should be downloaded with the
browser download

js_AddRootRT cbfd588b
js_AddRootRT 9dcecb59
js_AddRootRT 7ef355b2
     (37462725)	Comments: downloading
 
js_AddRootRT 4a0b52f1
js_AddRootRT 23673b12
js_AddRootRT 1b48c366
     (37454066)	Comments: downloading java runtime environment ver 1.3.1
Keywords: crash, topcrash
Wrong component.
Please reassign
changing topcrash bugs to critical
Severity: normal → critical
It is wrong component for this bug!
Java-Implemented Plugins - are Plug-ins written in Java-language.
Based on user's comments it may be related to java plugin.
->OJI
Assignee: idk → joe.chou
Component: Java-Implemented Plugins → OJI
QA Contact: avm → pmac
Keywords: mozilla1.0
Target Milestone: --- → mozilla0.9.8
Adding M096 and updating N620 to N621 in summary.  This is a topcrasher with
N621 and M096.

Here's the latest info (top 2 stacktraces) from Talkback on crashes with Mozilla
0.9.6:

Count   Offset    Real Signature
[ 22   js_AddRootRT 2058e690 - js_AddRootRT ]
 
     Crash date range: 2001-12-03 to 2001-12-12
     Min/Max Seconds since last crash: 409 - 436723
     Min/Max Runtime: 409 - 436723
     Keyword List : java(5), plugin(4), install(5),  
     Count   Platform List 
     8   Windows NT 5.0 build 2195
     8   Windows 98 4.10 build 67766446
     4   Windows 98 4.90 build 73010104
     1   Windows NT 4.0 build 1381
     1   Windows 98 4.10 build 67766222
 
     Count   Build Id List 
     22   2001112012
 
     No of Unique Users        22
 
 Stack trace(Frame) 

	 js_AddRootRT
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 405] 
	 js_AddRoot
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 378] 
	 JS_AddNamedRoot
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 1498] 
	 nsXPITriggerInfo::SendStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPITriggerInfo.cpp  line 203] 
	 nsXPInstallManager::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPInstallManager.cpp  line 958] 
	 nsTopProgressListener::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsTopProgressNotifier.cpp  line 193] 
	 nsInstall::FinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsInstall.cpp  line 890] 
	 InstallFinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsJSInstall.cpp  line 858] 
	 js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 834] 
	 js_Interpret
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 2792] 
	 js_Execute
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 1014] 
	 JS_EvaluateUCScriptForPrincipals
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3380] 
	 JS_EvaluateUCScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3361] 
	 JS_EvaluateScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3328] 
	 RunInstallOnThread
[d:\builds\seamonkey\mozilla\xpinstall\src\nsSoftwareUpdateRun.cpp  line 443]  
 
     (348077)	Comments: I was installing Java2. The plugin download brough up an
installer. I installed Java2  but closed the webbrowser that originally brough
up the 'install plugin' window. I tried to start another instance of mozilla to
make sure java installed properly  but
     (348077)	Comments:  I think the previous instance was still running in the system
tray. The two probably conflicted with each other.-Mozilla 0.9.6 for WindowsNT4
     (332079)	Comments: installing java plugging
     (287354)	URL: http://www.cybertown.com/
     (249455)	Comments: Regarder mon courrier sous Eudora
     (211588)	Comments: Installing  JRE 1.3.1 plugin.
     (205543)	Comments: I installed Java Plugin 1.3.1 while running about 5 mozilla
windows.(sorry)
     (192703)	URL: http://www.theregister.co.uk
     (192703)	Comments: tried to load java for windows. it didn't work.   
     (138547)	Comments: In IRC on mozillazine
     (35632)	Comments: Trying to load a java applet just after installing the java
plug-in. I 'clicked here after plugin has finished installing'
 
====================================================================================================
     Count   Offset    Real Signature
[ 4   js_AddRootRT f739fa2e - js_AddRootRT ]
[ 2   js_AddRootRT 98f887b6 - js_AddRootRT ]
[ 2   js_AddRootRT 30bd4bae - js_AddRootRT ]
[ 2   js_AddRootRT 0060ce1e - js_AddRootRT ]
 
     Crash date range: 2001-12-03 to 2001-12-12
     Min/Max Seconds since last crash: 2022 - 102723
     Min/Max Runtime: 2022 - 288958
     Keyword List :  
     Count   Platform List 
     6   Windows NT 5.1 build 2600
     4   Windows NT 5.0 build 2195
 
     Count   Build Id List 
     10   2001112012
 
     No of Unique Users        10
 
 Stack trace(Frame) 

	 js_AddRootRT
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 405] 
	 js_AddRoot
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 378] 
	 JS_AddNamedRoot
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 1498] 
	 nsXPITriggerInfo::SendStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPITriggerInfo.cpp  line 203] 
	 nsXPInstallManager::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPInstallManager.cpp  line 958] 
	 nsTopProgressListener::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsTopProgressNotifier.cpp  line 193] 
	 nsInstall::FinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsInstall.cpp  line 890] 
	 InstallFinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsJSInstall.cpp  line 858] 
	 js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 834] 
	 js_Interpret
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 2792] 
	 js_Execute
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 1014] 
	 JS_EvaluateUCScriptForPrincipals
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3380] 
	 JS_EvaluateUCScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3361] 
	 JS_EvaluateScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3328] 
	 RunInstallOnThread
[d:\builds\seamonkey\mozilla\xpinstall\src\nsSoftwareUpdateRun.cpp  line 443] 
	 _PR_NativeRunThread
[../../../../../pr/src/threads/combined/pruthr.c  line 435] 
	 msvcrt.dll + 0x27fb8 (0x77c37fb8)  
	 kernel32.dll + 0x202ed (0x77e802ed)   
 
     (280224)	Comments: i was installing java
     (250945)	Comments: Installing Java 1.3 client...
     (200583)	Comments: Was just installing the Java2 1.3 plug-in.

Adding qawanted keyword to see if we can get this reproduced.  This crash
doesn't seem to happen too often with MozillaTrunk builds...but it always
happens in large numbers with Mozilla milestones and Netscape releases...
Keywords: qawanted
Summary: N620 crash [@ js_AddRootRT ] → N621 M096 crash [@ js_AddRootRT ]
Looks like a xpinstaller bug. re-assign.
Component: OJI → Installer: XPInstall Engine
Re-assign to Doug.
Assignee: joe.chou → dougt
xpinstall / js fun.  either syd, brendan, or dveditz
Assignee: dougt → syd
This is still a topcrasher with Mozilla 0.9.7...here's the latest stack trace
and some user comments from Talkback:

Count   Offset    Real Signature
[ 25   js_AddRootRT 2058e690 - js_AddRootRT ]
 
     Crash date range: 2002-01-06 to 2002-01-17
     Min/Max Seconds since last crash: 697 - 201479
     Min/Max Runtime: 697 - 363382
     Keyword List : download(4), java(9), load(4), plugin(5), install(7),  
     Count   Platform List 
     9   Windows 98 4.10 build 67766446
     5   Windows NT 5.0 build 2195
     5   Windows 98 4.90 build 73010104
     4   Windows 98 4.10 build 67766222
     1   Windows NT 5.0 build 2183
     1   Windows NT 4.0 build 1381
 
     Count   Build Id List 
     25   2001122109
 
     No of Unique Users        25
 
 Stack trace(Frame) 

	 js_AddRootRT
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 405] 
	 js_AddRoot
[d:\builds\seamonkey\mozilla\js\src\jsgc.c  line 378] 
	 JS_AddNamedRoot
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 1498] 
	 nsXPITriggerInfo::SendStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPITriggerInfo.cpp  line 203] 
	 nsXPInstallManager::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPInstallManager.cpp  line 959] 
	 nsTopProgressListener::FinalStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsTopProgressNotifier.cpp  line 193] 
	 nsInstall::FinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsInstall.cpp  line 890] 
	 InstallFinalizeInstall
[d:\builds\seamonkey\mozilla\xpinstall\src\nsJSInstall.cpp  line 856] 
	 js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 834] 
	 js_Interpret
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 2799] 
	 js_Execute
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c  line 1014] 
	 JS_EvaluateUCScriptForPrincipals
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3358] 
	 JS_EvaluateUCScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3339] 
	 JS_EvaluateScript
[d:\builds\seamonkey\mozilla\js\src\jsapi.c  line 3306] 
	 RunInstallOnThread
[d:\builds\seamonkey\mozilla\xpinstall\src\nsSoftwareUpdateRun.cpp  line 443]  
 
     (1690923)	URL: www.tiscali.co.uk
     (1690923)	Comments: downloading Java update so that could access Chat rooms 
     (1633725)	Comments: Installing Java 2 autodownload.
     (1605957)	Comments: opening web page & installing java re 2
     (1598271)	URL: http//www.about.com (Focus on Java page)
     (1598271)	Comments: Attempting to install Sun's Java 2 Plugin
     (1586199)	Comments: had many tabs open and installed the Java plugin at the same time.
     (1545686)	Comments: Installing Java plugin
     (1545287)	Comments: downloading java 1.3.1 plugin
     (1515734)	URL: www.aculab.com
     (1515734)	Comments: installing java2 plugin (following prompts)downloading three pdf files
     (1462248)	URL: ftp.netscape.com/pub/netscape6/english/6.2.1/windows/win32/xpi
     (1373406)	URL: http://www.accountcenteronline.com/verizon
     (1347229)	Comments: Installing java for windows
     (1335724)	Comments: MOZILLA.EXE has caused an error in module JS3250.DLL at
0167:60d68305.Registers:EAX=02dacac4 CS=0167 EIP=60d68305
EFLGS=00010246EBX=00000000 SS=016f ESP=0423f9cc EBP=0423fa38ECX=02212668 DS=016f
ESI=0000002b FS=999fEDX=0423fa28 ES=016f
     (1335724)	Comments:  EDI=0348f560 GS=0000

There are many more crashes, but it looks like the stack hasn't changed much and
the steps to reproduce are the same.

Summary: N621 M096 crash [@ js_AddRootRT ] → N621 M097 crash [@ js_AddRootRT ]
--> dveditz
Assignee: syd → dveditz
Keywords: nsbeta1+
Target Milestone: mozilla0.9.8 → mozilla1.0
Status: NEW → ASSIGNED
Still seeing this one in the M098 data and recent Trunk builds. I have been 
trying to reproduce this one without any luck.
Summary: N621 M097 crash [@ js_AddRootRT ] → N621 M098 Trunk crash [@ js_AddRootRT ]
Still trying to reproduce this one. We have 82 crashes at this signature in the
current talkback data for M099.
Summary: N621 M098 Trunk crash [@ js_AddRootRT ] → N621 M099 Trunk crash [@ js_AddRootRT ]
Also happening on Linux. OS -> All
OS: Windows 98 → All
Blocks: 52869
adt3 per adt triage
Whiteboard: [adt3]
No longer blocks: 52869
It would be interesting to find out which Java version these folks are
installing.  I see some mention of 1.3.1

Patty - can you try to reproduce this?
I'm sure the version doesn't matter, the crash is in XPInstall when reporting
the status of the install back to the web page. What matters much more is that
you use a triggering web page that sets a callback function.

In any case people are mostly downloading whatever version is offered on the
Netscape page they were sent to by the default plugin, so that'd be whatever
Netscape shipped with.

http://home.netscape.com/plugins/jvm.html
--> dprice to spend an hour or two in an attempt of duplication in a debug
build. Please see dan for some hints as to how to go forward.
Assignee: dveditz → dprice
Status: ASSIGNED → NEW
I think I was able to reproduce this.  But I can't be certain.  I did the
install of the java plugin, and it was in a state where Sun's installer needed
to reboot the machine.  The "Yes, restart now.  No, I'll restart later" dialog
came up.  I told it to restart now and BAM! It crashed.  Seconds later my
machine rebooted.
So I started up the debugger, and tried it again.  Unfortunately I can't leave
the debugger up and select "restart now"  MSDEV won't let me.

We did assert with this test case....

        NS_ASSERTION ( prompt, "Channel doesn't have a prompt!!!" );

nsFTPChannel::SetNotificationCallbacks() line 544
NS_NewChannel() line 165
nsXPInstallManager::DownloadNext() line 539 
nsXPInstallManager::Observe() line 431
XPTC_InvokeByIndex() line 106

I wonder if that's part of the problem.

I guess to start debugging this, I'll add asserts into nsXPITriggerInfo.cpp  and
see if they get tripped while the machine is rebooting.



Here's a new stack trace from the 2002041606 trunk build:

js_AddRootRT [d:\builds\seamonkey\mozilla\js\src\jsgc.c, line 407]
js_AddRoot [d:\builds\seamonkey\mozilla\js\src\jsgc.c, line 380]
JS_AddNamedRoot [d:\builds\seamonkey\mozilla\js\src\jsapi.c, line 1508]
nsXPITriggerInfo::SendStatus
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPITriggerInfo.cpp, line 219]
nsXPInstallManager::OnInstallDone
[d:\builds\seamonkey\mozilla\xpinstall\src\nsXPInstallManager.cpp, line 994]
nsTopProgressListener::OnInstallDone
[d:\builds\seamonkey\mozilla\xpinstall\src\nsTopProgressNotifier.cpp, line 177]
RunInstallOnThread
[d:\builds\seamonkey\mozilla\xpinstall\src\nsSoftwareUpdateRun.cpp, line 497] 
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt.  If you have any
questions about this, please email adt@netscape.com.  You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt.  If you have any
questions about this, please email adt@netscape.com.  You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1+
Making this a topcrash-.  This crash is no longer on the topcrash radar for the
MozillaTrunk or any recent Netscape or Mozilla release.
Keywords: topcrashtopcrash-
Updating summery to show that this crash is still happening with Netscape 7.02
and Mozilla 1.3 Beta.  Keeping it as topcrash- until we can get more
testing/analysis done.
Summary: N621 M099 Trunk crash [@ js_AddRootRT ] → N702 M130B Trunk crash [@ js_AddRootRT ]
I can recreate this at will. Anyone interested?

Open ONE browser window.

go to

http://www.mozcafe.com/download/index.php

Select 10 or so languages.

Click download.

Click install.

While the downloading is happening, close the browser window so that the only
window left is the xpinstall window.

As soon as the first XPI starts installing, you will crash.

Issue appears to be a null context coming from xpinstall.
Keywords: mozilla1.0
Target Milestone: mozilla1.0 → ---
Still crashes: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040316

Talkback ID is TB10326X
Captured at 04/01/04 at 11:52 PM
Assignee: dprice → dveditz+bmo
Target Milestone: --- → mozilla1.7final
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Crash Signature: [@ js_AddRootRT ]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.