Bug 273718 - Crash when saving file
Summary: Crash when saving file
Status: RESOLVED DUPLICATE of bug 343214
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 12:59 UTC by rebuilderster
Modified: 2015-01-23 16:40 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 rebuilderster 2011-05-20 12:59:10 UTC
Application: krita (2.3.3)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
I have a file I edited yesterday, saved as .kra. When I open it again and try to save it, whether over the existing file, as a new version or as a .jpg, Krita crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f218209b7c0 (LWP 14366))]

Thread 4 (Thread 0x7f2171403700 (LWP 14368)):
#0  0x00007f2181a06f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f217c47e104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f217c47e9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2171d62c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f217c4a53e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f21757b8853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f217c949d8c in start_thread (arg=0x7f2171403700) at pthread_create.c:304
#7  0x00007f2181a1404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2147ae1700 (LWP 14373)):
#0  0x00007f2181a0c143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f218015f32c in qt_safe_select (nfds=33, fdread=0x7f21600011c0, fdwrite=0x7f2160001458, fdexcept=0x7f21600016f0, orig_timeout=<value optimized out>) at kernel/qcore_unix.cpp:82
#2  0x00007f21801643d0 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f2160001000, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f218016504a in QEventDispatcherUNIX::processEvents (this=0x7f2160000970, flags=...) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007f2180136882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2180136abc in QEventLoop::exec (this=0x7f2147ae0cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f218004d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f2180118c2f in QInotifyFileSystemWatcherEngine::run (this=0x411a760) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2180050175 in QThreadPrivate::start (arg=0x411a760) at thread/qthread_unix.cpp:320
#9  0x00007f21757b8853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f217c949d8c in start_thread (arg=0x7f2147ae1700) at pthread_create.c:304
#11 0x00007f2181a1404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2147280700 (LWP 14379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f218005082b in wait (this=<value optimized out>, mutex=0x43523f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x43523f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f218004d469 in QSemaphore::tryAcquire (this=0x435c060, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f215a3264ca in KisTileDataSwapper::run (this=0x4357110) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007f2180050175 in QThreadPrivate::start (arg=0x4357110) at thread/qthread_unix.cpp:320
#6  0x00007f21757b8853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f217c949d8c in start_thread (arg=0x7f2147280700) at pthread_create.c:304
#8  0x00007f2181a1404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f218209b7c0 (LWP 14366)):
[KCrash Handler]
#6  0x00007f21805a1a27 in KZip::doPrepareWriting (this=0xafc6620, name=..., user=..., group=..., perm=33188, atime=-1, mtime=-1, ctime=-1) at ../../kdecore/io/kzip.cpp:1008
#7  0x00007f218057352e in KArchive::prepareWriting (this=0xafc6620, name=<value optimized out>, user=<value optimized out>, group=<value optimized out>, size=<value optimized out>, perm=<value optimized out>, atime=-1, mtime=-1, ctime=-1) at ../../kdecore/io/karchive.cpp:380
#8  0x00007f217e034418 in KoZipStore::openWrite (this=0x3fdad10, name=...) at ../../../libs/odf/KoZipStore.cpp:142
#9  0x00007f217e0318f0 in KoStore::open (this=0x3fdad10, _name=<value optimized out>) at ../../../libs/odf/KoStore.cpp:257
#10 0x00007f215a85c837 in KisKraSaveVisitor::saveAnnotations (this=0x7fffb553af70, layer=0x43e0710) at ../../../krita/ui/kra/kis_kra_save_visitor.cpp:206
#11 0x00007f215a85d84b in KisKraSaveVisitor::visit (this=0x7fffb553af70, layer=0x43e0710) at ../../../krita/ui/kra/kis_kra_save_visitor.cpp:90
#12 0x00007f215a3ace52 in KisNodeVisitor::visitAllInverse (this=0x7fffb553af70, node=<value optimized out>, breakOnFail=false) at ../../../krita/image/kis_node_visitor.cpp:48
#13 0x00007f215a86068f in KisKraSaver::saveBinaryData (this=0xaf20d80, store=0x3fdad10, image=..., uri=..., external=true) at ../../../krita/ui/kra/kis_kra_saver.cpp:106
#14 0x00007f215a7acc27 in KisDoc2::completeSaving (this=0x3fd39f0, store=0x3fdad10) at ../../../krita/ui/kis_doc2.cc:313
#15 0x00007f218164c36a in KoDocument::saveNativeFormatKOffice (this=0x3fd39f0, store=0x3fdad10) at ../../../libs/main/KoDocument.cpp:1009
#16 0x00007f21816591e8 in KoDocument::saveNativeFormat (this=0x3fd39f0, file=<value optimized out>) at ../../../libs/main/KoDocument.cpp:874
#17 0x00007f218165112f in KoDocument::saveFile (this=0x3fd39f0) at ../../../libs/main/KoDocument.cpp:533
#18 0x00007f217faa9060 in KParts::ReadWritePart::save (this=0x3fd39f0) at ../../kparts/part.cpp:880
#19 0x00007f218167b3ed in KoMainWindow::saveDocument (this=0x403daf0, saveas=false, silent=false) at ../../../libs/main/KoMainWindow.cpp:1010
#20 0x00007f2181671de1 in KoMainWindow::slotFileSave (this=0x403daf0) at ../../../libs/main/KoMainWindow.cpp:1236
#21 0x00007f2181679d61 in KoMainWindow::qt_metacall (this=0x403daf0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffb553bf30) at ./KoMainWindow.moc:142
#22 0x00007f218014c5f8 in QMetaObject::activate (sender=0x402b4d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb553bf30) at kernel/qobject.cpp:3287
#23 0x00007f2180aefe52 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#24 0x00007f2180af003f in QAction::activate (this=0x402b4d0, event=<value optimized out>) at kernel/qaction.cpp:1257
#25 0x00007f2180eb5cda in QAbstractButtonPrivate::click (this=0x40647c0) at widgets/qabstractbutton.cpp:528
#26 0x00007f2180eb5f8c in QAbstractButton::mouseReleaseEvent (this=0x4050ce0, e=0x7fffb553c880) at widgets/qabstractbutton.cpp:1121
#27 0x00007f2180f7222a in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#28 0x00007f2180b47638 in QWidget::event (this=0x4050ce0, event=0x7fffb553c880) at kernel/qwidget.cpp:8259
#29 0x00007f2180af6454 in QApplicationPrivate::notify_helper (this=0xd26c40, receiver=0x4050ce0, e=0x7fffb553c880) at kernel/qapplication.cpp:4462
#30 0x00007f2180afb823 in QApplication::notify (this=<value optimized out>, receiver=0x4050ce0, e=0x7fffb553c880) at kernel/qapplication.cpp:4023
#31 0x00007f217d4ce866 in KApplication::notify (this=0x7fffb553d3a0, receiver=0x4050ce0, event=0x7fffb553c880) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f218013749c in QCoreApplication::notifyInternal (this=0x7fffb553d3a0, receiver=0x4050ce0, event=0x7fffb553c880) at kernel/qcoreapplication.cpp:731
#33 0x00007f2180af747d in sendEvent (receiver=0x4050ce0, event=0x7fffb553c880, alienWidget=0x4050ce0, nativeWidget=0x4055800, buttonDown=0x7f21815d61d8, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x4050ce0, event=0x7fffb553c880, alienWidget=0x4050ce0, nativeWidget=0x4055800, buttonDown=0x7f21815d61d8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#35 0x00007f2180b76290 in QETWidget::translateMouseEvent (this=0x4055800, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#36 0x00007f2180b74a41 in QApplication::x11ProcessEvent (this=0x7fffb553d3a0, event=0x7fffb553d1e0) at kernel/qapplication_x11.cpp:3587
#37 0x00007f2180b9da94 in QEventDispatcherX11::processEvents (this=0xcc97a0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#38 0x00007f2180136882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2180136abc in QEventLoop::exec (this=0x7fffb553d360, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f218013aecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x00007f2181cc5225 in kdemain (argc=<value optimized out>, argv=0x7fffb553d538) at ../../krita/main.cc:49
#42 0x00007f218194ceff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fffb553d538, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffb553d528) at libc-start.c:226
#43 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2011-05-20 13:58:27 UTC
Hi!

Thanks for your report. Could you let me have the .kra file? If it's too big too attach you can send it directly to boud@valdyas.org
Comment 2 Halla Rempt 2011-05-26 23:00:28 UTC
Changing to needsinfo
Comment 3 Halla Rempt 2015-01-23 16:40:22 UTC

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