Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Occasional crash when used with Capybara #11857

Closed
brettporter opened this issue Dec 30, 2013 · 8 comments
Closed

Occasional crash when used with Capybara #11857

brettporter opened this issue Dec 30, 2013 · 8 comments

Comments

@brettporter
Copy link

I have a crash dump captured from tests run with capybara. It has happened more than once, but not consistently reproducible.

PhantomJS 1.9.2 was installed using npm, which I believe uses the official binaries - if there's anything missing from the dump let me know.

The output at the time of the error:

[WARNING] pure virtual method called
[WARNING] terminate called without an active exception
[WARNING] PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://github.com/ariya/phantomjs/issues/new with the crash dump file attached: /tmp/5341f903-c829-06f8-3db09e0b-685a9fc9.dmp
URL: about:blank, Saving screenshot target/screenshots/2013-12-29-20-01-08.467-screenshot
[INFO]       PhantomJS client died while processing {"name":"visit","args":["http://localhost:8888/"]} (Capybara::Poltergeist::DeadClient)

Here is the trace from the processed dump:

Operating system: Linux
                  0.0.0 Linux 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64
CPU: amd64
     family 6 model 13 stepping 3
     2 CPUs

Crash reason:  SIGABRT
Crash address: 0x1f00000271f

Thread 0 (crashed)
 0  libc-2.12.so + 0x32925
    rbx = 0x0000000004e45980   r12 = 0x00000000052d7ae0
    r13 = 0x0000000004e45950   r14 = 0x0000000004915a20
    r15 = 0x00000000052d7980   rip = 0x0000003d04832925
    rsp = 0x00007fff4a853c88   rbp = 0x0000000004e45998
    Found by: given as instruction pointer in context
 1  libc-2.12.so + 0x34104
    rip = 0x0000003d04834105   rsp = 0x00007fff4a853c90
    Found by: stack scanning
 2  ld-2.12.so + 0x55f
    rip = 0x0000003d04400560   rsp = 0x00007fff4a853cb0
    Found by: stack scanning
 3  libc-2.12.so + 0x6b57
    rip = 0x0000003d04806b58   rsp = 0x00007fff4a853cc8
    Found by: stack scanning
 4  libstdc++.so.6.0.13 + 0x2ef227
    rip = 0x0000003d066ef228   rsp = 0x00007fff4a853cf8
    Found by: stack scanning
 5  ld-2.12.so + 0xdfef
    rip = 0x0000003d0440dff0   rsp = 0x00007fff4a853d20
    Found by: stack scanning
 6  libstdc++.so.6.0.13 + 0xbea5c
    rip = 0x0000003d064bea5d   rsp = 0x00007fff4a853dc0
    Found by: stack scanning
 7  ld-2.12.so + 0x14724
    rip = 0x0000003d04414725   rsp = 0x00007fff4a853dd0
    Found by: stack scanning
 8  libpthread-2.12.so + 0xe6fc
    rip = 0x0000003d04c0e6fd   rsp = 0x00007fff4a853de0
    Found by: stack scanning
 9  libstdc++.so.6.0.13 + 0xbcbe5
    rip = 0x0000003d064bcbe6   rsp = 0x00007fff4a853e00
    Found by: stack scanning
10  libstdc++.so.6.0.13 + 0xbcc12
    rip = 0x0000003d064bcc13   rsp = 0x00007fff4a853e10
    Found by: stack scanning
11  libstdc++.so.6.0.13 + 0xbd53e
    rip = 0x0000003d064bd53f   rsp = 0x00007fff4a853e20
    Found by: stack scanning
12  phantomjs!QCoreApplication::postEvent [qcoreapplication.cpp : 1392 + 0x8]
    rip = 0x0000000001cdebbc   rsp = 0x00007fff4a853e30
    Found by: stack scanning
13  phantomjs!QMetaObject::activate [qobject.cpp : 3516 + 0x65]
    rbx = 0x0000000004915a20   r12 = 0x00007fff4a853f90
    r13 = 0x0000000000000000   r14 = 0x00000000052d7760
    r15 = 0x000000000526f620   rip = 0x0000000001cf7241
    rsp = 0x00007fff4a853ee0   rbp = 0x00000000052d7980
    Found by: call frame info
14  phantomjs!QNetworkAccessHttpBackend::postRequest [qnetworkaccesshttpbackend.cpp : 650 + 0x7]
    rbx = 0x0000000000000000   r12 = 0x0000000000000000
    r13 = 0x0000000000000000   r14 = 0x00000000052d7760
    r15 = 0x00000000052d7798   rip = 0x0000000001b21485
    rsp = 0x00007fff4a854000   rbp = 0x00000000052d7980
    Found by: call frame info
15  phantomjs!QNetworkAccessBackend::start [qnetworkaccessbackend.cpp : 426 + 0x8]
    rbx = 0x000000000524bf40   r12 = 0x00007fff4a8547d0
    r13 = 0x00007fff4a8547e0   r14 = 0x00000000052d7760
    r15 = 0x00007fff4a8547f0   rip = 0x0000000001b1564f
    rsp = 0x00007fff4a8546e0   rbp = 0x00000000052d76d8
    Found by: call frame info
16  phantomjs!QNetworkReplyImplPrivate::_q_startOperation [qnetworkreplyimpl.cpp : 93 + 0x5]
    rbx = 0x00000000052d7540   r12 = 0x0000000000000002
    r13 = 0x00000000052d7540   r14 = 0x00000000050a6b50
    r15 = 0x00007fff4a854c50   rip = 0x0000000001b31990
    rsp = 0x00007fff4a854840   rbp = 0x00007fff4a854ae0
    Found by: call frame info
17  phantomjs!QNetworkReplyImplPrivate::setup [qnetworkreplyimpl.cpp : 374 + 0x7]
    rbx = 0x00007fff4a854a40   r12 = 0x0000000000000002
    r13 = 0x00000000052d7540   r14 = 0x00000000050a6b50
    r15 = 0x00007fff4a854c50   rip = 0x0000000001b33340
    rsp = 0x00007fff4a8548d0   rbp = 0x00007fff4a854ae0
    Found by: call frame info
18  phantomjs!QNetworkAccessManager::createRequest [qnetworkaccessmanager.cpp : 1010 + 0x12]
    rbx = 0x00000000052d7540   r12 = 0x00000000050e4ca0
    r13 = 0x00007fff4a854c40   r14 = 0x00000000050a6b50
    r15 = 0x00007fff4a854c50   rip = 0x0000000001b11af5
    rsp = 0x00007fff4a854b90   rbp = 0x00007fff4a854cf0
    Found by: call frame info
19  phantomjs!NetworkAccessManager::createRequest [networkaccessmanager.cpp : 243 + 0x1a]
    rbx = 0x00007fff4a854eb0   r12 = 0x00007fff4a8550b0
    r13 = 0x00007fff4a854f30   r14 = 0x00007fff4a854df0
    r15 = 0x00007fff4a854f60   rip = 0x000000000042d05a
    rsp = 0x00007fff4a854d50   rbp = 0x00007fff4a854ea0
    Found by: call frame info
20  phantomjs!QNetworkAccessManager::get [qnetworkaccessmanager.cpp : 598 + 0xc]
    rbx = 0x0000000004817630   r12 = 0x0000000004b7b078
    r13 = 0x0000000004deece0   r14 = 0x0000000004817630
    r15 = 0x0000000000000000   rip = 0x0000000001b0ee54
    rsp = 0x00007fff4a8551d0   rbp = 0x0000000004b7b050
    Found by: call frame info
21  phantomjs!WebCore::QNetworkReplyHandler::sendNetworkRequest [QNetworkReplyHandler.cpp : 634 + 0xa]
    rbx = 0x00007fff4a855220   r12 = 0x0000000004b7b078
    r13 = 0x0000000004deece0   r14 = 0x0000000004817630
    r15 = 0x0000000000000000   rip = 0x0000000000adccb2
    rsp = 0x00007fff4a8551e0   rbp = 0x0000000004b7b050
    Found by: call frame info
22  phantomjs!WebCore::QNetworkReplyHandler::start [QNetworkReplyHandler.cpp : 673 + 0x14]
    rbx = 0x00007f669d81c080   r12 = 0x00007f66994bc900
    r13 = 0x00007f669ce6cc30   r14 = 0x0000000004b7b088
    r15 = 0x0000000004b7b050   rip = 0x0000000000add7ec
    rsp = 0x00007fff4a855320   rbp = 0x0000000004b7b050
    Found by: call frame info
23  phantomjs!WebCore::QNetworkReplyHandlerCallQueue::flush [QNetworkReplyHandler.cpp : 198 + 0x28]
    rbx = 0x000000000521d7e8   r12 = 0x00007f66994bc900
    r13 = 0x00007f669ce6cc30   r14 = 0x0000000004b7b088
    r15 = 0x0000000004b7b050   rip = 0x0000000000adaa81
    rsp = 0x00007fff4a855350   rbp = 0x000000000521d7d0
    Found by: call frame info
24  phantomjs!WebCore::ResourceHandle::loadResourceSynchronously [QNetworkReplyHandler.h : 124 + 0x11]
    rbx = 0x0000000004b7b050   r12 = 0x00007f66994bc900
    r13 = 0x00007f669ce6cc30   r14 = 0x00007f669d81c160
    r15 = 0x00007fff4a855470   rip = 0x0000000000ad82d0
    rsp = 0x00007fff4a8553a0   rbp = 0x00007f669d81c080
    Found by: call frame info
25  phantomjs!WebCore::FrameLoader::loadResourceSynchronously [FrameLoader.cpp : 2884 + 0x21]
    rbx = 0x0000000000000010   r12 = 0x00000000004b9d70
    r13 = 0x00007f669f25e478   r14 = 0x00007fff4a855540
    r15 = 0x00007fff4a855470   rip = 0x000000000085c7e2
    rsp = 0x00007fff4a855440   rbp = 0x0000000004e3a670
    Found by: call frame info
26  phantomjs!WebCore::DocumentThreadableLoader::loadRequest [DocumentThreadableLoader.cpp : 365 + 0x1c]
    rbx = 0x00007fff4a8559b0   r12 = 0x00007fff4a8559b0
    r13 = 0x00007fff4a8556e0   r14 = 0x0000000000000000
    r15 = 0x00007fff4a8557c0   rip = 0x00000000015186b1
    rsp = 0x00007fff4a8556b0   rbp = 0x00007f66af99f230
    Found by: call frame info
27  phantomjs!WebCore::DocumentThreadableLoader::DocumentThreadableLoader [DocumentThreadableLoader.cpp : 80 + 0xf]
    rbx = 0x00007fff4a8559b0   r12 = 0x00007f66af99f230
    r13 = 0x00000000ffffffff   r14 = 0x00007f66f4d1b000
    r15 = 0x0000000000000000   rip = 0x0000000001519b21
    rsp = 0x00007fff4a855860   rbp = 0x00007f66f4d1b0d0
    Found by: call frame info
28  phantomjs!WebCore::DocumentThreadableLoader::loadResourceSynchronously [DocumentThreadableLoader.cpp : 54 + 0x1e]
    rbx = 0x00007fff4a855a80   r12 = 0x00007fff4a8559b0
    r13 = 0x00007f66af2e98d0   r14 = 0x00007f66f4d1b000
    r15 = 0x0000000000000000   rip = 0x000000000151a39e
    rsp = 0x00007fff4a855940   rbp = 0x00007f66af99f230
    Found by: call frame info
29  phantomjs!WebCore::XMLHttpRequest::createRequest [XMLHttpRequest.cpp : 662 + 0x23]
    rbx = 0x00007f66af2e98d0   r12 = 0x00007fff4a8559b0
    r13 = 0x00007f66af2e98f8   r14 = 0x00007f66afc00a60
    r15 = 0x0000000000000000   rip = 0x0000000000abc804
    rsp = 0x00007fff4a855990   rbp = 0x00007f66af2e98c0
    Found by: call frame info
30  phantomjs!WebCore::XMLHttpRequest::send [XMLHttpRequest.cpp : 536 + 0xa]
    rbx = 0x00007f66af2e98c0   r12 = 0x00007fff4a855c80
    r13 = 0x00007f66ac9d8ee0   r14 = 0x00007f66afc00a60
    r15 = 0xffff000000000002   rip = 0x0000000000ac15c4
    rsp = 0x00007fff4a855b10   rbp = 0x00007fff4a855cfc
    Found by: call frame info
31  phantomjs!WebCore::XMLHttpRequest::send [XMLHttpRequest.cpp : 476 + 0x7]
    rbx = 0x00007f66f4d1b0d0   r12 = 0x0000000000045cf8
    r13 = 0x00007f66ac9d8ee0   r14 = 0x00007f66afc00a60
    r15 = 0xffff000000000002   rip = 0x0000000000ac1ee4
    rsp = 0x00007fff4a855c80   rbp = 0x00007f66af2e98c0
    Found by: call frame info
32  phantomjs!WebCore::JSXMLHttpRequest::send [JSXMLHttpRequestCustom.cpp : 118 + 0xd]
    rbx = 0x00007f66f4d1b0d0   r12 = 0x0000000000045cf8
    r13 = 0x00007f66ac9d8ee0   r14 = 0x00007f66afc00a60
    r15 = 0xffff000000000002   rip = 0x00000000014fd06e
    rsp = 0x00007fff4a855cb0   rbp = 0x00007f66af2e98c0
    Found by: call frame info
33  phantomjs!WebCore::jsXMLHttpRequestPrototypeFunctionSend [JSXMLHttpRequest.cpp : 511 + 0xa]
    rbx = 0x00007f66afbdd020   r12 = 0x0000000000045cf8
    r13 = 0x00007f66afc009e8   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00000000014202d7
    rsp = 0x00007fff4a855d30   rbp = 0x00007fff4a855df0
    Found by: call frame info
34  0x7f66b00001e7
    rbx = 0x00007f66afbdd020   r12 = 0x0000000000045cf8
    r13 = 0x00007f66afc009e8   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00007f66b00001e8
    rsp = 0x00007fff4a855d40   rbp = 0x00007fff4a855df0
    Found by: call frame info
35  phantomjs!JSC::Interpreter::execute [JITCode.h : 77 + 0x7]
    rip = 0x0000000000f2c1eb   rsp = 0x00007fff4a855e00
    Found by: stack scanning
36  phantomjs!JSC::evaluate [Completion.cpp : 64 + 0x1b]
    rbx = 0x00007f66f4d03868   r12 = 0x00007f66ae5f1850
    r13 = 0x00007fff4a856088   r14 = 0x00007f66afbd46c0
    r15 = 0x00007f66afbd25a0   rip = 0x00000000004f9538
    rsp = 0x00007fff4a855e80   rbp = 0x00007f66afbd46d8
    Found by: call frame info
37  phantomjs!WebCore::ScriptController::evaluateInWorld [JSMainThreadExecState.h : 54 + 0x4]
    rbx = 0x0000000002acad10   r12 = 0x0000000000000000
    r13 = 0x00007f669f25e818   r14 = 0x00007f669f25e400
    r15 = 0x00007f66f427e310   rip = 0x00000000005291da
    rsp = 0x00007fff4a855f30   rbp = 0x00007f66afbd46d8
    Found by: call frame info
38  phantomjs!WebCore::ScriptController::evaluate [ScriptController.cpp : 167 + 0x15]
    rbx = 0x00007fff4a856080   r12 = 0x00007f669f25e818
    r13 = 0x00007fff4a856040   r14 = 0x00007f66f4d1b4e4
    r15 = 0x00007fff4a856140   rip = 0x00000000005294d2
    rsp = 0x00007fff4a856020   rbp = 0x00007fff4a856080
    Found by: call frame info
39  phantomjs!WebCore::ScriptElement::executeScript [ScriptElement.cpp : 283 + 0x11]
    rbx = 0x00007f66f4d1b4e4   r12 = 0x00007f66f4d1b000
    r13 = 0x0000000000000001   r14 = 0x00007f66f4d1b4e4
    r15 = 0x00007fff4a856140   rip = 0x000000000106ed24
    rsp = 0x00007fff4a856040   rbp = 0x00007fff4a856080
    Found by: call frame info
40  phantomjs!WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent [HTMLScriptRunner.cpp : 139 + 0xa]
    rbx = 0x00007f66af58b910   r12 = 0x00007f669a788a50
    r13 = 0x00007f66af58b958   r14 = 0x00007f66f4d1b4e4
    r15 = 0x00007fff4a856140   rip = 0x00000000007bf444
    rsp = 0x00007fff4a856080   rbp = 0x00007f66af58b900
    Found by: call frame info
41  phantomjs!WebCore::HTMLScriptRunner::executeParsingBlockingScript [HTMLScriptRunner.cpp : 118 + 0xb]
    rbx = 0x0000000000000000   r12 = 0x0000000000000000
    r13 = 0x00007f66af3a2438   r14 = 0x00007f66af58b900
    r15 = 0x00007fff4a856140   rip = 0x00000000007c0af7
    rsp = 0x00007fff4a856140   rbp = 0x00007f66af58b900
    Found by: call frame info
42  phantomjs!WebCore::HTMLScriptRunner::execute [HTMLScriptRunner.cpp : 195 + 0x7]
    rbx = 0x00007f66af58b910   r12 = 0x00007fff4a8562c0
    r13 = 0x0000000000000000   r14 = 0x00007f66af3a3520
    r15 = 0x00007fff4a856330   rip = 0x00000000007c10ad
    rsp = 0x00007fff4a856270   rbp = 0x00007f66af58b900
    Found by: call frame info
43  phantomjs!WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder [HTMLDocumentParser.cpp : 205 + 0x13]
    rbx = 0x00007f66af3a2400   r12 = 0x0000000000000000
    r13 = 0x00007f66af3a2438   r14 = 0x00007f66af3a3520
    r15 = 0x00007fff4a856330   rip = 0x00000000007b5a34
    rsp = 0x00007fff4a8562a0   rbp = 0x00007fff4a856330
    Found by: call frame info
44  phantomjs!WebCore::HTMLDocumentParser::canTakeNextToken [HTMLDocumentParser.cpp : 223 + 0x7]
    rbx = 0x00007f66af3a2400   r12 = 0x0000000000000000
    r13 = 0x00007f66af3a2438   r14 = 0x00007f66af3a3520
    r15 = 0x00007fff4a856330   rip = 0x00000000007b5b4d
    rsp = 0x00007fff4a8562f0   rbp = 0x00007fff4a856330
    Found by: call frame info
45  phantomjs!WebCore::HTMLDocumentParser::pumpTokenizer [HTMLDocumentParser.cpp : 261 + 0xe]
    rbx = 0x00007f66af3a24a8   r12 = 0x00007f66af3a34a8
    r13 = 0x00007f66af3a2438   r14 = 0x00007f66af3a3520
    r15 = 0x00007fff4a856330   rip = 0x00000000007b67e6
    rsp = 0x00007fff4a856310   rbp = 0x00007f66af3a2400
    Found by: call frame info
46  phantomjs!WebCore::HTMLDocumentParser::append [HTMLDocumentParser.cpp : 175 + 0x9]
    rbx = 0x00007f66af3a2400   r12 = 0x00007fff4a8563f0
    r13 = 0x00007f66af3a2408   r14 = 0x00007f66af689870
    r15 = 0x00007fff4a856460   rip = 0x00000000007b6c4f
    rsp = 0x00007fff4a8563b0   rbp = 0x00007f66af3a3498
    Found by: call frame info
47  phantomjs!WebCore::DecodedDataDocumentParser::appendBytes [DecodedDataDocumentParser.cpp : 54 + 0x6]
    rbx = 0x00007f669da29740   r12 = 0x0000000000000000
    r13 = 0x0000000005154398   r14 = 0x00007f66af689870
    r15 = 0x00007fff4a856460   rip = 0x0000000001060718
    rsp = 0x00007fff4a8563e0   rbp = 0x00007f669e38a840
    Found by: call frame info
48  phantomjs!WebCore::DocumentLoader::commitData [DocumentLoader.cpp : 321 + 0xe]
    rbx = 0x00007f66af689870   r12 = 0x0000000005154398
    r13 = 0x0000000005154398   r14 = 0x0000000000002284
    r15 = 0x0000000005154398   rip = 0x000000000084536e
    rsp = 0x00007fff4a8564c0   rbp = 0x0000000000002284
    Found by: call frame info
49  phantomjs!WebCore::FrameLoaderClientQt::committedLoad [FrameLoaderClientQt.cpp : 901 + 0xc]
    rbx = 0x0000000004e3a660   r12 = 0x0000000000002284
    r13 = 0x0000000005154398   r14 = 0x0000000000002284
    r15 = 0x0000000005154398   rip = 0x00000000004b894e
    rsp = 0x00007fff4a8564f0   rbp = 0x00007f66af689800
    Found by: call frame info
50  phantomjs!WebCore::DocumentLoader::commitLoad [DocumentLoader.cpp : 307 + 0x11]
    rbx = 0x00007f66af689800   r12 = 0x00007f66af689808
    r13 = 0x0000000000000001   r14 = 0x0000000000002284
    r15 = 0x0000000005154398   rip = 0x0000000000840045
    rsp = 0x00007fff4a856520   rbp = 0x00007f669f25e400
    Found by: call frame info
51  phantomjs!WebCore::ResourceLoader::didReceiveData [ResourceLoader.cpp : 279 + 0x14]
    rbx = 0x00007f669e419480   r12 = 0x0000000000002284
    r13 = 0x0000000005154398   r14 = 0xffffffffffffffff
    r15 = 0x0000000005154398   rip = 0x00000000008868f3
    rsp = 0x00007fff4a856560   rbp = 0x0000000000000001
    Found by: call frame info
52  phantomjs!WebCore::MainResourceLoader::didReceiveData [MainResourceLoader.cpp : 463 + 0x13]
    rbx = 0x00007f669e419480   r12 = 0x0000000000000000
    r13 = 0xffffffffffffffff   r14 = 0x0000000000002284
    r15 = 0x0000000005154398   rip = 0x0000000000873048
    rsp = 0x00007fff4a856590   rbp = 0x0000000000000001
    Found by: call frame info
53  phantomjs!WebCore::ResourceLoader::didReceiveData [ResourceLoader.cpp : 430 + 0x18]
    rbx = 0x0000000005154380   r12 = 0x00000000ffffffff
    r13 = 0x0000000000002284   r14 = 0x0000000005154398
    r15 = 0x0000000002ac7b08   rip = 0x0000000000885036
    rsp = 0x00007fff4a8565d0   rbp = 0x00007f669e419480
    Found by: call frame info
54  phantomjs!WebCore::QNetworkReplyHandler::forwardData [QNetworkReplyHandler.cpp : 594 + 0x13]
    rbx = 0x0000000005154380   r12 = 0x00007fff4a856700
    r13 = 0x00000000038c16b8   r14 = 0x00000000038c16b8
    r15 = 0x00000000038c1680   rip = 0x0000000000ada594
    rsp = 0x00007fff4a856650   rbp = 0x00000000038c1680
    Found by: call frame info
55  phantomjs!WebCore::QNetworkReplyHandlerCallQueue::flush [QNetworkReplyHandler.cpp : 198 + 0x28]
    rbx = 0x0000000004811a98   r12 = 0x00007fff4a856700
    r13 = 0x00000000038c16b8   r14 = 0x00000000038c16b8
    r15 = 0x00000000038c1680   rip = 0x0000000000adaa81
    rsp = 0x00007fff4a856680   rbp = 0x0000000004811a70
    Found by: call frame info
56  phantomjs!WebCore::QNetworkReplyWrapper::emitMetaDataChanged [QNetworkReplyHandler.cpp : 178 + 0x4]
    rbx = 0x0000000000000000   r12 = 0x00007fff4a856700
    r13 = 0x00000000038c16b8   r14 = 0x0000000004343338
    r15 = 0x0000000004952f70   rip = 0x0000000000adb0a7
    rsp = 0x00007fff4a8566d0   rbp = 0x0000000004343300
    Found by: call frame info
57  phantomjs!WebCore::QNetworkReplyWrapper::receiveSniffedMIMEType [QNetworkReplyHandler.cpp : 307 + 0x7]
    rbx = 0x0000000004343300   r12 = 0x0000000000000000
    r13 = 0x00007fff4a856780   r14 = 0x0000000004343338
    r15 = 0x0000000004952f70   rip = 0x0000000000adb9c8
    rsp = 0x00007fff4a856740   rbp = 0x0000000004343348
    Found by: call frame info
58  phantomjs!WebCore::QNetworkReplyWrapper::receiveMetaData [QNetworkReplyHandler.cpp : 293 + 0x7]
    rbx = 0x0000000004811a70   r12 = 0x0000000000000000
    r13 = 0x00007fff4a856780   r14 = 0x0000000004343338
    r15 = 0x0000000004952f70   rip = 0x0000000000add34d
    rsp = 0x00007fff4a856770   rbp = 0x0000000004343300
    Found by: call frame info
59  phantomjs!QMetaObject::activate [qobject.cpp : 3539 + 0x1e]
    rbx = 0x0000000000000004   r12 = 0x000000000473aa01
    r13 = 0x0000000000add5c0   r14 = 0x0000000000000000
    r15 = 0x0000000004952f70   rip = 0x0000000001cf6ec8
    rsp = 0x00007fff4a856860   rbp = 0x0000000004343300
    Found by: call frame info
60  phantomjs!QNetworkReplyImplPrivate::appendDownstreamDataSignalEmissions [qnetworkreplyimpl.cpp : 622 + 0x7]
    rbx = 0x00000000049fca60   r12 = 0x000000000473aa40
    r13 = 0x000000000518b340   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x0000000001b30d2f
    rsp = 0x00007fff4a856980   rbp = 0x00007fff4a856a40
    Found by: call frame info
61  phantomjs!QNetworkAccessHttpBackend::replyDownloadData [qnetworkaccesshttpbackend.cpp : 743 + 0xa]
    rbx = 0x000000000473a9c0   r12 = 0x000000000473aa40
    r13 = 0x0000000003045ab0   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x0000000001b1c72a
    rsp = 0x00007fff4a8569e0   rbp = 0x00007fff4a856a40
    Found by: call frame info
62  phantomjs!QNetworkAccessHttpBackend::qt_static_metacall [moc_qnetworkaccesshttpbackend_p.cpp : 95 + 0x9]
    rbx = 0x00007f66940064f0   r12 = 0x00007f6694006530
    r13 = 0x0000000003045ab0   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x0000000001ba6f31
    rsp = 0x00007fff4a856a10   rbp = 0x000000000473a9c0
    Found by: call frame info
63  phantomjs!QObject::event [qobject.cpp : 1191 + 0x8]
    rbx = 0x000000000473a9c0   r12 = 0x00007f6694006530
    r13 = 0x0000000003045ab0   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x0000000001cefbf8
    rsp = 0x00007fff4a856aa0   rbp = 0x0000000000000000
    Found by: call frame info
64  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
    rbx = 0x00007fff4a857450   r12 = 0x00007f6694006530
    r13 = 0x0000000003045ab0   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x00000000015decaf
    rsp = 0x00007fff4a856c40   rbp = 0x000000000473a9c0
    Found by: call frame info
65  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
    rbx = 0x00007fff4a857450   r12 = 0x00007f6694006530
    r13 = 0x00007fff4a857450   r14 = 0x0000000003043208
    r15 = 0x00007f6694006530   rip = 0x00000000015e793b
    rsp = 0x00007fff4a856c70   rbp = 0x000000000473a9c0
    Found by: call frame info
66  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
    rbx = 0x00000000030431c0   r12 = 0x00007f6694006530
    r13 = 0x00007fff4a857450   r14 = 0x0000000003043208
    r15 = 0x00000000030431fc   rip = 0x0000000001cde3a4
    rsp = 0x00007fff4a857140   rbp = 0x000000000473a9c0
    Found by: call frame info
67  phantomjs!QCoreApplicationPrivate::sendPostedEvents [qcoreapplication.h : 231 + 0x1f]
    rbx = 0x00007f6694006530   r12 = 0x00000000030431c0
    r13 = 0x000000000473a9c0   r14 = 0x0000000003043208
    r15 = 0x00000000030431fc   rip = 0x0000000001cdf304
    rsp = 0x00007fff4a857190   rbp = 0x00007f6694006590
    Found by: call frame info
68  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 909 + 0xc]
    rbx = 0x000000000332b0d0   r12 = 0x00007fff4a8572a0
    r13 = 0x0000000003042560   r14 = 0x0000000000000000
    r15 = 0x00000000030432d8   rip = 0x0000000001d07ff3
    rsp = 0x00007fff4a857250   rbp = 0x0000000003047030
    Found by: call frame info
