Closed Bug 489695 Opened 15 years ago Closed 11 years ago

FF lock up with Flash and Firebug.

Categories

(Core Graveyard :: Plug-ins, defect)

1.9.1 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: johnjbarton, Unassigned)

Details

(Whiteboard: [firebug-p2])

A Firebug user has reported a case where Firefox fails.

1. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090420 Shiretoko/3.5b4pre 
2. Firebug 1.4a20. Script panel options 'Break on Errors'
3. http://demo.swfupload.org/v220/applicationdemo/index.php

The page has an error "movieElement is undefined" in JS that is evaluated from with the Flash plugin (NPSWF32.dll). It looks like Firebug is being invoked and it is calling for the debug event loop, jsd's enterNestedEventLoop(). That calls the native event processing loop, but that's the end of it. The thread makes no progress. So FF is up, its not burning CPU but its not painting either.

Presumably Flash has done something that prevents the event loop from progressing.

What can be done? Do we know the Flash folks who can suggest how to fix this?

Here is the stack on the UI thread FYI:

     user32.dll!7e419418()    
     gkwidget.dll!nsAppShell::ProcessNextNativeEvent(int)  Line 171   
     gkwidget.dll!nsBaseAppShell::DoProcessNextNativeEvent(int)  Line 151   
     gkwidget.dll!nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal *, int, unsigned int)  Line 296   
     xpcom_core.dll!nsThread::ProcessNextEvent(int, int *)  Line 500   
     xpcom_core.dll!NS_ProcessNextEvent_P(nsIThread *, int)  Line 227   
     jsd3250.dll!jsdService::EnterNestedEventLoop(jsdINestCallback *, unsigned int *)  Line 3039   
     jsd3250.dll!jsdService2::EnterNestedEventLoop(jsdINestCallback *, unsigned int *)  Line 322   
     xpcom_core.dll!NS_InvokeByIndex_P(nsISupports *, unsigned int, unsigned int, nsXPTCVariant *)  Line 102   
     xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext &, XPCWrappedNative::CallMode)  Line 2456   
     xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext &, XPCWrappedNative::CallMode)  Line 2456   
     xpc3250.dll!XPC_WN_CallMethod(JSContext *, JSObject *, unsigned int, int *, int *)  Line 1587   
     js3250.dll!js_Invoke(JSContext *, unsigned int, int *, unsigned int)  Line 1380   
     js3250.dll!js_Interpret(JSContext *)  Line 5182   
     js3250.dll!js_Invoke(JSContext *, unsigned int, int *, unsigned int)  Line 1388   
     js3250.dll!js_fun_apply(JSContext *, unsigned int, int *)  Line 1774   
     js3250.dll!js_Interpret(JSContext *)  Line 5150   
     js3250.dll!js_Invoke(JSContext *, unsigned int, int *, unsigned int)  Line 1388   
     xpc3250.dll!nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS *, unsigned short, const XPTMethodDescriptor *, nsXPTCMiniVariant *) Line 1608   
     xpc3250.dll!nsXPCWrappedJS::CallMethod(unsigned short, const XPTMethodDescriptor *, nsXPTCMiniVariant *)  Line 562   
     xpcom_core.dll!PrepareAndDispatch(nsXPTCStubBase *, unsigned int, unsigned int *, unsigned int *)  Line 114   
     xpcom_core.dll!SharedStub()  Line 142   
     jsd3250.dll!jsds_ExecutionHookProc(JSDContext *, JSDThreadState *, unsigned int, void *, int *)  Line 691   
     jsd3250.dll!jsds_ExecutionHookProc(JSDContext *, JSDThreadState *, unsigned int, void *, int *)  Line 691   
     jsd3250.dll!jsd_CallExecutionHook(JSDContext *, JSContext *, unsigned int, unsigned int (JSDContext *, JSDThreadState *, unsigned int, void *, int *)*, void *, int *)  Line 177    C
     jsd3250.dll!jsd_DebugErrorHook(JSContext *, const char *, JSErrorReport *, void *)  Line 373    C
>    js3250.dll!ReportError(JSContext *, const char *, JSErrorReport *)  Line 1231   
     js3250.dll!js_ReportErrorNumberVA(JSContext *, unsigned int, const JSErrorFormatString * (void *, const char *, const unsigned int)*, void *, const unsigned int, int, char *)  Line 1553   
     js3250.dll!JS_ReportErrorFlagsAndNumber(JSContext *, unsigned int, const JSErrorFormatString * (void *, const char *, const unsigned int)*, void *, const unsigned int, ...)  Line 5643   
     js3250.dll!js_ReportIsNullOrUndefined(JSContext *, int, int, JSString *)  Line 1633   
     js3250.dll!js_ValueToNonNullObject(JSContext *, int)  Line 5487   
     js3250.dll!js_Interpret(JSContext *)  Line 4414   
     js3250.dll!js_Execute(JSContext *, JSObject *, JSScript *, JSStackFrame *, unsigned int, int *)  Line 1614   
     js3250.dll!JS_EvaluateUCScriptForPrincipals(JSContext *, JSObject *, JSPrincipals *, const unsigned short *, unsigned int, const char *, unsigned int, int *)  Line 5119   
     gklayout.dll!nsJSContext::EvaluateStringWithValue(const nsAString_internal &, void *, nsIPrincipal *, const char *, unsigned int, unsigned int, void *, int *)  Line 1440   
     gkplugin.dll!_evaluate(_NPP *, NPObject *, _NPString *, _NPVariant *)  Line 1687   
     NPSWF32.dll!09394ad6()    
     NPSWF32.dll!0929585f()
Whiteboard: [firebug-p2]
Kev: can we get our Adobe contacts to take a look?
Wai. Will drop them a line and ask them to have a look-see.
Any feedback from this?

fwiw, in Firefox 3.6 with Firebug 1.5b1, I am unable to reproduce this bug.
Is this still an issue ?
Flags: needinfo?(johnjbarton)
Over to Honza, (Hi!)
Flags: needinfo?(johnjbarton) → needinfo?(odvarko)
(In reply to John J. Barton from comment #5)
> Over to Honza, (Hi!)
Hi John!

I couldn't reproduce the crash since I don't see the "movieElement is undefined" JS error.

In any case this is very old report and should be closed.

Honza
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(odvarko)
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.