Closed
Bug 10749
Opened 26 years ago
Closed 26 years ago
StartInstall must return error for null UIName
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M10
People
(Reporter: dveditz, Assigned: dveditz)
Details
StartInstall must return error for null UIName or else SanityCheck() must not
enforce it not being null -- that's too late.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Build 1999-10-20-09-M11(WIN), 1999-10-20-08-M11(MAC), 1999-10-20-08-M11(LINUX)
1. From http://jimbob/trigger2.html, trigger http://jimbob/jars/10749.xpi
var jarSrc = "10749.txt";
b = startInstall(null, "10749", "1.1.1.1", 1);
logComment("startInstall returns = " + b);
f = getFolder("Program");
setPackageFolder(f);
addFile(jarSrc);
RESULT:
Crash.
EXPECTED RESULT:
Error message returned.
NOTE:
Talkback report was sent, but there is still a problem with querying. Ugh.
crash in function nsInstall::AddSubcomponent() at
*aReturn = mVersionInfo->ToString(version);
10-20-99 debug build stack trace:
--------------------------------------
nsInstall::AddSubcomponent(const nsString & {...}, int * 0x032af4f0) line 591 +
25 bytes
InstallAddSubcomponent(JSContext * 0x030df420, JSObject * 0x0270f930, unsigned
int 1, long * 0x02711f64, long * 0x032af644) line 541 + 25 bytes
js_Invoke(JSContext * 0x030df420, unsigned int 1, unsigned int 0) line 672 + 26
bytes
js_Interpret(JSContext * 0x030df420, long * 0x032afef4) line 2247 + 15 bytes
js_Execute(JSContext * 0x030df420, JSObject * 0x0270f930, JSScript * 0x0313d9d0,
JSFunction * 0x00000000, JSStackFrame * 0x00000000, int 0, long * 0x032afef4)
line 845 + 13 bytes
JS_EvaluateUCScriptForPrincipals(JSContext * 0x030df420, JSObject * 0x0270f930,
JSPrincipals * 0x00000000, const unsigned short * 0x025d00a8, unsigned int 646,
const char * 0x00000000, unsigned int 0, long * 0x032afef4) line 2638 + 27 bytes
JS_EvaluateUCScript(JSContext * 0x030df420, JSObject * 0x0270f930, const
unsigned short * 0x025d00a8, unsigned int 646, const char * 0x00000000, unsigned
int 0, long * 0x032afef4) line 2620 + 35 bytes
JS_EvaluateScript(JSContext * 0x030df420, JSObject * 0x0270f930, const char *
0x030df590, unsigned int 646, const char * 0x00000000, unsigned int 0, long *
0x032afef4) line 2587 + 33 bytes
RunInstallOnThread(void * 0x030dfbc0) line 358 + 30 bytes
_PR_NativeRunThread(void * 0x030df950) line 391 + 13 bytes
_threadstartex(void * 0x030df850) line 212 + 13 bytes
KERNEL32! 77f04f2c()
| Assignee | ||
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•26 years ago
|
||
This bug is fixed. If the crash is reproduceable it's a new bug (likely the
same that prevented verification of the Multi-trigger bug). The crash may block
verification of this bug, but there is no evidence of a regression.
Build 1999-11-01-09-M11(WIN), 1999-11-01-08-M11(MAC), 1999-11-01-08-M11(LINUX)
There still is a crash. This crash which Dan claims may be different is
documented from Bug 17774. Marking this one Verified.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Comment 7•26 years ago
|
||
Moved test xpi (10749.xpi) from jimbob/jars to jimbob/bugs folder.
Updated•10 years ago
|
Product: Core → Core Graveyard
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•