Bug 336983

Summary: Krita exits on save as
Product: [Applications] krita Reporter: Lloyd <suttoons>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.8.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lloyd 2014-07-02 22:55:47 UTC
Application: krita (2.8.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-lowlatency i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: Large file  with in excess of 130 layers. Having jsut overwritten an existing file clicked to save a png version of the same image. Application dissapeared from desktop after I clicked save as for the second time. Large amount of hard drive thrashing after crash. It was some time before crash response appeared on screen. I have experienced a few earlier crashes which seemed to occur when creating a Filter Mask (Uaually a Lightness and Contrast Filter). Although subsequent loads seemed to allow the same filter mask to be created.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1b6b740 (LWP 2883))]

Thread 9 (Thread 0xaeb99b40 (LWP 2887)):
#0  0xb43a5d2e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb43a60f8 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb43613c4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb436176b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xafbbbe9a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb43879ca in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#7  0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xae1ffb40 (LWP 2888)):
#0  __GI___pthread_mutex_lock (mutex=0x8ea7dc0) at ../nptl/pthread_mutex_lock.c:63
#1  0xb758baf4 in pthread_mutex_lock (mutex=0x8ea7dc0) at forward.c:192
#2  0xb43a6100 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4360bf6 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4361346 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4361528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb436157e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb43879ca in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#9  0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xaae4db40 (LWP 2909)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb444bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb758b8ec in __pthread_cond_wait (cond=0x907f4e0, mutex=0x907f4c8) at forward.c:149
#3  0xb5bd40f5 in wait (time=4294967295, this=0x907f4c8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8fcb3ac, mutex=mutex@entry=0x8fcb3a8, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb5bcfd7f in QSemaphore::acquire (this=this@entry=0x904d088, n=n@entry=1) at thread/qsemaphore.cpp:144
#6  0xb566075b in KisTileDataPooler::waitForWork (this=this@entry=0x904d080) at /build/buildd/calligra-2.8.1-1/krita/image/tiles3/kis_tile_data_pooler.cc:162
#7  0xb5660b77 in KisTileDataPooler::run (this=0x904d080) at /build/buildd/calligra-2.8.1-1/krita/image/tiles3/kis_tile_data_pooler.cc:184
#8  0xb5bd3b6f in QThreadPrivate::start (arg=0x904d080) at thread/qthread_unix.cpp:349
#9  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xaa64cb40 (LWP 2910)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb444bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb758b8ec in __pthread_cond_wait (cond=0x9082bf0, mutex=0x9082bd8) at forward.c:149
#3  0xb5bd40f5 in wait (time=4294967295, this=0x9082bd8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8ff68b4, mutex=mutex@entry=0x8ff68b0, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb5bd01cf in QSemaphore::tryAcquire (this=0x8ff6fd8, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#6  0xb567e1be in KisTileDataSwapper::waitForWork (this=this@entry=0x904d0a0) at /build/buildd/calligra-2.8.1-1/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#7  0xb567e474 in KisTileDataSwapper::run (this=0x904d0a0) at /build/buildd/calligra-2.8.1-1/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#8  0xb5bd3b6f in QThreadPrivate::start (arg=0x904d0a0) at thread/qthread_unix.cpp:349
#9  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa94ffb40 (LWP 2950)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb444bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb758b8ec in __pthread_cond_wait (cond=0xfaf2028, mutex=0xfaf2010) at forward.c:149
#3  0xb5bd40f5 in wait (time=4294967295, this=0xfaf2010) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xfaf1d0c, mutex=mutex@entry=0xfaf1d08, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb67ae7e3 in QFileInfoGatherer::run (this=0xfaf1d00) at dialogs/qfileinfogatherer.cpp:214
#6  0xb5bd3b6f in QThreadPrivate::start (arg=0xfaf1d00) at thread/qthread_unix.cpp:349
#7  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa9e14b40 (LWP 2951)):
#0  0xb43a5d3b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb43a60f8 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4360e0b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb436137a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4361528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5d1595f in QEventDispatcherGlib::processEvents (this=0x78372c78, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb5ce4823 in QEventLoop::processEvents (this=this@entry=0xa9e141a8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5ce4b49 in QEventLoop::exec (this=this@entry=0xa9e141a8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5bd123d in QThread::exec (this=this@entry=0xfaf2190) at thread/qthread.cpp:537
#9  0xb5cc4c44 in QInotifyFileSystemWatcherEngine::run (this=0xfaf2190) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5bd3b6f in QThreadPrivate::start (arg=0xfaf2190) at thread/qthread_unix.cpp:349
#11 0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#12 0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0x6f5ffb40 (LWP 3186)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb444bd4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb758b8ec in __pthread_cond_wait (cond=0x6fca00b0, mutex=0x6fca0098) at forward.c:149
#3  0xb5bd40f5 in wait (time=4294967295, this=0x6fca0098) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x74a76674, mutex=mutex@entry=0x74a76670, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb67ae7e3 in QFileInfoGatherer::run (this=0x74a76668) at dialogs/qfileinfogatherer.cpp:214
#6  0xb5bd3b6f in QThreadPrivate::start (arg=0x74a76668) at thread/qthread_unix.cpp:349
#7  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa8cfeb40 (LWP 3187)):
#0  0xb43a60f3 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb4361398 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4361528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5d1595f in QEventDispatcherGlib::processEvents (this=0x63909fa8, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0xb5ce4823 in QEventLoop::processEvents (this=this@entry=0xa8cfe1a8, flags=...) at kernel/qeventloop.cpp:149
#5  0xb5ce4b49 in QEventLoop::exec (this=this@entry=0xa8cfe1a8, flags=...) at kernel/qeventloop.cpp:204
#6  0xb5bd123d in QThread::exec (this=this@entry=0x3648010) at thread/qthread.cpp:537
#7  0xb5cc4c44 in QInotifyFileSystemWatcherEngine::run (this=0x3648010) at io/qfilesystemwatcher_inotify.cpp:265
#8  0xb5bd3b6f in QThreadPrivate::start (arg=0x3648010) at thread/qthread_unix.cpp:349
#9  0xb5220261 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x5c8b0824 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb1b6b740 (LWP 2883)):
[KCrash Handler]
#7  __GI___libc_free (mem=0xffffffff) at malloc.c:2929
#8  0xb3e9fe93 in ?? () from /usr/lib/nvidia-304/tls/libnvidia-tls.so.304.117
#9  0xb6466337 in QRasterWindowSurface::prepareBuffer (this=this@entry=0xbf2fc718, format=QImage::Format_RGB32, widget=widget@entry=0xbf973940) at painting/qwindowsurface_raster.cpp:439
#10 0xb6466ead in QRasterWindowSurface::setGeometry (this=0xbf2fc718, rect=...) at painting/qwindowsurface_raster.cpp:357
#11 0xb64821ae in QWidgetBackingStore::sync (this=this@entry=0x87fcbe0) at painting/qbackingstore.cpp:1220
#12 0xb648335b in QWidgetBackingStore::sync (this=0x87fcbe0, exposedWidget=0xbf973940, exposedRegion=...) at painting/qbackingstore.cpp:1161
#13 0xb628a09a in QWidgetPrivate::syncBackingStore (this=this@entry=0x7eefc4a0, region=...) at kernel/qwidget.cpp:1903
#14 0xb62ba044 in QETWidget::translatePaintEvent (this=this@entry=0xbf973940, event=event@entry=0xbf97360c) at kernel/qapplication_x11.cpp:5607
#15 0xb62cb88a in QApplication::x11ProcessEvent (this=0xbf9748a0, event=event@entry=0xbf97360c) at kernel/qapplication_x11.cpp:3649
#16 0xb62f7524 in x11EventSourceDispatch (s=0x8dd8aa8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0xb43611e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0xb4361468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb4361528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb5d1593b in QEventDispatcherGlib::processEvents (this=this@entry=0x8d18ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#21 0xb62f75de in QGuiEventDispatcherGlib::processEvents (this=0x8d18ff0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0xb5ce4823 in QEventLoop::processEvents (this=this@entry=0xbf9738d8, flags=...) at kernel/qeventloop.cpp:149
#23 0xb5ce4b49 in QEventLoop::exec (this=this@entry=0xbf9738d8, flags=...) at kernel/qeventloop.cpp:204
#24 0xb6772ef1 in QDialog::exec (this=this@entry=0xbf973940) at dialogs/qdialog.cpp:562
#25 0xb6784668 in QFileDialog::getSaveFileName (parent=parent@entry=0x9004470, caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0xbf9739cc, options=...) at dialogs/qfiledialog.cpp:1998
#26 0xb7043433 in KoFileDialogHelper::getSaveFileName (parent=parent@entry=0x9004470, caption=..., dir=..., mimeList=..., defaultMime=..., uniqueName=...) at /build/buildd/calligra-2.8.1-1/libs/main/KoFileDialogHelper.cpp:294
#27 0xb704c91c in KoMainWindow::saveDocument (this=this@entry=0x9004470, saveas=<optimized out>, saveas@entry=true, silent=silent@entry=false, specialOutputFlag=specialOutputFlag@entry=0) at /build/buildd/calligra-2.8.1-1/libs/main/KoMainWindow.cpp:998
#28 0xb704eae4 in KoMainWindow::slotFileSaveAs (this=this@entry=0x9004470) at /build/buildd/calligra-2.8.1-1/libs/main/KoMainWindow.cpp:1352
#29 0xb705c70f in KoMainWindow::qt_static_metacall (_o=_o@entry=0x9004470, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf973cd8) at /build/buildd/calligra-2.8.1-1/obj-i686-linux-gnu/libs/main/KoMainWindow.moc:134
#30 0xb5cfb0f7 in QMetaObject::activate (sender=sender@entry=0xaa74768, m=m@entry=0xb6b9c718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbf973cd8) at kernel/qobject.cpp:3539
#31 0xb623b72d in QAction::triggered (this=this@entry=0xaa74768, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#32 0xb623d324 in QAction::activate (this=this@entry=0xaa74768, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#33 0xb66e1ceb in QMenuPrivate::activateCausedStack (this=0xae26340, causedStack=..., action=0xaa74768, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1038
#34 0xb66e6d98 in QMenuPrivate::activateAction (this=this@entry=0xae26340, action=action@entry=0xaa74768, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#35 0xb66eade9 in QMenu::mouseReleaseEvent (this=this@entry=0xae26240, e=e@entry=0xbf974304) at widgets/qmenu.cpp:2372
#36 0xb6e62f3e in KMenu::mouseReleaseEvent (this=0xae26240, e=0xbf974304) at ../../kdeui/widgets/kmenu.cpp:464
#37 0xb629c3fa in QWidget::event (this=this@entry=0xae26240, event=event@entry=0xbf974304) at kernel/qwidget.cpp:8376
#38 0xb66eb2af in QMenu::event (this=0xae26240, e=0xbf974304) at widgets/qmenu.cpp:2481
#39 0xb62427f4 in QApplicationPrivate::notify_helper (this=0x8dd73f8, receiver=receiver@entry=0xae26240, e=0xbf974304) at kernel/qapplication.cpp:4567
#40 0xb624aea0 in QApplication::notify (this=this@entry=0xbf9748a0, receiver=receiver@entry=0xae26240, e=e@entry=0xbf974304) at kernel/qapplication.cpp:4110
#41 0xb701405d in KoApplication::notify (this=0xbf9748a0, receiver=0xae26240, event=0xbf974304) at /build/buildd/calligra-2.8.1-1/libs/main/KoApplication.cpp:590
#42 0xb5ce5e4a in QCoreApplication::notifyInternal (this=0xbf9748a0, receiver=receiver@entry=0xae26240, event=event@entry=0xbf974304) at kernel/qcoreapplication.cpp:953
#43 0xb6248b53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=0xae26240, event=event@entry=0xbf974304, alienWidget=0x0, nativeWidget=nativeWidget@entry=0xae26240, buttonDown=buttonDown@entry=0xb6bb9ce4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#45 0xb62ccba0 in QETWidget::translateMouseEvent (this=0xae26240, event=event@entry=0xbf97452c) at kernel/qapplication_x11.cpp:4568
#46 0xb62cbec5 in QApplication::x11ProcessEvent (this=0xbf9748a0, event=event@entry=0xbf97452c) at kernel/qapplication_x11.cpp:3627
#47 0xb62f7524 in x11EventSourceDispatch (s=0x8dd8aa8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb43611e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb4361468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb4361528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb5d1595f in QEventDispatcherGlib::processEvents (this=this@entry=0x8d18ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#52 0xb62f75de in QGuiEventDispatcherGlib::processEvents (this=0x8d18ff0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb5ce4823 in QEventLoop::processEvents (this=this@entry=0xbf9747e8, flags=...) at kernel/qeventloop.cpp:149
#54 0xb5ce4b49 in QEventLoop::exec (this=this@entry=0xbf9747e8, flags=...) at kernel/qeventloop.cpp:204
#55 0xb5cea8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0xb6240a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0xb76816ee in kdemain (argc=1, argv=0xbf974984) at /build/buildd/calligra-2.8.1-1/krita/main.cc:111
#58 0x0804855b in main (argc=1, argv=0xbf974984) at /build/buildd/calligra-2.8.1-1/obj-i686-linux-gnu/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-07-03 00:43:48 UTC

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