Closed Bug 624809 Opened 14 years ago Closed 14 years ago

reproducible flash crash with no report available

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(blocking2.0 final+)

VERIFIED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: asa, Assigned: benjamin)

References

Details

(Keywords: crash, regression, Whiteboard: [hardblocker])

Attachments

(1 file)

Flash, a scribd player, at http://techcrunch.com/2011/01/11/google-chrome-release-cycle-slideshow/ crashes for me consistently but there is no crash report available.

I'm testing with the first beta9 candidate build on windows 7 with Flash Version: 10.1.102.64
What's the STR? I can't reproduce with 10.1.102.64 on Win7 64-bit (32-bit Firefox and Flash).
I visit the URL and the flash embed crashes. Every time.
 	xul.dll!NS_DebugBreak_P(aSeverity=0x00000003, aStr=0x6e9090e0, aExpr=0x00000000, aFile=0x6e908d58, aLine=0x00000ae7)  Line 367	C++
>	xul.dll!mozilla::plugins::PluginInstanceChild::ShowPluginFrame()  Line 2791	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::InvalidateRectDelayed()  Line 2866	C++
 	xul.dll!MessageLoop::RunTask(task=0x00000000)  Line 344	C++
 	xul.dll!MessageLoop::DeferOrRunPendingTask(pending_task={...})  Line 354	C++
 	xul.dll!MessageLoop::DoWork()  Line 451	C++
 	xul.dll!base::MessagePumpForUI::DoRunLoop()  Line 213	C++
 	xul.dll!base::MessagePumpWin::RunWithDispatcher(delegate=0x00000000, dispatcher=0x0042f580)  Line 54	C++
 	xul.dll!base::MessagePumpWin::Run(delegate=0x0042fa28)  Line 78	C++
 	xul.dll!MessageLoop::RunInternal()  Line 220	C++
 	xul.dll!MessageLoop::RunHandler() 	C++
 	xul.dll!MessageLoop::Run()  Line 177	C++

mCurrentSurface is NULL
Depends on: 624835
Build identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b9) Gecko/20100101 Firefox/4.0b9

Issue present with the above build.
I just installed the latest Flash RC version from Adobe - http://labs.adobe.com/downloads/flashplayer10.html and hit this quite easily on youtube.com using the Beta 9 candidate on Mac. Almost every time I play a youtube video, pop it out using the player controls and close it I get this crash.
Marcia, this crash is Windows painting code, and is almost certainly unrelated to any mac crashes.
Via recording, this is another case of entering AsyncSetWindow while painting, roughly the same as bug 622985. This is happening because in PluginInstanceChild::PaintRectToPlatformSurface the call to UpdateWindowAttributes occurs while mPendingPluginCall is still `false`. I believe that we can fix this simply by setting mPendingPluginCall before doing anything else in PaintRectToPlatformSurface. Or even doing it directly in ShowPluginFrame.

 	xul.dll!nsRefPtr<gfxASurface>::assign_with_AddRef(rawPtr=0x00000000)  Line 941	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::DoAsyncSetWindow(aSurfaceType=SurfaceTypeWin32, aWindow={...}, aIsAsync=false)  Line 2237	C++
>	xul.dll!mozilla::plugins::PluginInstanceChild::RecvAsyncSetWindow(aSurfaceType=SurfaceTypeWin32, aWindow={...})  Line 2215	C++
 	xul.dll!mozilla::plugins::PPluginInstanceChild::OnMessageReceived(__msg={...})  Line 1280	C++
 	xul.dll!mozilla::plugins::PPluginModuleChild::OnMessageReceived(__msg={...})  Line 458	C++
 	xul.dll!mozilla::ipc::AsyncChannel::OnDispatchMessage(msg={...})  Line 262	C++
 	xul.dll!mozilla::ipc::RPCChannel::Call(msg=0x00802430, reply=0x0019ee10)  Line 246	C++
 	xul.dll!mozilla::plugins::PPluginScriptableObjectChild::CallNPN_Evaluate(aScript={...}, aResult=0x0019ee64, aSuccess=0x0019ee4f)  Line 124	C++
 	xul.dll!mozilla::plugins::PluginScriptableObjectChild::Evaluate(aScript=0x0019eec4, aResult=0x0019eeb4)  Line 1093	C++
 	xul.dll!mozilla::plugins::child::_evaluate(aNPP=0x0081b72c, aObject=0x00816510, aScript=0x0019eec4, aResult=0x0019eeb4)  Line 1281	C++
 	< "NPSWF32.dll" not found on host >!6a66f2c6() 	

 	< "NPSWF32.dll" not found on host >!6a66cb0f() 	
 	USER32.dll!_DispatchClientMessage@20() 	
 	xul.dll!mozilla::plugins::PluginInstanceChild::UpdateWindowAttributes(aForceSetWindow=false)  Line 2530	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::PaintRectToPlatformSurface(aRect={...}, aSurface=0x0019f7f8)  Line 2617	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::PaintRectToSurface(aRect={...}, aSurface=0x0081f470, aColor={...})  Line 2675	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::ShowPluginFrame()  Line 2767	C++
 	xul.dll!mozilla::plugins::PluginInstanceChild::InvalidateRectDelayed()  Line 2866	C++
Assignee: nobody → benjamin
Blocks: 622985
blocking2.0: --- → final+
Keywords: crash, regression
Whiteboard: [hardblocker]
Version: unspecified → Trunk
http://hg.mozilla.org/mozilla-central/rev/69c72fec790d
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified with Mozilla/5.0 (Windows NT 6.1; rv:2.0b10) Gecko/20100101 Firefox/4.0b10 (build1). Using beta 9 and loading the page the embedded Flash would crash consistently, but on beta 10 the page including this Flash slideshow load without a problem.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: