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

PhantomJS crashes on Linux 2.6.32 with amd64 CPU #11579

Closed
nqkr opened this issue Aug 26, 2013 · 1 comment
Closed

PhantomJS crashes on Linux 2.6.32 with amd64 CPU #11579

nqkr opened this issue Aug 26, 2013 · 1 comment
Labels

Comments

@nqkr
Copy link

nqkr commented Aug 26, 2013

We are using phantomjs-1.9.1-linux-x86_64

uname -a output:

Linux centos.vlitevps.com 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux

Stack trace:

Operating system: Linux
                  0.0.0 Linux 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64
CPU: amd64
     family 6 model 44 stepping 2
     2 CPUs

Crash reason:  SIGSEGV
Crash address: 0xbbadbeef

Thread 0 (crashed)
 0  phantomjs!WTF::OSAllocator::reserveUncommitted [OSAllocatorPosix.cpp : 107 + 0x7]
    rbx = 0xffffffffffffffff   r12 = 0x0000000003077df0
    r13 = 0x000000000000007f   r14 = 0x00007f5b9dff2820
    r15 = 0x00007f5b9dff2720   rip = 0x00000000004f8057
    rsp = 0x00007fff4a1c38f0   rbp = 0x7ff8000000000000
    Found by: given as instruction pointer in context
 1  phantomjs!JSC::ExecutableAllocator::isValid [PageReservation.h : 107 + 0x18]
    rbx = 0x0000000003077dd0   r12 = 0x0000000003077df0
    r13 = 0x000000000000007f   r14 = 0x00007f5b9dff2820
    r15 = 0x00007f5b9dff2720   rip = 0x0000000000f31fd1
    rsp = 0x00007fff4a1c3900   rbp = 0x7ff8000000000000
    Found by: call frame info
 2  phantomjs!JSC::ExecutableAllocator::ExecutableAllocator [ExecutableAllocator.h : 185 + 0x7]
    rbx = 0x0000000002af8c58   r12 = 0x0000000002f4b4d0
    r13 = 0x000000000000007f   r14 = 0x00007f5b9dff2820
    r15 = 0x00007f5b9dff2720   rip = 0x0000000000f88d66
    rsp = 0x00007fff4a1c3950   rbp = 0x7ff8000000000000
    Found by: call frame info
 3  phantomjs!JSC::JSGlobalData::JSGlobalData [JSGlobalData.cpp : 170 + 0x9]
    rbx = 0x00007f5b9dff1000   r12 = 0x0000000002f4b4d0
    r13 = 0x000000000000007f   r14 = 0x0000000000000085
    r15 = 0x00007f5b9dff2720   rip = 0x0000000000f89b2e
    rsp = 0x00007fff4a1c39c0   rbp = 0x7ff8000000000000
    Found by: call frame info
 4  phantomjs!JSC::JSGlobalData::createLeaked [JSGlobalData.cpp : 326 + 0x9]
    rbx = 0x0000000000000000   r12 = 0x00007fff4a1c3c60
    r13 = 0x0000000003073ce0   r14 = 0x00007fff4a1c3d00
    r15 = 0x0000000002fa4c10   rip = 0x0000000000f8b5b1
    rsp = 0x00007fff4a1c3c40   rbp = 0x00007f5b9dff1000
    Found by: call frame info
 5  phantomjs!WebCore::JSDOMWindowBase::commonJSGlobalData [JSDOMWindowBase.cpp : 159 + 0x9]
    rbx = 0x00007fff4a1c3d50   r12 = 0x00007fff4a1c3e20
    r13 = 0x0000000003073ce0   r14 = 0x00007fff4a1c3d00
    r15 = 0x0000000002fa4c10   rip = 0x000000000051d382
    rsp = 0x00007fff4a1c3c60   rbp = 0x00007f5b9dfe5000
    Found by: call frame info
 6  phantomjs!WebCore::FrameLoaderClientQt::createDocumentLoader [FrameLoaderClientQt.cpp : 990 + 0x4]
    rbx = 0x00007fff4a1c3d50   r12 = 0x00007fff4a1c3e20
    r13 = 0x0000000003073ce0   r14 = 0x00007fff4a1c3d00
    r15 = 0x0000000002fa4c10   rip = 0x00000000004b900d
    rsp = 0x00007fff4a1c3c90   rbp = 0x00007f5b9dfe5000
    Found by: call frame info
 7  phantomjs!WebCore::FrameLoader::load [FrameLoader.cpp : 1460 + 0x13]
    rbx = 0x0000000000000000   r12 = 0x00007f5b9dfe8478
    r13 = 0x0000000003077d30   r14 = 0x000000000315c450
    r15 = 0x0000000002fa4c10   rip = 0x0000000000864b57
    rsp = 0x00007fff4a1c3cc0   rbp = 0x0000000000000001
    Found by: call frame info
 8  phantomjs!QWebFrame::setHtml [qwebframe.cpp : 976 + 0x1d]
    rbx = 0x0000000000000000   r12 = 0x00007f5b9e022440
    r13 = 0x0000000003077d30   r14 = 0x000000000315c450
    r15 = 0x0000000002fa4c10   rip = 0x00000000004827d1
    rsp = 0x00007fff4a1c3d50   rbp = 0x0000000000000001
    Found by: call frame info
 9  phantomjs!WebPage::WebPage [webpage.cpp : 323 + 0x12]
    rbx = 0x000000000315c430   r12 = 0x00007fff4a1c40f0
    r13 = 0x00007fff4a1c40e0   r14 = 0x000000000315c450
    r15 = 0x000000000315c458   rip = 0x000000000041833e
    rsp = 0x00007fff4a1c3fe0   rbp = 0x0000000003065540
    Found by: call frame info
10  phantomjs!Phantom::init [phantom.cpp : 102 + 0x40]
    rbx = 0x0000000003065540   r12 = 0x00000000031a85d0
    r13 = 0x00000000031a8570   r14 = 0x00007fff4a1c46b0
    r15 = 0x0000000000000000   rip = 0x0000000000409bf3
    rsp = 0x00007fff4a1c4140   rbp = 0x00007fff4a1c43b0
    Found by: call frame info
11  phantomjs!Phantom::instance [phantom.cpp : 154 + 0x4]
    rbx = 0x00007fff4a1c47c0   r12 = 0x00007fff4a1c4740
    r13 = 0x00007fff4a1c4908   r14 = 0x00007fff4a1c46b0
    r15 = 0x0000000000000000   rip = 0x000000000040b576
    rsp = 0x00007fff4a1c4680   rbp = 0x00000000031a8570
    Found by: call frame info
12  phantomjs!main [main.cpp : 117 + 0x4]
    rbx = 0x00007fff4a1c47c0   r12 = 0x00007fff4a1c4740
    r13 = 0x00007fff4a1c4908   r14 = 0x00007fff4a1c46b0
    r15 = 0x0000000000000000   rip = 0x0000000000427c9e
    rsp = 0x00007fff4a1c46a0   rbp = 0x00007fff4a1c48d8
    Found by: call frame info
13  libc-2.12.so + 0x1ecdc
    rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
    r13 = 0x00007fff4a1c48d0   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x00007f5b9c8c3cdd
    rsp = 0x00007fff4a1c4800   rbp = 0x0000000000000000
    Found by: call frame info
14  phantomjs + 0x27a5f
    rip = 0x0000000000427a60   rsp = 0x00007fff4a1c4820
    Found by: stack scanning

Thread 1
 0  libpthread-2.12.so + 0xb43c
    rbx = 0x0000000002ade208   r12 = 0x0000000002ad0160
    r13 = 0x00007f5b94e3d9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5b9d3e343c
    rsp = 0x00007f5b94e3cde0   rbp = 0x0000000000000000
    Found by: given as instruction pointer in context
 1  phantomjs!WTF::TCMalloc_PageHeap::scavengerThread [FastMalloc.cpp : 2495 + 0x7]
    rip = 0x00000000004ddafc   rsp = 0x00007f5b94e3ce10
    Found by: stack scanning
 2  phantomjs!WTF::TCMalloc_PageHeap::runScavengerThread [FastMalloc.cpp : 1618 + 0x4]
    rbx = 0x0000000000000000   r12 = 0x00007f5b9d3e9200
    r13 = 0x00007f5b94e3d9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00000000004ddc99
    rsp = 0x00007f5b94e3ce90   rbp = 0x0000000000000000
    Found by: call frame info
 3  libpthread-2.12.so + 0x7850
    rbx = 0x0000000000000000   r12 = 0x00007f5b9d3e9200
    r13 = 0x00007f5b94e3d9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5b9d3df851
    rsp = 0x00007f5b94e3cea0   rbp = 0x0000000000000000
    Found by: call frame info
 4  libpthread-2.12.so + 0x111ff
    rip = 0x00007f5b9d3e9200   rsp = 0x00007f5b94e3cf48
    Found by: stack scanning
 5  libpthread-2.12.so + 0x111ff
    rip = 0x00007f5b9d3e9200   rsp = 0x00007f5b94e3cfc0
    Found by: stack scanning
 6  libc-2.12.so + 0xe890c
    rip = 0x00007f5b9c98d90d   rsp = 0x00007f5b94e3cfe0
    Found by: stack scanning

