Bug 314787 - "save image as" crash
Summary: "save image as" crash
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 19:47 UTC by Bollebib
Modified: 2013-03-10 13:17 UTC (History)
2 users (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 Bollebib 2013-02-09 19:47:17 UTC
Application: krita (2.7 Pre-Alpha)
KDE Platform Version: 4.10.00 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-37-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
"save image as" and crash on confirm
even on fresh opening of krita

12.04 ubuntu

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

Thread 8 (Thread 0x7f8289253700 (LWP 2864)):
#0  0x00007f829da1b8bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f82969178cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f82968dcba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f82968dcfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f82968dd49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f828925898b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f82968fe9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8296da9e9a in start_thread (arg=0x7f8289253700) at pthread_create.c:308
#8  0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8288a52700 (LWP 2865)):
#0  0x00007f829da1d303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f82968dd036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f82968dd49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f828c2af406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f82968fe9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8296da9e9a in start_thread (arg=0x7f8288a52700) at pthread_create.c:308
#6  0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8269ac8700 (LWP 2867)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f829b8e558b in wait (time=18446744073709551615, this=0x22e1450) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x22e1400, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f829b8e13c4 in QSemaphore::acquire (this=0x22e1150, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f82725b637e in KisTileDataPooler::waitForWork (this=0x22e1140) at /home/tabbun/Software/krita/src/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007f82725b6ad4 in KisTileDataPooler::run (this=0x22e1140) at /home/tabbun/Software/krita/src/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f829b8e507b in QThreadPrivate::start (arg=0x22e1140) at thread/qthread_unix.cpp:307
#7  0x00007f8296da9e9a in start_thread (arg=0x7f8269ac8700) at pthread_create.c:308
#8  0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f82692c7700 (LWP 2868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f829b8e558b in wait (time=18446744073709551615, this=0x22e17e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x22e1790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f829b8e1809 in QSemaphore::tryAcquire (this=0x22e14c0, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f82725d3daa in KisTileDataSwapper::run (this=0x22e1178) at /home/tabbun/Software/krita/src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f829b8e507b in QThreadPrivate::start (arg=0x22e1178) at thread/qthread_unix.cpp:307
#6  0x00007f8296da9e9a in start_thread (arg=0x7f82692c7700) at pthread_create.c:308
#7  0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8262ffd700 (LWP 2873)):
#0  0x00007f829da22023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f829ba10846 in qt_safe_select (nfds=35, fdread=0x7f824e51d6d8, fdwrite=0x7f824e51d970, fdexcept=0x7f824e51dc08, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f829ba15c92 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f824e51d520, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f829ba16183 in QEventDispatcherUNIX::processEvents (this=0x7f824c45b7b0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f829b9e2e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f829b9e3097 in QEventLoop::exec (this=0x7f8262ffcdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f829b8e2057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f829b9c2b4f in QInotifyFileSystemWatcherEngine::run (this=0x26b0ac0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f829b8e507b in QThreadPrivate::start (arg=0x26b0ac0) at thread/qthread_unix.cpp:307
#9  0x00007f8296da9e9a in start_thread (arg=0x7f8262ffd700) at pthread_create.c:308
#10 0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f82820b5700 (LWP 2886)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f829b8e558b in wait (time=18446744073709551615, this=0x2cd28390) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2cd27f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f829c8e99a4 in QFileInfoGatherer::run (this=0x2cd27f00) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f829b8e507b in QThreadPrivate::start (arg=0x2cd27f00) at thread/qthread_unix.cpp:307
#5  0x00007f8296da9e9a in start_thread (arg=0x7f82820b5700) at pthread_create.c:308
#6  0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f82627fc700 (LWP 2887)):
#0  0x00007f829da22023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f829ba10846 in qt_safe_select (nfds=47, fdread=0x7f82582bacb8, fdwrite=0x7f82582baf50, fdexcept=0x7f82582bb1e8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f829ba15c92 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f82582bab00, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f829ba16183 in QEventDispatcherUNIX::processEvents (this=0x7f82580008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f829b9e2e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f829b9e3097 in QEventLoop::exec (this=0x7f82627fbdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f829b8e2057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f829b9c2b4f in QInotifyFileSystemWatcherEngine::run (this=0x2cd28490) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f829b8e507b in QThreadPrivate::start (arg=0x2cd28490) at thread/qthread_unix.cpp:307
#9  0x00007f8296da9e9a in start_thread (arg=0x7f82627fc700) at pthread_create.c:308
#10 0x00007f829da28cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f829e4cf780 (LWP 2861)):
[KCrash Handler]
#6  0x00007f82745e18bd in QAccessibleTable2Cell::state (this=0x2dc4d6f0, child=<optimized out>) at itemviews.cpp:749
#7  0x00007f8274835971 in AtSpiAdaptor::accessibleInterface(QAccessibleInterface*, int, QString const&, QDBusMessage const&, QDBusConnection const&) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#8  0x00007f827483762b in AtSpiAdaptor::handleMessage(QDBusMessage const&, QDBusConnection const&) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#9  0x00007f8298b52985 in QDBusConnectionPrivate::activateObject (this=0x1bae5f0, node=..., msg=..., pathStartPos=27) at qdbusintegrator.cpp:1384
#10 0x00007f8298b52f2b in QDBusActivateObjectEvent::placeMetaCall (this=0x28f7250) at qdbusintegrator.cpp:1537
#11 0x00007f829b9fd926 in QObject::event (this=0x1bac720, e=<optimized out>) at kernel/qobject.cpp:1195
#12 0x00007f829c3df7b4 in notify_helper (e=0x28f7250, receiver=0x1bac720, this=0x18f27d0) at kernel/qapplication.cpp:4556
#13 QApplicationPrivate::notify_helper (this=0x18f27d0, receiver=0x1bac720, e=0x28f7250) at kernel/qapplication.cpp:4528
#14 0x00007f829c3e4583 in QApplication::notify (this=0x7fffa44408f0, receiver=0x1bac720, e=0x28f7250) at kernel/qapplication.cpp:4417
#15 0x00007f829d5c6e9e in KoApplication::notify (this=<optimized out>, receiver=0x1bac720, event=0x28f7250) at /home/tabbun/Software/krita/src/libs/main/KoApplication.cpp:555
#16 0x00007f829b9e430c in QCoreApplication::notifyInternal (this=0x7fffa44408f0, receiver=0x1bac720, event=0x28f7250) at kernel/qcoreapplication.cpp:915
#17 0x00007f829b9e80ea in sendEvent (event=0x28f7250, receiver=0x1bac720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1869670) at kernel/qcoreapplication.cpp:1539
#19 0x00007f829c48897a in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 QEventDispatcherX11::processEvents (this=0x186ab30, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#21 0x00007f829b9e2e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f829b9e3097 in QEventLoop::exec (this=0x7fffa443ea30, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f829c8aff86 in QDialog::exec (this=0x296bfa0) at dialogs/qdialog.cpp:554
#24 0x00007f829d60a2fa in KoMainWindow::saveDocument (this=0x270d690, saveas=<optimized out>, silent=false) at /home/tabbun/Software/krita/src/libs/main/KoMainWindow.cpp:952
#25 0x00007f829d60c300 in KoMainWindow::slotFileSaveAs (this=0x270d690) at /home/tabbun/Software/krita/src/libs/main/KoMainWindow.cpp:1321
#26 0x00007f829d60dbda in KoMainWindow::qt_static_metacall (_o=0x270d690, _c=<optimized out>, _id=<optimized out>, _a=0x7fffa443f1a0) at /home/tabbun/Software/krita/build/libs/main/KoMainWindow.moc:116
#27 0x00007f829b9f8761 in QMetaObject::activate (sender=0x2753a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa443f1a0) at kernel/qobject.cpp:3547
#28 0x00007f829c3d9072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#29 0x00007f829c3d925f in QAction::activate (this=0x2753a60, event=<optimized out>) at kernel/qaction.cpp:1257
#30 0x00007f829c82b5e9 in QMenuPrivate::activateCausedStack (this=0x2771ec0, causedStack=..., action=0x2753a60, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#31 0x00007f829c831742 in QMenuPrivate::activateAction (this=0x2771ec0, action=0x2753a60, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#32 0x00007f829d1db910 in KMenu::mouseReleaseEvent (this=0x279dfd0, e=0x7fffa443fd80) at ../../kdeui/widgets/kmenu.cpp:464
#33 0x00007f829c42ffb4 in QWidget::event (this=0x279dfd0, event=0x7fffa443fd80) at kernel/qwidget.cpp:8371
#34 0x00007f829c832cdb in QMenu::event (this=0x279dfd0, e=0x7fffa443fd80) at widgets/qmenu.cpp:2469
#35 0x00007f829c3df7b4 in notify_helper (e=0x7fffa443fd80, receiver=0x279dfd0, this=0x18f27d0) at kernel/qapplication.cpp:4556
#36 QApplicationPrivate::notify_helper (this=0x18f27d0, receiver=0x279dfd0, e=0x7fffa443fd80) at kernel/qapplication.cpp:4528
#37 0x00007f829c3e4f2f in QApplication::notify (this=<optimized out>, receiver=0x279dfd0, e=0x7fffa443fd80) at kernel/qapplication.cpp:4099
#38 0x00007f829d5c6e9e in KoApplication::notify (this=<optimized out>, receiver=0x279dfd0, event=0x7fffa443fd80) at /home/tabbun/Software/krita/src/libs/main/KoApplication.cpp:555
#39 0x00007f829b9e430c in QCoreApplication::notifyInternal (this=0x7fffa44408f0, receiver=0x279dfd0, event=0x7fffa443fd80) at kernel/qcoreapplication.cpp:915
#40 0x00007f829c3e0782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QApplicationPrivate::sendMouseEvent (receiver=0x279dfd0, event=0x7fffa443fd80, alienWidget=0x0, nativeWidget=0x279dfd0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#42 0x00007f829c4601e1 in QETWidget::translateMouseEvent (this=0x279dfd0, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#43 0x00007f829c45eace in QApplication::x11ProcessEvent (this=0x7fffa44408f0, event=0x7fffa4440660) at kernel/qapplication_x11.cpp:3732
#44 0x00007f829c488aba in QEventDispatcherX11::processEvents (this=0x186ab30, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#45 0x00007f829b9e2e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f829b9e3097 in QEventLoop::exec (this=0x7fffa44408b0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f829b9e83e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#48 0x00007f829dedaa6d in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/tabbun/Software/krita/src/krita/main.cc:80
#49 0x00007f829d95676d in __libc_start_main (main=0x400620 <main(int, char**)>, argc=1, ubp_av=0x7fffa4440ab8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa4440aa8) at libc-start.c:226
#50 0x0000000000400651 in _start ()

Reported using DrKonqi
Comment 1 Sven Langkamp 2013-02-09 20:12:34 UTC
Is that reproduceable?
Comment 2 Halla Rempt 2013-02-10 09:27:42 UTC
That backtrace is extremely puzzling: something weird is happening in the accessibility code of Qt -- it's not in Krita code at all.
Comment 3 Halla Rempt 2013-02-10 09:31:28 UTC
I searched for it a bit, and it happens in other KDE apps as well:

https://bugs.kde.org/show_bug.cgi?id=310797
https://bugs.kde.org/show_bug.cgi?id=305054

I actually think this might be a bug in some versions of Qt.
Comment 4 Sven Langkamp 2013-02-16 19:30:41 UTC
You can work around the problem by uninstalling the qt-at-spi package.
Comment 5 Sven Langkamp 2013-02-16 20:15:38 UTC
Reported it to Launchpad https://bugs.launchpad.net/ubuntu/+source/qt-at-spi/+bug/1127461