Bug 332166 - Krita crashes on export
Summary: Krita crashes on export
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-15 01:17 UTC by Abdelrahman Magdy
Modified: 2014-04-30 14:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (15.41 KB, text/plain)
2014-03-15 01:23 UTC, Abdelrahman Magdy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abdelrahman Magdy 2014-03-15 01:17:46 UTC
Application: krita (2.8.0)
KDE Platform Version: 4.12.3
Qt Version: 4.8.2
Operating System: Linux 3.8.0-37-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was working on a design and I saved it as a kra file. Everytime I tried to export it as a png file, the program crashed

The crash can be reproduced every time.

-- 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 0x7f147918d780 (LWP 32718))]

Thread 7 (Thread 0x7f14607d3700 (LWP 32721)):
#0  0x00007f14789e0a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f146fe97ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f146fe9845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14607d898b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f146feb99b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1470364e9a in start_thread (arg=0x7f14607d3700) at pthread_create.c:308
#6  0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f145ffd2700 (LWP 32722)):
#0  0x00007f14789e0a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f146fe97ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f146fe9845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14677375e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f146feb99b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1470364e9a in start_thread (arg=0x7f145ffd2700) at pthread_create.c:308
#6  0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f144a5d6700 (LWP 32723)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f14763845ab in wait (time=18446744073709551615, this=0x189cf90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18955b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14763803e4 in QSemaphore::acquire (this=0x189ccb0, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f1474fe572e in KisTileDataPooler::waitForWork (this=0x189cca0) at /build/buildd/calligra-2.8.0/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007f1474fe5e84 in KisTileDataPooler::run (this=0x189cca0) at /build/buildd/calligra-2.8.0/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f147638409b in QThreadPrivate::start (arg=0x189cca0) at thread/qthread_unix.cpp:307
#7  0x00007f1470364e9a in start_thread (arg=0x7f144a5d6700) at pthread_create.c:308
#8  0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1449dd5700 (LWP 32724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f14763845ab in wait (time=18446744073709551615, this=0x189d320) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x189d2d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1476380829 in QSemaphore::tryAcquire (this=0x189d000, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f1475003aaa in KisTileDataSwapper::run (this=0x189ccd8) at /build/buildd/calligra-2.8.0/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f147638409b in QThreadPrivate::start (arg=0x189ccd8) at thread/qthread_unix.cpp:307
#6  0x00007f1470364e9a in start_thread (arg=0x7f1449dd5700) at pthread_create.c:308
#7  0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f144877a700 (LWP 32733)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f14763845ab in wait (time=18446744073709551615, this=0x190dea0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145c7e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f147738c9a4 in QFileInfoGatherer::run (this=0x145c7d0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f147638409b in QThreadPrivate::start (arg=0x145c7d0) at thread/qthread_unix.cpp:307
#5  0x00007f1470364e9a in start_thread (arg=0x7f144877a700) at pthread_create.c:308
#6  0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1447f79700 (LWP 32734)):
#0  0x00007f14789e0a43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f146fe97ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f146fe98124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14764b2926 in QEventDispatcherGlib::processEvents (this=0x7f14341254c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1476481e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f14764820b7 in QEventLoop::exec (this=0x7f1447f78dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1476381077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f1476461b6f in QInotifyFileSystemWatcherEngine::run (this=0x14911a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f147638409b in QThreadPrivate::start (arg=0x14911a0) at thread/qthread_unix.cpp:307
#9  0x00007f1470364e9a in start_thread (arg=0x7f1447f79700) at pthread_create.c:308
#10 0x00007f14789ec3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f147918d780 (LWP 32718)):
[KCrash Handler]
#6  0x00007f147892e425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f1478931b8b in __GI_abort () at abort.c:91
#8  0x00007f14763795db in qt_message_output (msgType=<optimized out>, buf=0x248a7e8 "ASSERT failure in : \"Got an update for an invalid inteface. Investigate this.\", file atspiadaptor.cpp, line 899") at global/qglobal.cpp:2284
#9  0x00007f147637998f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f14764e6fb8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff93330288) at global/qglobal.cpp:2330
#10 0x00007f1476379b34 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2513
#11 0x00007f1454f5e24f in AtSpiAdaptor::notify(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007f14773a3bc1 in QAccessible::updateAccessibility (o=<optimized out>, who=0, reason=QAccessible::Focus) at accessible/qaccessible_unix.cpp:118
#13 0x00007f14773cfee8 in QListView::currentChanged (this=0x1e46fc0, current=..., previous=...) at itemviews/qlistview.cpp:3172
#14 0x00007f1476497781 in QMetaObject::activate (sender=0x23c7190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff93330b10) at kernel/qobject.cpp:3547
#15 0x00007f14774000aa in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#16 0x00007f14774001a0 in QItemSelectionModel::setCurrentIndex (this=0x23c7190, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#17 0x00007f14773ae6d4 in QAbstractItemView::mousePressEvent (this=0x1e46fc0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#18 0x00007f1476ed3299 in QWidget::event (this=0x1e46fc0, event=0x7fff933319c0) at kernel/qwidget.cpp:8367
#19 0x00007f1477293836 in QFrame::event (this=0x1e46fc0, e=0x7fff933319c0) at widgets/qframe.cpp:557
#20 0x00007f14773a7eeb in QAbstractItemView::viewportEvent (this=0x1e46fc0, event=0x7fff933319c0) at itemviews/qabstractitemview.cpp:1644
#21 0x00007f14764834b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1e4b230, event=0x7fff933319c0) at kernel/qcoreapplication.cpp:1025
#22 0x00007f1476e8277f in notify_helper (e=0x7fff933319c0, receiver=0x1e4b230, this=0x11a59c0) at kernel/qapplication.cpp:4552
#23 QApplicationPrivate::notify_helper (this=0x11a59c0, receiver=0x1e4b230, e=0x7fff933319c0) at kernel/qapplication.cpp:4528
#24 0x00007f1476e87f2f in QApplication::notify (this=<optimized out>, receiver=0x1e4b230, e=0x7fff933319c0) at kernel/qapplication.cpp:4099
#25 0x00007f147804351e in KoApplication::notify (this=<optimized out>, receiver=0x1e4b230, event=0x7fff933319c0) at /build/buildd/calligra-2.8.0/libs/main/KoApplication.cpp:590
#26 0x00007f147648332c in QCoreApplication::notifyInternal (this=0x7fff93334720, receiver=0x1e4b230, event=0x7fff933319c0) at kernel/qcoreapplication.cpp:915
#27 0x00007f1476e83782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=0x1e4b230, event=0x7fff933319c0, alienWidget=0x1e4b230, nativeWidget=0x7fff933326d0, buttonDown=0x1e4b230, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#29 0x00007f1476f02b15 in QETWidget::translateMouseEvent (this=0x7fff933326d0, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#30 0x00007f1476f01ace in QApplication::x11ProcessEvent (this=0x7fff93334720, event=0x7fff93332290) at kernel/qapplication_x11.cpp:3732
#31 0x00007f1476f2b052 in x11EventSourceDispatch (s=0x11a9a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f146fe97d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f146fe98060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f146fe98124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f14764b28bf in QEventDispatcherGlib::processEvents (this=0x11148e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007f1476f2acde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f1476481e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f14764820b7 in QEventLoop::exec (this=0x7fff93332630, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f1477352f86 in QDialog::exec (this=0x7fff933326d0) at dialogs/qdialog.cpp:554
#40 0x00007f1477365de0 in QFileDialog::getOpenFileName (parent=<optimized out>, caption=..., dir=..., filter=..., selectedFilter=0x7fff933327a0, options=...) at dialogs/qfiledialog.cpp:1798
#41 0x00007f1478078181 in KoFileDialogHelper::getOpenFileName (parent=0x1ae67e0, caption=..., dir=..., mimeList=..., defaultMime=..., uniqueName=...) at /build/buildd/calligra-2.8.0/libs/main/KoFileDialogHelper.cpp:131
#42 0x00007f1478089244 in KoMainWindow::slotFileOpen (this=0x1ae67e0) at /build/buildd/calligra-2.8.0/libs/main/KoMainWindow.cpp:1319
#43 0x00007f147808d235 in KoMainWindow::qt_static_metacall (_o=0x1ae67e0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff93332c70) at /build/buildd/calligra-2.8.0/obj-x86_64-linux-gnu/libs/main/KoMainWindow.moc:132
#44 0x00007f1476497781 in QMetaObject::activate (sender=0x1ae6e80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff93332c70) at kernel/qobject.cpp:3547
#45 0x00007f1476e7c072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#46 0x00007f1476e7c25f in QAction::activate (this=0x1ae6e80, event=<optimized out>) at kernel/qaction.cpp:1257
#47 0x00007f1476e7c3cf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#48 0x00007f1477ad1b3a in KAction::event (this=<optimized out>, event=0x7fff933332a0) at ../../kdeui/actions/kaction.cpp:131
#49 0x00007f1476e827b4 in notify_helper (e=0x7fff933332a0, receiver=0x1ae6e80, this=0x11a59c0) at kernel/qapplication.cpp:4556
#50 QApplicationPrivate::notify_helper (this=0x11a59c0, receiver=0x1ae6e80, e=0x7fff933332a0) at kernel/qapplication.cpp:4528
#51 0x00007f1476e87583 in QApplication::notify (this=0x7fff93334720, receiver=0x1ae6e80, e=0x7fff933332a0) at kernel/qapplication.cpp:4417
#52 0x00007f147804351e in KoApplication::notify (this=<optimized out>, receiver=0x1ae6e80, event=0x7fff933332a0) at /build/buildd/calligra-2.8.0/libs/main/KoApplication.cpp:590
#53 0x00007f147648332c in QCoreApplication::notifyInternal (this=0x7fff93334720, receiver=0x1ae6e80, event=0x7fff933332a0) at kernel/qcoreapplication.cpp:915
#54 0x00007f1476eb4729 in sendEvent (event=0x7fff933332a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff93333850) at kernel/qshortcutmap.cpp:879
#56 0x00007f1476eb5bfa in QShortcutMap::tryShortcutEvent (this=0x11a5ae0, o=<optimized out>, e=0x7fff93333850) at kernel/qshortcutmap.cpp:364
#57 0x00007f1476e88e02 in QApplication::notify (this=0x7fff93334720, receiver=0x1f4ac00, e=0x7fff93333850) at kernel/qapplication.cpp:3980
#58 0x00007f147804351e in KoApplication::notify (this=<optimized out>, receiver=0x1f4ac00, event=0x7fff93333850) at /build/buildd/calligra-2.8.0/libs/main/KoApplication.cpp:590
#59 0x00007f147648332c in QCoreApplication::notifyInternal (this=0x7fff93334720, receiver=0x1f4ac00, event=0x7fff93333850) at kernel/qcoreapplication.cpp:915
#60 0x00007f1476f26bc9 in QKeyMapper::sendKeyEvent (keyWidget=0x1f4ac00, grab=<optimized out>, type=QEvent::KeyPress, code=79, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=32, nativeVirtualKey=111, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#61 0x00007f1476f2703b in QKeyMapperPrivate::translateKeyEvent (this=0x11de3c0, keyWidget=0x1f4ac00, event=0x7fff93334340, grab=false) at kernel/qkeymapper_x11.cpp:1836
#62 0x00007f1476f01557 in QApplication::x11ProcessEvent (this=0x7fff93334720, event=0x7fff93334340) at kernel/qapplication_x11.cpp:3625
#63 0x00007f1476f2b052 in x11EventSourceDispatch (s=0x11a9a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007f146fe97d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f146fe98060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f146fe98124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f14764b28bf in QEventDispatcherGlib::processEvents (this=0x11148e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#68 0x00007f1476f2acde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f1476481e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007f14764820b7 in QEventLoop::exec (this=0x7fff933346e0, flags=...) at kernel/qeventloop.cpp:204
#71 0x00007f1476487407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#72 0x00007f1478d0893e in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/calligra-2.8.0/krita/main.cc:111
#73 0x00007f147891976d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff93334938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff93334928) at libc-start.c:226
#74 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Abdelrahman Magdy 2014-03-15 01:23:22 UTC
Created attachment 85581 [details]
New crash information added by DrKonqi

