Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.11.1
-
None
-
ubuntu 17.10 Qt 5.11.0 gcc_64
Description
Krita crashes in Qt:
This is Qt gcc_64 5.11.0, on ubuntu 17.10
Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
QTextLine::cursorToX (this=this@entry=0x7fffffffc690, cursorPos=cursorPos@entry=0x7fffffffc640, edge=edge@entry=QTextLine::Leading) at text/qtextlayout.cpp:2651 2651 text/qtextlayout.cpp: No such file or directory. (gdb) bt #0 0x00007ffff5149469 in QTextLine::cursorToX(int*, QTextLine::Edge) const (this=this@entry=0x7fffffffc690, cursorPos=cursorPos@entry=0x7fffffffc640, edge=edge@entry=QTextLine::Leading) at text/qtextlayout.cpp:2651 #1 0x00007ffff59ba59e in QTextLine::cursorToX(int, QTextLine::Edge) const (edge=QTextLine::Leading, cursorPos=40, this=0x7fffffffc690) at ../../include/QtGui/../../src/gui/text/qtextlayout.h:243 #2 0x00007ffff59ba59e in QWidgetLineControl::cursorToX(int) const (cursor=40, this=<optimized out>) at ../../include/QtWidgets/5.11.0/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:225 #3 0x00007ffff59ba59e in QWidgetLineControl::cursorToX() const (this=<optimized out>) at ../../include/QtWidgets/5.11.0/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:231 #4 0x00007ffff59ba59e in QLineEdit::paintEvent(QPaintEvent*) (this=0x55556085a760) at widgets/qlineedit.cpp:1961 #5 0x00007ffff58bb4c8 in QWidget::event(QEvent*) (this=this@entry=0x55556085a760, event=event@entry=0x7fffffffcad0) at kernel/qwidget.cpp:9277 #6 0x00007ffff59bf19e in QLineEdit::event(QEvent*) (this=0x55556085a760, e=0x7fffffffcad0) at widgets/qlineedit.cpp:1485 #7 0x00007ffff587edac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55556085a760, e=0x7fffffffcad0) at kernel/qapplication.cpp:3713 #8 0x00007ffff5885e57 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffdf00, receiver=0x55556085a760, e=0x7fffffffcad0) at kernel/qapplication.cpp:3472 #9 0x00007ffff72f4473 in KisApplication::notify(QObject*, QEvent*) (this=0x7fffffffdf00, receiver=0x55556085a760, event=0x7fffffffcad0) at /home/shiy/krita/src/libs/ui/KisApplication.cpp:614 #10 0x00007ffff4a334e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x55556085a760, event=event@entry=0x7fffffffcad0) at kernel/qcoreapplication.cpp:1048 #11 0x00007ffff58b442a in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7fffffffcad0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 #12 0x00007ffff58b442a in QWidgetPrivate::sendPaintEvent(QRegion const&) (this=this@entry=0x555560862e30, toBePainted=...) at kernel/qwidget.cpp:5679 #13 0x00007ffff58b4af2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x555560862e30, pdev=pdev@entry=0x555560cde920, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5619 #14 0x00007ffff58b582f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x555560857290, pdev=pdev@entry=0x555560cde920, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5814 #15 0x00007ffff58b459c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x555560857290, pdev=pdev@entry=0x555560cde920, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5671 #16 0x00007ffff58b582f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x555560859a10, pdev=pdev@entry=0x555560cde920, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5814 #17 0x00007ffff58b459c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x555560859a10, pdev=pdev@entry=0x555560cde920, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5671 #18 0x00007ffff58b582f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=this@entry=0x55555950e800, pdev=pdev@entry=0x555560cde920, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5814 #19 0x00007ffff58b459c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (this=0x55555950e800, pdev=0x555560cde920, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=0x55555ec80560) at kernel/qwidget.cpp:5671 #20 0x00007ffff588df96 in QWidgetBackingStore::doSync() (this=this@entry=0x55555ec80560) at kernel/qwidgetbackingstore.cpp:1375 #21 0x00007ffff588e1e0 in QWidgetBackingStore::sync() (this=0x55555ec80560) at kernel/qwidgetbackingstore.cpp:1156 #22 0x00007ffff58a47bf in QWidgetPrivate::syncBackingStore() (this=0x55555950e800) at kernel/qwidget.cpp:1951 #23 0x00007ffff58bb5d0 in QWidget::event(QEvent*) (this=this@entry=0x55555f6f6310, event=event@entry=0x555562e75300) at kernel/qwidget.cpp:9216 #24 0x00007ffff59c9691 in QMainWindow::event(QEvent*) (this=0x55555f6f6310, event=0x555562e75300) at widgets/qmainwindow.cpp:1344 #25 0x00007ffff64ee43c in KMainWindow::event(QEvent*) (this=0x55555f6f6310, ev=0x555562e75300) at /home/shiy/krita/src/libs/widgetutils/xmlgui/kmainwindow.cpp:784 #26 0x00007ffff65271f1 in KXmlGuiWindow::event(QEvent*) (this=0x55555f6f6310, ev=0x555562e75300) at /home/shiy/krita/src/libs/widgetutils/xmlgui/kxmlguiwindow.cpp:125 #27 0x00007ffff587edac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55555f6f6310, e=0x555562e75300) at kernel/qapplication.cpp:3713 #28 0x00007ffff5885e57 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffdf00, receiver=0x55555f6f6310, e=0x555562e75300) at kernel/qapplication.cpp:3472 #29 0x00007ffff72f4473 in KisApplication::notify(QObject*, QEvent*) (this=0x7fffffffdf00, receiver=0x55555f6f6310, event=0x555562e75300) at /home/shiy/krita/src/libs/ui/KisApplication.cpp:614 #30 0x00007ffff4a334e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55555f6f6310, event=event@entry=0x555562e75300) at kernel/qcoreapplication.cpp:1048 #31 0x00007ffff4a35efb in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x555562e75300, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #32 0x00007ffff4a35efb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55555727bae0) at kernel/qcoreapplication.cpp:1745 #33 0x00007ffff4a363e8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599 #34 0x00007ffff4a87c83 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55555740ddf0) at kernel/qeventdispatcher_glib.cpp:276 #35 0x00007fffea7e6fb7 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007fffea7e71f0 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007fffea7e727c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007ffff4a872df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x5555573c6f00, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #39 0x00007fffe2117b81 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555573c6f00, flags=...) at qeventdispatcher_glib.cpp:69 #40 0x00007ffff4a31e4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffddb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214 #41 0x00007ffff4a3a850 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1336 #42 0x0000555555e91477 in main(int, char**) (argc=1, argv=0x7fffffffe068) at /home/shiy/krita/src/krita/main.cc:437 (gdb)