Closed
Bug 109893
Opened 23 years ago
Closed 23 years ago
Failure to look in .jar files for xpt files causes launch failure.
Categories
(Core :: XPConnect, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: tracy, Assigned: jband_mozilla)
References
Details
Attachments
(2 files)
1.15 KB,
patch
|
mikepinkerton
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
1.76 KB,
patch
|
jud
:
review+
jband_mozilla
:
superreview+
|
Details | Diff | Splinter Review |
seen on mac builds (comm and moz) 2001-11-13-04-trunk -Install the build (stub or blob installers both fail) the installation process seems to complete. The splash screen pops up momentarily after installation, but then the app just silently fails. I'm not sure this is an installer bug. Perhaps it's build config or something else. Please assign it appropriately. Thanks
Reporter | ||
Comment 1•23 years ago
|
||
note: this a.m.'s windows build works fine (linux builds have been hosed since sat.)
Keywords: smoketest
Reporter | ||
Comment 2•23 years ago
|
||
the 2001-11-12-04-trunk build also exibited this failure. The last functional builds were from Friday, Nov. 9th.
Comment 3•23 years ago
|
||
This bug needs to be reassigned; Syd is unavailable today. Samir--who can help get this bug fixed?
Comment 4•23 years ago
|
||
here are file diffs between 11/9 and 11/13 builds- some files missing in 11/13 builds (using bbedit) file diffs between 11/9 and 11/13 builds 11/9 only- not in 11/13 ----------------------- chrome/all-locales.rdf chrome/all-packages.rdf chrome/all-skins.rdf chrome/overlay.info --all files in this folder chrome/user-locales.rdf chrome/user-skins.rdf components/xpti.dat essential files/RaptorShell.shlb widget.shlb in 11/13, not 11/9 ------------------ msgsmime.shlb non matching lines ------------------- 11/9 smime.shlb 11/13 smime-service.js v
Updated•23 years ago
|
QA Contact: bugzilla → gbush
Comment 5•23 years ago
|
||
Doesn't seem like an installer bug from the info in the report. Has someone tried installing the raw StuffIt archive? CC'ing some installer folks: curt and dprice.
assigning to curt, put that nice Mac I gave you to good use please :-)
Assignee: syd → curt
Comment 8•23 years ago
|
||
Aligning summary with symptoms manifested.
Component: Installer → Build Config
Summary: Installation fails silently on launch → App doesn't launch after install
Reporter | ||
Comment 9•23 years ago
|
||
Mac OSX build 2001-11-13-07-trunk also fails in the same manner.
Comment 10•23 years ago
|
||
Patch adds WidgetSupport.shlb in Essential Files, moves widget.shlb to Components, adds gfxComponent.shlb in Components, and removes the obsolete RaptorShell.shlb.
Comment 11•23 years ago
|
||
Comment on attachment 57616 [details] [diff] [review] Fix to packages-mac r=pink
Attachment #57616 -
Flags: review+
Comment 12•23 years ago
|
||
Comment on attachment 57616 [details] [diff] [review] Fix to packages-mac sr=alecf
Attachment #57616 -
Flags: superreview+
Reporter | ||
Comment 13•23 years ago
|
||
respin on os9 Moz 2001-11-13-11-trunk still fails silently respin on os9 Comm 2001-11-13-11-trunk now hangs on the splash screen
Comment 14•23 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
OK so this ain't fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 16•23 years ago
|
||
This is very weird. I can get the installed build to start up by moving the MJR plugin and jar file out of the Plug-ins folder. Put them back, and the build continues to start up. Debugging, the problem is one of JS permissions, I think. The failure point, which prevents us opening new windows, is in nsWindowWatcher::ConvertSupportsTojsvals(), where rv = contextGuard.Push(); fails.
Comment 17•23 years ago
|
||
Update: we're failing to init script contexts.
Comment 18•23 years ago
|
||
So here's the real problem. On the Mac, there is a MRJPlugin.jar file in the Plug-ins folder. This folder is in the XPT loading search paths, so we try to grovel in this .jar file for .xpt files, and fail. xptiZipLoader::EnumerateZipEntries() fails, xptiInterfaceInfoManager::DoFullValidationMergeFromFileList() returns PR_FALSE, and hence we never load any .xpt files. Bad.
Assignee: sfraser → jband
Status: REOPENED → NEW
So presumably this was caused by the checkin for bug 106122, which caused the plugins folder to be searched for XPT files?
Comment 20•23 years ago
|
||
Workaround checked in:
Index: mozilla/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpcom/reflect/xptinfo/src/
xptiInterfaceInfoManager.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -r1.27 -r1.28
234c234,235
< (void) AppendFromDirServiceList(NS_APP_PLUGINS_DIR_LIST, searchPath);
---
> // Temporarily commented out; see bug 109893.
> //(void) AppendFromDirServiceList(NS_APP_PLUGINS_DIR_LIST, searchPath);
Severity: blocker → major
Component: Build Config → XPConnect
Keywords: smoketest
Summary: App doesn't launch after install → Failure to look in .jar files for xpt files causes launch failure.
Assignee | ||
Comment 21•23 years ago
|
||
Was the fix to packages-mac necessary? Should it stay or go?
Comment 22•23 years ago
|
||
*** Bug 110054 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 23•23 years ago
|
||
mac os9 build 2001-11-14-04-trunk works fine.
Comment 24•23 years ago
|
||
The packages-mac fixes were necessary. We had compound bustage.
Assignee | ||
Comment 25•23 years ago
|
||
I could not reporduce this on my Mac debug build (with MRJ stuff installed). Nevertheless, I tested this on Windows using a zip file that was being held exlusively open by another application. The old code would fail. With this patch we skip the locked file (logging a message if logging is enabled) and otherwise succeed. I think this is the right way to fix this.
Updated•23 years ago
|
Attachment #57960 -
Flags: review+
Assignee | ||
Comment 26•23 years ago
|
||
Comment on attachment 57960 [details] [diff] [review] fix to allow for case where zip/jar can't be openned sr=jst
Attachment #57960 -
Flags: superreview+
Assignee | ||
Comment 27•23 years ago
|
||
fix in trunk
Status: NEW → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•