Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Crash on file upload #11641

Open
p-romanski opened this Issue · 2 comments

3 participants

@p-romanski

I'm automating a test of simple html form with one field. Here is a html code:

<html>
<head>
    <title>Upload Form</title>
</head>
<body>
    <form action="/upload" method="POST" id="formId" enctype="multipart/form-data">
       <input name="file" type="file">
    </form>
</body>
</html>

I'm using phantomjs and ghostdriver. Here is a snippet of my groovy test script:

    ghostDriver.findElement(By.xpath("//input[@type='file']")).sendKeys(fileAbsolutePath)
    ghostDriver.executeScript("document.getElementById('formId').submit();")

When I run this script on linux I receive a message:

PhantomJS has crashed. Please (...) file a bug report (...) with the crash dump file attached: /tmp/2032da86-8d8f-94e5-7ea5d19c-26f29d8b.dmp

And then phantomjs seems to be dead. Next lines of my test script tries to read a page title or do other stuff. I got an exception:

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-53-virtual', java.version: '1.7.0_25'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:569)
at org.openqa.selenium.remote.RemoteWebDriver.getTitle(RemoteWebDriver.java:285)
...

My Environment (virtual machine):

  • Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-53-virtual x86_64)
  • Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
  • Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
  • phantomjs-1.9.2-linux-x86_64

Please note that I had no problems with running the same script on Windows using phantomjs 1.9.1 and 1.9.2.

Here is a dump

Operating system: Linux
                  0.0.0 Linux 3.2.0-53-virtual #81-Ubuntu SMP Thu Aug 22 21:21:26 UTC 2013 x86_64
CPU: amd64
     family 6 model 58 stepping 9
     2 CPUs

Crash reason:  SIGSEGV
Crash address: 0xffffffffffffffc0

Thread 0 (crashed)
 0  0x7f55500f6abc
    rbx = 0x00007f5595f1e038   r12 = 0x0000000000000200
    r13 = 0x00007f5595f1e038   r14 = 0xffff000000000000
    r15 = 0xffff000000000002   rip = 0x00007f55500f6abc
    rsp = 0x00007fffd121f960   rbp = 0x00007fffd121fa00
    Found by: given as instruction pointer in context
 1  libc-2.15.so + 0x82fc4
    rip = 0x00007f55980e5fc5   rsp = 0x00007fffd121f9a0
    rbp = 0x00007fffd121fa00
    Found by: stack scanning
 2  phantomjs!JSC::Interpreter::executeCall [JITCode.h : 77 + 0x16]
    rip = 0x0000000000f2e376   rsp = 0x00007fffd121fa10
    Found by: stack scanning
 3  phantomjs!JSC::call [CallData.cpp : 38 + 0x21]
    rbx = 0x00007fffd121fc40   r12 = 0x00007f5599787ad8
    r13 = 0x00007f55944969d0   r14 = 0x00007f559978c150
    r15 = 0x00007f55997c78f0   rip = 0x0000000000f7291d
    rsp = 0x00007fffd121fae0   rbp = 0x00007f559975b750
    Found by: call frame info
 4  phantomjs!JSC::Bindings::QtConnectionObject::execute [qt_runtime.cpp : 1863 + 0x17]
    rbx = 0x00007fffd121fc40   r12 = 0x00007f5599787ad8
    r13 = 0x00007f55944969d0   r14 = 0x00007f559978c150
    r15 = 0x00007f55997c78f0   rip = 0x0000000000542ece
    rsp = 0x00007fffd121faf0   rbp = 0x00007f559975b750
    Found by: call frame info
 5  phantomjs!JSC::Bindings::QtConnectionObject::qt_metacall [qt_runtime.cpp : 1807 + 0xa]
    rbx = 0x0000000000000000   r12 = 0x00007fffd121fe60
    r13 = 0x0000000004bc3600   r14 = 0x0000000000000004
    r15 = 0x0000000004bbeda0   rip = 0x000000000054390c
    rsp = 0x00007fffd121fd70   rbp = 0x0000000000000000
    Found by: call frame info
 6  phantomjs!QMetaObject::activate [qobject.cpp : 3555 + 0x1f]
    rbx = 0x0000000000000004   r12 = 0x0000000004bbcb01
    r13 = 0x0000000000000000   r14 = 0x0000000000000004
    r15 = 0x0000000004bbeda0   rip = 0x0000000001cf7130
    rsp = 0x00007fffd121fda0   rbp = 0x0000000004bc3600
    Found by: call frame info
 7  phantomjs!WebPage::qt_static_metacall [moc_webpage.cpp : 208 + 0x4]
    rbx = 0x0000000004bbcb70   r12 = 0x0000000004bbcb70
    r13 = 0x0000000004949ab0   r14 = 0x0000000004947208
    r15 = 0x0000000004c2ae40   rip = 0x000000000046aada
    rsp = 0x00007fffd121fec0   rbp = 0x0000000004bb5ff0
    Found by: call frame info
 8  phantomjs!QObject::event [qobject.cpp : 1191 + 0x8]
    rbx = 0x0000000004bbcb70   r12 = 0x0000000004c2ae40
    r13 = 0x0000000004949ab0   r14 = 0x0000000004947208
    r15 = 0x0000000004c2ae40   rip = 0x0000000001cefbf8
    rsp = 0x00007fffd121fff0   rbp = 0x0000000000000000
    Found by: call frame info
 9  phantomjs!QApplicationPrivate::notify_helper [qapplication.cpp : 4562 + 0xc]
    rbx = 0x00007fffd1220950   r12 = 0x0000000004c2ae40
    r13 = 0x0000000004949ab0   r14 = 0x0000000004947208
    r15 = 0x0000000004c2ae40   rip = 0x00000000015decaf
    rsp = 0x00007fffd1220190   rbp = 0x0000000004bbcb70
    Found by: call frame info
