Debian Phantomjs 1.9 Compiled from source
bin/phantomjs -v
1.9.0 (development)
gdb bin/phantomjs
GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /var/src/phantomjs/bin/phantomjs...(no debugging symbols found)...done. (gdb) run /var/src/phantomjs/examples/hello.js Starting program: /var/src/phantomjs/bin/phantomjs /var/src/phantomjs/examples/hello.js Can't read symbols from system-supplied DSO at 0x2aaaaaac9000: Файл усечён [Thread debugging using libthread_db enabled] [New Thread 0x2aaaad96d700 (LWP 30405)] [New Thread 0x2aaaae286700 (LWP 30406)] Program received signal SIGSEGV, Segmentation fault. 0x00000000004e4399 in WTF::OSAllocator::reserveUncommitted(unsigned long, WTF::OSAllocator::Usage, bool, bool) () (gdb) bt
0 0x00000000004e4399 in WTF::OSAllocator::reserveUncommitted(unsigned long, WTF::OSAllocator::Usage, bool, bool) ()
1 0x0000000000dbc7f3 in JSC::ExecutableAllocator::isValid() const ()
2 0x0000000000e0d7c7 in JSC::ExecutableAllocator::ExecutableAllocator() ()
3 0x0000000000e0df7c in JSC::JSGlobalData::JSGlobalData(JSC::JSGlobalData::GlobalDataType, JSC::ThreadStackType) ()
4 0x0000000000e0f703 in JSC::JSGlobalData::createLeaked(JSC::ThreadStackType) ()
5 0x0000000000507ab2 in WebCore::JSDOMWindowBase::commonJSGlobalData() ()
6 0x00000000004a8546 in WebCore::FrameLoaderClientQt::createDocumentLoader(WebCore::ResourceRequest const&, WebCore::SubstituteData const&) ()
7 0x00000000007d9136 in WebCore::FrameLoader::load(WebCore::ResourceRequest const&, WebCore::SubstituteData const&, bool) ()
8 0x000000000047399b in QWebFrame::setHtml(QString const&, QUrl const&) ()
9 0x0000000000415ff8 in WebPage::WebPage(QObject*, QUrl const&) ()
10 0x000000000040dfce in Phantom::init() ()
11 0x000000000040f4d6 in Phantom::instance() ()
12 0x0000000000426b31 in main ()
(gdb) quit
Comment #1
Posted on Mar 16, 2013 by Happy HorseClosing. This issue has been moved to GitHub: https://github.com/ariya/phantomjs/issues/11031
Status: Migrated
Labels:
Type-Defect
Priority-Medium