{"action":"opened","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13003","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13003/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13003/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13003/events","html_url":"https://github.com/ariya/phantomjs/issues/13003","id":57911796,"number":13003,"title":"PhantomJS 2.0 crash report","user":{"login":"idlebeet","id":8304922,"avatar_url":"https://avatars.githubusercontent.com/u/8304922?v=3","gravatar_id":"","url":"https://api.github.com/users/idlebeet","html_url":"https://github.com/idlebeet","followers_url":"https://api.github.com/users/idlebeet/followers","following_url":"https://api.github.com/users/idlebeet/following{/other_user}","gists_url":"https://api.github.com/users/idlebeet/gists{/gist_id}","starred_url":"https://api.github.com/users/idlebeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idlebeet/subscriptions","organizations_url":"https://api.github.com/users/idlebeet/orgs","repos_url":"https://api.github.com/users/idlebeet/repos","events_url":"https://api.github.com/users/idlebeet/events{/privacy}","received_events_url":"https://api.github.com/users/idlebeet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-17T11:16:36Z","updated_at":"2015-02-17T11:16:36Z","closed_at":null,"body":"crashed both windows binary and my own build on linux when open \"www.today.com\"\r\n\r\ninput file\r\n```javascript\r\nvar page = require('webpage').create();\r\npage.open('http://www.today.com', function() {\r\n  window.setTimeout(function () {\r\n    page.render('test.png');\r\n    phantom.exit();\r\n  }, 1000);\r\n});\r\n```\r\n\r\ncrash dump file\r\nhttps://drive.google.com/file/d/0B1dp8X2fqTO-dDdQY2ZuZ2hwaGM/view?usp=sharing\r\n\r\ngdb trace\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x09b12758 in QFontconfigDatabase::fontEngine(QByteArray const&, double, QFont::HintingPreference) ()\r\n(gdb) backtrace\r\n#0  0x09b12758 in QFontconfigDatabase::fontEngine(QByteArray const&, double, QFont::HintingPreference) ()\r\n#1  0x09cd4b0f in QRawFontPrivate::platformLoadFromData(QByteArray const&, double, QFont::HintingPreference) ()\r\n#2  0x09cca420 in QRawFont::QRawFont(QByteArray const&, double, QFont::HintingPreference) ()\r\n#3  0x08530975 in WebCore::createFontCustomPlatformData(WebCore::SharedBuffer*) ()\r\n#4  0x082989f5 in WebCore::CachedFont::ensureCustomFontData() ()\r\n#5  0x09185c72 in WebCore::CSSFontFaceSource::getFontData(WebCore::FontDescription const&, bool, bool, WebCore::CSSFontSelector*) ()\r\n#6  0x09186311 in WebCore::CSSFontFace::getFontData(WebCore::FontDescription const&, bool, bool) ()\r\n#7  0x0919242e in WebCore::CSSSegmentedFontFace::getFontData(WebCore::FontDescription const&) ()\r\n#8  0x091928dc in WebCore::CSSFontSelector::getFontData(WebCore::FontDescription const&, WTF::AtomicString const&) ()\r\n#9  0x083d32b8 in WebCore::FontCache::getFontData(WebCore::FontDescription const&, int&, WebCore::FontSelector*) ()\r\n#10 0x083bf5db in WebCore::FontGlyphs::realizeFontDataAt(WebCore::FontDescription const&, unsigned int) const ()\r\n#11 0x08eaf31f in WebCore::RenderStyle::fontMetrics() const ()\r\n#12 0x08eaf55c in WebCore::RenderStyle::computedLineHeight(WebCore::RenderView*) const ()\r\n#13 0x09039006 in WebCore::RenderBlock::lineHeight(bool, WebCore::LineDirectionMode, WebCore::LinePositionMode) const ()\r\n#14 0x090370dd in WebCore::logicalHeightForLine(WebCore::RenderBlock const*, bool, WebCore::LayoutUnit) ()\r\n#15 0x090f88e8 in WebCore::RenderBlock::LineBreaker::nextSegmentBreak(WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>&, WebCore::LineInfo&, WebCore::RenderBlock::RenderTextInfo&, WebCore::RenderBlock::FloatingObject*, unsigned int, WTF::Vector<WebCore::WordMeasurement, 64u, WTF::CrashOnOverflow>&) ()\r\n#16 0x090fdfbd in WebCore::RenderBlock::LineBreaker::nextLineBreak(WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>&, WebCore::LineInfo&, WebCore::RenderBlock::RenderTextInfo&, WebCore::RenderBlock::FloatingObject*, unsigned int, WTF::Vector<WebCore::WordMeasurement, 64u, WTF::CrashOnOverflow>&) ()\r\n#17 0x09100f29 in WebCore::RenderBlock::layoutRunsAndFloatsInRange(WebCore::LineLayoutState&, WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>&, WebCore::InlineIterator const&, WebCore::BidiStatus const&, unsigned int) ()\r\n#18 0x09102f60 in WebCore::RenderBlock::layoutRunsAndFloats(WebCore::LineLayoutState&, bool) ()\r\n#19 0x09103640 in WebCore::RenderBlock::layoutInlineChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#20 0x09104021 in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#21 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#22 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#23 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#24 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#25 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#26 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#27 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#28 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#29 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#30 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#31 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#32 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#33 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#34 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#35 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#36 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#37 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#38 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#39 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#40 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#41 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#42 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#43 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#44 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#45 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#46 0x090d58dc in WebCore::RenderBlock::layoutBlockChild(WebCore::RenderBox*, WebCore::RenderBlock::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) ()\r\n#47 0x090f7f0c in WebCore::RenderBlock::layoutBlockChildren(bool, WebCore::LayoutUnit&) ()\r\n#48 0x0910481b in WebCore::RenderBlock::layoutBlock(bool, WebCore::LayoutUnit) ()\r\n#49 0x08fcb7e7 in WebCore::RenderBlock::layout() ()\r\n#50 0x09018bd2 in WebCore::RenderView::layoutContent(WebCore::LayoutState const&) ()\r\n#51 0x0906338c in WebCore::RenderView::layout() ()\r\n#52 0x08378ccc in WebCore::FrameView::layout(bool) ()\r\n#53 0x0836d035 in WebCore::Timer<WebCore::FrameView>::fired() ()\r\n---Type <return> to continue, or q <return> to quit---\r\n#54 0x0847300a in WebCore::ThreadTimers::sharedTimerFiredInternal() ()\r\n#55 0x08473085 in WebCore::ThreadTimers::sharedTimerFired() ()\r\n#56 0x085542fe in WebCore::SharedTimerQt::timerEvent(QTimerEvent*) ()\r\n#57 0x0a0a4dd4 in QObject::event(QEvent*) ()\r\n#58 0x09730934 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()\r\n#59 0x09734462 in QApplication::notify(QObject*, QEvent*) ()\r\n#60 0x0a07990e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()\r\n#61 0x0a0c5a1a in QTimerInfoList::activateTimers() ()\r\n#62 0x0a0c37d0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()\r\n#63 0x09b1599e in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()\r\n#64 0x0a07752c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()\r\n#65 0x0a07c93e in QCoreApplication::exec() ()\r\n#66 0x09b40d34 in QGuiApplication::exec() ()\r\n#67 0x0972bd44 in QApplication::exec() ()\r\n#68 0x080629a5 in main ()\r\n```"}}