69  phantomjs!QEventDispatcherQPA::processEvents [qeventdispatcher_qpa.cpp : 246 + 0x4]
    rbx = 0x000000000332b0d0   r12 = 0x0000000000000000
    r13 = 0x0000000003042560   r14 = 0x00007fff4a8572e0
    r15 = 0x00000000030432d8   rip = 0x000000000163a6a4
    rsp = 0x00007fff4a8572a0   rbp = 0x0000000003047030
    Found by: call frame info
70  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x000000000332b0d0   r12 = 0x00007fff4a857370
    r13 = 0x00007fff4a857380   r14 = 0x0000000003043230
    r15 = 0x00000000030432d8   rip = 0x0000000001cdd485
    rsp = 0x00007fff4a8572e0   rbp = 0x00007fff4a857320
    Found by: call frame info
71  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x000000000332b0d0   r12 = 0x00007fff4a857370
    r13 = 0x00007fff4a857380   r14 = 0x0000000003043230
    r15 = 0x00000000030432d8   rip = 0x0000000001cdd8e8
    rsp = 0x00007fff4a857310   rbp = 0x00007fff4a857450
    Found by: call frame info
72  phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
    rbx = 0x00000000030431c0   r12 = 0x00007fff4a857450
    r13 = 0x00007fff4a857620   r14 = 0x00007fff4a8573c0
    r15 = 0x0000000000000000   rip = 0x0000000001cdf79b
    rsp = 0x00007fff4a857370   rbp = 0x00000000030431c0
    Found by: call frame info
73  phantomjs!main [main.cpp : 121 + 0x4]
    rbx = 0x00000000034c9bd0   r12 = 0x00007fff4a857450
    r13 = 0x00007fff4a857620   r14 = 0x00007fff4a8573c0
    r15 = 0x0000000000000000   rip = 0x0000000000427cb2
    rsp = 0x00007fff4a8573b0   rbp = 0x00007fff4a8575e8
    Found by: call frame info
74  libc-2.12.so + 0x1ed1c
    rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
    r13 = 0x00007fff4a8575e0   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x0000003d0481ed1d
    rsp = 0x00007fff4a857510   rbp = 0x0000000000000000
    Found by: call frame info
75  phantomjs + 0x27a5f
    rip = 0x0000000000427a60   rsp = 0x00007fff4a857530
    Found by: stack scanning

Thread 1
 0  libc-2.12.so + 0xaccdd
    rbx = 0x00007f66f57e6d50   r12 = 0x00000000ffffffff
    r13 = 0x00007f669fe28530   r14 = 0x0000000002aaa5c0
    r15 = 0x0000000002aaa230   rip = 0x0000003d048accdd
    rsp = 0x00007f66f57e6c20   rbp = 0x00007f66f57e6cd0
    Found by: given as instruction pointer in context
 1  libc-2.12.so + 0xacb4f
    rip = 0x0000003d048acb50   rsp = 0x00007f66f57e6c30
    rbp = 0x00007f66f57e6cd0
    Found by: stack scanning
 2  phantomjs + 0x18b5c3f
    rip = 0x0000000001cb5c40   rsp = 0x00007f66f57e6c38
    rbp = 0x00007f66f57e6cd0
    Found by: stack scanning
 3  ld-2.12.so + 0x9bc6
    rip = 0x0000003d04409bc7   rsp = 0x00007f66f57e6c60
    rbp = 0x00007f66f57e6cd0
    Found by: stack scanning
 4  phantomjs!WebPage::renderPdf [qstring.h : 880 + 0xc]
    rip = 0x00000000004173d8   rsp = 0x00007f66f57e6c70
    rbp = 0x00007f66f57e6cd0
    Found by: stack scanning

