https://bugs.kde.org/show_bug.cgi?id=365663

            Bug ID: 365663
           Summary: When entering text into a text box, Krita crashes to
                    desktop
           Product: krita
           Version: 2.9.11
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: ebre...@gmail.com

Application: krita (2.9.11)
KDE Platform Version: 4.14.21
Qt Version: 4.8.7
Operating System: Linux 4.6.3-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160712) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I created a text object and
attempted to edit it. This is reproducable every time on two different systems.
I had opened a bug report earlier, but it appears to be gone. Also, the older
bug seems to be the same issue, but it is marked as invalid.

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

Thread 9 (Thread 0x7f18f7fff700 (LWP 2351)):
#0  0x00007f1938e9d448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e9576f4 in QWaitConditionPrivate::wait (time=30000,
this=0x341c290) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x6eb2100,
mutex=mutex@entry=0x3b8b4e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e94a677 in QThreadPoolThread::run (this=0x6eb20f0) at
concurrent/qthreadpool.cpp:142
#4  0x00007f193e9571aa in QThreadPrivate::start (arg=0x6eb20f0) at
thread/qthread_unix.cpp:352
#5  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f18f6ffd700 (LWP 2350)):
#0  0x00007f1938e9d448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e9576f4 in QWaitConditionPrivate::wait (time=30000,
this=0x3424fd0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x6f6d9a0,
mutex=mutex@entry=0x3b8b4e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e94a677 in QThreadPoolThread::run (this=0x6f6d990) at
concurrent/qthreadpool.cpp:142
#4  0x00007f193e9571aa in QThreadPrivate::start (arg=0x6f6d990) at
thread/qthread_unix.cpp:352
#5  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f1915971700 (LWP 2349)):
#0  0x00007f1938e9d448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e9576f4 in QWaitConditionPrivate::wait (time=30000,
this=0x6f7d5b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x6f6d9f0,
mutex=mutex@entry=0x3b8b4e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e94a677 in QThreadPoolThread::run (this=0x6f6d9e0) at
concurrent/qthreadpool.cpp:142
#4  0x00007f193e9571aa in QThreadPrivate::start (arg=0x6f6d9e0) at
thread/qthread_unix.cpp:352
#5  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f18f77fe700 (LWP 2348)):
#0  0x00007f1938e9d448 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e9576f4 in QWaitConditionPrivate::wait (time=30000,
this=0x3421170) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x6f6a480,
mutex=mutex@entry=0x3b8b4e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e94a677 in QThreadPoolThread::run (this=0x6f6a470) at
concurrent/qthreadpool.cpp:142
#4  0x00007f193e9571aa in QThreadPrivate::start (arg=0x6f6a470) at
thread/qthread_unix.cpp:352
#5  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f1917a76700 (LWP 2198)):
#0  0x00007f193e0760a3 in select () from /lib64/libc.so.6
#1  0x00007f193ea944ef in qt_safe_select (nfds=24,
fdread=fdread@entry=0x7f1910000ac8, fdwrite=fdwrite@entry=0x7f1910000d60,
fdexcept=fdexcept@entry=0x7f1910000ff8, orig_timeout=orig_timeout@entry=0x0) at
kernel/qcore_unix.cpp:79
#2  0x00007f193ea9a99b in QEventDispatcherUNIX::select (timeout=0x0,
exceptfds=0x7f1910000ff8, writefds=0x7f1910000d60, readfds=0x7f1910000ac8,
nfds=<optimized out>, this=0x7f19100008f0) at
kernel/qeventdispatcher_unix.cpp:664
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f1910000910,
flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007f193ea9ae81 in QEventDispatcherUNIX::processEvents
(this=0x7f19100008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#5  0x00007f193ea65b8f in QEventLoop::processEvents
(this=this@entry=0x7f1917a75c80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f193ea65ef5 in QEventLoop::exec (this=this@entry=0x7f1917a75c80,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f193e9548d9 in QThread::exec (this=this@entry=0x313e550) at
thread/qthread.cpp:538
#8  0x00007f193ea45973 in QInotifyFileSystemWatcherEngine::run (this=0x313e550)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f193e9571aa in QThreadPrivate::start (arg=0x313e550) at
thread/qthread_unix.cpp:352
#10 0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1916273700 (LWP 2197)):
#0  0x00007f1938e9d09f in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e957716 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x313e450) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x313dfb8,
mutex=mutex@entry=0x313dfb0, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f193f9f1d6c in QFileInfoGatherer::run (this=0x313dfa0) at
dialogs/qfileinfogatherer.cpp:214
#4  0x00007f193e9571aa in QThreadPrivate::start (arg=0x313dfa0) at
thread/qthread_unix.cpp:352
#5  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1917275700 (LWP 2195)):
#0  0x00007f1938e9d09f in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e957716 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x2904120) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x29040d0,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e953833 in QSemaphore::tryAcquire (this=0x2903de0, n=n@entry=1,
timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f193b7f7d73 in KisTileDataSwapper::waitForWork
(this=this@entry=0x2903a70) at
/usr/src/debug/calligra-2.9.11/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f193b7f804a in KisTileDataSwapper::run (this=0x2903a70) at
/usr/src/debug/calligra-2.9.11/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f193e9571aa in QThreadPrivate::start (arg=0x2903a70) at
thread/qthread_unix.cpp:352
#7  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f192207d700 (LWP 2194)):
#0  0x00007f1938e9d09f in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f193e957716 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x2903d70) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2903d20,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f193e9533f3 in QSemaphore::acquire (this=this@entry=0x2903a40,
n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f193b7dca8e in KisTileDataPooler::waitForWork (this=0x2903a30) at
/usr/src/debug/calligra-2.9.11/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007f193b7dcea8 in KisTileDataPooler::run (this=0x2903a30) at
/usr/src/debug/calligra-2.9.11/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007f193e9571aa in QThreadPrivate::start (arg=0x2903a30) at
thread/qthread_unix.cpp:352
#7  0x00007f1938e97474 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f193e07d3ed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1940d37900 (LWP 2186)):
[KCrash Handler]
#6  QHash<KoTextRange*, QHashDummyValue>::findNode (this=this@entry=0xe1dd30,
ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/QtCore/qhash.h:884
#7  0x00007f193592c6d3 in QHash<KoTextRange*, QHashDummyValue>::contains
(akey=@0x7fff413d3d88: 0x76aeaa0, this=0xe1dd30) at
/usr/include/QtCore/qhash.h:874
#8  QSet<KoTextRange*>::contains (value=@0x7fff413d3d88: 0x76aeaa0,
this=0xe1dd30) at /usr/include/QtCore/qset.h:91
#9  KoTextRangeManager::insert (this=0xe1dd20, textRange=<optimized out>) at
/usr/src/debug/calligra-2.9.11/libs/kotext/KoTextRangeManager.cpp:43
#10 0x00007f193978c397 in KUndo2Command::redoMergedCommands (this=0x36c7870) at
/usr/src/debug/calligra-2.9.11/libs/kundo2/kundo2stack.cpp:397
#11 0x00007f193978ca98 in KUndo2QStack::push (this=0x3b0c130, cmd=<optimized
out>) at /usr/src/debug/calligra-2.9.11/libs/kundo2/kundo2stack.cpp:711
#12 0x00007f1927143a39 in ArtisticTextTool::addToTextCursor (this=0x76aeaa0,
str=...) at
/usr/src/debug/calligra-2.9.11/plugins/artistictextshape/ArtisticTextTool.cpp:735
#13 0x00007f19271442e0 in ArtisticTextTool::keyPressEvent (this=0x76aeaa0,
event=0x7fff413d4550) at
/usr/src/debug/calligra-2.9.11/plugins/artistictextshape/ArtisticTextTool.cpp:473
#14 0x00007f1940345193 in KisToolProxy::forwardEvent (this=0x3bbdf30,
state=<optimized out>, action=<optimized out>, event=0x7fff413d4550,
originalEvent=0x7fff413d4550, lastTabletEvent=0x0) at
/usr/src/debug/calligra-2.9.11/krita/ui/canvas/kis_tool_proxy.cpp:138
#15 0x00007f19405bd1d9 in KisToolInvocationAction::processUnhandledEvent
(this=0x26cb200, event=<optimized out>) at
/usr/src/debug/calligra-2.9.11/krita/ui/input/kis_tool_invocation_action.cpp:154
#16 0x00007f19405b7285 in KisInputManager::Private::processUnhandledEvent
(this=0x26cacf0, event=event@entry=0x7fff413d4550) at
/usr/src/debug/calligra-2.9.11/krita/ui/input/kis_input_manager.cpp:406
#17 0x00007f19405b999c in KisInputManager::eventFilter (this=0x26cac40,
object=<optimized out>, event=0x7fff413d4550) at
/usr/src/debug/calligra-2.9.11/krita/ui/input/kis_input_manager.cpp:883
#18 0x00007f193ea67441 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=this@entry=0xe09150, receiver=receiver@entry=0x5742740,
event=event@entry=0x7fff413d4550) at kernel/qcoreapplication.cpp:1065
#19 0x00007f193f4d90fc in QApplicationPrivate::notify_helper
(this=this@entry=0xe09150, receiver=receiver@entry=0x5742740,
e=e@entry=0x7fff413d4550) at kernel/qapplication.cpp:4561
#20 0x00007f193f4e1a7f in QApplication::notify (this=<optimized out>,
receiver=receiver@entry=0x5742740, e=e@entry=0x7fff413d4550) at
kernel/qapplication.cpp:4006
#21 0x00007f1940628135 in KisApplication::notify (this=<optimized out>,
receiver=0x5742740, event=0x7fff413d4550) at
/usr/src/debug/calligra-2.9.11/krita/ui/KisApplication.cpp:543
#22 0x00007f193ea672bd in QCoreApplication::notifyInternal
(this=0x7fff413d4fd0, receiver=receiver@entry=0x5742740,
event=event@entry=0x7fff413d4550) at kernel/qcoreapplication.cpp:955
#23 0x00007f193f4d7b86 in QCoreApplication::sendSpontaneousEvent
(event=event@entry=0x7fff413d4550, receiver=receiver@entry=0x5742740) at
../../src/corelib/kernel/qcoreapplication.h:234
#24 qt_sendSpontaneousEvent (receiver=receiver@entry=0x5742740,
event=event@entry=0x7fff413d4550) at kernel/qapplication.cpp:5563
#25 0x00007f193f57eeb3 in QKeyMapper::sendKeyEvent
(keyWidget=keyWidget@entry=0x5742740, 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 0x00007f193f57f3c3 in QKeyMapperPrivate::translateKeyEvent (this=<optimized
out>, keyWidget=0x5742740, event=0x7fff413d4ad0, grab=<optimized out>) at
kernel/qkeymapper_x11.cpp:1836
#27 0x00007f193f558c48 in QApplication::x11ProcessEvent (this=0x7fff413d4fd0,
event=event@entry=0x7fff413d4ad0) at kernel/qapplication_x11.cpp:3546
#28 0x00007f193f582687 in QEventDispatcherX11::processEvents (this=0xcd8720,
flags=...) at kernel/qeventdispatcher_x11.cpp:132
#29 0x00007f193ea65b8f in QEventLoop::processEvents
(this=this@entry=0x7fff413d4d30, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f193ea65ef5 in QEventLoop::exec (this=this@entry=0x7fff413d4d30,
flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f193ea6bae9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1227
#32 0x00007f193f4d796c 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

The reporter indicates this bug may be a duplicate of or related to bug 363276.

Possible duplicates by query: bug 363276.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to