10  phantomjs!QApplication::notify [qapplication.cpp : 4423 + 0x17]
    rbx = 0x00007fffd1220950   r12 = 0x0000000004c2ae40
    r13 = 0x00007fffd1220950   r14 = 0x0000000004947208
    r15 = 0x0000000004c2ae40   rip = 0x00000000015e793b
    rsp = 0x00007fffd12201c0   rbp = 0x0000000004bbcb70
    Found by: call frame info
11  phantomjs!QCoreApplication::notifyInternal [qcoreapplication.cpp : 946 + 0x2]
    rbx = 0x00000000049471c0   r12 = 0x0000000004c2ae40
    r13 = 0x00007fffd1220950   r14 = 0x0000000004947208
    r15 = 0x00000000049471fc   rip = 0x0000000001cde3a4
    rsp = 0x00007fffd1220690   rbp = 0x0000000004bbcb70
    Found by: call frame info
12  phantomjs!QCoreApplicationPrivate::sendPostedEvents [qcoreapplication.h : 231 + 0x1f]
    rbx = 0x0000000004c2ae40   r12 = 0x00000000049471c0
    r13 = 0x0000000004bbcb70   r14 = 0x0000000004947208
    r15 = 0x00000000049471fc   rip = 0x0000000001cdf304
    rsp = 0x00007fffd12206e0   rbp = 0x0000000004bd9b00
    Found by: call frame info
13  phantomjs!QEventDispatcherQPA::processEvents [qcoreapplication.h : 236 + 0xb]
    rbx = 0x0000000004b96a10   r12 = 0x0000000000000000
    r13 = 0x0000000004946560   r14 = 0x00007fffd12207e0
    r15 = 0x00000000049472d8   rip = 0x000000000163a623
    rsp = 0x00007fffd12207a0   rbp = 0x000000000494b030
    Found by: call frame info
14  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x0000000004b96a10   r12 = 0x00007fffd1220870
    r13 = 0x00007fffd1220880   r14 = 0x0000000004947230
    r15 = 0x00000000049472d8   rip = 0x0000000001cdd485
    rsp = 0x00007fffd12207e0   rbp = 0x00007fffd1220820
    Found by: call frame info
15  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x0000000004b96a10   r12 = 0x00007fffd1220870
    r13 = 0x00007fffd1220880   r14 = 0x0000000004947230
    r15 = 0x00000000049472d8   rip = 0x0000000001cdd8e8
    rsp = 0x00007fffd1220810   rbp = 0x00007fffd1220950
    Found by: call frame info
16  phantomjs!QCoreApplication::exec [qcoreapplication.cpp : 1218 + 0x4]
    rbx = 0x00000000049471c0   r12 = 0x00007fffd1220950
    r13 = 0x00007fffd1220b18   r14 = 0x00007fffd12208c0
    r15 = 0x0000000000000000   rip = 0x0000000001cdf79b
    rsp = 0x00007fffd1220870   rbp = 0x00000000049471c0
    Found by: call frame info
17  phantomjs!main [main.cpp : 121 + 0x4]
    rbx = 0x00000000049aea80   r12 = 0x00007fffd1220950
    r13 = 0x00007fffd1220b18   r14 = 0x00007fffd12208c0
    r15 = 0x0000000000000000   rip = 0x0000000000427cb2
    rsp = 0x00007fffd12208b0   rbp = 0x00007fffd1220ae8
    Found by: call frame info
18  libc-2.15.so + 0x2176c
    rbx = 0x0000000000000000   r12 = 0x0000000000407cc0
    r13 = 0x00007fffd1220ae0   r14 = 0x0000000000000000
    r15 = 0x0000000000000000   rip = 0x00007f559808476d
    rsp = 0x00007fffd1220a10   rbp = 0x0000000000000000
    Found by: call frame info
19  phantomjs + 0x27a5f
    rip = 0x0000000000427a60   rsp = 0x00007fffd1220a30
    Found by: stack scanning

Thread 1
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000002ab0208   r12 = 0x0000000002aa2160
    r13 = 0x00007f559731f9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3fd84
    rsp = 0x00007f559731edf0   rbp = 0x0000000000000000
    Found by: given as instruction pointer in context
 1  phantomjs!WTF::TCMalloc_PageHeap::scavengerThread [FastMalloc.cpp : 2495 + 0x7]
    rip = 0x00000000004ddafc   rsp = 0x00007f559731ee20
    Found by: stack scanning
 2  phantomjs!WTF::TCMalloc_PageHeap::runScavengerThread [FastMalloc.cpp : 1618 + 0x4]
    rbx = 0x0000000000000000   r12 = 0x00007f5598c45880
    r13 = 0x00007f559731f9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00000000004ddc99
    rsp = 0x00007f559731eea0   rbp = 0x0000000000000000
    Found by: call frame info
 3  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007f5598c45880
    r13 = 0x00007f559731f9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f559731eeb0   rbp = 0x0000000000000000
    Found by: call frame info
 4  libpthread-2.15.so + 0x1187f
    rip = 0x00007f5598c45880   rsp = 0x00007f559731ef58
    Found by: stack scanning
 5  libc-2.15.so + 0xf3ccc
    rip = 0x00007f5598156ccd   rsp = 0x00007f559731efc0
    Found by: stack scanning

Thread 2
 0  libc-2.15.so + 0xed033
    rbx = 0x0000000000000000   r12 = 0x00007f5596b1dd80
    r13 = 0x0000000000000008   r14 = 0x00007f5590000a98
    r15 = 0x00007f5590000d30   rip = 0x00007f5598150033
    rsp = 0x00007f5596b1db50   rbp = 0x00007f55900008e0
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 83 + 0x15]
    rip = 0x0000000001d062f7   rsp = 0x00007f5596b1db60
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f55900012b0   r12 = 0x00007f5596b1dd80
    r13 = 0x00007f55900008e0   r14 = 0x0000000000000000
    r15 = 0x00007f5590000d30   rip = 0x0000000001d075b7
    rsp = 0x00007f5596b1dbf0   rbp = 0x00007f55900008e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f55900012b0   r12 = 0x00007f5596b1dd80
    r13 = 0x00007f55900008c0   r14 = 0x0000000000000001
    r15 = 0x00000000049af308   rip = 0x0000000001d08062
    rsp = 0x00007f5596b1dd30   rbp = 0x00007f55900008e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f55900012b0   r12 = 0x00007f5596b1de10
    r13 = 0x00007f5596b1de20   r14 = 0x0000000004947230
    r15 = 0x00000000049af308   rip = 0x0000000001cdd485
    rsp = 0x00007f5596b1dd80   rbp = 0x00007f5596b1ddc0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f55900012b0   r12 = 0x00007f5596b1de10
    r13 = 0x00007f5596b1de20   r14 = 0x0000000004947230
    r15 = 0x00000000049af308   rip = 0x0000000001cdd8e8
    rsp = 0x00007f5596b1ddb0   rbp = 0x00007fffd1220950
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x00000000049af280   r12 = 0x00000000049af308
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f5596b1de10   rbp = 0x00000000049af308
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x00000000049af308   r12 = 0x00000000049af890
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f5596b1de60   rbp = 0x0000000004b889e0
    Found by: call frame info
 8  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121fe30
    r13 = 0x00007f5596b1e9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f5596b1deb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 3
 0  libc-2.15.so + 0xed033
    rbx = 0x0000000000000200   r12 = 0x0000000004bb6080
    r13 = 0x0000000004bb6160   r14 = 0x0000000004bb66f0
    r15 = 0x00007f5595dd3da0   rip = 0x00007f5598150033
    rsp = 0x00007f5595dd3d80   rbp = 0x0000000000000000
    Found by: given as instruction pointer in context
 1  phantomjs!master_thread [mongoose.c : 3981 + 0x4]
    rip = 0x0000000000452136   rsp = 0x00007f5595dd3d90
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f5595dd49c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f5595dd3eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 4
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55300008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f55955d09f0   rbp = 0x00007f55300008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f55955d0a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f55955d39c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f55955d2eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 5
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f552c0008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f5594dcf9f0   rbp = 0x00007f552c0008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f5594dcfa20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f5594dd29c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f5594dd1eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 6
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007fffd121eb20
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554fffc9f0   rbp = 0x00007f551c0008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554fffca20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554ffff9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554fffeeb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 7
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55380008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554f7fb9f0   rbp = 0x00007f55380008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554f7fba20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554f7fe9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554f7fdeb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 8
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55340008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554effa9f0   rbp = 0x00007f55340008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554effaa20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554effd9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554effceb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 9
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55280008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554e7f99f0   rbp = 0x00007f55280008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554e7f9a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554e7fc9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554e7fbeb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 10
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55400008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554dff89f0   rbp = 0x00007f55400008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554dff8a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554dffb9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554dffaeb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 11
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f553c0008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554d7f79f0   rbp = 0x00007f553c0008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554d7f7a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554d7fa9c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554d7f9eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 12
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55240008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554cff69f0   rbp = 0x00007f55240008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554cff6a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554cff99c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554cff8eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 13
 0  libpthread-2.15.so + 0xbd84
    rbx = 0x0000000004bb66c0   r12 = 0x00007f55440008c8
    r13 = 0x0000000004bb6080   r14 = 0x0000000000000000
    r15 = 0x0000000004bb6160   rip = 0x00007f5598c3fd84
    rsp = 0x00007f554c7f59f0   rbp = 0x00007f55440008c0
    Found by: given as instruction pointer in context
 1  phantomjs!worker_thread [mongoose.c : 3852 + 0xa]
    rip = 0x00000000004526d8   rsp = 0x00007f554c7f5a20
    Found by: stack scanning
 2  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121eb20
    r13 = 0x00007f554c7f89c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554c7f7eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 14
 0  libc-2.15.so + 0xed033
    rbx = 0x00007f554bff6d30   r12 = 0x00000000000fa0e6
    r13 = 0x0000000000000014   r14 = 0x00007f5520000a98
    r15 = 0x00007f5520000d30   rip = 0x00007f5598150033
    rsp = 0x00007f554bff6b50   rbp = 0x00000000000550f8
    Found by: given as instruction pointer in context
 1  phantomjs!qt_safe_select [qcore_unix.cpp : 93 + 0x16]
    rip = 0x0000000001d061f8   rsp = 0x00007f554bff6b60
    Found by: stack scanning
 2  phantomjs!QEventDispatcherUNIXPrivate::doSelect [qeventdispatcher_unix.cpp : 223 + 0xd]
    rbx = 0x00007f55200012b0   r12 = 0x00007f554bff6d80
    r13 = 0x00007f55200008e0   r14 = 0x00007f554bff6d30
    r15 = 0x00007f5520000d30   rip = 0x0000000001d075b7
    rsp = 0x00007f554bff6bf0   rbp = 0x00007f55200008e0
    Found by: call frame info
 3  phantomjs!QEventDispatcherUNIX::processEvents [qeventdispatcher_unix.cpp : 937 + 0x4]
    rbx = 0x00007f55200012b0   r12 = 0x00007f554bff6d80
    r13 = 0x00007f55200008c0   r14 = 0x0000000000000001
    r15 = 0x0000000004bcd278   rip = 0x0000000001d08062
    rsp = 0x00007f554bff6d30   rbp = 0x00007f55200008e0
    Found by: call frame info
 4  phantomjs!QEventLoop::processEvents [qeventloop.cpp : 149 + 0x1]
    rbx = 0x00007f55200012b0   r12 = 0x00007f554bff6e10
    r13 = 0x00007f554bff6e20   r14 = 0x0000000004947230
    r15 = 0x0000000004bcd278   rip = 0x0000000001cdd485
    rsp = 0x00007f554bff6d80   rbp = 0x00007f554bff6dc0
    Found by: call frame info
 5  phantomjs!QEventLoop::exec [qeventloop.cpp : 200 + 0x4]
    rbx = 0x00007f55200012b0   r12 = 0x00007f554bff6e10
    r13 = 0x00007f554bff6e20   r14 = 0x0000000004947230
    r15 = 0x0000000004bcd278   rip = 0x0000000001cdd8e8
    rsp = 0x00007f554bff6db0   rbp = 0x00007fffd1220950
    Found by: call frame info
 6  phantomjs!QThread::exec [qthread.cpp : 542 + 0xc]
    rbx = 0x0000000004bcd1f0   r12 = 0x0000000004bcd278
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bdfdd6
    rsp = 0x00007f554bff6e10   rbp = 0x0000000004bcd278
    Found by: call frame info
 7  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x0000000004bcd278   r12 = 0x0000000004bcd330
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f554bff6e60   rbp = 0x0000000004bca2c0
    Found by: call frame info
 8  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007fffd121c130
    r13 = 0x00007f554bff79c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554bff6eb0   rbp = 0x0000000000000000
    Found by: call frame info

