Closed Bug 493375 Opened 15 years ago Closed 15 years ago

plugins won't load [@ nsPluginFile::LoadPlugin]

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
blocker

Tracking

(status1.9.2 beta1-fixed)

VERIFIED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: Peter6, Assigned: jaas)

References

Details

(Keywords: crash, regression, verified1.9.2)

Crash Data

Attachments

(1 file, 1 obsolete file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090516 Minefield/3.6a1pre ID:20090516041819

regressed with todays nightly

the plugin is there , but no flash is displayed.
no plugin content is displayed at all
Summary: flash won't load → plugins won't load
Confirmed also in Vista x64 with SP1, tested with Flash and the windows media player 11 plugin.
probably caused by bug 488181
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Well it appears that this doesn't only affect Windows platforms.
Confirmed on Linux x86_64.
OS: Windows XP → All
Hardware: x86 → All
(In reply to comment #3)
> probably caused by bug 488181

regress after Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090515 Minefield/3.6a1pre ID:20090515165914
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32/ : (Last modified) 15-May-2009 18:35 	 

http://hg.mozilla.org/mozilla-central/rev/7cd22106e8d9
Blocks: 488181
Plugins load just fine for me on x86_64 Linux and Mac OS X with builds that I made from current code containing my patch from bug 488181. Plugins load just fine for me with the latest nightly on x86_64 Windows Vista too.
Do plugins load with a fresh profile?
I can reproduce this on my normal profile, but if I create a new profile plugins work fine. I thought maybe it had to do with using an older build first, so I created a profile with FF3 and then used it with trunk, but it still worked. I also have Flashblock installed, so I tried installing that in the new profile, but plugins still worked. I have a few other addons installed, so it's possible it's something else.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090516 Minefield/3.6a1pre
I tried in safe mode on my usual profile and it's still broken, so it's at least not an enabled extension breaking anything.
SIMPLER SOLUTION: Delete pluginreg.dat from your profile folder and restart Minefield.
the issue seems to be some kind of timing/race condition in the plug-in load.
I actually get 3 separate conditions.

1.  the plug-in loads and works correctly.
2.  The plug-in fails to load.
3.  Firefox crashes.

All with the same build and the same profile.

The crash seems to be easiest to reproduce when the computer is busy doing something else (like doing a Firefox build)

Crash reports are here:

bp-6b86926f-064f-4924-8e2b-db6262090516
bp-9b1eb806-c2cf-452c-9f14-afc6a2090516
(In reply to comment #11)
> the issue seems to be some kind of timing/race condition in the plug-in load.
> I actually get 3 separate conditions.
> 
> 1.  the plug-in loads and works correctly.
> 2.  The plug-in fails to load.
> 3.  Firefox crashes.
> 
> All with the same build and the same profile.
> 
> The crash seems to be easiest to reproduce when the computer is busy doing
> something else (like doing a Firefox build)
> 
> Crash reports are here:
> 
> bp-6b86926f-064f-4924-8e2b-db6262090516
> bp-9b1eb806-c2cf-452c-9f14-afc6a2090516

I neglected to mention this is all with the same plug-in on the same webpage.  The plugin which I see this with is the Move Streaming Media Player.
Attached patch fix v1.0 (obsolete) — Splinter Review
The problem is that on Windows and Linux the file name and full path fields in pluginreg.dat now store what you'd expect because of my patch in bug 488181. pluginreg.dat files written out prior to my patch store the full path in the file name field and nothing in the full path field. The solution is to bump the current and minimum versions for pluginreg.dat to reflect the new contents of the fields.
Assignee: nobody → joshmoz
Attachment #377864 - Flags: review?
Attachment #377864 - Flags: review? → review?(ted.mielczarek)
(In reply to comment #10)
> SIMPLER SOLUTION: Delete pluginreg.dat from your profile folder and restart
> Minefield.

If the format of the pluginreg.dat file changed, then the version should have
been bumped to prevent this issue.

If the format did not change, then there is something else going on here.

That said, I have NOT been able to reproduce any issues including the crashes since removing my pluginreg.dat file.
Comment on attachment 377864 [details] [diff] [review]
fix v1.0

Sounds reasonable.
Attachment #377864 - Flags: review?(ted.mielczarek) → review+
Attached patch fix v1.1Splinter Review
This should work better, can read back to pluginreg.dat v0.9.
Attachment #377864 - Attachment is obsolete: true
Attachment #377872 - Flags: review?(dtownsend)
Attachment #377872 - Flags: review?(dtownsend) → review+
I backed out bug 488181. Fix here isn't good enough.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Keywords: crash
Summary: plugins won't load → plugins won't load [@ nsPluginFile::LoadPlugin]
(In reply to comment #17)
> I backed out bug 488181. Fix here isn't good enough.

What does this mean for those of us who deleted the pluginreg.dat files in our profiles. Should we delete it, again, before applying today's nightly update? Thanks.
(In reply to comment #19)
> What does this mean for those of us who deleted the pluginreg.dat files in our
> profiles. Should we delete it, again, before applying today's nightly update?

I'd delete it again to be safe.
(In reply to comment #20)
> (In reply to comment #19)
> > What does this mean for those of us who deleted the pluginreg.dat files in our
> > profiles. Should we delete it, again, before applying today's nightly update?
> 
> I'd delete it again to be safe.

Others have already beaten us to it. In fact, someone tried and had the browser crash on them. After deleting the "updated" pluginreg.dat file, everything returned to normal. Also, others restored their older copy.

Thanks, again, Josh.
Crash confirmed.

Tried to play a YouTube video <http://www.youtube.com/watch?v=wsMCwhJJfqo> with today's nightly (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090517 Minefield/3.6a1pre (.NET CLR 3.5.30729) ID:20090517043923) and it crashed instantly. Restarted and tried again with same result. Quit, deleted pluginreg.dat, and restarted. Tried the same YouTube video again. It played normally.
Depends on: 493545
Carrying over blocker nomination from dupe; I think it probably would block, so setting to + (though this is fixed, so yay!) But the fix hasn't been checked in (there's no m-c checkin comment), so boo?

If the fix was checked in, and done before August 13th (when we branched), could someone set the status-1.9.2 to beta1fixed?
Flags: blocking1.9.2+
http://hg.mozilla.org/mozilla-central/rev/8fce20dd0cbe was the re-landing of bug 488181 with this fix included
Verified fixed on the trunk using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a1pre) Gecko/20090914 Minefield/3.7a1pre as well as the latest Win XP nightly. Also verified with Namoroka nightlies. Adding keyword.
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
Crash Signature: [@ nsPluginFile::LoadPlugin]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: