https://bugs.kde.org/show_bug.cgi?id=365643
Bug ID: 365643 Summary: After creating an Artistic Text object, Krita crashes when adding text or deleting the default text Product: krita Version: 2.9.11 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: Text Tool Assignee: krita-bugs-n...@kde.org Reporter: ebre...@gmail.com A crash occurs when ever editing the text on the Artistic Text object in a new or existing file. I have tried different palet sizes and all exhibit the same effect. Reproducible: Always Steps to Reproduce: 1. Open Krita 2. Create a new document or edit an existing one 3. Add a text object and edit the text Actual Results: Krita crashes to desktop. Expected Results: I have an editable text object and Krita does not crash. Dump: Application: Krita (krita), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7ff3c9f2f900 (LWP 5994))] Thread 5 (Thread 0x7ff3ab36d700 (LWP 6002)): #0 0x00007ff3c209509f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff3c7b4f716 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x407d7e0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x407d790, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff3c7b4b3f3 in QSemaphore::acquire (this=this@entry=0x407d4b0, n=n@entry=1) at thread/qsemaphore.cpp:144 #4 0x00007ff3c49d4a8e in KisTileDataPooler::waitForWork (this=0x407d4a0) at /usr/src/debug/calligra-2.9.11/krita/image/tiles3/kis_tile_data_pooler.cc:165 #5 0x00007ff3c49d4ea8 in KisTileDataPooler::run (this=0x407d4a0) at /usr/src/debug/calligra-2.9.11/krita/image/tiles3/kis_tile_data_pooler.cc:187 #6 0x00007ff3c7b4f1aa in QThreadPrivate::start (arg=0x407d4a0) at thread/qthread_unix.cpp:352 #7 0x00007ff3c208f474 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ff3c72753ed in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7ff39bfff700 (LWP 6003)): #0 0x00007ff3c209509f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff3c7b4f716 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x407db90) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x407db40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff3c7b4b833 in QSemaphore::tryAcquire (this=0x407d850, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221 #4 0x00007ff3c49efd73 in KisTileDataSwapper::waitForWork (this=this@entry=0x407d4e0) at /usr/src/debug/calligra-2.9.11/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #5 0x00007ff3c49f004a in KisTileDataSwapper::run (this=0x407d4e0) at /usr/src/debug/calligra-2.9.11/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #6 0x00007ff3c7b4f1aa in QThreadPrivate::start (arg=0x407d4e0) at thread/qthread_unix.cpp:352 #7 0x00007ff3c208f474 in start_thread () from /lib64/libpthread.so.0 #8 0x00007ff3c72753ed in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7ff39affd700 (LWP 6005)): #0 0x00007ff3c209509f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff3c7b4f716 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x48d0290) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x48cfdf8, mutex=mutex@entry=0x48cfdf0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff3c8be9d6c in QFileInfoGatherer::run (this=0x48cfde0) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007ff3c7b4f1aa in QThreadPrivate::start (arg=0x48cfde0) at thread/qthread_unix.cpp:352 #5 0x00007ff3c208f474 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ff3c72753ed in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7ff3a0dd9700 (LWP 6006)): #0 0x00007ff3c726e0a3 in select () from /lib64/libc.so.6 #1 0x00007ff3c7c8c4ef in qt_safe_select (nfds=24, fdread=fdread@entry=0x7ff39c440bc8, fdwrite=fdwrite@entry=0x7ff39c440e60, fdexcept=fdexcept@entry=0x7ff39c4410f8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:79 #2 0x00007ff3c7c9299b in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7ff39c4410f8, writefds=0x7ff39c440e60, readfds=0x7ff39c440bc8, nfds=<optimized out>, this=0x7ff39c0008f0) at kernel/qeventdispatcher_unix.cpp:664 #3 QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff39c440a10, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223 #4 0x00007ff3c7c92e81 in QEventDispatcherUNIX::processEvents (this=0x7ff39c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:959 #5 0x00007ff3c7c5db8f in QEventLoop::processEvents (this=this@entry=0x7ff3a0dd8c80, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007ff3c7c5def5 in QEventLoop::exec (this=this@entry=0x7ff3a0dd8c80, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007ff3c7b4c8d9 in QThread::exec (this=this@entry=0x48d0390) at thread/qthread.cpp:538 #8 0x00007ff3c7c3d973 in QInotifyFileSystemWatcherEngine::run (this=0x48d0390) at io/qfilesystemwatcher_inotify.cpp:265 #9 0x00007ff3c7b4f1aa in QThreadPrivate::start (arg=0x48d0390) at thread/qthread_unix.cpp:352 #10 0x00007ff3c208f474 in start_thread () from /lib64/libpthread.so.0 #11 0x00007ff3c72753ed in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ff3c9f2f900 (LWP 5994)): [KCrash Handler] #6 QHash<KoTextRange*, QHashDummyValue>::findNode (this=this@entry=0x258f3f0, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/QtCore/qhash.h:884 #7 0x00007ff3beb246d3 in QHash<KoTextRange*, QHashDummyValue>::contains (akey=@0x7ffcdf340718: 0x8e3c0e0, this=0x258f3f0) at /usr/include/QtCore/qhash.h:874 #8 QSet<KoTextRange*>::contains (value=@0x7ffcdf340718: 0x8e3c0e0, this=0x258f3f0) at /usr/include/QtCore/qset.h:91 #9 KoTextRangeManager::insert (this=0x258f3e0, textRange=<optimized out>) at /usr/src/debug/calligra-2.9.11/libs/kotext/KoTextRangeManager.cpp:43 #10 0x00007ff3c2984397 in KUndo2Command::redoMergedCommands (this=0x4bb6090) at /usr/src/debug/calligra-2.9.11/libs/kundo2/kundo2stack.cpp:397 #11 0x00007ff3c2984a98 in KUndo2QStack::push (this=0x5292390, cmd=<optimized out>) at /usr/src/debug/calligra-2.9.11/libs/kundo2/kundo2stack.cpp:711 #12 0x00007ff3b0433a39 in ArtisticTextTool::addToTextCursor (this=0x8e3c0e0, str=...) at /usr/src/debug/calligra-2.9.11/plugins/artistictextshape/ArtisticTextTool.cpp:735 #13 0x00007ff3b04342e0 in ArtisticTextTool::keyPressEvent (this=0x8e3c0e0, event=0x7ffcdf340ee0) at /usr/src/debug/calligra-2.9.11/plugins/artistictextshape/ArtisticTextTool.cpp:473 #14 0x00007ff3c953d193 in KisToolProxy::forwardEvent (this=0x534b750, state=<optimized out>, action=<optimized out>, event=0x7ffcdf340ee0, originalEvent=0x7ffcdf340ee0, lastTabletEvent=0x0) at /usr/src/debug/calligra-2.9.11/krita/ui/canvas/kis_tool_proxy.cpp:138 #15 0x00007ff3c97b51d9 in KisToolInvocationAction::processUnhandledEvent (this=0x3e62110, event=<optimized out>) at /usr/src/debug/calligra-2.9.11/krita/ui/input/kis_tool_invocation_action.cpp:154 #16 0x00007ff3c97af285 in KisInputManager::Private::processUnhandledEvent (this=0x3e27a70, event=event@entry=0x7ffcdf340ee0) at /usr/src/debug/calligra-2.9.11/krita/ui/input/kis_input_manager.cpp:406 #17 0x00007ff3c97b199c in KisInputManager::eventFilter (this=0x3d33a90, object=<optimized out>, event=0x7ffcdf340ee0) at /usr/src/debug/calligra-2.9.11/krita/ui/input/kis_input_manager.cpp:883 #18 0x00007ff3c7c5f441 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x258a060, receiver=receiver@entry=0x6ec3b00, event=event@entry=0x7ffcdf340ee0) at kernel/qcoreapplication.cpp:1065 #19 0x00007ff3c86d10fc in QApplicationPrivate::notify_helper (this=this@entry=0x258a060, receiver=receiver@entry=0x6ec3b00, e=e@entry=0x7ffcdf340ee0) at kernel/qapplication.cpp:4561 #20 0x00007ff3c86d9a7f in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x6ec3b00, e=e@entry=0x7ffcdf340ee0) at kernel/qapplication.cpp:4006 #21 0x00007ff3c9820135 in KisApplication::notify (this=<optimized out>, receiver=0x6ec3b00, event=0x7ffcdf340ee0) at /usr/src/debug/calligra-2.9.11/krita/ui/KisApplication.cpp:543 #22 0x00007ff3c7c5f2bd in QCoreApplication::notifyInternal (this=0x7ffcdf341960, receiver=receiver@entry=0x6ec3b00, event=event@entry=0x7ffcdf340ee0) at kernel/qcoreapplication.cpp:955 #23 0x00007ff3c86cfb86 in QCoreApplication::sendSpontaneousEvent (event=event@entry=0x7ffcdf340ee0, receiver=receiver@entry=0x6ec3b00) at ../../src/corelib/kernel/qcoreapplication.h:234 #24 qt_sendSpontaneousEvent (receiver=receiver@entry=0x6ec3b00, event=event@entry=0x7ffcdf340ee0) at kernel/qapplication.cpp:5563 #25 0x00007ff3c8776eb3 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x6ec3b00, grab=grab@entry=false, type=QEvent::KeyPress, code=32, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866 #26 0x00007ff3c87773c3 in QKeyMapperPrivate::translateKeyEvent (this=<optimized out>, keyWidget=0x6ec3b00, event=0x7ffcdf341460, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836 #27 0x00007ff3c8750c48 in QApplication::x11ProcessEvent (this=0x7ffcdf341960, event=event@entry=0x7ffcdf341460) at kernel/qapplication_x11.cpp:3546 #28 0x00007ff3c877a687 in QEventDispatcherX11::processEvents (this=0x2459720, flags=...) at kernel/qeventdispatcher_x11.cpp:132 #29 0x00007ff3c7c5db8f in QEventLoop::processEvents (this=this@entry=0x7ffcdf3416c0, flags=...) at kernel/qeventloop.cpp:149 #30 0x00007ff3c7c5def5 in QEventLoop::exec (this=this@entry=0x7ffcdf3416c0, flags=...) at kernel/qeventloop.cpp:204 #31 0x00007ff3c7c63ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227 #32 0x00007ff3c86cf96c in QApplication::exec () at kernel/qapplication.cpp:3823 #33 0x0000000000402ce6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/calligra-2.9.11/krita/main.cc:204 -- You are receiving this mail because: You are watching all bug changes.