Export to GitHub

phantomjs - issue #457

process shutdown always segfaults. 1.5.0 on 64 bit arch linux


Posted on Mar 25, 2012 by Swift Ox

version 1.5.0, the linux x86_64 binary distribution. Host operating system is Arch Linux.

To recreate run phantomjs with any set of arguments: $ phantomjs --version 1.5.0 Segmentation fault

$ phantomjs test.js # test.js will run to completion just fine Segmentation fault

Running under gdb I get this stacktrace:

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff593d5bf in QEventDispatcherQPAPrivate::~QEventDispatcherQPAPrivate() () from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtGui.so.4 (gdb) bt

0 0x00007ffff593d5bf in QEventDispatcherQPAPrivate::~QEventDispatcherQPAPrivate() ()

from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtGui.so.4

1 0x00007ffff4ffbb8a in QObject::~QObject() () from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtCore.so.4

2 0x00007ffff593c9e7 in QEventDispatcherQPA::~QEventDispatcherQPA() ()

from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtGui.so.4

3 0x00007ffff4ff4c44 in QObjectPrivate::deleteChildren() ()

from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtCore.so.4

4 0x00007ffff4ffbb56 in QObject::~QObject() () from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtCore.so.4

5 0x00007ffff58d17d1 in QApplication::~QApplication() ()

from /home/kkrev/bin/lib/phantomjs/bin/../lib/libQtGui.so.4

Comment #1

Posted on Mar 26, 2012 by Helpful Rhino

I can confirm this. Same version and distribution.

Version: phantomjs-1.5.0-linux-x86_64-dynamic.tar.gz Distribution: x86_64 arch linux 3.2.12-1-ARCH

Comment #2

Posted on Mar 28, 2012 by Quick Rabbit

Duplicated of issue 382. There is something fishy in the shutdown of QPA event dispatcher.

Comment #3

Posted on Mar 16, 2013 by Happy Horse

This issue has been moved to GitHub: https://github.com/ariya/phantomjs/issues/10457

Status: Duplicate

Labels:
Type-Defect Priority-Medium