Skip to content

Instantly share code, notes, and snippets.

@mnutt
Created July 17, 2016 13:44
Show Gist options
  • Save mnutt/9f71afb5cc427ad6dc499ca8258d9992 to your computer and use it in GitHub Desktop.
Save mnutt/9f71afb5cc427ad6dc499ca8258d9992 to your computer and use it in GitHub Desktop.
QtWebkit segfault
#0 0x00007ffff69d4720 in WebCore::ImageBuffer::context() const () from /usr/local/lib/libQt5WebKit.so.5
#1 0x00007ffff6f3d2b2 in WebCore::ShadowBlur::beginShadowLayer(WebCore::GraphicsContext&, WebCore::FloatRect const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#2 0x00007ffff69c975d in WebCore::drawQtGlyphRun(WebCore::GraphicsContext&, QGlyphRun const&, QPointF const&, double) ()
from /usr/local/lib/libQt5WebKit.so.5
#3 0x00007ffff69ca897 in WebCore::FontCascade::drawGlyphs(WebCore::GraphicsContext&, WebCore::Font const&, WebCore::GlyphBuffer const&, int, int, WebCore::FloatPoint const&, WebCore::FontSmoothingMode) () from /usr/local/lib/libQt5WebKit.so.5
#4 0x00007ffff688e341 in WebCore::FontCascade::drawGlyphBuffer(WebCore::GraphicsContext&, WebCore::TextRun const&, WebCore::GlyphBuffer const&, WebCore::FloatPoint&) const () from /usr/local/lib/libQt5WebKit.so.5
#5 0x00007ffff688e6d5 in WebCore::FontCascade::drawText(WebCore::GraphicsContext&, WebCore::TextRun const&, WebCore::FloatPoint const&, int, int, WebCore::FontCascade::CustomFontNotReadyAction) const () from /usr/local/lib/libQt5WebKit.so.5
#6 0x00007ffff689fa6e in WebCore::GraphicsContext::drawText(WebCore::FontCascade const&, WebCore::TextRun const&, WebCore::FloatPoint const&, int, int) () from /usr/local/lib/libQt5WebKit.so.5
#7 0x00007ffff610ce7f in WebCore::TextPainter::paintTextWithShadows(WebCore::ShadowData const*, WebCore::FontCascade const&, WebCore::TextRun const&, WebCore::FloatRect const&, WebCore::FloatPoint const&, int, int, WTF::AtomicString const&, int, bool) ()
from /usr/local/lib/libQt5WebKit.so.5
#8 0x00007ffff610cf30 in WebCore::TextPainter::paintTextAndEmphasisMarksIfNeeded(WebCore::TextRun const&, WebCore::FloatRect const&, WebCore::FloatPoint const&, int, int, WebCore::TextPaintStyle const&, WebCore::ShadowData const*) () from /usr/local/lib/libQt5WebKit.so.5
#9 0x00007ffff610d385 in WebCore::TextPainter::paintText(WebCore::TextRun const&, int, WebCore::FloatRect const&, WebCore::FloatPoint const&, int, int, bool, bool) () from /usr/local/lib/libQt5WebKit.so.5
#10 0x00007ffff617d5b0 in WebCore::InlineTextBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) () from /usr/local/lib/libQt5WebKit.so.5
#11 0x00007ffff620ab2a in WebCore::InlineFlowBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) () from /usr/local/lib/libQt5WebKit.so.5
#12 0x00007ffff620ade4 in WebCore::RootInlineBox::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::LayoutUnit, WebCore::LayoutUnit) () from /usr/local/lib/libQt5WebKit.so.5
#13 0x00007ffff61e2fd8 in WebCore::RenderLineBoxList::paint(WebCore::RenderBoxModelObject*, WebCore::PaintInfo&, WebCore::LayoutPoint const&) const () from /usr/local/lib/libQt5WebKit.so.5
#14 0x00007ffff60a6cc1 in WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#15 0x00007ffff61ea656 in WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#16 0x00007ffff62043b6 in WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /usr/local/lib/libQt5WebKit.so.5
#17 0x00007ffff60ba0bc in WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintIn---Type <return> to continue, or q <return> to quit---
fo&, bool, WebCore::RenderBlock::PaintBlockType) () from /usr/local/lib/libQt5WebKit.so.5
#18 0x00007ffff60ba476 in WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) ()
from /usr/local/lib/libQt5WebKit.so.5
#19 0x00007ffff60a6c9b in WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#20 0x00007ffff61ea656 in WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#21 0x00007ffff62043b6 in WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /usr/local/lib/libQt5WebKit.so.5
#22 0x00007ffff60ba0bc in WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool, WebCore::RenderBlock::PaintBlockType) () from /usr/local/lib/libQt5WebKit.so.5
#23 0x00007ffff60ba476 in WebCore::RenderBlock::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) ()
from /usr/local/lib/libQt5WebKit.so.5
#24 0x00007ffff60a6c9b in WebCore::RenderBlock::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#25 0x00007ffff61ea656 in WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#26 0x00007ffff62043b6 in WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /usr/local/lib/libQt5WebKit.so.5
#27 0x00007ffff6139f12 in WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*) () from /usr/local/lib/libQt5WebKit.so.5
#28 0x00007ffff61e6b76 in WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::GraphicsContext&, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*, bool) () from /usr/local/lib/libQt5WebKit.so.5
#29 0x00007ffff6205827 in WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#30 0x00007ffff6206e50 in WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#31 0x00007ffff620dfd5 in WebCore::RenderLayer::paintList(WTF::Vector<WebCore::RenderLayer*, 0ul, WTF::CrashOnOverflow, 16ul>*, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#32 0x00007ffff62059ae in WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#33 0x00007ffff6206e50 in WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#34 0x00007ffff620dfd5 in WebCore::RenderLayer::paintList(WTF::Vector<WebCore::RenderLayer*, 0ul, WTF::CrashOnOverflow, 16ul>*, WebCore::GraphicsC---Type <return> to continue, or q <return> to quit---
ontext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#35 0x00007ffff62059ae in WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#36 0x00007ffff6206e50 in WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#37 0x00007ffff620dfd5 in WebCore::RenderLayer::paintList(WTF::Vector<WebCore::RenderLayer*, 0ul, WTF::CrashOnOverflow, 16ul>*, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#38 0x00007ffff62059ae in WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#39 0x00007ffff6206e50 in WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#40 0x00007ffff620715d in WebCore::RenderLayer::paint(WebCore::GraphicsContext&, WebCore::LayoutRect const&, WebCore::LayoutSize const&, unsigned int, WebCore::RenderObject*, unsigned int) () from /usr/local/lib/libQt5WebKit.so.5
#41 0x00007ffff67b5399 in WebCore::FrameView::paintContents(WebCore::GraphicsContext&, WebCore::IntRect const&) ()
from /usr/local/lib/libQt5WebKit.so.5
#42 0x00007ffff574bc2f in QWebFrameAdapter::renderRelativeCoords(QPainter*, int, QRegion const&) () from /usr/local/lib/libQt5WebKit.so.5
#43 0x00007ffff7fc938e in QWebFrame::render(QPainter*, QFlags<QWebFrame::RenderLayer>, QRegion const&) ()
from /usr/local/lib/libQt5WebKitWidgets.so.5
#44 0x00007ffff7fc93b1 in QWebFrame::render(QPainter*, QRegion const&) () from /usr/local/lib/libQt5WebKitWidgets.so.5
#45 0x0000000000411e85 in Capturama::saveSnapshot() ()
#46 0x0000000000413169 in Capturama::finishRequest() ()
#47 0x000000000041561f in Capturama::TryDelayedRender() ()
#48 0x0000000000415b48 in Capturama::DocumentComplete(bool) ()
#49 0x0000000000422734 in Capturama::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#50 0x00007ffff43e59d5 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt57/lib/libQt5Core.so.5
#51 0x00007ffff7fcb112 in QWebPage::loadFinished(bool) () from /usr/local/lib/libQt5WebKitWidgets.so.5
#52 0x00007ffff7fc8d11 in QWebFramePrivate::emitLoadFinished(bool, bool) () from /usr/local/lib/libQt5WebKitWidgets.so.5
#53 0x00007ffff572d184 in WebCore::FrameLoaderClientQt::dispatchDidFinishLoad() () from /usr/local/lib/libQt5WebKit.so.5
#54 0x00007ffff66ed60e in WebCore::FrameLoader::checkLoadCompleteForThisFrame() () from /usr/local/lib/libQt5WebKit.so.5
#55 0x00007ffff66ed739 in WebCore::FrameLoader::checkLoadComplete() () from /usr/local/lib/libQt5WebKit.so.5
#56 0x00007ffff672f056 in WebCore::SubresourceLoader::didFinishLoading(double) () from /usr/local/lib/libQt5WebKit.so.5
#57 0x00007ffff69e3371 in WebCore::QNetworkReplyHandler::finish() () from /usr/local/lib/libQt5WebKit.so.5
#58 0x00007ffff69e1069 in WebCore::QNetworkReplyHandlerCallQueue::flush() [clone .part.97] () from /usr/local/lib/libQt5WebKit.so.5
#59 0x00007ffff69e202c in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::*)()) ()
#60 0x00007ffff69e28c3 in WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
from /usr/local/lib/libQt5WebKit.so.5
#61 0x00007ffff43e59d5 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/qt57/lib/libQt5Core.so.5
#62 0x00007ffff7ece227 in ?? () from /opt/qt57/lib/libQt5Network.so.5
#63 0x00007ffff7f51a39 in ?? () from /opt/qt57/lib/libQt5Network.so.5
#64 0x00007ffff43e70e6 in QObject::event(QEvent*) () from /opt/qt57/lib/libQt5Core.so.5
#65 0x00007ffff4d19cbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt57/lib/libQt5Widgets.so.5
#66 0x00007ffff4d20c40 in QApplication::notify(QObject*, QEvent*) () from /opt/qt57/lib/libQt5Widgets.so.5
#67 0x00007ffff43bd8e5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt57/lib/libQt5Core.so.5
#68 0x00007ffff43bf943 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt57/lib/libQt5Core.so.5
#69 0x00007ffff440ca53 in ?? () from /opt/qt57/lib/libQt5Core.so.5
#70 0x00007ffff0f1ae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007ffff0f1b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007ffff0f1b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007ffff440c29c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt57/lib/libQt5Core.so.5
#74 0x00007ffff43bbbbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt57/lib/libQt5Core.so.5
#75 0x00007ffff43c39b6 in QCoreApplication::exec() () from /opt/qt57/lib/libQt5Core.so.5
#76 0x000000000040b7d0 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment