If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

edge case: Crash on Win trying to patch mac binary (w/ extraction failure)

RESOLVED WONTFIX

Status

Core Graveyard
Installer: XPInstall Engine
P3
critical
RESOLVED WONTFIX
18 years ago
2 years ago

People

(Reporter: David Epstein, Assigned: dveditz)

Tracking

({crash})

Trunk
Future
x86
Windows NT
crash

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Win only. build 2000-03-27-19-M15-nb1b. used NT. found inadvertantly while 
running patch tests.
1. Go to http://jimbob/trigger2.html
2. Trigger http://jimbob/jars/t_addmacpatch.xpi. This gives us -225 extraction 
error in the logfile, but "Simple Text" is installed in f_macpatch_exe folder. 
It has size of 0 bytes!
3. Trigger http://jimbob/jars/t_macpatch.xpi. This attempts to patch the 0-byte 
Simple Text binary.
Result: Crash. no TalkBack.
Expected: No crash. Return some error like a patching error. or -228 (download 
error).

logfile from t_addmacpatch.xpi:

-------------------------------------------------------------------------------
http://jimbob/jars/t_addmacpatch.xpi  --  03/28/2000 19:11:51
-------------------------------------------------------------------------------

     Functional: f_addmacpatch_exe
     -----------------------------

     ** ERROR (-225): Installing: C:\Program Files\Netscape\Netscape 
6\f_macpatch_exe\SimpleText

     Install script aborted
     Finished Installation  03/28/2000 19:11:51

Note: On Linux, after step 2, get -225 error but "Simple Text" doesn't appear. 
It does a clean up. After step 3, get -214 error (does not exist). This is 
better behavior. On Mac, it installs "Simple Text" after step 2 (w/ -225 error), 
but creates "Simple Text-1" after step 3 (no crash, but -201 error). Something 
seems wrong with the way it's being handled on Mac. Will investigate.

From Dr. Watson crash log. Stack Traces (listed in the order found in the log):

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012fdf4 77e71bd8 0012fe48 00000000 00000100 00000108 user32!TranslateMessage 
0012fe20 60a3aeb3 0012fe48 00000000 00000100 00000108 user32!PeekMessageA 
0012fe7c 600352e9 00c4a4a0 0040191f 008d0e00 00000000 
gkwidget!nsGetInterface::operator=

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00d9ff98 77661e92 000000a0 ffffffff 00000003 00000004 
ntdll!NtWaitForSingleObject 
00d9ffec 00000000 00000000 00000000 00000000 00000000 msafd!<nosymbols> 
00000000 00000000 00000000 00000000 00000000 00000000 !<nosymbols>

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00e9fa58 77664a12 00000080 00000098 00000001 00000004 
ntdll!NtWaitForSingleObject 
00e9fb80 776b9f5e 00000000 00e9fd20 00e9fc1c 00e9fe24 msafd!<nosymbols> 
00e9fbd0 60ba87a9 00000000 00e9fd20 00e9fc1c 00e9fe24 ws2_32!select

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00f9fec0 77f04f41 00000090 ffffffff 00000000 60ba649c 
ntdll!NtWaitForSingleObject 
ffffffff 00000000 00000000 00000000 00000000 00000000 
kernel32!WaitForSingleObject

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0109ff20 6056e210 0109ff40 00030778 00000000 00000000 user32!GetWindowRect 
0109ff5c 60c23581 00901884 00900aa0 0109ffb8 60ba3651 
necko!nsProxyObjectCallInfo::operator= 
0109ff6c 60ba3651 00906d80 00811dc0 00811dc0 e7ffffff 
xpcom!nsComponentManager::EnumerateProgIDs

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0119ff90 77e15fa2 77e16821 00140b28 0119ffec 00000000 
ntdll!ZwReplyWaitReceivePort 
00003a98 00000000 00000000 00000000 00000000 00000000 rpcrt4!NdrVaryingArrayFree 

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
01c4ff88 77f04f41 00000128 ffffffff 00000000 776b1c08 
ntdll!NtWaitForSingleObject 
01c4ffb8 77f04ee8 00145e98 ffffffff 00e9fd0c 00145e98 
kernel32!WaitForSingleObject 
01c4ffec 00000000 776b1bdc 00145e98 00000000 00000000 kernel32!lstrcmpiW 
00000000 00000000 00000000 00000000 00000000 00000000 !<nosymbols>

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
01f4f688 60c12f3d 00000004 01f4f76c 60c12ecd 00000000 
xpcom!nsSimpleCharString::operator= [omap]  (FPO: [1,0,2])
01f4f694 60c12ecd 00000000 01e200d0 609ac274 00000000 
xpcom!nsFilePath::operator= [omap]  (FPO: [1,0,1])
01f4f6a0 609ac274 00000000 01e22fb0 01e22fa0 01e22fb4 
xpcom!nsFilePath::nsFilePath [omap]  (FPO: [1,0,1])
01f4f788 609abe93 01e22d70 00000000 01e22fb4 01e22fa0 xpinstal!NSGetModule 
01f4f7c0 609a3a7a 01f4fbec 01e107f0 60a82328 60c2bdb8 xpinstal!NSGetModule 
01f4f890 609a2d12 011d5460 01e0c150 012598c8 60c2bdb8 
xpinstal!nsProxyObjectCallInfo::operator= 
01f4f8c0 609a70b0 01f4fb4c 01f4fa1c 01f4fab4 01e201b0 
xpinstal!nsProxyObjectCallInfo::operator= 
01f4fbe4 60a94c27 00000000 01e107f0 00000006 0125aee8 
xpinstal!nsProxyObjectCallInfo::operator= 
01f4fc8c 60a98cd9 01e0c150 00000006 00000000 00000000 js3250!js_Invoke 
01f4fdbc 60a94ed3 01e0c150 01f4fef4 00b4fc90 01e209d0 js3250!js_Invoke 
01f4fe2c 60a83b0f 00000000 011e87a8 01e209d0 00000000 js3250!js_Invoke 
01f4fe58 60a83ace 01e0c150 011e87a8 00000000 012434b0 
js3250!JS_EvaluateUCScriptForPrincipals 
01f4fe80 60a83a50 01e0c150 011e87a8 012434b0 00000459 js3250!JS_EvaluateUCScript 
01f4feac 609aad1d 01e0c150 011e87a8 01252ae0 00000459 js3250!JS_EvaluateScript 
01f4ff6c 60ba3651 00000000 00811dc0 00811dc0 60c2bdb8 xpinstal!NSGetModule

Updated

18 years ago
Severity: minor → critical
Keywords: crash

Comment 1

18 years ago
reassign this edge test case for patching to me right now...
setting target milestone to M17.
Assignee: ssu → cathleen
Target Milestone: --- → M17

Updated

18 years ago
Component: Installer: XPI Packages → Installer: XPInstall Engine
Target Milestone: M17 → M30
(Assignee)

Comment 2

18 years ago
Parcelling out Cathleen's bugs
Assignee: cathleen → dveditz
(Assignee)

Comment 3

18 years ago
Changing fictional "M30" to reality
Target Milestone: M30 → Future
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED

Comment 4

14 years ago
The URL given is no longer valid.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
(Assignee)

Comment 5

10 years ago
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.