Thread 2
 0  libc-2.12.so + 0xe15e3
    rbx = 0x0000000000000000   r12 = 0x00007f66f4ccdd70
    r13 = 0x0000000000000008   r14 = 0x00007f66f0000a98
    r15 = 0x00007f66f0000d30   rip = 0x0000003d048e15e3
    rsp = 0x00007f66f4ccdb40   rbp = 0x00007f66f00008e0
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
    rip = 0x0000000001d062f7   rsp = 0x00007f66f4ccdb50
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f66f00012b0   r12 = 0x00007f66f4ccdd70
    r13 = 0x00007f66f00008e0   r14 = 0x0000000000000000
    r15 = 0x00007f66f0000d30   rip = 0x0000000001d075b7
    rsp = 0x00007f66f4ccdbe0   rbp = 0x00007f66f00008e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f66f00012b0   r12 = 0x00007f66f4ccdd70
    r13 = 0x00007f66f00008c0   r14 = 0x0000000000000001
    r15 = 0x0000000003097238   rip = 0x0000000001d08062
    rsp = 0x00007f66f4ccdd20   rbp = 0x00007f66f00008e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f66f00012b0   r12 = 0x00007f66f4ccde00
    r13 = 0x00007f66f4ccde10   r14 = 0x0000000003043230
    r15 = 0x0000000003097238   rip = 0x0000000001cdd485
    rsp = 0x00007f66f4ccdd70   rbp = 0x00007f66f4ccddb0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f66f00012b0   r12 = 0x00007f66f4ccde00
    r13 = 0x00007f66f4ccde10   r14 = 0x0000000003043230
    r15 = 0x0000000003097238   rip = 0x0000000001cdd8e8
    rsp = 0x00007f66f4ccdda0   rbp = 0x00007fff4a857450
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x00000000030971b0   r12 = 0x0000000003097238
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f66f4ccde00   rbp = 0x0000000003097238
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x0000000003097238   r12 = 0x000000000331e340
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f66f4ccde50   rbp = 0x00000000030c9640
    Found by: call frame info
 8  libpthread-2.12.so + 0x79d0
    rbx = 0x0000000000000000   r12 = 0x00007fff4a856930
    r13 = 0x00007f66f4cce9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000003d04c079d1
    rsp = 0x00007f66f4ccdea0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 3
 0  libpthread-2.12.so + 0xb98e
    rbx = 0x00007f66a8005420   r12 = 0x0000000000000027
    r13 = 0x00007f66935fddb0   r14 = 0xffffffffffffff92
    r15 = 0x00007f66a8005300   rip = 0x0000003d04c0b98e
    rsp = 0x00007f66935fdd30   rbp = 0x00007f66a80056f0
    Found by: given as instruction pointer in context
 1  phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
    rip = 0x0000000001be39b7   rsp = 0x00007f66935fdd90
    rbp = 0x00007f66a80056f0
    Found by: stack scanning
 2  phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
    rbx = 0x00007f66a8005340   r12 = 0x00007f66a80053c9
    r13 = 0x0000000000000002   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bd781d
    rsp = 0x00007f66935fde10   rbp = 0x00007f66a80056f0
    Found by: call frame info
 3  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x00007f66a4004c80   r12 = 0x00007f66a8005890
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f66935fde50   rbp = 0x00007f66a80056f0
    Found by: call frame info
 4  libpthread-2.12.so + 0x79d0
    rbx = 0x0000000000000000   r12 = 0x00007f6698f09600
    r13 = 0x00007f66935fe9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000003d04c079d1
    rsp = 0x00007f66935fdea0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 4
 0  libc-2.12.so + 0xe15e3
    rbx = 0x00007f6698f0ad20   r12 = 0x0000000000d83383
    r13 = 0x000000000000000f   r14 = 0x00007f6694000a78
    r15 = 0x00007f6694000d10   rip = 0x0000003d048e15e3
    rsp = 0x00007f6698f0ab40   rbp = 0x000000000002f7f2
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
    rip = 0x0000000001d061f8   rsp = 0x00007f6698f0ab50
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f6694001290   r12 = 0x00007f6698f0ad70
    r13 = 0x00007f66940008c0   r14 = 0x00007f6698f0ad20
    r15 = 0x00007f6694000d10   rip = 0x0000000001d075b7
    rsp = 0x00007f6698f0abe0   rbp = 0x00007f66940008c0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f6694001290   r12 = 0x00007f6698f0ad70
    r13 = 0x00007f6694008f80   r14 = 0x0000000000000001
    r15 = 0x0000000004f044d8   rip = 0x0000000001d08062
    rsp = 0x00007f6698f0ad20   rbp = 0x00007f66940008c0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f6694001290   r12 = 0x00007f6698f0ae00
    r13 = 0x00007f6698f0ae10   r14 = 0x0000000003043230
    r15 = 0x0000000004f044d8   rip = 0x0000000001cdd485
    rsp = 0x00007f6698f0ad70   rbp = 0x00007f6698f0adb0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f6694001290   r12 = 0x00007f6698f0ae00
    r13 = 0x00007f6698f0ae10   r14 = 0x0000000003043230
    r15 = 0x0000000004f044d8   rip = 0x0000000001cdd8e8
    rsp = 0x00007f6698f0ada0   rbp = 0x00007fff4a857450
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x0000000004f04450   r12 = 0x0000000004f044d8
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f6698f0ae00   rbp = 0x0000000004f044d8
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x0000000004f044d8   r12 = 0x00000000048af650
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f6698f0ae50   rbp = 0x0000000004eb2240
    Found by: call frame info
 8  libpthread-2.12.so + 0x79d0
    rbx = 0x0000000000000000   r12 = 0x00007fff4a852780
    r13 = 0x00007f6698f0b9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000003d04c079d1
    rsp = 0x00007f6698f0aea0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 5
 0  libc-2.12.so + 0xe15e3
    rbx = 0x00007f6693ffed20   r12 = 0x0000000000d83386
    r13 = 0x0000000000000010   r14 = 0x00007f66a8002998
    r15 = 0x00007f66a8002c30   rip = 0x0000003d048e15e3
    rsp = 0x00007f6693ffeb40   rbp = 0x0000000000028b20
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
    rip = 0x0000000001d061f8   rsp = 0x00007f6693ffeb50
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f66a8003280   r12 = 0x00007f6693ffed70
    r13 = 0x00007f66a80027e0   r14 = 0x00007f6693ffed20
    r15 = 0x00007f66a8002c30   rip = 0x0000000001d075b7
    rsp = 0x00007f6693ffebe0   rbp = 0x00007f66a80027e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f66a8003280   r12 = 0x00007f6693ffed70
    r13 = 0x00007f66a800da50   r14 = 0x0000000000000001
    r15 = 0x00000000052d7938   rip = 0x0000000001d08062
    rsp = 0x00007f6693ffed20   rbp = 0x00007f66a80027e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f66a8003280   r12 = 0x00007f6693ffee00
    r13 = 0x00007f6693ffee10   r14 = 0x0000000003043230
    r15 = 0x00000000052d7938   rip = 0x0000000001cdd485
    rsp = 0x00007f6693ffed70   rbp = 0x00007f6693ffedb0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f66a8003280   r12 = 0x00007f6693ffee00
    r13 = 0x00007f6693ffee10   r14 = 0x0000000003043230
    r15 = 0x00000000052d7938   rip = 0x0000000001cdd8e8
    rsp = 0x00007f6693ffeda0   rbp = 0x00007fff4a857450
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x00000000052d78b0   r12 = 0x00000000052d7938
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f6693ffee00   rbp = 0x00000000052d7938
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x00000000052d7938   r12 = 0x0000000004e45950
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f6693ffee50   rbp = 0x00000000047f89a0
    Found by: call frame info
 8  libpthread-2.12.so + 0x79d0
    rbx = 0x0000000000000000   r12 = 0x00007fff4a853f30
    r13 = 0x00007f6693fff9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000003d04c079d1
    rsp = 0x00007f6693ffeea0   rbp = 0x0000000000000000
    Found by: call frame info

Loaded modules:
0x00400000 - 0x026b9fff  phantomjs  ???  (main)
0x3d04400000 - 0x3d0441ffff  ld-2.12.so  ???
0x3d04800000 - 0x3d04b8efff  libc-2.12.so  ???
0x3d04c00000 - 0x3d04e18fff  libpthread-2.12.so  ???
0x3d05000000 - 0x3d05203fff  libdl-2.12.so  ???
0x3d05400000 - 0x3d05615fff  libz.so.1.2.3  ???
0x3d05800000 - 0x3d05a07fff  librt-2.12.so  ???
0x3d05c00000 - 0x3d05e83fff  libm-2.12.so  ???
0x3d06000000 - 0x3d0621dfff  libselinux.so.1  ???
0x3d06400000 - 0x3d066f0fff  libstdc++.so.6.0.13  ???
0x3d06800000 - 0x3d06a15fff  libgcc_s-4.4.7-20120601.so.1  ???
0x3d06c00000 - 0x3d06e17fff  libresolv-2.12.so  ???
0x3d07000000 - 0x3d07203fff  libcom_err.so.2.1  ???
0x3d07800000 - 0x3d07a35fff  libfontconfig.so.1.4.4  ???
0x3d07c00000 - 0x3d07e9cfff  libfreetype.so.6.3.22  ???
0x3d09c00000 - 0x3d09ee5fff  libkrb5.so.3.3  ???
0x3d0a000000 - 0x3d0a227fff  libexpat.so.1.5.2  ???
0x3d0a400000 - 0x3d0a62afff  libk5crypto.so.3.1  ???
0x3d0a800000 - 0x3d0aa0afff  libkrb5support.so.0.1  ???
0x3d0ac00000 - 0x3d0ae02fff  libkeyutils.so.1.3  ???
0x3d0b000000 - 0x3d0b3dafff  libcrypto.so.1.0.1e  ???
0x3d0b400000 - 0x3d0b643fff  libgssapi_krb5.so.2.2  ???
0x3d0b800000 - 0x3d0ba6afff  libssl.so.1.0.1e  ???
0x7f669cc65000 - 0x7f669cc76fff  UTB_____.pfa  ???
0x7f669cc77000 - 0x7f669cc88fff  UTRG____.pfa  ???
0x7f66ad11d000 - 0x7f66ad134fff  GohaTibebZemen.ttf  ???
0x7f66ad14c000 - 0x7f66ad159fff  cursor.pfa  ???
0x7f66ad15a000 - 0x7f66ad162fff  c0648bt_.pfb  ???
0x7f66ad163000 - 0x7f66ad16cfff  c0419bt_.pfb  ???
0x7f66aecfa000 - 0x7f66aed0cfff  UTBI____.pfa  ???
0x7f66f41e3000 - 0x7f66f4217fff  db7yauDR (deleted)  ???
0x7f66f57f8000 - 0x7f66fb688fff  locale-archive  ???
0x7f66fb696000 - 0x7f66fb696fff  d04038e664b0033ae700a78c51f179d3-le64.cache-3  ???
0x7f66fb697000 - 0x7f66fb699fff  beeeeb3dfe132a8a0633a017c99ce0c0-le64.cache-3  ???
0x7fff4a927000 - 0x7fff4a927fff  linux-gate.so  ???
@brettporter
Copy link
Author

anything I can do to help troubleshoot this? I'm now seeing it on a daily basis

@bfulton
Copy link

bfulton commented Feb 24, 2014

We're also seeing this regularly on 1.9.7-1.

@theospears
Copy link

We are also seeing this on an intermittent basis running via selenium.

@mckinnsb
Copy link

mckinnsb commented Sep 4, 2014

I'm seeing this with Poltergeist.

@salimane
Copy link

salimane commented Nov 7, 2014

+1

@karloscodes
Copy link

I'm seeing this with Poltergeist too

@aruprakshit
Copy link

+1

catharsis pushed a commit to catharsis/phantomjs that referenced this issue Jan 9, 2015
This patch works around/ameliorates around a bug in QT 4
(https://bugreports.qt.io/browse/QTBUG-29452) which triggers the
infamous "pure virtual method called" crash. In summary, the problem is
that threads that are supposed to handle HTTP requests are not
necessarily fully constructed when time comes to do the handling.

This patch is only applicable for phantomjs 1.9, since later releases
to my understanding will use QT 5, in which the bug has been properly
fixed.

This workaround does a very primitive usleep()-loop, continually
checking for thread->isRunning() to make sure that we actually are ready
to deal with the request.

NB. This is not a proper fix, since the race condition might in theory
still occur. However, after running this patch (with a sleep celiing of
0.1 seconds, as opposed to the full 1 second in this patch) internally
it has significantly reduced the occurence of the issue. It took me a
full day of re-building to trigger the error. Again, that was with the
0.1 seconds, this patch increases that number by a factor of 10.

It's worth noting that, unsuprisingly, the issue is easier to reproduce
with a system under heavy load, such as a build slave building a lot of
things in parallel.

Note also that the workaround suggested in the bug report to QT is not
feasible:
    ...
    manager->httpThread->start();
    manager->httpThread->wait(20); // add this line
    ...

Partially, because this workaround applied verbatim only affects
asynchronous requests but moreso because:

"[the QThread::wait() function] also returns true if the thread has not been started yet."

See http://qt-project.org/doc/qt-4.8/qthread.html#wait.

This fixes issues ariya#12325, ariya#11651, ariya#12006, ariya#11687, ariya#12816, ariya#11857,
 ariya#12054, ariya#11577, ariya#11597, ariya#12284

This probably/possibly (but can't verify because of missing stack
traces) fixes issues ariya#11047, ariya#11347, ariya#12026, ariya#12309, ariya#10666, ariya#11696, ariya#12133, ariya#10823,
 ariya#10717, ariya#12348

And probably others that I couldn't find or that have already been
closed.

Signed-off-by: Anton Lofgren <alofgren@op5.com>
@vitallium
Copy link
Collaborator

Please upgrade to PhantomJS 2. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2 version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants