Mac hangs with a plugin in the Plugins folder

VERIFIED FIXED

Status

()

P3
critical
VERIFIED FIXED
18 years ago
14 years ago

People

(Reporter: peter.vanderbeken, Assigned: serhunt)

Tracking

Trunk
PowerPC
Mac System 9.x
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
From Bugzilla Helper:
User-Agent: Mozilla/4.07 (Macintosh; I; PPC, Nav)
BuildID:    2000061408

The latest check-in (version 1.130) by av@netscape.com into mozilla/modules/
plugin/nglsrc/nsPluginHostImpl.cpp breaks plug-ins on Mac. Line 2478 does not 
work for Mac:

nsresult rvIsLayoutPath = compManager->SpecForRegistryLocation("rel:gkhtml.dll", 
getter_AddRefs(path));

gkhtml.dll is not a library on Mac.

Reproducible: Always
Steps to Reproduce:
Make sure a plugin (for example MRJPlugin) is in the Plugins folder. Launch with 
Profile Manager, then try to create a new profile.

Actual Results:  I see the following in the console:

nsNativeComponentLoader: 
GetFactory(HD:Mozilla:mozilla:dist:viewer_debug:Components:gkhtml.dll) Load 
Failed with error: error 0.
(Assignee)

Comment 1

18 years ago
Cut and paste thing, sorry, I'll remove it. But it should not break any existing 
functionality, it should just fail and go like it was before. What do you mean 
by 'Plug-ins broken on Mac'?
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Reporter)

Comment 2

18 years ago
I'll change it. When i have a plugin in the Plugins folder, mozilla hangs.

First i get:

nsNativeComponentLoader: 
GetFactory(HD:Mozilla:mozilla:dist:viewer_debug:Components:gkhtml.dll) Load 
Failed with error: error 0.

Then later these two:

###!!! ASSERTION: NS_ENSURE_TRUE(docShellElement) failed: 'docShellElement', 
file nsXULWindow.cpp, line 733

and

###!!! ASSERTION: NS_ENSURE_TRUE(window) failed: 'window', file 
nsContentTreeOwner.cpp, line 567

and after a couple of these it hangs. Removing the plugin resolves the problem.
Summary: Plug-ins broken on Mac → Mac hangs with a plugin in the Plugins folder

Comment 3

18 years ago
This is a bad bug (I'm being asserted to death); can we get a fix soon?
Severity: normal → critical
Keywords: nsbeta2
(Assignee)

Comment 4

18 years ago
I checked in the fix for LAYOUT_DLL yesterday. Do you still see this?
(Assignee)

Comment 5

18 years ago
OK, as brade suggested I changed rel:LAYOUT_DLL to LAYOUT_DLL for Mac which 
seems to fix the problem. Peter would you please confirm?
(Reporter)

Comment 6

18 years ago
Fixed. Thanks.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 7

18 years ago
marking verified (2000071708)
Status: RESOLVED → VERIFIED
OS: Mac System 9.x
You need to log in before you can comment on or make changes to this bug.