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

segmentation fault in phantom.js #10473

Closed
shadyabhi opened this issue Mar 31, 2012 · 2 comments
Closed

segmentation fault in phantom.js #10473

shadyabhi opened this issue Mar 31, 2012 · 2 comments

Comments

@shadyabhi
Copy link

[email protected] commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.5.0

What steps will reproduce the problem?

  1. Write phantom.exit() in interpreter

Which operating system are you using?
Arch linux 64-bit

Did you use binary PhantomJS or did you compile it from source?
binary

Relevant log:

shadyabhi@MBP-archlinux /tmp/phantom/phantomjs/examples $ gdb ../bin/phantomjs
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/phantom/phantomjs/bin/phantomjs...(no debugging symbols found)...done.
(gdb) r
Starting program: /tmp/phantom/phantomjs/bin/phantomjs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xf54ceb40 (LWP 16589)]
[New Thread 0xf4badb40 (LWP 16590)]
phantomjs> phantom.exit()
[Thread 0xf4badb40 (LWP 16590) exited]

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

0 0xf612dd70 in QEventDispatcherQPAPrivate::~QEventDispatcherQPAPrivate() () from /tmp/phantom/phantomjs/bin/../lib/libQtGui.so.4

1 0xf5c8e20b in QObject::~QObject() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

2 0xf5c67246 in QAbstractEventDispatcher::~QAbstractEventDispatcher() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

3 0xf5ca5fc3 in QEventDispatcherUNIX::~QEventDispatcherUNIX() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

4 0xf612d11d in QEventDispatcherQPA::~QEventDispatcherQPA() () from /tmp/phantom/phantomjs/bin/../lib/libQtGui.so.4

5 0xf5c89e51 in QObjectPrivate::deleteChildren() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

6 0xf5c8e1d1 in QObject::~QObject() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

7 0xf5c77254 in QCoreApplication::~QCoreApplication() () from /tmp/phantom/phantomjs/bin/../lib/libQtCore.so.4

8 0xf60c27a9 in QApplication::~QApplication() () from /tmp/phantom/phantomjs/bin/../lib/libQtGui.so.4

9 0x080516f8 in main ()

(gdb)

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #473.
🌟   1 people had starred this issue at the time of migration.

@shadyabhi
Copy link
Author

[email protected] commented:

qt version is 4.8.1

@ariya
Copy link
Owner

ariya commented Mar 31, 2012

[email protected] commented:

 

 
Metadata Updates

@ariya ariya closed this as completed Mar 31, 2012
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

2 participants