Bug 277148 - Export document as jpeg after a layer crop crash
Summary: Export document as jpeg after a layer crop crash
Status: RESOLVED FIXED
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-07-05 15:58 UTC by sinozzuke
Modified: 2011-12-28 16:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sinozzuke 2011-07-05 15:58:07 UTC
Application: krita (2.4 Alpha 2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: KXStudio 11.04

-- Information about the crash:
- What I was doing when the application crashed:
1. Some gaussian blur on a layer
2. Crop the document
3. Export as jpeg
4. Press Export, and get the crash

-- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb508cb7780 (LWP 10023))]

Thread 7 (Thread 0x7fb4e32e9700 (LWP 10027)):
#0  0x00007fb50658a143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb50796a32c in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007fb50796f3d0 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007fb50797004a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb507858924 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb507923c2f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fb50405bd8c in start_thread (arg=0x7fb4e32e9700) at pthread_create.c:304
#10 0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb4e3aea700 (LWP 10028)):
#0  0x00007fb50658a143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb50796a32c in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007fb50796f3d0 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007fb50797004a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb507858924 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb507923c2f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fb50405bd8c in start_thread (arg=0x7fb4e3aea700) at pthread_create.c:304
#10 0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb4e2ae8700 (LWP 10034)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb50785b82b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb507858235 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fb4f5574b7e in KisTileDataPooler::waitForWork (this=0x6317230) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007fb4f5575264 in KisTileDataPooler::run (this=0x6317230) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fb50405bd8c in start_thread (arg=0x7fb4e2ae8700) at pthread_create.c:304
#7  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb4d21d3700 (LWP 10035)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb50785b82b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb507858469 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007fb4f5595aba in KisTileDataSwapper::run (this=0x6317268) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fb50405bd8c in start_thread (arg=0x7fb4d21d3700) at pthread_create.c:304
#6  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb4d11d1700 (LWP 10041)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007fb4d01583fc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007fb4cfb5dd08 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007fb4cfb5dbcd in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007fb50405bd8c in start_thread (arg=0x7fb4d11d1700) at pthread_create.c:304
#5  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb4d19d2700 (LWP 10042)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007fb4d01583fc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007fb4cfb5dd08 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007fb4cfb5dbcd in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007fb50405bd8c in start_thread (arg=0x7fb4d19d2700) at pthread_create.c:304
#5  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb508cb7780 (LWP 10023)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fb4f527aaa9 in KoProgressUpdater::updateUi (this=0x606ef80) at /home/sinozzuke/kde4/src/calligra/libs/main/KoProgressUpdater.cpp:202
#8  0x00007fb4f527ac91 in KoProgressUpdater::qt_metacall (this=0x606ef80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /home/sinozzuke/kde4/build/calligra/libs/main/KoProgressUpdater.moc:74
#9  0x00007fb5079575f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007fb5079561c9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007fb506cff9f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fb506d043ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fb5086bd866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007fb50794249c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007fb50796ff12 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fb50797005b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007fb506daa2ec in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fb5071c0fd6 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#21 0x00007fb4c899b2c8 in KisJPEGExport::convert (this=0x5fe7c40, from=<value optimized out>, to=<value optimized out>) at /home/sinozzuke/kde4/src/calligra/krita/plugins/formats/jpeg/kis_jpeg_export.cc:81
#22 0x00007fb4f526f096 in CalligraFilter::ChainLink::invokeFilter (this=0x62dfb00, parentChainLink=0x0) at /home/sinozzuke/kde4/src/calligra/libs/main/KoFilterChainLink.cpp:90
#23 0x00007fb4f5266f89 in KoFilterChain::invokeChain (this=0x62757b0) at /home/sinozzuke/kde4/src/calligra/libs/main/KoFilterChain.cpp:94
#24 0x00007fb4f5264184 in KoFilterManager::exportDocument (this=0x62dbe30, url=<value optimized out>, mimeType=...) at /home/sinozzuke/kde4/src/calligra/libs/main/KoFilterManager.cpp:243
#25 0x00007fb4f521a613 in KoDocument::saveFile (this=0x5ba00d0) at /home/sinozzuke/kde4/src/calligra/libs/main/KoDocument.cpp:531
#26 0x00007fb4fa597060 in KParts::ReadWritePart::save() () from /usr/lib/libkparts.so.4
#27 0x00007fb4fa596481 in KParts::ReadWritePart::saveAs(KUrl const&) () from /usr/lib/libkparts.so.4
#28 0x00007fb4f5245b54 in KoMainWindow::saveDocument (this=0x5beac70, saveas=<value optimized out>, silent=false) at /home/sinozzuke/kde4/src/calligra/libs/main/KoMainWindow.cpp:967
#29 0x00007fb4f523b054 in KoMainWindow::slotFileSaveAs (this=0x5beac70) at /home/sinozzuke/kde4/src/calligra/libs/main/KoMainWindow.cpp:1244
#30 0x00007fb4f5243f46 in KoMainWindow::qt_metacall (this=0x5beac70, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff1ac06a50) at /home/sinozzuke/kde4/build/calligra/libs/main/KoMainWindow.moc:149
#31 0x00007fb5079575f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#32 0x00007fb506cf9122 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#33 0x00007fb506cf930f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#34 0x00007fb50713d9f3 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007fb5071439aa in ?? () from /usr/lib/libQtGui.so.4
#36 0x00007fb508783e8d in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007fb506d50cc8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007fb507144b8b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007fb506cff9f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007fb506d04dc3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007fb5086bd866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#42 0x00007fb50794249c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#43 0x00007fb506d00a1d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#44 0x00007fb506d823e4 in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007fb506d80ab7 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#46 0x00007fb506daa224 in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x00007fb507945ecb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#50 0x00007fb4f5e79685 in kdemain (argc=<value optimized out>, argv=0x1d69a20) at /home/sinozzuke/kde4/src/calligra/krita/main.cc:49
#51 0x0000000000406dd3 in _start ()

Possible duplicates by query: bug 273081.

Reported using DrKonqi
Comment 1 Halla Rempt 2011-07-07 10:30:09 UTC
This is the KoProgressUpdater problem... I can't easily reproduce with Krita, but we've seen it with other Calligra apps.
Comment 2 Sven Langkamp 2011-12-21 12:26:02 UTC
A fix has been commited for the slider that might have fixed this problem. I can't check if it makes a differences as it never happened here.
Comment 3 Sven Langkamp 2011-12-28 16:35:52 UTC
Most likely fixed, if it reappears please reopen.