Bug 305907 - Krita Crashes when saving as a PNG
Summary: Krita Crashes when saving as a PNG
Status: RESOLVED DUPLICATE of bug 298879
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: 2012-08-28 02:01 UTC by Theo
Modified: 2012-08-28 02:18 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 Theo 2012-08-28 02:01:57 UTC
Application: krita (2.4.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: Opened jpg and then tried to export as png without making any changes. Krita crashed upon hitting export, before options for saving had appeared. Worked fine when I exported a xcf as a png.

The crash can be reproduced every time.

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

Thread 8 (Thread 0xafde7b40 (LWP 2576)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb743d17b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3f8772b in ?? () from /usr/lib/nvidia-current/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xaf3ffb40 (LWP 2577)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb743f380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4b22a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4b150ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4b1556b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb08bb1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb4b386b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xaa932b40 (LWP 2579)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb4bea96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb745b3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5da4350 in wait (time=4294967295, this=0xbd2d440) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xbd2d40c, mutex=0xbd2d408, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb5d9fb6a in QSemaphore::acquire (this=0xbd2d250, n=1) at thread/qsemaphore.cpp:144
#6  0xacbfe4bb in KisTileDataPooler::waitForWork (this=0xbd2d248) at /build/buildd/calligra-2.4.0/krita/image/tiles3/kis_tile_data_pooler.cc:162
#7  0xacbfec6d in KisTileDataPooler::run (this=0xbd2d248) at /build/buildd/calligra-2.4.0/krita/image/tiles3/kis_tile_data_pooler.cc:184
#8  0xb5da3de0 in QThreadPrivate::start (arg=0xbd2d248) at thread/qthread_unix.cpp:298
#9  0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x5c8b0824 in ?? ()
#11 0xbab80424 in ?? ()
#12 0x65000000 in ?? ()
#13 0x001015ff in ?? ()
#14 0xd3890000 in ?? ()
#15 0xfff0013d in ?? ()
#16 0xc30173ff in ?? ()
#17 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xaa131b40 (LWP 2580)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb4bea96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb745b3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5da4350 in wait (time=4294967295, this=0xbd2d6a8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xbd2d674, mutex=0xbd2d670, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb5da0026 in QSemaphore::tryAcquire (this=0xbd2d648, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#6  0xacc2132e in KisTileDataSwapper::waitForWork (this=0xbd2d268) at /build/buildd/calligra-2.4.0/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#7  0xacc21574 in KisTileDataSwapper::run (this=0xbd2d268) at /build/buildd/calligra-2.4.0/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#8  0xb5da3de0 in QThreadPrivate::start (arg=0xbd2d268) at thread/qthread_unix.cpp:298
#9  0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x5c8b0824 in ?? ()
#11 0xbab80424 in ?? ()
#12 0x65000000 in ?? ()
#13 0x001015ff in ?? ()
#14 0xd3890000 in ?? ()
#15 0xfff0013d in ?? ()
#16 0xc30173ff in ?? ()
#17 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa98dfb40 (LWP 2590)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb4bea96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb745b3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5da4350 in wait (time=4294967295, this=0xefb2000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xefb1d0c, mutex=0xefb1d08, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb69b7fa3 in QFileInfoGatherer::run (this=0xefb1d00) at dialogs/qfileinfogatherer.cpp:214
#6  0xb5da3de0 in QThreadPrivate::start (arg=0xefb1d00) at thread/qthread_unix.cpp:298
#7  0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa51feb40 (LWP 2591)):
#0  0xb7776424 in __kernel_vsyscall ()
#1  0xb7446af1 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5ee842a in qt_safe_select (nfds=31, fdread=0xefb5744, fdwrite=0xefb5958, fdexcept=0xefb5b6c, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#3  0xb5eeca1b in QEventDispatcherUNIX::select (this=0xf07c8e0, nfds=31, readfds=0xefb5744, writefds=0xefb5958, exceptfds=0xefb5b6c, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:639
#4  0xb5eedd2f in QEventDispatcherUNIXPrivate::doSelect (this=0xefb5650, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#5  0xb5eee1f4 in QEventDispatcherUNIX::processEvents (this=0xf07c8e0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0xb5eb750d in QEventLoop::processEvents (this=0xa51fe190, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5eb77a9 in QEventLoop::exec (this=0xa51fe190, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5da094c in QThread::exec (this=0xefb2170) at thread/qthread.cpp:501
#9  0xb5e94b5d in QInotifyFileSystemWatcherEngine::run (this=0xefb2170) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5da3de0 in QThreadPrivate::start (arg=0xefb2170) at thread/qthread_unix.cpp:298
#11 0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xae9ffb40 (LWP 2597)):
#0  0xb4939dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5e02315 in do_gettime (frac=0xae9fef30, sec=0xae9fef28) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5eec226 in QTimerInfoList::updateCurrentTime (this=0xae000b1c) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb5eedc2b in QEventDispatcherUNIXPrivate::doSelect (this=0xae000480, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#5  0xb5eee1f4 in QEventDispatcherUNIX::processEvents (this=0xa319ed40, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0xb5eb750d in QEventLoop::processEvents (this=0xae9ff190, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5eb77a9 in QEventLoop::exec (this=0xae9ff190, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5da094c in QThread::exec (this=0xf3f6e70) at thread/qthread.cpp:501
#9  0xb5e94b5d in QInotifyFileSystemWatcherEngine::run (this=0xf3f6e70) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5da3de0 in QThreadPrivate::start (arg=0xf3f6e70) at thread/qthread_unix.cpp:298
#11 0xb3f8aa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb2134740 (LWP 2574)):
[KCrash Handler]
#7  0xb7776424 in __kernel_vsyscall ()
#8  0xb73911ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb7394835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb5d98616 in qt_message_output (msgType=QtFatalMsg, buf=0xef85038 "Unhandled value type") at global/qglobal.cpp:2276
#11 0xb5d98a4b in qt_message (msgType=QtFatalMsg, msg=0xad038894 "Unhandled value type", ap=0xbf8b27c4 "") at global/qglobal.cpp:2322
#12 0xb5d98b68 in qFatal (msg=0xad038894 "Unhandled value type") at global/qglobal.cpp:2505
#13 0xacf8e015 in kmdValueToExivXmpValue (value=...) at /build/buildd/calligra-2.4.0/krita/ui/kisexiv2/kis_exiv2.cpp:272
#14 0xacf8e322 in kmdValueToExivXmpValue (value=...) at /build/buildd/calligra-2.4.0/krita/ui/kisexiv2/kis_exiv2.cpp:247
#15 0xacf99d5b in KisXMPIO::saveTo (this=0x9f02fc0, store=0xf1b1220, ioDevice=0xbf8b2d28, headerType=KisMetaData::IOBackend::NoHeader) at /build/buildd/calligra-2.4.0/krita/ui/kisexiv2/kis_xmp_io.cpp:135
#16 0xacf4e775 in KisPNGConverter::buildFile (this=0xbf8b2f2c, iodevice=0xf22b060, image=..., device=..., annotationsStart=0x1136b708, annotationsEnd=0x1136b708, options=..., metaData=0xf1b1220) at /build/buildd/calligra-2.4.0/krita/ui/kis_png_converter.cpp:1025
#17 0xacf510a1 in KisPNGConverter::buildFile (this=0x0, uri=..., image=<error reading variable: Cannot access memory at address 0x0>, device=<error reading variable: Cannot access memory at address 0x0>, annotationsStart=0x0, annotationsEnd=0x0, options=..., metaData=0x0) at /build/buildd/calligra-2.4.0/krita/ui/kis_png_converter.cpp:787
#18 0xad29758f in KisPNGExport::convert (this=0x113ecdd8, from=..., to=...) at /build/buildd/calligra-2.4.0/krita/plugins/formats/png/kis_png_export.cc:175
#19 0xb72bf667 in CalligraFilter::ChainLink::invokeFilter (this=0x1111ed00, parentChainLink=0x0) at /build/buildd/calligra-2.4.0/libs/main/KoFilterChainLink.cpp:90
#20 0xb72b609a in KoFilterChain::invokeChain (this=0x1141c3b8) at /build/buildd/calligra-2.4.0/libs/main/KoFilterChain.cpp:94
#21 0xb72b290e in KoFilterManager::exportDocument (this=0xc3c3328, url=..., mimeType=...) at /build/buildd/calligra-2.4.0/libs/main/KoFilterManager.cpp:243
#22 0xb725c077 in KoDocument::saveFile (this=0xbf96208) at /build/buildd/calligra-2.4.0/libs/main/KoDocument.cpp:536
#23 0xb5c25514 in KParts::ReadWritePart::save (this=0xbf96208) at ../../kparts/part.cpp:878
#24 0xb5c24640 in KParts::ReadWritePart::saveAs (this=0xbf96208, kurl=...) at ../../kparts/part.cpp:899
#25 0xb7256402 in KoDocument::exportDocument (this=0xbf96208, _url=...) at /build/buildd/calligra-2.4.0/libs/main/KoDocument.cpp:465
#26 0xb728cd41 in KoMainWindow::saveDocument (this=0xbfacae8, saveas=false, silent=false) at /build/buildd/calligra-2.4.0/libs/main/KoMainWindow.cpp:981
#27 0xb7286825 in KoMainWindow::slotFileSaveAs (this=0xbfacae8) at /build/buildd/calligra-2.4.0/libs/main/KoMainWindow.cpp:1251
#28 0xb7285818 in KoMainWindow::slotExportFile (this=0xbfacae8) at /build/buildd/calligra-2.4.0/libs/main/KoMainWindow.cpp:1811
#29 0xb728b7fd in qt_static_metacall (_a=0xbf8b39f8, _id=28, _o=0xbfacae8, _c=<optimized out>) at /build/buildd/calligra-2.4.0/obj-i686-linux-gnu/libs/main/KoMainWindow.moc:143
#30 KoMainWindow::qt_static_metacall (_o=0xbfacae8, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbf8b39f8) at /build/buildd/calligra-2.4.0/obj-i686-linux-gnu/libs/main/KoMainWindow.moc:105
#31 0xb5ecf6b1 in QMetaObject::activate (sender=0xc002a58, m=0xb6d9d3f8, local_signal_index=1, argv=0xbf8b39f8) at kernel/qobject.cpp:3547
#32 0xb641e9bd in QAction::triggered (this=0xc002a58, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#33 0xb641ec5b in QAction::activate (this=0xc002a58, event=QAction::Trigger) at kernel/qaction.cpp:1257
#34 0xb68e0453 in QMenuPrivate::activateCausedStack (this=0xc188598, causedStack=..., action=0xc002a58, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#35 0xb68e732f in QMenuPrivate::activateAction (this=0xc188598, action=0xc002a58, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#36 0xb68ea015 in QMenu::mouseReleaseEvent (this=0xc04a090, e=0xbf8b4234) at widgets/qmenu.cpp:2360
#37 0xb708970c in KMenu::mouseReleaseEvent (this=0xc04a090, e=0xbf8b4234) at ../../kdeui/widgets/kmenu.cpp:464
#38 0xb64801ac in QWidget::event (this=0xc04a090, event=0xbf8b4234) at kernel/qwidget.cpp:8362
#39 0xb68e8a9c in QMenu::event (this=0xc04a090, e=0xbf8b4234) at widgets/qmenu.cpp:2469
#40 0xb6425ed4 in notify_helper (e=0xbf8b4234, receiver=0xc04a090, this=0x9c3cd98) at kernel/qapplication.cpp:4559
#41 QApplicationPrivate::notify_helper (this=0x9c3cd98, receiver=0xc04a090, e=0xbf8b4234) at kernel/qapplication.cpp:4531
#42 0xb642c024 in QApplication::notify (this=0x9c3cd98, receiver=0xc04a090, e=0xbf8b4234) at kernel/qapplication.cpp:4102
#43 0xb6fab401 in KApplication::notify (this=0xbf8b48e0, receiver=0xc04a090, event=0xbf8b4234) at ../../kdeui/kernel/kapplication.cpp:311
#44 0xb5eb897e in QCoreApplication::notifyInternal (this=0xbf8b48e0, receiver=0xc04a090, event=0xbf8b4234) at kernel/qcoreapplication.cpp:876
#45 0xb6426e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QApplicationPrivate::sendMouseEvent (receiver=0xc04a090, event=0xbf8b4234, alienWidget=0x0, nativeWidget=0xc04a090, buttonDown=0xb6dbacf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#47 0xb64b37d2 in QETWidget::translateMouseEvent (this=0xc04a090, event=0xbf8b46ec) at kernel/qapplication_x11.cpp:4551
#48 0xb64b1c0d in QApplication::x11ProcessEvent (this=0xbf8b48e0, event=0xbf8b46ec) at kernel/qapplication_x11.cpp:3732
#49 0xb64dfa88 in QEventDispatcherX11::processEvents (this=0x9be72b0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#50 0xb5eb750d in QEventLoop::processEvents (this=0xbf8b4874, flags=...) at kernel/qeventloop.cpp:149
#51 0xb5eb77a9 in QEventLoop::exec (this=0xbf8b4874, flags=...) at kernel/qeventloop.cpp:204
#52 0xb5ebceba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#53 0xb6423a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#54 0xb75bc571 in kdemain (argc=2, argv=0xbf8b49f4) at /build/buildd/calligra-2.4.0/krita/main.cc:71
#55 0x0804850b in main (argc=2, argv=0xbf8b49f4) at /build/buildd/calligra-2.4.0/obj-i686-linux-gnu/krita/krita_dummy.cpp:3

This bug may be a duplicate of or related to bug 298879.

Possible duplicates by query: bug 298879.

Reported using DrKonqi
Comment 1 Sven Langkamp 2012-08-28 02:18:29 UTC
This crash has already been fixed some time ago and was released with Krita 2.5

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