Thread 15
 0  libpthread-2.15.so + 0xc0fe
    rbx = 0x00007f5520005490   r12 = 0x0000000000000001
    r13 = 0x00007f554b7f5dc0   r14 = 0xffffffffffffff92
    r15 = 0x0000000000000000   rip = 0x00007f5598c400fe
    rsp = 0x00007f554b7f5d40   rbp = 0x00007f55200057b0
    Found by: given as instruction pointer in context
 1  phantomjs!QWaitCondition::wait [qwaitcondition_unix.cpp : 84 + 0x7]
    rip = 0x0000000001be39b7   rsp = 0x00007f554b7f5da0
    Found by: stack scanning
 2  phantomjs!QThreadPoolThread::run [qthreadpool.cpp : 141 + 0x1d]
    rbx = 0x00007f55200053b0   r12 = 0x00007f5520005439
    r13 = 0x0000000000000002   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001bd781d
    rsp = 0x00007f554b7f5e20   rbp = 0x00007f55200057b0
    Found by: call frame info
 3  phantomjs!QThreadPrivate::start [qthread_unix.cpp : 338 + 0x9]
    rbx = 0x00007f55140012b0   r12 = 0x00007f5520005950
    r13 = 0x0000000000000001   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x0000000001be2ca2
    rsp = 0x00007f554b7f5e60   rbp = 0x00007f55200057b0
    Found by: call frame info
 4  libpthread-2.15.so + 0x7e99
    rbx = 0x0000000000000000   r12 = 0x00007f554bff5590
    r13 = 0x00007f554b7f69c0   r14 = 0x0000000000000000
    r15 = 0x0000000000000003   rip = 0x00007f5598c3be9a
    rsp = 0x00007f554b7f5eb0   rbp = 0x0000000000000000
    Found by: call frame info

