Closed Bug 605953 Opened 14 years ago Closed 12 years ago

Intermittent livetest, leaktest failure (also crashtests/481921.html) | ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0'

Categories

(Core :: Preferences: Backend, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jdm, Unassigned)

References

Details

(Keywords: intermittent-failure)

This may well be the same problem as bug 580790, but with another thread misusing the pref service and the main thread taking the hit. ###!!! ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0', file pldhash.c, line 612 PL_DHashTableOperate (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/xpcom/build/pldhash.c:613) pref_HashPref (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/prefapi.cpp:757) PREF_SetIntPref (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/prefapi.cpp:303) nsPrefBranch::SetIntPref(char const*, int) (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/nsPrefBranch.cpp:220) NS_InvokeByIndex_P (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/dist/bin/libxul.so) CallMethodHelper::Invoke() (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:3054) CallMethodHelper::Call() (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:2321) XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:2285) XPC_WN_CallMethod(JSContext*, unsigned int, jsval_layout*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1631) js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, js::Value*), unsigned int, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jscntxtinlines.h:652) .L1899 (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:4695) js::RunScript(JSContext*, JSScript*, JSStackFrame*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:637) js::Invoke(JSContext*, js::CallArgs const&, unsigned int) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:740) js_fun_apply(JSContext*, unsigned int, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsfun.cpp:2369) js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, js::Value*), unsigned int, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jscntxtinlines.h:652) .L1899 (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:4695) js::RunScript(JSContext*, JSScript*, JSStackFrame*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:637) js::Invoke(JSContext*, js::CallArgs const&, unsigned int) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:740) js::ExternalInvoke(JSContext*, js::Value const&, js::Value const&, unsigned int, js::Value*, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:855) _ZN2jsL14ExternalInvokeEP9JSContextP8JSObjectRKNS_5ValueEjPS4_S7_ (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.h:956) JS_CallFunctionValue (/builds/slave/mozilla-central-linux-debug/build/js/src/jsapi.cpp:4960) nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1694) nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappedjs.cpp:571) PrepareAndDispatch (/builds/slave/mozilla-central-linux-debug/build/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp:95) NS_InvokeByIndex_P (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/dist/bin/libxul.so) nsProxyObjectCallInfo::Run() (/builds/slave/mozilla-central-linux-debug/build/xpcom/proxy/src/nsProxyEvent.cpp:181) nsThread::ProcessNextEvent(int, int*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/threads/nsThread.cpp:547) NS_ProcessNextEvent_P(nsIThread*, int) (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/xpcom/build/nsThreadUtils.cpp:250) mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/builds/slave/mozilla-central-linux-debug/build/ipc/glue/MessagePump.cpp:110) MessageLoop::RunInternal() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:220) MessageLoop::RunHandler() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:203) MessageLoop::Run() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:176) nsBaseAppShell::Run() (/builds/slave/mozilla-central-linux-debug/build/widget/src/xpwidgets/nsBaseAppShell.cpp:186) nsAppStartup::Run() (/builds/slave/mozilla-central-linux-debug/build/toolkit/components/startup/src/nsAppStartup.cpp:191) XRE_main (/builds/slave/mozilla-central-linux-debug/build/toolkit/xre/nsAppRunner.cpp:3682) main (/builds/slave/mozilla-central-linux-debug/build/browser/app/nsBrowserApp.cpp:158) __libc_start_main (/usr/src/debug/glibc-2.5-20061008T1257/csu/libc-start.c:262) ###!!! ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0', file pldhash.c, line 612 TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run INFO | automation.py | Application ran for: 0:00:28.823395 INFO | automation.py | Reading PID log: /tmp/tmpxQrrvepidlog PROCESS-CRASH | automation.py | application crashed (minidump found)
This time at shutdown in the leaktest on linux: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1288144944.1288147517.6774.gz ###!!! ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0', file pldhash.c, line 612 PL_DHashTableOperate (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/xpcom/build/pldhash.c:613) pref_HashPref (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/prefapi.cpp:757) PREF_SetCharPref (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/prefapi.cpp:294) nsPrefBranch::SetCharPref(char const*, char const*) (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/nsPrefBranch.cpp:199) nsPrefService::SetCharPref(char const*, char const*) (/builds/slave/mozilla-central-linux-debug/build/modules/libpref/src/nsPrefService.h:62) NS_InvokeByIndex_P (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/dist/bin/libxul.so) CallMethodHelper::Invoke() (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:3054) CallMethodHelper::Call() (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:2321) XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednative.cpp:2285) XPC_WN_CallMethod(JSContext*, unsigned int, jsval_layout*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1631) js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, js::Value*), unsigned int, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jscntxtinlines.h:652) .L1904 (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:4702) js::RunScript(JSContext*, JSScript*, JSStackFrame*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:638) js::Invoke(JSContext*, js::CallArgs const&, unsigned int) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:741) js::ExternalInvoke(JSContext*, js::Value const&, js::Value const&, unsigned int, js::Value*, js::Value*) (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.cpp:856) _ZN2jsL14ExternalInvokeEP9JSContextP8JSObjectRKNS_5ValueEjPS4_S7_ (/builds/slave/mozilla-central-linux-debug/build/js/src/jsinterp.h:957) JS_CallFunctionValue (/builds/slave/mozilla-central-linux-debug/build/js/src/jsapi.cpp:4933) nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1694) nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/builds/slave/mozilla-central-linux-debug/build/js/src/xpconnect/src/xpcwrappedjs.cpp:571) PrepareAndDispatch (/builds/slave/mozilla-central-linux-debug/build/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp:95) nsObserverList::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/ds/nsObserverList.cpp:129) nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/ds/nsObserverService.cpp:185) nsAppStartup::Quit(unsigned int) (/builds/slave/mozilla-central-linux-debug/build/toolkit/components/startup/src/nsAppStartup.cpp:284) nsAppStartup::ExitLastWindowClosingSurvivalArea() (/builds/slave/mozilla-central-linux-debug/build/toolkit/components/startup/src/nsAppStartup.cpp:401) nsAppStartup::Observe(nsISupports*, char const*, unsigned short const*) (/builds/slave/mozilla-central-linux-debug/build/toolkit/components/startup/src/nsAppStartup.cpp:510) nsObserverList::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/ds/nsObserverList.cpp:129) nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/ds/nsObserverService.cpp:185) nsXULWindow::Destroy() (/builds/slave/mozilla-central-linux-debug/build/xpfe/appshell/src/nsXULWindow.cpp:570) nsWebShellWindow::Destroy() (/builds/slave/mozilla-central-linux-debug/build/xpfe/appshell/src/nsWebShellWindow.cpp:832) nsContentTreeOwner::Destroy() (/builds/slave/mozilla-central-linux-debug/build/xpfe/appshell/src/nsContentTreeOwner.cpp:565) nsGlobalWindow::ReallyCloseWindow() (/builds/slave/mozilla-central-linux-debug/build/dom/base/nsGlobalWindow.cpp:6106) nsCloseEvent::Run() (/builds/slave/mozilla-central-linux-debug/build/dom/base/nsGlobalWindow.cpp:5877) nsThread::ProcessNextEvent(int, int*) (/builds/slave/mozilla-central-linux-debug/build/xpcom/threads/nsThread.cpp:547) NS_ProcessNextEvent_P(nsIThread*, int) (/builds/slave/mozilla-central-linux-debug/build/obj-firefox/xpcom/build/nsThreadUtils.cpp:250) mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/builds/slave/mozilla-central-linux-debug/build/ipc/glue/MessagePump.cpp:110) MessageLoop::RunInternal() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:220) MessageLoop::RunHandler() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:203) MessageLoop::Run() (/builds/slave/mozilla-central-linux-debug/build/ipc/chromium/src/base/message_loop.cc:176) nsBaseAppShell::Run() (/builds/slave/mozilla-central-linux-debug/build/widget/src/xpwidgets/nsBaseAppShell.cpp:187) nsAppStartup::Run() (/builds/slave/mozilla-central-linux-debug/build/toolkit/components/startup/src/nsAppStartup.cpp:191) XRE_main (/builds/slave/mozilla-central-linux-debug/build/toolkit/xre/nsAppRunner.cpp:3682) main (/builds/slave/mozilla-central-linux-debug/build/browser/app/nsBrowserApp.cpp:158) __libc_start_main (/usr/src/debug/glibc-2.5-20061008T1257/csu/libc-start.c:262)
OS: Mac OS X → All
Summary: Intermittent livetest failure | ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0' → Intermittent livetest or leaktest failure | ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0'
Summary: Intermittent livetest or leaktest failure | ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0' → Intermittent livetest, leaktest failure (also crashtests/481921.html) | ASSERTION: op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0: 'op == PL_DHASH_LOOKUP || RECURSION_LEVEL(table) == 0'
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that: * Haven't changed in > 6months * Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb} * Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive. I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases). Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.