Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
current git master
What steps will reproduce the problem? 1. run any phantomjs 2. quit 3. "segmentation fault"
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff574801f in QEventDispatcherQPAPrivate::~QEventDispatcherQPAPrivate() () from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtGui.so.4 (gdb) bt
0 0x00007ffff574801f in QEventDispatcherQPAPrivate::~QEventDispatcherQPAPrivate() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtGui.so.4
1 0x00007ffff4e2a970 in QObject::~QObject() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtCore.so.4
2 0x00007ffff57474e7 in QEventDispatcherQPA::~QEventDispatcherQPA() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtGui.so.4
3 0x00007ffff4e258a5 in QObjectPrivate::deleteChildren() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtCore.so.4
4 0x00007ffff4e2a93c in QObject::~QObject() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtCore.so.4
5 0x00007ffff56e77b5 in QApplication::~QApplication() ()
from /home/milian/projects/kde4/phantomjs/src/qt/lib/libQtGui.so.4
6 0x000000000040cc00 in main ()
What is the expected output? What do you see instead?
no seg fault
Which operating system are you using?
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric
Did you use binary PhantomJS or did you compile it from source?
Please provide any additional information below.
fixed with https://github.com/ariya/phantomjs/pull/232
Comment #1
Posted on Apr 12, 2012 by Quick RabbitLanded in https://github.com/ariya/phantomjs/commit/67d2e8c2f7.
Also backported to 1.5 branch.
Comment #2
Posted on Apr 12, 2012 by Quick RabbitIssue 382 has been merged into this issue.
Comment #3
Posted on Apr 12, 2012 by Quick Rabbit(No comment was entered for this change.)
Comment #4
Posted on Apr 12, 2012 by Quick Rabbit(No comment was entered for this change.)
Comment #5
Posted on Mar 16, 2013 by Happy HorseThis issue has been moved to GitHub: https://github.com/ariya/phantomjs/issues/10497
Status: Fixed
Labels:
Type-Defect
Priority-High
Milestone-Release1.5
Component-Logic
Domain-Qt