Loaded modules:
0x00400000 - 0x026b9fff  phantomjs  ???  (main)
0x7f554ad83000 - 0x7f554ad96fff  n019003l.pfb  ???
0x7f5594019000 - 0x7f559403bfff  Verdana.ttf  ???
0x7f5594044000 - 0x7f5594250fff  libnss_files-2.15.so  ???
0x7f5594251000 - 0x7f559446afff  libresolv-2.15.so  ???
0x7f5597320000 - 0x7f559757cfff  libssl.so.1.0.0  ???
0x7f559757e000 - 0x7f5597954fff  libcrypto.so.1.0.0  ???
0x7f5597959000 - 0x7f5597c21fff  locale-archive  ???
0x7f5597c22000 - 0x7f5597e4bfff  libexpat.so.1.5.2  ???
0x7f5597e4c000 - 0x7f5598062fff  libz.so.1.2.3.4  ???
0x7f5598063000 - 0x7f559841cfff  libc-2.15.so  ???
0x7f5598422000 - 0x7f5598637fff  libgcc_s.so.1  ???
0x7f5598638000 - 0x7f5598933fff  libm-2.15.so  ???
0x7f5598934000 - 0x7f5598c1efff  libstdc++.so.6.0.16  ???
0x7f5598c34000 - 0x7f5598e4cfff  libpthread-2.15.so  ???
0x7f5598e51000 - 0x7f5599058fff  librt-2.15.so  ???
0x7f5599059000 - 0x7f559925cfff  libdl-2.15.so  ???
0x7f559925d000 - 0x7f5599492fff  libfontconfig.so.1.4.4  ???
0x7f5599493000 - 0x7f559972efff  libfreetype.so.6.8.0  ???
0x7f559972f000 - 0x7f5599750fff  ld-2.15.so  ???
0x7f5599751000 - 0x7f5599757fff  gconv-modules.cache  ???
0x7f55998ce000 - 0x7f55998d6fff  945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3  ???
0x7f55998d7000 - 0x7f5599904fff  365b55f210c0a22e9a19e35191240f32-le64.cache-3  ???
0x7f5599905000 - 0x7f559990ffff  e13b20fdb08344e0e664864cc2ede53d-le64.cache-3  ???
0x7f5599910000 - 0x7f559993dfff  7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-3  ???
0x7f559994a000 - 0x7f559994efff  3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3  ???
0x7fffd12cc000 - 0x7fffd12ccfff  linux-gate.so  ??? 

@rap1ds

+1 I'm having the exact same issue. I'm running on Mac OSX. My testing stack is Rails + Capybara using Selenium Webdriver and PhantomJS.

By the way, are you getting this error on every test run? I'm getting this randomly every now and then.

@rap1ds rap1ds referenced this issue in sharetribe/sharetribe
Merged

[Pending review] Remove @phantomjs_skip tags #162

3 of 4 tasks complete
@graffic

