Closed Bug 601490 Opened 15 years ago Closed 13 years ago

Firefox hangs. Sample from Activity Monitor included.

Categories

(Firefox :: General, defect)

4.0 Branch
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: max_corvallis, Unassigned)

Details

(Whiteboard: [testday-20120413])

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b6) Gecko/20100101 Firefox/4.0b6 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b6) Gecko/20100101 Firefox/4.0b6 Often I'm reading a website and suddenly the page won't scroll, as if the page isn't entirely loaded, but the scroll bar shows lots more below. Then the spinning "app not responding" ball appears. FF won't respond to anything, and I have to Force Quit. I disabled Flash because it was implicated in earlier occurrences, but FF still hangs. I have disabled all extensions except AdBlock and those from mozilla. Attached is a sample from Activity Monitor with the hopes that someone can see what's happening. This could probably be attached to another bug, but it's definitely critical because it makes FF unusable and the tabs aren't repopulated after restart. Reproducible: Sometimes Steps to Reproduce: Try to scroll webpage. No apparent immediate cause; user is reading a webpage that appears fully loaded. No particular website (but often NYTimes, because I read it a lot). Actual Results: FF hangs. Expected Results: Page scrolls down. Sampling process 1392 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling firefox-bin (pid 1392) every 1 millisecond Call graph: 755 Thread_2507 228 XRE_AddStaticComponent 227 XRE_AddStaticComponent 1 PR_GetCurrentThread 1 pthread_getspecific 1 pthread_getspecific 127 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 121 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 2 calloc 2 malloc_zone_calloc 1 malloc_zone_calloc 1 szone_calloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 1 JS_ObjectIsFunction 1 JS_ObjectIsFunction 1 __memcpy 1 __memcpy 1 free 1 szone_free 1 tiny_free_list_add_ptr 1 tiny_free_list_add_ptr 1 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 1 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 126 DumpJSValue 89 DumpJSValue 7 NS_InvokeByIndex_P 5 NS_InvokeByIndex_P 2 NS_GetXPTCallStub_P 2 NS_GetXPTCallStub_P 6 PR_ExitMonitor 3 PR_ExitMonitor 2 PR_Unlock 2 pthread_mutex_unlock 2 pthread_mutex_unlock 1 pthread_self 1 pthread_self 6 free 3 szone_size 3 szone_size 2 szone_free 2 szone_free 1 __spin_lock 1 __spin_lock 5 PR_EnterMonitor 2 PR_Lock 2 pthread_mutex_lock 2 pthread_mutex_lock 1 PR_EnterMonitor 1 pthread_equal 1 pthread_equal 1 pthread_self 1 pthread_self 4 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 4 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 2 NS_StringSetDataRange_P 2 NS_StringSetDataRange_P 1 JS_IsExceptionPending 1 JS_IsExceptionPending 1 PR_Lock 1 pthread_mutex_lock 1 pthread_mutex_lock 1 dyld_stub_free 1 dyld_stub_free 1 js_fgets(char*, int, __sFILE*) 1 js_fgets(char*, int, __sFILE*) 1 nsPrintSession::Release() 1 nsPrintSession::Release() 1 objc_exception_try_exit 1 objc_exception_try_exit 1 pthread_self 1 pthread_self 87 JS_HashTableRemove 59 JS_HashTableRemove 59 JS_HashTableRemove 15 JS_HashTableRemove 4 JS_sprintf_append 4 JS_sprintf_append 4 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 3 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 2 __memcpy 2 __memcpy 1 __bzero 1 __bzero 1 js_CloneDensePrimitiveArray(JSContext*, JSObject*, JSObject**) 1 js_CloneDensePrimitiveArray(JSContext*, JSObject*, JSObject**) 1 js_IsDensePrimitiveArray(JSObject*) 1 js_IsDensePrimitiveArray(JSObject*) 21 0x0 18 DumpJSValue 18 DumpJSValue 2 NS_InvokeByIndex_P 2 NS_InvokeByIndex_P 1 PR_Now 1 PR_Now 18 JS_sprintf_append 16 JS_sprintf_append 1 PR_Unlock 1 __spin_lock 1 __spin_lock 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 15 nsPrintSession::Release() 12 nsPrintSession::Release() 2 __memcpy 2 __memcpy 1 malloc 1 malloc_zone_malloc 1 szone_malloc 1 szone_malloc 11 0x3 11 DumpJSValue 11 DumpJSValue 11 NS_InvokeByIndex_P 9 NS_InvokeByIndex_P 1 dyld_stub_PR_AtomicDecrement 1 dyld_stub_PR_AtomicDecrement 1 free 1 szone_size 1 szone_size 10 0x6 6 DumpJSValue 6 DumpJSValue 3 NS_DebugBreak_P 3 NS_DebugBreak_P 1 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 1 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 8 DumpJSEval 8 DumpJSEval 8 JSObject::getCompartment(JSContext*) 8 JSObject::getCompartment(JSContext*) 7 catch_exception_raise 7 catch_exception_raise 7 js_Enumerate(JSContext*, JSObject*, JSIterateOp, js::Value*, int*) 7 js_Enumerate(JSContext*, JSObject*, JSIterateOp, js::Value*, int*) 6 js_fgets(char*, int, __sFILE*) 4 js_fgets(char*, int, __sFILE*) 2 malloc 2 malloc_zone_malloc 2 szone_malloc 1 szone_malloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 5 0x1c 3 DumpJSValue 3 DumpJSValue 2 NS_StringSetDataRange_P 1 NS_StringSetDataRange_P 1 nsPrintSession::Release() 1 nsPrintSession::Release() 5 PR_Now 4 PR_Now 1 __commpage_gettimeofday 1 __commpage_gettimeofday 4 JS_GetFrameFunctionObject 4 JS_GetFrameFunctionObject 4 NS_Alloc_P 2 dyld_stub_malloc 2 dyld_stub_malloc 2 malloc 1 malloc 1 malloc_zone_malloc 1 malloc_zone_malloc 3 JS_ObjectIsFunction 3 JS_ObjectIsFunction 3 js_GetScriptLineExtent(JSScript*) 3 js_GetScriptLineExtent(JSScript*) 2 0x1 2 DumpJSValue 2 DumpJSValue 2 DumpJSObject 2 DumpJSObject 2 JS_IsExceptionPending 2 JS_IsExceptionPending 2 NS_StringSetDataRange_P 2 NS_StringSetDataRange_P 2 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 2 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 2 js_GetterOnlyPropertyStub(JSContext*, JSObject*, int, unsigned long long*) 2 js_GetterOnlyPropertyStub(JSContext*, JSObject*, int, unsigned long long*) 2 memset 2 memset 2 moz_xmalloc 2 malloc 2 malloc_zone_malloc 1 __spin_lock 1 __spin_lock 1 szone_malloc 1 small_malloc_from_free_list 1 small_malloc_from_free_list 1 0x248767d0 1 nsPrintSession::Release() 1 nsPrintSession::Release() 1 0x5 1 DumpJSValue 1 DumpJSValue 1 0x73636968 1 0x15 1 catch_exception_raise 1 PR_StringToNetAddr 1 PR_SetError 1 PR_SetError 1 JS_BeginRequest 1 JS_BeginRequest 1 JS_CallFunctionValue 1 JS_CallFunctionValue 1 JS_DHashTableOperate 1 JS_DHashTableOperate 1 JS_DefinePropertyById 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 1 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 1 JS_FrameIterator 1 JS_FrameIterator 1 JS_GetFunctionScript 1 JS_GetFunctionScript 1 JS_GetGlobalForObject 1 JS_GetGlobalForObject 1 JS_GetScriptFilenameFlags 1 JS_GetScriptFilenameFlags 1 JS_IsRunning 1 JS_IsRunning 1 JS_SetReservedSlot 1 JS_SetReservedSlot 1 NS_CycleCollectorForget2_P 1 NS_CycleCollectorForget2_P 1 NS_CycleCollectorSuspect2_P 1 NS_CycleCollectorSuspect2_P 1 NS_Realloc_P 1 realloc 1 malloc_zone_realloc 1 __spin_lock 1 __spin_lock 1 PR_Lock 1 PR_Lock 1 XRE_AddManifestLocation 1 XRE_AddManifestLocation 1 bcmp 1 bcmp 1 free 1 szone_free 1 szone_free 1 js_IsDensePrimitiveArray(JSObject*) 1 js_IsDensePrimitiveArray(JSObject*) 1 js_ObjectToOuterObject 1 js_ObjectToOuterObject 1 js_TraceContext(JSTracer*, JSContext*) 1 js_TraceContext(JSTracer*, JSContext*) 1 js_ValueToIterator(JSContext*, unsigned int, js::Value*) 1 js_ValueToIterator(JSContext*, unsigned int, js::Value*) 1 memcpy 1 memcpy 755 Thread_2603 755 thread_start 755 catch_exception_raise 755 mach_msg 755 mach_msg_trap 755 mach_msg_trap 755 Thread_2703 755 kevent 755 kevent 755 Thread_2803 755 XRE_AddStaticComponent 755 PR_WaitCondVar 755 PRP_NakedNotify 755 pthread_cond_timedwait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2903 755 thread_start 755 _pthread_start 755 js_ValueToSource(JSContext*, js::Value const&) 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2a03 755 DumpJSValue 755 PR_WaitCondVar 755 PRP_NakedNotify 755 pthread_cond_timedwait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2b03 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2c03 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2d03 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2e03 755 DumpJSValue 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_2f03 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3003 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3103 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3203 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3303 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3403 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3503 755 XRE_AddStaticComponent 755 PR_Wait 755 PR_WaitCondVar 755 pthread_cond_wait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3603 755 catch_exception_raise 755 PR_Poll 755 select$DARWIN_EXTSN 755 select$DARWIN_EXTSN 755 Thread_3703 755 catch_exception_raise 755 PR_WaitCondVar 755 PRP_NakedNotify 755 pthread_cond_timedwait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3803 755 catch_exception_raise 755 PR_WaitCondVar 755 PRP_NakedNotify 755 pthread_cond_timedwait$UNIX2003 755 __semwait_signal 755 __semwait_signal 755 Thread_3903 755 catch_exception_raise 755 PR_WaitCondVar 755 PRP_NakedNotify 755 pthread_cond_timedwait$UNIX2003 755 __semwait_signal 755 __semwait_signal Total number in stack (recursive counted multiple, when >=5): 17 PR_WaitCondVar 17 __semwait_signal 12 pthread_cond_wait$UNIX2003 11 XRE_AddStaticComponent 9 DumpJSValue 9 PR_Wait 7 catch_exception_raise 5 PRP_NakedNotify 5 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 5 pthread_cond_timedwait$UNIX2003 Sort by top of stack, same collapsed (when >= 5): __semwait_signal 12835 kevent 755 mach_msg_trap 755 select$DARWIN_EXTSN 755 XRE_AddStaticComponent 227 DumpJSValue 130 mozilla::scache::NS_NewBufferFromStorageStream(nsIStorageStream*, char**, unsigned int*) 127 JS_HashTableRemove 74 JS_sprintf_append 20 NS_InvokeByIndex_P 16 nsPrintSession::Release() 15 DumpJSEval 8 JSObject::getCompartment(JSContext*) 8 js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) 8 catch_exception_raise 7 js_Enumerate(JSContext*, JSObject*, JSIterateOp, js::Value*, int*) 7 NS_StringSetDataRange_P 5 PR_Now 5 __memcpy 5 js_fgets(char*, int, __sFILE*) 5 Sample analysis of process 1392 written to file /dev/stdout
I forgot to copy the user agent string, but I was using Firefox 4 beta 6 on a Windows 7 machine. I don't know whether it's the same problem, but every time I try to use beta 6 it hangs forever and I have to close it. Here's the error message: Description: A problem caused this program to stop interacting with Windows. Problem signature: Problem Event Name: AppHangB1 Application Name: firefox.exe Application Version: 2.0.0.3909 Application Timestamp: 4c8fa718 Hang Signature: c2e9 Hang Type: 0 OS Version: 6.1.7600.2.0.0.256.48 Locale ID: 1033 Additional Hang Signature 1: c2e9a177902c925ae53f0a3a6839c2fa Additional Hang Signature 2: 30df Additional Hang Signature 3: 30df86a52a985ac920069a88de39d725 Additional Hang Signature 4: c2e9 Additional Hang Signature 5: c2e9a177902c925ae53f0a3a6839c2fa Additional Hang Signature 6: 30df Additional Hang Signature 7: 30df86a52a985ac920069a88de39d725 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
Do you have a Roboform plugin >= v.6.9.96??? I know bug of Roboform when Firefox 3.*.* hangs up (cpu 100%) because Roboform installed. Tested more more times and same results -> bug in Roboform plugin
I'm not sure which of us you're asking, but I don't.
Version: unspecified → 4.0 Branch
This bug was reported using a pre-release version of Firefox 4. Now that Firefox 4.0.1 final has been released, can you please update and retest your bug? A fresh profile would be a good starting place to test, http://support.mozilla.com/kb/Managing+profiles. If you continue to see the issue, can you please update this bug with your results? Filter: firefox4prebugsunco
I don't have the problem anymore.
cant reproduce on Firefox 11, 12b4,13 and 14 for support please ask question in https://support.mozilla.org/questions/new
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [testday-20120413]
I have simular problems. The longer Firefox (no matter what versions, but it got worse!) runs, the more it stalls completely. Other processes continue to work without a problem, but Firefox can stall for more than a minute. Switching between windows, tabs, reloading pages, scrolling in pages - the longer Firefox runs (for several hours to days with quite some windows and tabs open) the more often it takes its time.. Restarting Firefox "cures" the problem every time.
You need to log in before you can comment on or make changes to this bug.