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

            Bug ID: 357173
           Summary: Krita crashes on close - segmentation fault
           Product: krita
           Version: 2.9.10
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: genmav...@gmail.com

Application: krita (2.9.10)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-22-generic x86_64
Distribution: Ubuntu 15.10

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

I had saved the file I was working on, and clicked on File>Exit, and the
program crashed instead of exiting cleanly.

The crash can be reproduced sometimes.

-- 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 0x7fe023ec7840 (LWP 12333))]

Thread 4 (Thread 0x7fe001d2a700 (LWP 12341)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe021a3e286 in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x3cbad60) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x3cbad10,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe021a3a063 in QSemaphore::acquire (this=this@entry=0x3cbaa30,
n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fe01e63c74b in KisTileDataPooler::waitForWork (this=0x3cbaa20) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  KisTileDataPooler::run (this=0x3cbaa20) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007fe021a3dd1c in QThreadPrivate::start (arg=0x3cbaa20) at
thread/qthread_unix.cpp:349
#7  0x00007fe01b8026aa in start_thread (arg=0x7fe001d2a700) at
pthread_create.c:333
#8  0x00007fe021159eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fdff6ad9700 (LWP 12342)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fe021a3c79a in thread_sleep (ti=ti@entry=0x7fdff6ad8da0) at
thread/qthread_unix.cpp:492
#2  0x00007fe021a3d07d in QThread::msleep (msecs=msecs@entry=700) at
thread/qthread_unix.cpp:518
#3  0x00007fe01e6650da in KisTileDataSwapper::run (this=0x3cbaa60) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007fe021a3dd1c in QThreadPrivate::start (arg=0x3cbaa60) at
thread/qthread_unix.cpp:349
#5  0x00007fe01b8026aa in start_thread (arg=0x7fdff6ad9700) at
pthread_create.c:333
#6  0x00007fe021159eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdff72da700 (LWP 12343)):
#0  0x00007fe021150743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe021b7aeff in qt_safe_select (nfds=16,
fdread=fdread@entry=0x7fdff0540808, fdwrite=fdwrite@entry=0x7fdff0540aa0,
fdexcept=fdexcept@entry=0x7fdff0540d38, orig_timeout=orig_timeout@entry=0x0) at
kernel/qcore_unix.cpp:79
#2  0x00007fe021b80c5f in QEventDispatcherUNIX::select (timeout=0x0,
exceptfds=0x7fdff0540d38, writefds=0x7fdff0540aa0, readfds=0x7fdff0540808,
nfds=<optimized out>, this=0x7fdff0000910) at
kernel/qeventdispatcher_unix.cpp:649
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fdff0540650,
flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007fe021b81118 in QEventDispatcherUNIX::processEvents
(this=0x7fdff0000910, flags=...) at kernel/qeventdispatcher_unix.cpp:944
#5  0x00007fe021b4c0d1 in QEventLoop::processEvents
(this=this@entry=0x7fdff72d9d40, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe021b4c445 in QEventLoop::exec (this=this@entry=0x7fdff72d9d40,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe021a3b4f9 in QThread::exec (this=this@entry=0x3efae50) at
thread/qthread.cpp:538
#8  0x00007fe021b2c133 in QInotifyFileSystemWatcherEngine::run (this=0x3efae50)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fe021a3dd1c in QThreadPrivate::start (arg=0x3efae50) at
thread/qthread_unix.cpp:349
#10 0x00007fe01b8026aa in start_thread (arg=0x7fdff72da700) at
pthread_create.c:333
#11 0x00007fe021159eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe023ec7840 (LWP 12333)):
[KCrash Handler]
#6  QMutex::lock (this=this@entry=0x60) at thread/qmutex.cpp:150
#7  0x00007fe021b517a9 in QCoreApplication::postEvent (receiver=0x1a3871f0,
event=0x19b7c4d0, priority=priority@entry=0) at
kernel/qcoreapplication.cpp:1360
#8  0x00007fe021b51ac7 in QCoreApplication::postEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1313
#9  0x00007fe021b60a74 in QObject::deleteLater (this=<optimized out>) at
kernel/qobject.cpp:2115
#10 0x00007fe01e87a5a2 in KisSelectionMask::~KisSelectionMask (this=0x2cfdddf0,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_selection_mask.cpp:75
#11 0x00007fe01e87a859 in KisSelectionMask::~KisSelectionMask (this=0x2cfdddf0,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_selection_mask.cpp:77
#12 0x00007fe01e815155 in KisSharedPtr<KisNode>::deref (sp=0x16f0d0d0,
t=0x2cfdddf0) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:218
#13 KisSharedPtr<KisNode>::deref (this=0x16f0d0d0) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:225
#14 KisSharedPtr<KisNode>::~KisSharedPtr (this=0x16f0d0d0, __in_chrg=<optimized
out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:109
#15 QList<KisSharedPtr<KisNode> >::node_destruct (this=<optimized out>,
to=0x2569a598, from=0x2569a598) at /usr/include/qt4/QtCore/qlist.h:431
#16 QList<KisSharedPtr<KisNode> >::free (data=0x2569a580, this=0x209bf7e8) at
/usr/include/qt4/QtCore/qlist.h:757
#17 0x00007fe01e81dd88 in QList<KisSharedPtr<KisNode> >::operator= (l=...,
this=0x209bf7e8) at /usr/include/qt4/QtCore/qlist.h:443
#18 QList<KisSharedPtr<KisNode> >::clear (this=0x209bf7e8) at
/usr/include/qt4/QtCore/qlist.h:766
#19 0x00007fe01e81661f in KisNode::~KisNode (this=0x1f97ba70,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_node.cpp:210
#20 0x00007fe01e841151 in KisPaintLayer::~KisPaintLayer (this=0x1f97ba70,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_paint_layer.cc:87
#21 0x00007fe01e8413d9 in KisPaintLayer::~KisPaintLayer (this=0x1f97ba70,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_paint_layer.cc:90
#22 0x00007fe01e6d9c79 in KisSharedPtr<KisNode>::deref (sp=0x2b48f000,
t=0x1f97ba70) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:218
#23 KisSharedPtr<KisNode>::deref (this=0x2b48f000) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:225
#24 KisSharedPtr<KisNode>::~KisSharedPtr (this=0x2b48f000, __in_chrg=<optimized
out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/kis_shared_ptr.h:109
#25 KisNodeCommand::~KisNodeCommand (this=0x2b48efd0, __in_chrg=<optimized
out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/commands/kis_node_command.cpp:29
#26 0x00007fe01e6dbe47 in KisNodeOpacityCommand::~KisNodeOpacityCommand
(this=0x2b48efd0, __in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/commands/kis_node_opacity_command.h:26
#27 KisNodeOpacityCommand::~KisNodeOpacityCommand (this=0x2b48efd0,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/image/commands/kis_node_opacity_command.h:26
#28 0x00007fe01c5ef544 in qDeleteAll<QList<KUndo2Command*>::const_iterator>
(end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#29 qDeleteAll<QList<KUndo2Command*> > (c=...) at
/usr/include/qt4/QtCore/qalgorithms.h:330
#30 KUndo2QStack::clear (this=0x5a5ead0) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/libs/kundo2/kundo2stack.cpp:670
#31 0x00007fe01c5ef7fb in KUndo2QStack::~KUndo2QStack (this=0x5a5ead0,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/libs/kundo2/kundo2stack.cpp:644
#32 0x00007fe0237c8317 in KUndo2Stack::~KUndo2Stack (this=0x5a5ead0,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/libs/kundo2/kundo2stack.h:246
#33 UndoStack::~UndoStack (this=0x5a5ead0, __in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/ui/KisDocument.cpp:183
#34 UndoStack::~UndoStack (this=0x5a5ead0, __in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/ui/KisDocument.cpp:183
#35 0x00007fe021b66201 in QObjectPrivate::deleteChildren
(this=this@entry=0x5a56f10) at kernel/qobject.cpp:1935
#36 0x00007fe021b688a4 in QObject::~QObject (this=0x58c8c10,
__in_chrg=<optimized out>) at kernel/qobject.cpp:954
#37 0x00007fe0237baef9 in KisDocument::~KisDocument (this=0x58c8c10,
__in_chrg=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/ui/KisDocument.cpp:614
#38 0x00007fe021b67d28 in QObject::event (this=0x58c8c10, e=<optimized out>) at
kernel/qobject.cpp:1203
#39 0x00007fe022567cdc in QApplicationPrivate::notify_helper
(this=this@entry=0x2b5bac0, receiver=receiver@entry=0x58c8c10,
e=e@entry=0x435ba40) at kernel/qapplication.cpp:4570
#40 0x00007fe02256ec16 in QApplication::notify (this=0x7ffe7aeef5e0,
receiver=receiver@entry=0x58c8c10, e=e@entry=0x435ba40) at
kernel/qapplication.cpp:4356
#41 0x00007fe0237adbb5 in KisApplication::notify (this=<optimized out>,
receiver=0x58c8c10, event=0x435ba40) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/ui/KisApplication.cpp:543
#42 0x00007fe021b4d85d in QCoreApplication::notifyInternal
(this=0x7ffe7aeef5e0, receiver=receiver@entry=0x58c8c10,
event=event@entry=0x435ba40) at kernel/qcoreapplication.cpp:955
#43 0x00007fe021b51316 in QCoreApplication::sendEvent (event=0x435ba40,
receiver=0x58c8c10) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=52, data=0x29925e0) at
kernel/qcoreapplication.cpp:1579
#45 0x00007fe021b515f3 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=52) at
kernel/qcoreapplication.cpp:1472
#46 0x00007fe021b52460 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1234
#47 0x00007fe022565f2c in QApplication::exec () at kernel/qapplication.cpp:3828
#48 0x0000000000402b38 in main (argc=<optimized out>, argv=<optimized out>) at
/build/krita-2.9-az5S7I/krita-2.9-2+git20151209+r43/krita/main.cc:204

Possible duplicates by query: bug 225190, bug 225111, bug 224804, bug 224631,
bug 224505.

Reported using DrKonqi

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

Reply via email to