Ok, so... I'm having the same problem on one specific file upload page. We have other page where we upload files and it works, but in this specific one... it crashes.

Operating system: Mac OS X
                  10.6.8 10K549
CPU: x86
     GenuineIntel family 6 model 42 stepping 7
     8 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0xffffffffffffffc0

Thread 0 (crashed)
 0  0x1b332a03
    eip = 0x1b332a03   esp = 0xbfffc9d0   ebp = 0xbfffca18   ebx = 0x156df300
    esi = 0x00000200   edi = 0x1653d038   eax = 0x156b7c00   ecx = 0x00000000
    edx = 0x1653d0b0   efl = 0x00210246
    Found by: given as instruction pointer in context
 1  phantomjs!__ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 0x534
    eip = 0x000d85a6   esp = 0xbfffca20   ebp = 0xbfffcaa8
    Found by: previous frame's frame pointer
 2  phantomjs!__ZN3JSC4callEPNS_9ExecStateENS_7JSValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE + 0x49
    eip = 0x00150359   esp = 0xbfffcab0   ebp = 0xbfffcad8
    Found by: previous frame's frame pointer
 3  phantomjs!__ZN3JSC8Bindings18QtConnectionObject7executeEPPv + 0x7be
    eip = 0x00224632   esp = 0xbfffcae0   ebp = 0xbfffcc68
    Found by: previous frame's frame pointer
 4  phantomjs!__ZN3JSC8Bindings18QtConnectionObject11qt_metacallEN11QMetaObject4CallEiPPv + 0x46
    eip = 0x00221618   esp = 0xbfffcc70   ebp = 0xbfffcc98
    Found by: previous frame's frame pointer
 5  phantomjs!__ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 0x639
    eip = 0x011eb24f   esp = 0xbfffcca0   ebp = 0xbfffcd48
    Found by: previous frame's frame pointer
 6  phantomjs!__ZN7WebPage18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv + 0x58
    eip = 0x0005c7c8   esp = 0xbfffcd50   ebp = 0xbfffcea8
    Found by: previous frame's frame pointer

Without symbols the crash is more clear

Operating system: Mac OS X
                  10.6.8 10K549
CPU: x86
     GenuineIntel family 6 model 42 stepping 7
     8 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0xffffffffffffffc0

Thread 0 (crashed)
 0  0x1b332a03
    eip = 0x1b332a03   esp = 0xbfffc9d0   ebp = 0xbfffca18   ebx = 0x156df300
    esi = 0x00000200   edi = 0x1653d038   eax = 0x156b7c00   ecx = 0x00000000
    edx = 0x1653d0b0   efl = 0x00210246
    Found by: given as instruction pointer in context
 1  phantomjs + 0xd75a6
    eip = 0x000d85a6   esp = 0xbfffca20   ebp = 0xbfffcaa8
    Found by: previous frame's frame pointer
 2  phantomjs + 0x14f359
    eip = 0x00150359   esp = 0xbfffcab0   ebp = 0xbfffcad8
    Found by: previous frame's frame pointer
 3  phantomjs + 0x223632
    eip = 0x00224632   esp = 0xbfffcae0   ebp = 0xbfffcc68
    Found by: previous frame's frame pointer
 4  phantomjs + 0x220618
    eip = 0x00221618   esp = 0xbfffcc70   ebp = 0xbfffcc98
    Found by: previous frame's frame pointer
 5  phantomjs + 0x11ea24f
    eip = 0x011eb24f   esp = 0xbfffcca0   ebp = 0xbfffcd48
    Found by: previous frame's frame pointer
 6  phantomjs + 0x5b7c8
    eip = 0x0005c7c8   esp = 0xbfffcd50   ebp = 0xbfffcea8
    Found by: previous frame's frame pointer
 7  phantomjs + 0x11e57ec
    eip = 0x011e67ec   esp = 0xbfffceb0   ebp = 0xbfffcec8
    Found by: previous frame's frame pointer
 8  phantomjs + 0x11e974a
    eip = 0x011ea74a   esp = 0xbfffced0   ebp = 0xbfffcf78
    Found by: previous frame's frame pointer
 9  phantomjs + 0xbe9754
    eip = 0x00bea754   esp = 0xbfffcf80   ebp = 0xbfffcf98
    Found by: previous frame's frame pointer
