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

            Bug ID: 358738
           Summary: Krita crashes when opening any file or creating new
                    one
           Product: krita
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: federico.fi...@gmail.com

Application: krita (2.9.10 (git ed01576))
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic x86_64
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
- What I was doing when the application crashed:
Open a .kra file or create a new file. Krita crashes seconds later, before the
action is complete.

The crash can be reproduced every time.

-- 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 0x7f6cbb149800 (LWP 2843))]

Thread 7 (Thread 0x7f6c8b7fe700 (LWP 2851)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6cb8ee2816 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb8ede95b in QSemaphore::acquire(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6cb729ac1e in KisTileDataPooler::waitForWork
(this=this@entry=0x297f930) at
/home/federico/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x00007f6cb729b03d in KisTileDataPooler::run (this=0x297f930) at
/home/federico/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6cb3156182 in start_thread (arg=0x7f6c8b7fe700) at
pthread_create.c:312
#7  0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f6c8bfff700 (LWP 2852)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6cb8ee2816 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb8eded63 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6cb72b7653 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/federico/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f6cb72b78ea in KisTileDataSwapper::run (this=0x297f970) at
/home/federico/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6cb3156182 in start_thread (arg=0x7f6c8bfff700) at
pthread_create.c:312
#7  0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f6c8a7fc700 (LWP 2854)):
#0  0x00007f6cb8679da3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6cb900f2c7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb9014824 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6cb9014c92 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6cb8fe30af in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6cb8fe33a5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6cb8edfc5f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6cb8fc4823 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f6cb3156182 in start_thread (arg=0x7f6c8a7fc700) at
pthread_create.c:312
#10 0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f6c89ffb700 (LWP 2855)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6cb8ee2816 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb9eb3e16 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6cb3156182 in start_thread (arg=0x7f6c89ffb700) at
pthread_create.c:312
#5  0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f6c88f7e700 (LWP 2856)):
#0  0x00007f6cb8679da3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6cb900f2c7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb9014824 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6cb9014c92 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6cb8fe30af in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6cb8fe33a5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6cb8edfc5f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6cb8fc4823 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f6cb3156182 in start_thread (arg=0x7f6c88f7e700) at
pthread_create.c:312
#10 0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f6c8affd700 (LWP 2865)):
#0  0x00007f6cb8679da3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6cb900f2c7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f6cb9014824 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f6cb9014c92 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f6cb8fe30af in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f6cb8fe33a5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f6cb8edfc5f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f6cb8fc4823 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f6cb8ee232f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f6cb3156182 in start_thread (arg=0x7f6c8affd700) at
pthread_create.c:312
#10 0x00007f6cb868247d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f6cbb149800 (LWP 2843)):
[KCrash Handler]
#5  QString (other=<error reading variable: Cannot access memory at address
0x8>, this=this@entry=0x7ffcb651cb30) at /usr/include/qt4/QtCore/qstring.h:725
#6  KoResource::name (this=0x0) at
/home/federico/kde4/src/calligra/libs/pigment/resources/KoResource.cpp:114
#7  0x00007f6cba961d44 in KisToolPaint::activate (this=this@entry=0x4106d60,
toolActivation=KoToolBase::DefaultActivation, shapes=...) at
/home/federico/kde4/src/calligra/krita/ui/tool/kis_tool_paint.cc:161
#8  0x00007f6cba955955 in KisToolFreehand::activate (this=this@entry=0x4106d60,
activation=<optimized out>, shapes=...) at
/home/federico/kde4/src/calligra/krita/ui/tool/kis_tool_freehand.cc:142
#9  0x00007f6c98dc9dc0 in KisToolBrush::activate (this=0x4106d60,
activation=<optimized out>, shapes=...) at
/home/federico/kde4/src/calligra/krita/plugins/tools/defaulttools/kis_tool_brush.cc:83
#10 0x00007f6cb4f783f5 in KoToolManager::Private::postSwitchTool
(this=this@entry=0x27de410, temporary=temporary@entry=false) at
/home/federico/kde4/src/calligra/libs/flake/KoToolManager.cpp:429
#11 0x00007f6cb4f78be6 in KoToolManager::Private::switchTool (this=0x27de410,
tool=0x4106d60, temporary=<optimized out>) at
/home/federico/kde4/src/calligra/libs/flake/KoToolManager.cpp:360
#12 0x00007f6cb4f78dfe in KoToolManager::Private::switchTool (this=0x27de410,
id=..., temporary=temporary@entry=false) at
/home/federico/kde4/src/calligra/libs/flake/KoToolManager.cpp:383
#13 0x00007f6cb4f797d3 in KoToolManager::switchToolRequested (this=<optimized
out>, id=...) at
/home/federico/kde4/src/calligra/libs/flake/KoToolManager.cpp:927
#14 0x00007f6cbaa84f8e in KisView::setViewManager (this=this@entry=0x36e7570,
view=<optimized out>) at
/home/federico/kde4/src/calligra/krita/ui/KisView.cpp:406
#15 0x00007f6cbaa52385 in KisMainWindow::showView (this=0x1e6a0f0,
imageView=0x36e7570) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:504
#16 0x00007f6cbaa50d49 in KisMainWindow::addView (this=0x1e6a0f0,
view=0x36e7570) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:490
#17 0x00007f6cbaa50df6 in KisMainWindow::slotLoadCompleted (this=0x1e6a0f0) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:724
#18 0x00007f6cbaa63985 in KisMainWindow::qt_static_metacall (_o=0x1e6a0f0,
_c=QMetaObject::InvokeMetaMethod, _id=128, _a=0x7ffcb651d0b0) at
/home/federico/kde4/build/krita/ui/KisMainWindow.moc:173
#19 0x00007f6cb8ff887a in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007f6cbaa20f93 in KisDocument::completed (this=<optimized out>) at
/home/federico/kde4/build/krita/ui/KisDocument.moc:245
#21 0x00007f6cbaa2e979 in openLocalFile (this=0x3833dc0) at
/home/federico/kde4/src/calligra/krita/ui/KisDocument.cpp:403
#22 KisDocument::openUrlInternal (this=this@entry=0x36ce190, url=...) at
/home/federico/kde4/src/calligra/krita/ui/KisDocument.cpp:2436
#23 0x00007f6cbaa2ec50 in KisDocument::openUrl (this=this@entry=0x36ce190,
_url=..., flags=flags@entry=KisDocument::OPEN_URL_FLAG_NONE) at
/home/federico/kde4/src/calligra/krita/ui/KisDocument.cpp:1240
#24 0x00007f6cbaa50fc6 in KisMainWindow::openDocumentInternal
(this=this@entry=0x1e6a0f0, url=..., newdoc=0x36ce190, newdoc@entry=0x0) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:702
#25 0x00007f6cbaa59ed5 in KisMainWindow::openDocument
(this=this@entry=0x1e6a0f0, url=...) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:689
#26 0x00007f6cbaa5d012 in KisMainWindow::slotFileOpen (this=0x1e6a0f0) at
/home/federico/kde4/src/calligra/krita/ui/KisMainWindow.cpp:1181
#27 0x00007f6cbaa63b15 in KisMainWindow::qt_static_metacall (_o=0x1e6a0f0,
_c=QMetaObject::InvokeMetaMethod, _id=128, _a=0x7ffcb651d7a0) at
/home/federico/kde4/build/krita/ui/KisMainWindow.moc:154
#28 0x00007f6cb8ff887a in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f6cb99d0a62 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f6cb99d2433 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f6cb9e00509 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f6cb9e04a39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f6cb3b86615 in KMenu::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libkdeui.so.5
#34 0x00007f6cb9a2651a in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007f6cb9e0883b in QMenu::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007f6cb99d6e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f6cb99dd5dd in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f6cbaa1a4f7 in KisApplication::notify (this=<optimized out>,
receiver=0x2fc52b0, event=0x7ffcb651dee0) at
/home/federico/kde4/src/calligra/krita/ui/KisApplication.cpp:543
#39 0x00007f6cb8fe44dd in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f6cb99dcd93 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007f6cb9a51d1c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f6cb9a51289 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007f6cb9a794a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007f6cb8fe30af in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f6cb8fe33a5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f6cb8fe8b79 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x000000000040277a in main (argc=<optimized out>, argv=<optimized out>) at
/home/federico/kde4/src/calligra/krita/main.cc:204

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to