Bug 328429 - Crash resulting from large document being opened.
Summary: Crash resulting from large document being opened.
Status: RESOLVED DUPLICATE of bug 328309
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9 Beta
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-04 20:50 UTC by wolthera
Modified: 2013-12-05 06:05 UTC (History)
1 user (show)

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 wolthera 2013-12-04 20:50:43 UTC
Application: krita (2.9 Pre-Alpha)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Linux Mint 15 Olivia

-- Information about the crash:
I have no clue what really causes this other than that the document in question is really heavy, but not heavy enough to max out my ram. 

Linux Mint 15 with KDE 4.11.2 and Krita Lime.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1402cec7c0 (LWP 2809))]

Thread 5 (Thread 0x7f13db076700 (LWP 2855)):
#0  0x00007f13f9789ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f13ffa0514b in wait (time=18446744073709551615, this=0x17a8a00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17a1170, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f13ffa01067 in QSemaphore::acquire (this=this@entry=0x17a8720, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f13fe6f99d4 in waitForWork (this=0x17a8710) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x17a8710) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f13ffa04bec in QThreadPrivate::start (arg=0x17a8710) at thread/qthread_unix.cpp:338
#7  0x00007f13f9785f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f14021a9a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f13da875700 (LWP 2856)):
#0  0x00007f13f9789ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f13ffa0514b in wait (time=18446744073709551615, this=0x17a8d90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17a8d40, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f13ffa01438 in QSemaphore::tryAcquire (this=0x17a8a70, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f13fe727803 in KisTileDataSwapper::waitForWork (this=this@entry=0x17a8748) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f13fe727a8a in KisTileDataSwapper::run (this=0x17a8748) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f13ffa04bec in QThreadPrivate::start (arg=0x17a8748) at thread/qthread_unix.cpp:338
#7  0x00007f13f9785f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f14021a9a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f13be7bd700 (LWP 3093)):
#0  0x00007f13f9789ca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f13ffa0514b in wait (time=18446744073709551615, this=0x29152370) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x29151ef8, mutex=mutex@entry=0x29151ef0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14009dc7a6 in QFileInfoGatherer::run (this=0x29151ee0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f13ffa04bec in QThreadPrivate::start (arg=0x29151ee0) at thread/qthread_unix.cpp:338
#5  0x00007f13f9785f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f14021a9a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f13d8a17700 (LWP 3094)):
#0  0x00007f14021a1e23 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f13ffb2d4f3 in qt_safe_select (nfds=28, fdread=0x7f13c8000ac8, fdwrite=0x7f13c8000d60, fdexcept=0x7f13c8000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f13ffb32499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f13c8000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f13ffb32c82 in QEventDispatcherUNIX::processEvents (this=0x7f13c80008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f13ffb0038f in QEventLoop::processEvents (this=this@entry=0x7f13d8a16d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f13ffb00618 in QEventLoop::exec (this=this@entry=0x7f13d8a16d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f13ffa02410 in QThread::exec (this=this@entry=0x29152630) at thread/qthread.cpp:542
#7  0x00007f13ffae1edf in QInotifyFileSystemWatcherEngine::run (this=0x29152630) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f13ffa04bec in QThreadPrivate::start (arg=0x29152630) at thread/qthread_unix.cpp:338
#9  0x00007f13f9785f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f14021a9a0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f1402cec7c0 (LWP 2809)):
[KCrash Handler]
#5  0x00007f14020e6037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f14020e9698 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f13ff9fa5c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x1d76828 "ASSERT: \"!isEmpty()\" in file /usr/include/qt4/QtCore/qvector.h, line 261") at global/qglobal.cpp:2347
#8  0x00007f13ff9fa938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f13ffb64548 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff58a81498) at global/qglobal.cpp:2393
#9  0x00007f13ff9faac4 in qFatal (msg=msg@entry=0x7f13ffb64548 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#10 0x00007f13ff9fab06 in qt_assert (assertion=assertion@entry=0x7f1401dac61c "!isEmpty()", file=file@entry=0x7f1401da15e8 "/usr/include/qt4/QtCore/qvector.h", line=line@entry=261) at global/qglobal.cpp:2021
#11 0x00007f1401ce2110 in first (this=0x2c07b778) at /usr/include/qt4/QtCore/qvector.h:261
#12 KisToolFreehandHelper::paintAt (this=0x2c080b80, painterInfos=..., pi=...) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/tool/kis_tool_freehand_helper.cpp:588
#13 0x00007f1401cdfbc9 in KisToolFreehandHelper::endPaint (this=0x2c080b80) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/tool/kis_tool_freehand_helper.cpp:456
#14 0x00007f1401cd8600 in KisToolFreehand::endStroke (this=0x2c066180) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/tool/kis_tool_freehand.cc:164
#15 0x00007f1401cd8555 in KisToolFreehand::endPrimaryAction (this=0x2c066180, event=0x7fff58a81610) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/tool/kis_tool_freehand.cc:218
#16 0x00007f1401aad566 in KisToolProxy::forwardToTool (this=this@entry=0x295333f0, state=state@entry=KisToolProxy::END, action=action@entry=KisTool::Primary, event=event@entry=0x7fff58a81f50, docPoint=...) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/canvas/kis_tool_proxy.cpp:156
#17 0x00007f1401aad94e in KisToolProxy::forwardEvent (this=0x295333f0, state=state@entry=KisToolProxy::END, action=action@entry=KisTool::Primary, event=event@entry=0x7fff58a81f50, originalEvent=originalEvent@entry=0x7fff58a81f50, lastTabletEvent=lastTabletEvent@entry=0x0, canvasOriginWorkaround=...) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/canvas/kis_tool_proxy.cpp:112
#18 0x00007f1401d671f5 in KisToolInvocationAction::end (this=0x29533d40, event=0x7fff58a81f50) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/input/kis_tool_invocation_action.cpp:102
#19 0x00007f1401d71389 in KisShortcutMatcher::tryEndRunningShortcut (this=this@entry=0x29533940, button=button@entry=Qt::LeftButton, event=event@entry=0x7fff58a81f50) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/input/kis_shortcut_matcher.cpp:410
#20 0x00007f1401d7268a in KisShortcutMatcher::buttonReleased (this=this@entry=0x29533940, button=Qt::LeftButton, event=event@entry=0x7fff58a81f50) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/input/kis_shortcut_matcher.cpp:194
#21 0x00007f1401d64cbc in KisInputManager::eventFilter (this=0x29533840, object=<optimized out>, event=0x7fff58a81f50) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/ui/input/kis_input_manager.cpp:546
#22 0x00007f13ffb017a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xfbe1e0, receiver=receiver@entry=0x2cc517b0, event=event@entry=0x7fff58a81f50) at kernel/qcoreapplication.cpp:1056
#23 0x00007f14004eb8bc in QApplicationPrivate::notify_helper (this=this@entry=0xfbe1e0, receiver=receiver@entry=0x2cc517b0, e=e@entry=0x7fff58a81f50) at kernel/qapplication.cpp:4563
#24 0x00007f14004eea33 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2cc517b0, e=e@entry=0x7fff58a81f50) at kernel/qapplication.cpp:4110
#25 0x00007f140166b438 in KoApplication::notify (this=<optimized out>, receiver=0x2cc517b0, event=0x7fff58a81f50) at /build/buildd/krita-testing-2+git20131202+r74543-46/libs/main/KoApplication.cpp:549
#26 0x00007f13ffb0163e in QCoreApplication::notifyInternal (this=0x7fff58a82a00, receiver=receiver@entry=0x2cc517b0, event=event@entry=0x7fff58a81f50) at kernel/qcoreapplication.cpp:946
#27 0x00007f14004f1933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2cc517b0, event=event@entry=0x7fff58a81f50, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x2cc517b0, buttonDown=buttonDown@entry=0x7f1400fc9308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#29 0x00007f1400566e54 in QETWidget::translateMouseEvent (this=this@entry=0x2cc517b0, event=event@entry=0x7fff58a826e0) at kernel/qapplication_x11.cpp:4631
#30 0x00007f1400565e81 in QApplication::x11ProcessEvent (this=0x7fff58a82a00, event=event@entry=0x7fff58a826e0) at kernel/qapplication_x11.cpp:3746
#31 0x00007f1400591ac9 in QEventDispatcherX11::processEvents (this=0xf217b0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#32 0x00007f13ffb0038f in QEventLoop::processEvents (this=this@entry=0x7fff58a82950, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f13ffb00618 in QEventLoop::exec (this=this@entry=0x7fff58a82950, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f13ffb05cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007f14004e9ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x00007f14026b37ca in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20131202+r74543-46/krita/main.cc:99
#37 0x00007f14020d0ea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#38 0x0000000000400711 in _start ()

Reported using DrKonqi
Comment 1 Dmitry Kazakov 2013-12-05 06:05:28 UTC
Hi, wolthera!

Could you check whether you are using the most recent version of Krita Lime? As far as I remember, Krita Lime from the 2nd of December should not have this bug anymore. You can check that by trying to paint on a locked/invisible layer. If it crashes, then your version is a bit outdated. 

I'll mark this bug as duplicate for now. If you have the latest Lime and don't have a crash when painting on a locked layer, then please reopen it.

*** This bug has been marked as a duplicate of bug 328309 ***