Thread 2
 0  libc-2.12.so + 0xe14f3
    rbx = 0x0000000000000000   r12 = 0x00007f5b9443bd70
    r13 = 0x0000000000000008   r14 = 0x00007f5b8c000a98
    r15 = 0x00007f5b8c000d30   rip = 0x00007f5b9c9864f3
    rsp = 0x00007f5b9443bb40   rbp = 0x00007f5b8c0008e0
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
    rip = 0x0000000001d06307   rsp = 0x00007f5b9443bb50
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f5b8c0012b0   r12 = 0x00007f5b9443bd70
    r13 = 0x00007f5b8c0008e0   r14 = 0x0000000000000000
    r15 = 0x00007f5b8c000d30   rip = 0x0000000001d075c7
    rsp = 0x00007f5b9443bbe0   rbp = 0x00007f5b8c0008e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f5b8c0012b0   r12 = 0x00007f5b9443bd70
    r13 = 0x00007f5b8c0008c0   r14 = 0x0000000000000001
    r15 = 0x0000000003069838   rip = 0x0000000001d08072
    rsp = 0x00007f5b9443bd20   rbp = 0x00007f5b8c0008e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f5b8c0012b0   r12 = 0x00007f5b9443be00
    r13 = 0x00007f5b9443be10   r14 = 0x0000000002e52230
    r15 = 0x0000000003069838   rip = 0x0000000001cdd495
    rsp = 0x00007f5b9443bd70   rbp = 0x00007f5b9443bdb0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f5b8c0012b0   r12 = 0x00007f5b9443be00
    r13 = 0x00007f5b9443be10   r14 = 0x0000000002e52230
    r15 = 0x0000000003069838   rip = 0x0000000001cdd8f8
    rsp = 0x00007f5b9443bda0   rbp = 0x00007fff4a1c4740
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x00000000030697b0   r12 = 0x0000000003069838
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f5b9443be00   rbp = 0x0000000003069838
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x0000000003069838   r12 = 0x00000000030698f0
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f5b9443be50   rbp = 0x0000000002f63360
    Found by: call frame info
 8  libpthread-2.12.so + 0x7850
    rbx = 0x0000000000000000   r12 = 0x00007fff4a1c3c20
    r13 = 0x00007f5b9443c9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5b9d3df851
    rsp = 0x00007f5b9443bea0   rbp = 0x0000000000000000
    Found by: call frame info

Loaded modules:
0x00400000 - 0x026e7fff  phantomjs  ???  (main)
0x7f5b94e3e000 - 0x7f5b9505bfff  libselinux.so.1  ???
0x7f5b9505d000 - 0x7f5b95274fff  libresolv-2.12.so  ???
0x7f5b95277000 - 0x7f5b95479fff  libkeyutils.so.1.3  ???
0x7f5b9547a000 - 0x7f5b95684fff  libkrb5support.so.0.1  ???
0x7f5b95685000 - 0x7f5b958affff  libk5crypto.so.3.1  ???
0x7f5b958b1000 - 0x7f5b95ab4fff  libcom_err.so.2.1  ???
0x7f5b95ab5000 - 0x7f5b95d9afff  libkrb5.so.3.3  ???
0x7f5b95d9b000 - 0x7f5b95fdefff  libgssapi_krb5.so.2.2  ???
0x7f5b95fdf000 - 0x7f5b9623bfff  libssl.so.1.0.0  ???
0x7f5b9623c000 - 0x7f5b96451fff  libz.so.1.2.3  ???
0x7f5b96452000 - 0x7f5b967e7fff  libcrypto.so.1.0.0  ???
0x7f5b967ec000 - 0x7f5b9c67cfff  locale-archive  ???
0x7f5b9c67d000 - 0x7f5b9c8a4fff  libexpat.so.1.5.2  ???
0x7f5b9c8a5000 - 0x7f5b9cc32fff  libc-2.12.so  ???
0x7f5b9cc38000 - 0x7f5b9ce4dfff  libgcc_s-4.4.7-20120601.so.1  ???
0x7f5b9ce4e000 - 0x7f5b9d0d1fff  libm-2.12.so  ???
0x7f5b9d0d2000 - 0x7f5b9d3c2fff  libstdc++.so.6.0.13  ???
0x7f5b9d3d8000 - 0x7f5b9d5f0fff  libpthread-2.12.so  ???
0x7f5b9d5f5000 - 0x7f5b9d7fcfff  librt-2.12.so  ???
0x7f5b9d7fd000 - 0x7f5b9da00fff  libdl-2.12.so  ???
0x7f5b9da01000 - 0x7f5b9dc36fff  libfontconfig.so.1.4.4  ???
0x7f5b9dc37000 - 0x7f5b9ded3fff  libfreetype.so.6.3.22  ???
0x7f5b9ded4000 - 0x7f5b9def3fff  ld-2.12.so  ???
0x7fff4a1ff000 - 0x7fff4a1fffff  linux-gate.so  ???

PhantomJS crashes with the above stack trace when we run multiple instances of phantomjs.

@ghost ghost removed the old.Domain-WebKit label Dec 19, 2017
@stale stale bot added the stale label Dec 26, 2019
@stale
Copy link

stale bot commented Dec 29, 2019

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant