Bug 322809 - Krita crashes when creating a new flie
Summary: Krita crashes when creating a new flie
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Pre-Alpha
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-25 10:44 UTC by Cesar Tellez
Modified: 2013-08-27 19:11 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 Cesar Tellez 2013-07-25 10:44:40 UTC
Application: krita (2.8 Pre-Alpha)
KDE Platform Version: 4.10.5
Qt Version: 4.8.2
Operating System: Linux 3.2.0-49-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Simply trying to create a new file. The size and color space don't seem to matter, it simply crases.

- Custom settings of the application:

I stopped using Krita for about 2 weeks or so, then I updated to the current version from Krita lime and at the first two attemps it didn't crash, but it didn't matter how many strokes I made, I couldn't apaint in the canvas. I tried enabling and disabling open GL and locking and unlocking the current layer, but the canvas remained in white. I thought it could be due to a new tablet setting option in the new version, so I went to tools>configure Krita> tablet settings> and changed one of the shortcuts, when I clicked in "apply" Krita crashed, that's when the problem started, since then I can't create o load any file as the app crashes inmediatly, it's unusable.

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 0x7f1f1c3e17c0 (LWP 3955))]

Thread 8 (Thread 0x7f1efb117700 (LWP 3957)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f197c15ab in wait (time=18446744073709551615, this=0x8c91800) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27700b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1f197bd3e4 in QSemaphore::acquire (this=0x8c91520, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f1f037987dd in waitForWork (this=0x8c91510) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x8c91510) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f1f197c109b in QThreadPrivate::start (arg=0x8c91510) at thread/qthread_unix.cpp:307
#7  0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f1f15510e9a in start_thread (arg=0x7f1efb117700) at pthread_create.c:308
#9  0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1efa916700 (LWP 3958)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f197c15ab in wait (time=18446744073709551615, this=0x8c91b70) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x28f1a60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1f197bd829 in QSemaphore::tryAcquire (this=0x8c91870, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f1f037c778a in KisTileDataSwapper::run (this=0x8c91548) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f1f197c109b in QThreadPrivate::start (arg=0x8c91548) at thread/qthread_unix.cpp:307
#6  0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f1f15510e9a in start_thread (arg=0x7f1efa916700) at pthread_create.c:308
#8  0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1ef8c1b700 (LWP 3965)):
#0  0x00007fff781258de in ?? ()
#1  0x00007f1f1387415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f1f19817c84 in do_gettime (frac=0x7f1ef8c1aa58, sec=0x7f1ef8c1aa50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f1f198f008d in QTimerInfoList::updateCurrentTime (this=0x7f1ee6d26298) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f1f198f1976 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f1ee6d25a30, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#6  0x00007f1f198f21a3 in QEventDispatcherUNIX::processEvents (this=0x7f1ee4000920, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#7  0x00007f1f198bee62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1f198bf0b7 in QEventLoop::exec (this=0x7f1ef8c1acd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f1f197be077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f1f1989eb6f in QInotifyFileSystemWatcherEngine::run (this=0x9171a20) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f1f197c109b in QThreadPrivate::start (arg=0x9171a20) at thread/qthread_unix.cpp:307
#12 0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f1f15510e9a in start_thread (arg=0x7f1ef8c1b700) at pthread_create.c:308
#14 0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1ee991f700 (LWP 3966)):
#0  0x00007f1f1b894033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1f198ec866 in qt_safe_select (nfds=33, fdread=0x7f1ed8000af8, fdwrite=0x7f1ed8000d90, fdexcept=0x7f1ed8001028, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f1f198f1cb2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f1ed8000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f1f198f21a3 in QEventDispatcherUNIX::processEvents (this=0x7f1ed8000920, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f1f198bee62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1f198bf0b7 in QEventLoop::exec (this=0x7f1ee991ecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1f197be077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f1f1989eb6f in QInotifyFileSystemWatcherEngine::run (this=0x94b6690) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1f197c109b in QThreadPrivate::start (arg=0x94b6690) at thread/qthread_unix.cpp:307
#9  0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f1f15510e9a in start_thread (arg=0x7f1ee991f700) at pthread_create.c:308
#11 0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1ef9aa3700 (LWP 3977)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f197c15ab in wait (time=18446744073709551615, this=0xac31650) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xac311d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1f1a7c89a4 in QFileInfoGatherer::run (this=0xac311c0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f1f197c109b in QThreadPrivate::start (arg=0xac311c0) at thread/qthread_unix.cpp:307
#5  0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f1f15510e9a in start_thread (arg=0x7f1ef9aa3700) at pthread_create.c:308
#7  0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1ed3b7c700 (LWP 3978)):
#0  0x00007fff781258de in ?? ()
#1  0x00007f1f1387415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f1f19817c84 in do_gettime (frac=0x7f1ed3b7ba58, sec=0x7f1ed3b7ba50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f1f198f008d in QTimerInfoList::updateCurrentTime (this=0x7f1eb858ec08) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f1f198f1976 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f1eb858e3a0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#6  0x00007f1f198f21a3 in QEventDispatcherUNIX::processEvents (this=0x7f1eb8000920, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#7  0x00007f1f198bee62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1f198bf0b7 in QEventLoop::exec (this=0x7f1ed3b7bcd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f1f197be077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f1f1989eb6f in QInotifyFileSystemWatcherEngine::run (this=0xac31750) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f1f197c109b in QThreadPrivate::start (arg=0xac31750) at thread/qthread_unix.cpp:307
#12 0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007f1f15510e9a in start_thread (arg=0x7f1ed3b7c700) at pthread_create.c:308
#14 0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1eea120700 (LWP 3982)):
#0  0x00007f1f087e54df in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#1  0x00007f1f087e2266 in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#2  0x00007f1f087e67fe in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#3  0x00007f1f087e12ae in jpeg_read_scanlines () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#4  0x00007f1f08a1ebdd in read_jpeg_image (outImage=0x7f1eea11fc90, scaledSize=..., scaledClipRect=..., clipRect=..., inQuality=-1, info=0x7f1ecfe22fc8, err=0x7f1ecfe23260) at ../../../gui/image/qjpeghandler.cpp:406
#5  0x00007f1f08a201d2 in QJpegHandlerPrivate::read (this=0x7f1ecfe22f80, image=0x7f1eea11fc90) at ../../../gui/image/qjpeghandler.cpp:787
#6  0x00007f1f1a3892a8 in QImageReader::read (this=0x7f1eea11fd10, image=0x7f1eea11fc90) at image/qimagereader.cpp:1205
#7  0x00007f1f1a3898d7 in QImageReader::read (this=0x7f1eea11fd10) at image/qimagereader.cpp:1155
#8  0x00007f1eea5d871e in KisImageLoader::run (this=0x8ffc8a0) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/plugins/extensions/dockers/imagedocker/kis_image_strip_scene.cpp:58
#9  0x00007f1f197c109b in QThreadPrivate::start (arg=0x8ffc8a0) at thread/qthread_unix.cpp:307
#10 0x00007f1f0fedc764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f1f15510e9a in start_thread (arg=0x7f1eea120700) at pthread_create.c:308
#12 0x00007f1f1b89accd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f1c3e17c0 (LWP 3955)):
[KCrash Handler]
#6  0x00007f1f1b7dd425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f1f1b7e0b8b in __GI_abort () at abort.c:91
#8  0x00007f1f197b65db in qt_message_output (msgType=<optimized out>, buf=0xe872498 "ASSERT failure in QList<T>::at: \"index out of range\", file /usr/include/qt4/QtCore/qlist.h, line 469") at global/qglobal.cpp:2284
#9  0x00007f1f197b698f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f1f19923fb8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff780967a8) at global/qglobal.cpp:2330
#10 0x00007f1f197b6b34 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2513
#11 0x00007f1f0436003b in at (i=0, this=0x7fff78096930) at /usr/include/qt4/QtCore/qlist.h:469
#12 KisInputManager::Private::addKeyShortcut (this=0xb371870, action=<optimized out>, index=<optimized out>, keys=...) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/ui/input/kis_input_manager.cpp:152
#13 0x00007f1f04360374 in KisInputManager::profileChanged (this=0xb371790) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/ui/input/kis_input_manager.cpp:540
#14 0x00007f1f0407c128 in qt_static_metacall (_id=2, _o=0xb371790, _c=<optimized out>, _a=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_manager.cpp:54
#15 KisInputManager::qt_static_metacall (_o=0xb371790, _c=<optimized out>, _id=2, _a=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/krita/ui/moc_kis_input_manager.cpp:46
#16 0x00007f1f198d4781 in QMetaObject::activate (sender=0xb371910, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007f1f0437e08f in KisInputProfileManager::loadProfiles (this=0xb371910) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/ui/input/kis_input_profile_manager.cpp:225
#18 0x00007f1f04237315 in KisView2::KisView2 (this=0x95e6e10, part=<optimized out>, doc=<optimized out>, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/ui/kis_view2.cpp:411
#19 0x00007f1f041638ea in KisPart2::createViewInstance (this=0x8fdcab0, parent=0x8ff44f0) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/ui/kis_part2.cpp:72
#20 0x00007f1f1b5497ca in KoPart::createView (this=0x8fdcab0, parent=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoPart.cpp:234
#21 0x00007f1f1b4cc363 in KoMainWindow::setRootDocument (this=0x8ff44f0, doc=0x8fdc9e0, rootPart=0x8fdcab0) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoMainWindow.cpp:500
#22 0x00007f1f1b54a8a7 in KoPart::deleteOpenPane (this=0x8fdcab0, closing=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoPart.cpp:475
#23 0x00007f1f1b54acb1 in KoPart::openTemplate (this=0x8fdcab0, url=...) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoPart.cpp:383
#24 0x00007f1f198d4781 in QMetaObject::activate (sender=0x91977c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff780976f0) at kernel/qobject.cpp:3547
#25 0x00007f1f1b52b4ec in openTemplate (_t1=..., this=0x91977c0) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/libs/main/KoOpenPane.moc:125
#26 KoOpenPane::qt_static_metacall (_o=0x91977c0, _id=1, _a=0x7fff780978b0, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/libs/main/KoOpenPane.moc:64
#27 0x00007f1f198d4781 in QMetaObject::activate (sender=0x95fefe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff780978b0) at kernel/qobject.cpp:3547
#28 0x00007f1f1b527642 in KoDetailsPane::openUrl (this=<optimized out>, _t1=...) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/libs/main/KoDetailsPane.moc:119
#29 0x00007f1f1b53835d in KoTemplatesPane::openFile (this=0x95fefe0, index=...) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoTemplatesPane.cpp:139
#30 0x00007f1f1b5270eb in KoDetailsPane::openFile (this=0x95fefe0) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoDetailsPane.cpp:120
#31 0x00007f1f1b52755c in KoDetailsPane::qt_static_metacall (_o=0x95fefe0, _id=4, _a=0x7fff78097b40, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/obj-x86_64-linux-gnu/libs/main/KoDetailsPane.moc:66
#32 0x00007f1f198d4781 in QMetaObject::activate (sender=0x9628b60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff78097b40) at kernel/qobject.cpp:3547
#33 0x00007f1f1a94f432 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#34 0x00007f1f1a68cece in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#35 0x00007f1f1a68e20b in QAbstractButtonPrivate::click (this=0x9628ba0) at widgets/qabstractbutton.cpp:541
#36 0x00007f1f1a68e47c in QAbstractButton::mouseReleaseEvent (this=0x9628b60, e=0x7fff78098420) at widgets/qabstractbutton.cpp:1123
#37 0x00007f1f1a30efb4 in QWidget::event (this=0x9628b60, event=0x7fff78098420) at kernel/qwidget.cpp:8371
#38 0x00007f1f1a2be7b4 in notify_helper (e=0x7fff78098420, receiver=0x9628b60, this=0x238b5a0) at kernel/qapplication.cpp:4556
#39 QApplicationPrivate::notify_helper (this=0x238b5a0, receiver=0x9628b60, e=0x7fff78098420) at kernel/qapplication.cpp:4528
#40 0x00007f1f1a2c3f2f in QApplication::notify (this=<optimized out>, receiver=0x9628b60, e=0x7fff78098420) at kernel/qapplication.cpp:4099
#41 0x00007f1f1b4872ae in KoApplication::notify (this=<optimized out>, receiver=0x9628b60, event=0x7fff78098420) at /build/buildd/krita-testing-2+git20130719+r74129-41/libs/main/KoApplication.cpp:556
#42 0x00007f1f198c032c in QCoreApplication::notifyInternal (this=0x7fff78098f90, receiver=0x9628b60, event=0x7fff78098420) at kernel/qcoreapplication.cpp:915
#43 0x00007f1f1a2bf782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=0x9628b60, event=0x7fff78098420, alienWidget=0x9628b60, nativeWidget=0x95fefe0, buttonDown=0x9628b60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#45 0x00007f1f1a33eb15 in QETWidget::translateMouseEvent (this=0x95fefe0, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#46 0x00007f1f1a33dace in QApplication::x11ProcessEvent (this=0x7fff78098f90, event=0x7fff78098d00) at kernel/qapplication_x11.cpp:3732
#47 0x00007f1f1a367aba in QEventDispatcherX11::processEvents (this=0x22abc60, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#48 0x00007f1f198bee62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f1f198bf0b7 in QEventLoop::exec (this=0x7fff78098f50, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f1f198c4407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x00007f1f1bda1b5d in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130719+r74129-41/krita/main.cc:79
#52 0x00007f1f1b7c876d in __libc_start_main (main=0x400650 <main(int, char**)>, argc=1, ubp_av=0x7fff78099158, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff78099148) at libc-start.c:226
#53 0x0000000000400681 in _start ()

Possible duplicates by query: bug 322782, bug 322707, bug 322518, bug 321758, bug 321616.

Reported using DrKonqi
Comment 1 Ico_dY 2013-08-16 06:11:09 UTC
Application: krita (git) 
KDE Platform Version: 4.11.0
Qt Version: 4.8.2 
Operating System: Linux 3.5.0-37-generic x86_64 
Distribution: Xubuntu 12.04.2 LTS

At the opening, after selecting a template, Krita crashes.
Happens every time. The software is basically unusable now.

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 0x7ff41a3ab780 (LWP 27376))]

Thread 7 (Thread 0x7ff402840700 (LWP 27379)):
#0  0x00007ff4198618cd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff412ead8cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff412e72ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff412e72fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff412e7349a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff4096d1406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007ff412e949e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ff41333fe9a in start_thread (arg=0x7ff402840700) at pthread_create.c:308
#8  0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff3ef484700 (LWP 27380)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff4177b95ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ff4177b53e4 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ff3f7c6257e in KisTileDataPooler::waitForWork (this=0x31ae5a0) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007ff3f7c62cd4 in KisTileDataPooler::run (this=0x31ae5a0) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007ff4177b909b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ff41333fe9a in start_thread (arg=0x7ff3ef484700) at pthread_create.c:308
#7  0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff3eec83700 (LWP 27381)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff4177b95ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ff4177b5829 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ff3f7c7feaa in KisTileDataSwapper::run (this=0x31ae5d8) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007ff4177b909b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ff41333fe9a in start_thread (arg=0x7ff3eec83700) at pthread_create.c:308
#6  0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff3e7fff700 (LWP 27393)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff4177b95ab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ff4187c19a4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007ff4177b909b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ff41333fe9a in start_thread (arg=0x7ff3e7fff700) at pthread_create.c:308
#5  0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff3ed632700 (LWP 27394)):
#0  0x00007ff419868033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff4178e4866 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ff4178e9cb2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ff4178ea1a3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ff4178b6e62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ff4178b70b7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ff4177b6077 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ff417896b6f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ff4177b909b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ff41333fe9a in start_thread (arg=0x7ff3ed632700) at pthread_create.c:308
#10 0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff3ede33700 (LWP 27395)):
#0  0x00007ff4198618cd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff417885d1d in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ff41788d93e in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ff417843ce6 in QFile::readData(char*, long long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ff417849df5 in QIODevice::read(char*, long long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ff3f9eec495 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqjpeg.so
#6  0x00007ff3fb55f60e in jpeg_fill_bit_buffer () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#7  0x00007ff3fb55fc2c in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#8  0x00007ff3fb55d266 in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#9  0x00007ff3fb5617fe in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#10 0x00007ff3fb55c2ae in jpeg_read_scanlines () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#11 0x00007ff3f9eecbdd in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqjpeg.so
#12 0x00007ff3f9eee1d2 in ?? () from /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqjpeg.so
#13 0x00007ff4183822a8 in QImageReader::read(QImage*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ff4183828d7 in QImageReader::read() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ff3cf1363ee in KisImageLoader::run (this=0x331e840) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/plugins/extensions/dockers/imagedocker/kis_image_strip_scene.cpp:58
#16 0x00007ff4177b909b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ff41333fe9a in start_thread (arg=0x7ff3ede33700) at pthread_create.c:308
#18 0x00007ff41986eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff41a3ab780 (LWP 27376)):
[KCrash Handler]
#6  KisActionManager::addAction (this=0xffff9100e8ef8948, action=0x26794320) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/ui/kis_action_manager.cpp:62
#7  0x00007ff33f711c51 in KisLayerComposePlugin::KisLayerComposePlugin (this=0x26796710, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/plugins/extensions/compose/kis_layer_compose_plugin.cpp:45
#8  0x00007ff33f711f97 in KPluginFactory::createInstance<KisLayerComposePlugin, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#9  0x00007ff417e316c1 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#10 0x00007ff3f84ac7c9 in create<QObject> (keyword=..., parent=0x3255ae0, this=0x26795750, args=..., parentWidget=0x0) at /usr/include/kpluginfactory.h:531
#11 createInstance<QObject> (error=0x7fff04f708e0, args=..., parent=0x3255ae0, parentWidget=0x0, this=0x801f540) at /usr/include/kservice.h:573
#12 createInstance<QObject> (error=0x7fff04f708e0, args=..., parent=0x3255ae0, this=0x801f540) at /usr/include/kservice.h:550
#13 KisView2::loadPlugins (this=0x3255ae0) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/ui/kis_view2.cpp:970
#14 0x00007ff3f84b06ef in KisView2::KisView2 (this=0x3255ae0, part=<optimized out>, doc=<optimized out>, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/ui/kis_view2.cpp:386
#15 0x00007ff3f843385a in KisPart2::createViewInstance (this=0x34e4860, parent=0x34e98c0) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/ui/kis_part2.cpp:72
#16 0x00007ff41952b7fa in KoPart::createView (this=0x34e4860, parent=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/libs/main/KoPart.cpp:234
#17 0x00007ff4194c03db in KoMainWindow::setRootDocument (this=0x34e98c0, doc=0x34cb280, rootPart=0x34e4860) at /media/sda7/Build/Koffice/calligra/calligra-src/libs/main/KoMainWindow.cpp:484
#18 0x00007ff41952e422 in KoPart::showStartUpWidget (this=0x34e4860, mainWindow=<optimized out>, alwaysShow=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/libs/main/KoPart.cpp:450
#19 0x00007ff3f8433aa8 in KisPart2::showStartUpWidget (this=0x34e4860, parent=0x34e98c0, alwaysShow=false) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/ui/kis_part2.cpp:104
#20 0x00007ff419483eed in KoApplication::start (this=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/libs/main/KoApplication.cpp:358
#21 0x00007ff419d75b02 in kdemain (argc=<optimized out>, argv=<optimized out>) at /media/sda7/Build/Koffice/calligra/calligra-src/krita/main.cc:71
#22 0x00007ff41979c76d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff04f720e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff04f720d8) at libc-start.c:226
#23 0x0000000000400661 in _start ()
Comment 2 Ico_dY 2013-08-21 06:30:31 UTC
I solved the problem adding -DBUILD_karbon=OFF to the compiling options and recompiling again from scratch.
Comment 3 Halla Rempt 2013-08-27 19:11:19 UTC
Two issues: ico_dY's was is that the layercompose plugin was removed (it never was finished). Having the old plugin around caused a crash. Cesar's issue was/is a packaging issue with krita lime. Somehow, there was no default input manager profile, and this should be fixed by uninstalling, removing .kde/share/config/kritarc and .kde/share/apps/krita and reinstalling.