10  phantomjs + 0xbe9a0d
    eip = 0x00beaa0d   esp = 0xbfffcfa0   ebp = 0xbfffd2f8
    Found by: previous frame's frame pointer
11  phantomjs + 0x11d84eb
    eip = 0x011d94eb   esp = 0xbfffd300   ebp = 0xbfffd368
    Found by: previous frame's frame pointer
12  phantomjs + 0xbaade1
    eip = 0x00babde1   esp = 0xbfffd370   ebp = 0xbfffd398
    Found by: previous frame's frame pointer
13  CoreFoundation + 0x3f42b
    eip = 0x90ee342b   esp = 0xbfffd3a0   ebp = 0xbfffd448
    Found by: previous frame's frame pointer
14  CoreFoundation + 0x3ceef
    eip = 0x90ee0eef   esp = 0xbfffd450   ebp = 0xbfffdd78
    Found by: previous frame's frame pointer
15  CoreFoundation + 0x3c3c4
    eip = 0x90ee03c4   esp = 0xbfffdd80   ebp = 0xbfffde38
    Found by: previous frame's frame pointer
16  CoreFoundation + 0x3c1f1
    eip = 0x90ee01f1   esp = 0xbfffde40   ebp = 0xbfffde78
    Found by: previous frame's frame pointer
17  HIToolbox + 0x34d60
    eip = 0x9a836d60   esp = 0xbfffde80   ebp = 0xbfffdeb8
    Found by: previous frame's frame pointer
18  HIToolbox + 0x34b17
    eip = 0x9a836b17   esp = 0xbfffdec0   ebp = 0xbfffdf28
    Found by: previous frame's frame pointer
19  HIToolbox + 0x3499c
    eip = 0x9a83699c   esp = 0xbfffdf30   ebp = 0xbfffdf48
    Found by: previous frame's frame pointer
20  AppKit + 0x48595
    eip = 0x93c33595   esp = 0xbfffdf50   ebp = 0xbfffe2f8
    Found by: previous frame's frame pointer
21  AppKit + 0x47dd6
    eip = 0x93c32dd6   esp = 0xbfffe300   ebp = 0xbfffe518
    Found by: previous frame's frame pointer
22  AppKit + 0xa1f3
    eip = 0x93bf51f3   esp = 0xbfffe520   ebp = 0xbfffe5d8
    Found by: previous frame's frame pointer
23  phantomjs + 0xbab49a
    eip = 0x00bac49a   esp = 0xbfffe5e0   ebp = 0xbfffe638
    Found by: previous frame's frame pointer
24  phantomjs + 0x11d5b43
    eip = 0x011d6b43   esp = 0xbfffe640   ebp = 0xbfffe678
    Found by: previous frame's frame pointer
25  phantomjs + 0x11d8733
    eip = 0x011d9733   esp = 0xbfffe680   ebp = 0xbfffe6a8
    Found by: previous frame's frame pointer
26  phantomjs + 0x1e498
    eip = 0x0001f498   esp = 0xbfffe6b0   ebp = 0xbfffe7a8
    Found by: previous frame's frame pointer
27  phantomjs + 0x47b9
    eip = 0x000057b9   esp = 0xbfffe7b0   ebp = 0xbfffe7d8
    Found by: previous frame's frame pointer
28  phantomjs + 0x46d8
    eip = 0x000056d8   esp = 0xbfffe7e0   ebp = 0xbfffe7f8
    Found by: previous frame's frame pointer
29  0x2
    eip = 0x00000002   esp = 0xbfffe800   ebp = 0x00000000
    Found by: previous frame's frame pointer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.