Bug 363276 - Krita crashed on typing in text area
Summary: Krita crashed on typing in text area
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9.9
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-19 12:57 UTC by rouvenwachhaus
Modified: 2016-05-19 13:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rouvenwachhaus 2016-05-19 12:57:06 UTC
Application: krita (2.9.9)
KDE Platform Version: 4.14.20
Qt Version: 4.8.7
Operating System: Linux 4.5.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
After starting the application, I created a new document using the default presets (1600x1200 px, 100 ppi, etc). I then used the text tool to create a vector text layer which gets filled with the placeholder text "Artistic Text". I pressed CTRL + A to select all of this text content. Then, on hitting any key to replace the placeholder text with something else, the application crashed immediately. This is fully reproducible. Just modifying the placeholder text (font size, text properties, etc) does not crash Krita.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdbdd0eb840 (LWP 10527))]

Thread 9 (Thread 0x7fdbaac2b700 (LWP 10537)):
#0  0x00007fdbd537209f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8696 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdada4393 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fdbd7c7480e in KisTileDataPooler::waitForWork (this=0x3115ae0) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007fdbd7c74c28 in KisTileDataPooler::run (this=0x3115ae0) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fdbac52f700 (LWP 10538)):
#0  0x00007fdbd537209f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8696 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdada47b3 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007fdbd7c8fb83 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fdbd7c8fe5a in KisTileDataSwapper::run (this=0x3115b20) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fdbb69c2700 (LWP 10539)):
#0  0x00007fdbd537209f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8696 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdbe356dc in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fdbab42c700 (LWP 10540)):
#0  0x00007fdbda4b86ed in read () from /usr/lib/libc.so.6
#1  0x00007fdbd4ddec80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fdbd4d9bab4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdbd4d9bf74 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fdbd4d9c0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007fdbdaee885e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fdbdaeb6d51 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007fdbdaeb70c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007fdbdada5839 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x00007fdbdae96ea3 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#12 0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fdb8c614700 (LWP 10567)):
#0  0x00007fdbd5372448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8674 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdad9b5d7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fdb8b612700 (LWP 10568)):
#0  0x00007fdbd5372448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8674 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdad9b5d7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fdb8ce15700 (LWP 10569)):
#0  0x00007fdbd5372448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8674 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdad9b5d7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fdb8be13700 (LWP 10570)):
#0  0x00007fdbd5372448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fdbdada8674 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fdbdad9b5d7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fdbdada812c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fdbd536c474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007fdbda4c569d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fdbdd0eb840 (LWP 10527)):
[KCrash Handler]
#6  QHash<KoTextRange*, QHashDummyValue>::findNode (this=this@entry=0x2355630, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884
#7  0x00007fdbd263ef83 in QHash<KoTextRange*, QHashDummyValue>::contains (akey=@0x7ffec34f1cb8: 0x5d52bf0, this=0x2355630) at /usr/include/qt4/QtCore/qhash.h:874
#8  QSet<KoTextRange*>::contains (value=@0x7ffec34f1cb8: 0x5d52bf0, this=0x2355630) at /usr/include/qt4/QtCore/qset.h:91
#9  KoTextRangeManager::insert (this=0x2355620, textRange=<optimized out>) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/libs/kotext/KoTextRangeManager.cpp:43
#10 0x00007fdbd5c2ea07 in KUndo2Command::redoMergedCommands (this=0x430c580) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/libs/kundo2/kundo2stack.cpp:397
#11 0x00007fdbd5c2f108 in KUndo2QStack::push (this=0x3b99670, cmd=<optimized out>) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/libs/kundo2/kundo2stack.cpp:711
#12 0x00007fdbbba76da9 in ArtisticTextTool::addToTextCursor (this=0x5d52bf0, str=...) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/plugins/artistictextshape/ArtisticTextTool.cpp:735
#13 0x00007fdbbba77650 in ArtisticTextTool::keyPressEvent (this=0x5d52bf0, event=0x7ffec34f2470) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/plugins/artistictextshape/ArtisticTextTool.cpp:473
#14 0x00007fdbdc7a0e03 in KisToolProxy::forwardEvent (this=0x3c87df0, state=<optimized out>, action=<optimized out>, event=0x7ffec34f2470, originalEvent=0x7ffec34f2470, lastTabletEvent=0x0) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/ui/canvas/kis_tool_proxy.cpp:138
#15 0x00007fdbdca175b9 in KisToolInvocationAction::processUnhandledEvent (this=0x2fb4950, event=<optimized out>) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/ui/input/kis_tool_invocation_action.cpp:154
#16 0x00007fdbdca11665 in KisInputManager::Private::processUnhandledEvent (this=0x2fb4440, event=event@entry=0x7ffec34f2470) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/ui/input/kis_input_manager.cpp:406
#17 0x00007fdbdca13d7c in KisInputManager::eventFilter (this=0x2fb4390, object=<optimized out>, event=0x7ffec34f2470) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/ui/input/kis_input_manager.cpp:883
#18 0x00007fdbdaeb8646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007fdbdb91a2bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fdbdb922483 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007fdbdca82875 in KisApplication::notify (this=<optimized out>, receiver=0x3eb7b10, event=0x7ffec34f2470) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/ui/KisApplication.cpp:543
#22 0x00007fdbdaeb84dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007fdbdb9c03d3 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fdbdb9c08e2 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007fdbdb99a5f6 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007fdbdb9c3262 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007fdbd4d9bdd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007fdbd4d9c040 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007fdbd4d9c0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007fdbdaee883e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007fdbdb9c3336 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007fdbdaeb6d51 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007fdbdaeb70c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fdbdaebca69 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x0000000000402b46 in main (argc=<optimized out>, argv=<optimized out>) at /tmp/yaourt-tmp-rwchhs/aur-krita/src/calligra-2.9.9/krita/main.cc:204

Reported using DrKonqi
Comment 1 Halla Rempt 2016-05-19 13:00:37 UTC
Hi,

You're using a very old version of Krita, and this bug has already been fixed. That said, the text tools still need a lot of work, which is why we're running a kickstarter campaign right now to fund a better text tool:

https://www.krita.org/2016kickstarter
Comment 2 rouvenwachhaus 2016-05-19 13:53:08 UTC
I'm very sorry, I actually thought I was using the latest stable version because I got it from AUR... didn't see that 2.9.11 was in Arch's [extra]-repository. Updated and it's fixed, will close this bug. Probably gonna contribute on kickstarter, thanks for the heads up!
Comment 3 Halla Rempt 2016-05-19 13:58:39 UTC
Thanks for checking back with us!