krita (2.8.0) on KDE Platform 4.12.3 using Qt 4.8.2

- What I was doing when the application crashed:
I was trying to open a file through the "Open File" dialog when the application crashed.

-- Backtrace (Reduced):
#6  0x00007fe41fec6425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe41fec9b8b in __GI_abort () at abort.c:91
[...]
#11 0x00007fe3fc46b24f in AtSpiAdaptor::notify(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007fe41e93bbc1 in QAccessible::updateAccessibility (o=<optimized out>, who=0, reason=QAccessible::Focus) at accessible/qaccessible_unix.cpp:118
#13 0x00007fe41e967ee8 in QListView::currentChanged (this=0x1047a70, current=..., previous=...) at itemviews/qlistview.cpp:3172
Comment 2 Abdelrahman Magdy 2014-03-15 01:33:41 UTC
I tried a solution that someone told me about and it seems to be working. I removed the qt-at-spi package, and now krita is not crashing neither on exporting nor on opening files.
Comment 3 Halla Rempt 2014-03-15 08:59:30 UTC
Hi Abdelrahman,

Yes, this isn't a bug in Krita, but either in Qt or in Ubuntu.
Comment 4 Abdelrahman Magdy 2014-03-15 10:20:45 UTC
Thanks Boudewijn... Actually, I think you were the one who suggested that solution back when I was using Krita 2.7 :D... so thank you very much
Comment 5 Jonathan Riddell 2014-03-17 13:09:31 UTC
Qt bug
https://bugreports.qt-project.org/browse/QTBUG-37568
Comment 6 Frederik Gladhorn 2014-04-30 14:16:52 UTC
Is this still an issue with newer versions of Ubuntu etc?
Comment 7 Abdelrahman Magdy 2014-04-30 14:41:03 UTC
@Frederik Gladhorn

As I noticed, the 14.04 version of Ubuntu doesn't have this issue. "qt-at-spi", the package that caused the problem with earlier Ubuntu versions, is installed in 14.04, but it doesn't cause the same problem anymore.