| Summary: | Crash while changing font-type on artistic text. | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
| Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/krita/f843bdfd0859f24077ae0fe48d752a78ffbdf64e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Git commit f843bdfd0859f24077ae0fe48d752a78ffbdf64e by Boudewijn Rempt. Committed on 14/05/2016 at 09:59. Pushed by rempt into branch 'master'. Revert "First commit of improved RTL text editing for the artistic text shape" This reverts commit 0ab16affe98e4b0957565bc6f43da9cd26e5f609. This commit broke the cursor for LTR languages, selecing the font and the font size. Related: bug 363026, bug 363030 M +19 -52 plugins/flake/artistictextshape/ArtisticTextShape.cpp M +2 -8 plugins/flake/artistictextshape/ArtisticTextShape.h http://commits.kde.org/krita/f843bdfd0859f24077ae0fe48d752a78ffbdf64e |
Artisttic text crashes on font-type change. Reproducible: Always Steps to Reproduce: 1. Make artistic text 2. Select some text 3. Change fonttype. 4. crash! gdb backtrace: Thread 23 (Thread 0x7fff96ea3700 (LWP 12114)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff5599738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5595467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffef1506fa in start_thread (arg=0x7fff96ea3700) at pthread_create.c:333 #5 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 22 (Thread 0x7fff966a2700 (LWP 12113)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff5599738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5595467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5598c89 in ?? () ---Type <return> to continue, or q <return> to quit--- from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffef1506fa in start_thread (arg=0x7fff966a2700) at pthread_create.c:333 #5 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 21 (Thread 0x7fff95ea1700 (LWP 12112)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff5599738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5595467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffef1506fa in start_thread (arg=0x7fff95ea1700) at pthread_create.c:333 #5 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 20 (Thread 0x7fffc0b41700 (LWP 12111)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 ---Type <return> to continue, or q <return> to quit--- #1 0x00007ffff5599738 in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5595467 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffef1506fa in start_thread (arg=0x7fffc0b41700) at pthread_create.c:333 #5 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 12 (Thread 0x7fffa5da4700 (LWP 12099)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff55997eb in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff676faa2 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #3 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007fffef1506fa in start_thread (arg=0x7fffa5da4700) at pthread_create.c:333 #5 0x00007ffff4c94b5d in clone () ---Type <return> to continue, or q <return> to quit--- at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 10 (Thread 0x7fffa6640700 (LWP 12097)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff55997eb in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5593116 in QSemaphore::tryAcquire(int, int) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff311d7b3 in KisTileDataSwapper::waitForWork ( this=<optimized out>) at /home/krita/kde/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #4 0x00007ffff311d9aa in KisTileDataSwapper::run ( this=0x7ffff359f440 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at /home/krita/kde/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #6 0x00007fffef1506fa in start_thread (arg=0x7fffa6640700) at pthread_create.c:333 #7 0x00007ffff4c94b5d in clone () ---Type <return> to continue, or q <return> to quit--- at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 9 (Thread 0x7fffbbfff700 (LWP 12096)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ffff55997eb in QWaitCondition::wait(QMutex*, unsigned long) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #2 0x00007ffff5592e8b in QSemaphore::acquire(int) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #3 0x00007ffff3103b5e in KisTileDataPooler::waitForWork ( this=0x7ffff359f400 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165 #4 0x00007ffff310431a in KisTileDataPooler::run ( this=0x7ffff359f400 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>) at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187 #5 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #6 0x00007fffef1506fa in start_thread (arg=0x7fffbbfff700) at pthread_create.c:333 #7 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 ---Type <return> to continue, or q <return> to quit--- Thread 6 (Thread 0x7fffcbfff700 (LWP 12089)): #0 0x00007ffff4c88e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee82531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee82542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff57aa4e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #4 0x00007ffff5758efa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #5 0x00007ffff559438c in QThread::exec() () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #6 0x00007fffef37bcd5 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5DBus.so.5 #7 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #8 0x00007fffef1506fa in start_thread (arg=0x7fffcbfff700) at pthread_create.c:333 #9 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7fffd903c700 (LWP 12088)): #0 0x00007ffff4c88e8d in poll () at ../sysdeps/unix/syscall-template.S:84 ---Type <return> to continue, or q <return> to quit--- #1 0x00007fffee82531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee8256a2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffde499906 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007fffee84bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffef1506fa in start_thread (arg=0x7fffd903c700) at pthread_create.c:333 #6 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fffd983d700 (LWP 12087)): #0 0x00007ffff4c88e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee82531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee82542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffee825469 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fffee84bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffef1506fa in start_thread (arg=0x7fffd983d700) at pthread_create.c:333 #6 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fffda03e700 (LWP 12086)): ---Type <return> to continue, or q <return> to quit--- #0 0x00007ffff4c88e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee82531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee82542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffda04628d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007fffee84bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffef1506fa in start_thread (arg=0x7fffda03e700) at pthread_create.c:333 #6 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fffe485d700 (LWP 12085)): #0 0x00007ffff4c88e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007ffff35b8c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007ffff35ba8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffe570cdc9 in ?? () from /home/krita/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #4 0x00007ffff5598c89 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #5 0x00007fffef1506fa in start_thread (arg=0x7fffe485d700) at pthread_create.c:333 ---Type <return> to continue, or q <return> to quit--- #6 0x00007ffff4c94b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7ffff7f0f8c0 (LWP 12081)): #0 0x00007ffff5f877c0 in QPainterPath::addPath(QPainterPath const&) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5 #1 0x00007fffab659305 in ArtisticTextShape::createOutline ( this=this@entry=0xe0bcf00) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextShape.cpp:332 #2 0x00007fffab6595ad in ArtisticTextShape::updateSizeAndPosition ( this=this@entry=0xe0bcf00, global=global@entry=false) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextShape.cpp:908 #3 0x00007fffab65a44b in ArtisticTextShape::finishTextUpdate ( this=this@entry=0xe0bcf00) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextShape.cpp:1053 #4 0x00007fffab65c1e6 in ArtisticTextShape::finishTextUpdate (this=0xe0bcf00) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextShape.cpp:1049 #5 ArtisticTextShape::setFont (this=0xe0bcf00, charIndex=<optimized out>, charCount=<optimized out>, font=...) ---Type <return> to continue, or q <return> to quit--- at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextShape.cpp:471 #6 0x00007fffab67079e in ChangeTextFontCommand::redo (this=0xe346300) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ChangeTextFontCommand.cpp:51 #7 0x00007ffff181415e in KUndo2Command::redo (this=0xe34e260) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:237 #8 0x00007ffff18160f6 in KUndo2Command::redoMergedCommands (this=0xe34e260) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:397 #9 0x00007ffff18170b8 in KUndo2QStack::push (this=0xca6e300, cmd=0xe34e260) at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:711 #10 0x00007fffab667ed6 in ArtisticTextTool::changeFontProperty ( this=this@entry=0xc8c5d50, property=property@entry=ArtisticTextTool::FamiliyProperty, value=...) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextTool.cpp:881 #11 0x00007fffab668136 in ArtisticTextTool::setFontFamiliy (this=0xc8c5d50, font=...) at /home/krita/kde/src/krita/plugins/flake/artistictextshape/ArtisticTextTool.cpp:908 #12 0x00007ffff5783cef in QMetaObject::activate(QObject*, int, int, void**) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #13 0x00007fffab6731f3 in ArtisticTextShapeConfigWidget::fontFamilyChanged ( ---Type <return> to continue, or q <return> to quit--- _t1=..., this=<optimized out>) at /home/krita/kde/build/plugins/flake/artistictextshape/moc_ArtisticTextShapeConfigWidget.cpp:146 #14 ArtisticTextShapeConfigWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/krita/kde/build/plugins/flake/artistictextshape/moc_ArtisticTextShapeConfigWidget.cpp:81 #15 0x00007ffff5783cef in QMetaObject::activate(QObject*, int, int, void**) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #16 0x00007ffff66861b2 in QFontComboBox::currentFontChanged(QFont const&) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #17 0x00007ffff66864cf in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #18 0x00007ffff6686e5d in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #19 0x00007ffff5783cef in QMetaObject::activate(QObject*, int, int, void**) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #20 0x00007ffff6659e65 in QComboBox::currentIndexChanged(QString const&) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #21 0x00007ffff665b18c in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #22 0x00007ffff665d5fd in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 ---Type <return> to continue, or q <return> to quit--- #23 0x00007ffff665d756 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #24 0x00007ffff666386d in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #25 0x00007ffff5783cef in QMetaObject::activate(QObject*, int, int, void**) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #26 0x00007ffff68c8252 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #27 0x00007ffff665a504 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #28 0x00007ffff575abf3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #29 0x00007ffff654e025 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #30 0x00007ffff6552f0e in QApplication::notify(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #31 0x00007ffff78dc457 in KisApplication::notify (this=<optimized out>, receiver=0xe1d7e30, event=0x7fffffffcc40) at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:501 #32 0x00007ffff575ae80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #33 0x00007ffff6551a33 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () ---Type <return> to continue, or q <return> to quit--- from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #34 0x00007ffff65ab330 in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #35 0x00007ffff65ad6db in ?? () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #36 0x00007ffff654e04c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #37 0x00007ffff6552488 in QApplication::notify(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5 #38 0x00007ffff78dc457 in KisApplication::notify (this=<optimized out>, receiver=0xe27e4f0, event=0x7fffffffd0d0) at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:501 #39 0x00007ffff575ae80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #40 0x00007ffff5cfa97b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5 #41 0x00007ffff5cfc485 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5 #42 0x00007ffff5cdd6a3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5 ---Type <return> to continue, or q <return> to quit--- #43 0x00007fffe5767720 in ?? () from /home/krita/Qt/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #44 0x00007fffee825127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007fffee825380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007fffee82542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007ffff57aa4e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #48 0x00007ffff5758efa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #49 0x00007ffff5760d9d in QCoreApplication::exec() () from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5 #50 0x0000000000404a15 in main (argc=1, argv=<optimized out>) at /home/krita/kde/src/krita/krita/main.cc:229