-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault (sometimes) on Ajax-poller benchmark #91
Comments
I have another segfault where heapReportFactor suddenly becomes 0 and 0 0x00007ffff56237c3 in QWebExecutionListener::javascript_called_function(this=0x959d30, frame=...) 1 0x00007ffff56a8611 in inst::ListenerDebugger::callEvent (this=0xa380b0,frame=..., sourceID=12388976, 2 0x00007ffff650becd in JSC::Interpreter::debug (this=0xa52ab0,callFrame=0x7fffc4249130, 3 0x00007ffff6520743 in JSC::Interpreter::privateExecute (this=0xa52ab0,flag=JSC::Interpreter::Normal, 4 0x00007ffff650a1d2 in JSC::Interpreter::executeCall (this=0xa52ab0,callFrame=0x7fffd815fae0, 5 0x00007ffff65a3fcd in JSC::call (exec=0x7fffd815fae0,functionObject=..., callType=JSC::CallTypeJS, callData=..., 6 0x00007ffff56c5dec in WebCore::JSMainThreadExecState::call(exec=0x7fffd815fae0, functionObject=..., 7 0x00007ffff56f57ed in WebCore::JSEventListener::handleEvent(this=0xbc5cb0, scriptExecutionContext=0xb46ad8, 8 0x00007ffff59acbe0 in WebCore::EventTarget::fireEventListeners(this=0xb6be70, event=0xb6e5f0, d=0xb71680, 9 0x00007ffff59ac9de in WebCore::EventTarget::fireEventListeners(this=0xb6be70, event=0xb6e5f0) 10 0x00007ffff59c5329 in WebCore::Node::handleLocalEvents (this=0xb6be70,event=0xb6e5f0) 11 0x00007ffff59a25af in WebCore::EventDispatcher::dispatchEvent(this=0x7fffffff8cb0, event=...) 12 0x00007ffff59a0486 in WebCore::EventDispatchMediator::dispatchEvent(this=0xb62680, dispatcher=0x7fffffff8cb0) 13 0x00007ffff59a0f8a in WebCore::EventDispatcher::dispatchEvent(node=0xb6be70, mediator=...) 14 0x00007ffff59c5478 in WebCore::Node::dispatchEvent (this=0xb6be70,event=...) 15 0x00007ffff59ac799 in WebCore::EventTarget::dispatchEvent(this=0xb6be70, event=..., ec=@0x7fffffff8dcc: 0) 16 0x00007ffff624cf59 in WebCore::jsNodePrototypeFunctionDispatchEvent(exec=0x7fffc4249080) 17 0x00007ffff651d857 in JSC::Interpreter::privateExecute (this=0xa52ab0,flag=JSC::Interpreter::Normal, 18 0x00007ffff65099e3 in JSC::Interpreter::execute (this=0xa52ab0,program=0x7fffd811f8e0, callFrame=0x7fffd815fae0, 19 0x00007ffff65a57de in JSC::evaluate (exec=0x7fffd815fae0,scopeChain=0x7fffd817f160, source=..., thisValue=..., 20 0x00007ffff56086da in QWebElement::evaluateJavaScript(this=0x7fffffffc8d0, scriptSource=..., u=..., 21 0x000000000041eb4c in artemis::DomInput::apply (this=,page=...) 22 0x0000000000429e39 in artemis::WebKitExecutor::slLoadFinished(this=0x8fde70, ok=) 23 0x00000000004afbfc in artemis::WebKitExecutor::qt_static_metacall(_o=, _c=, 24 0x00007ffff2fa80ef in QMetaObject::activate(QObject*, QMetaObjectconst_, int, void_*) () 25 0x00007ffff55f9fc8 in QWebPage::loadFinished (this=0x8fdfb0, _t1=true)at ./moc_qwebpage.cpp:390 26 0x00007ffff5646cf5 in WebCore::FrameLoaderClientQt::emitLoadFinished(this=0xa228b0, ok=true) 27 0x00007ffff563ee29 inWebCore::FrameLoaderClientQt::dispatchDidFinishLoad (this=0xa228b0) 28 0x00007ffff5d305b5 inWebCore::FrameLoader::checkLoadCompleteForThisFrame (this=0xa22b60) 29 0x00007ffff5d313d4 in WebCore::FrameLoader::checkLoadComplete(this=0xa22b60) |
I have seen and corrected that error (now pushed). It is however very strange that it should be evaluated since heap dump wasn't enabled? |
I'm debugging it now. My options object contains a lot of wrong (and impossible) settings, so something in Artemis is writing to some memory when it should not. |
My problem is now fixed in 9e232e5 and I did not observe the original problem (at least not up until iteration 150...). Christian, can you check if your problem is still present or is gone? |
I still see the segfault. It would however seem that it occurs much later >200. |
I'm able to run the full 500 iterations. === Statistics === FormCrawl::Entrypoints: 1000 |
When running artemis on ajax-poller i (sometimes) get a segfault.
the gdb trace does not reveal where it goes wrong:
can you reproduce this error? This might be caused by ajax-callbacks.
The text was updated successfully, but these errors were encountered: