Bug 217200 - Krita crashes on exit
Summary: Krita crashes on exit
Status: RESOLVED DUPLICATE of bug 228424
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 14:29 UTC by Stanislav Ionascu
Modified: 2010-03-29 19:38 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 Stanislav Ionascu 2009-12-03 14:29:12 UTC
Application that crashed: krita
Version of the application: 2.1.0
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Just opened an image, tested several tools, and when exiting unfortunately krita crashed.
It hapens every time. The size of the image was 10MP cam photo, and the tools tested where copy to new layer, and resize canvas to size of the layer.

 -- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f17dedd2750 (LWP 7461))]

Thread 2 (Thread 0x7f17ba27f910 (LWP 7467)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007f17db588662 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:353
#2  0x00007f17de810c93 in QMutexPrivate::wait (this=0x1dcc550, timeout=-1) at thread/qmutex_unix.cpp:80
#3  0x00007f17de80c845 in QMutex::lock (this=0x1dca140) at thread/qmutex.cpp:169
#4  0x00007f17de811588 in QMutexLocker::relock (arg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#5  QMutexLocker (arg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#6  QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:198
#7  0x00007f17de81144d in ~__pthread_cleanup_class (arg=0x1dc38b0) at /usr/include/pthread.h:535
#8  QThreadPrivate::start (arg=0x1dc38b0) at thread/qthread_unix.cpp:190
#9  0x00007f17db583a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f17dc1637bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f17dedd2750 (LWP 7461)):
[KCrash Handler]
#5  0x00007f17de50b9fa in ~KSycocaEntry (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kdecore/sycoca/ksycocaentry.cpp:42
#6  0x00007f17de4547b7 in ~KMimeType (this=0x1dcc550, __in_chrg=<value optimized out>) at ../../kdecore/services/kmimetype.cpp:520
#7  0x00007f17dda1d022 in ~KSharedPtr (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kdecore/util/ksharedptr.h:90
#8  ~KFileItemPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitem.cpp:95
#9  ~QSharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:87
#10 ~KFileItem (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitem.cpp:500
#11 0x00007f17dd999664 in QList<KFileItem>::node_destruct (this=<value optimized out>, data=0x0) at /usr/include/qt4/QtCore/qlist.h:367
#12 QList<KFileItem>::free (this=<value optimized out>, data=0x0) at /usr/include/qt4/QtCore/qlist.h:559
#13 0x00007f17dda00808 in QList<KFileItem>::clear() () from /usr/lib/libkio.so.5
#14 0x00007f17dda0297c in KDirListerCache::DirItem::~DirItem() () from /usr/lib/libkio.so.5
#15 0x00007f17dd9f2fe9 in QCache<QString, KDirListerCache::DirItem>::clear (this=0x15476e0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qcache.h:138
#16 ~KDirListerCache (this=0x15476e0, __in_chrg=<value optimized out>) at ../../kio/kio/kdirlister.cpp:86
#17 0x00007f17de8f817e in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#18 0x00007f17dc8abfd8 in ~QApplication (this=0x7fff156a02a0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:971
#19 0x00007f17d39a682f in kdemain () from /usr/lib/libkdeinit4_krita.so
#20 0x0000000000406da8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0xfd1b34 "muller-laptop;1259846134;87926;2133_TIME13736870") at ../../kinit/kinit.cpp:677
#21 0x0000000000407aa0 in handle_launcher_request (sock=7, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#22 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#23 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Halla Rempt 2009-12-03 14:36:13 UTC
Thank you for your report. The backtrace puzzles me a bit since there is nothing Krita specfic in it. Does this happen every time you close Krita, or only occasionally?
Comment 2 Stanislav Ionascu 2009-12-03 14:44:06 UTC
I've noticed right now, that it happens when opening the 10MP jpeg photo, without and doing File Quit, produces the crash report, in case of opening small sized photos everything is fine.
Comment 3 Halla Rempt 2009-12-03 14:45:20 UTC
Hm... That is interesting. What are the width and height of your photo?
Comment 4 Stanislav Ionascu 2009-12-03 14:49:43 UTC
The size is 3648x2736
Comment 5 Halla Rempt 2009-12-03 14:52:00 UTC
Ok. I'll do some experiments
Comment 6 Stanislav Ionascu 2009-12-03 15:03:06 UTC
Also what I have noticed that you need to turn on KDE desktop composition to get this crash.
Comment 7 Camilla Boemann 2009-12-03 15:05:34 UTC
do you have opengl enabled in krita and does it still crash if you turn it off?
Comment 8 Stanislav Ionascu 2009-12-03 15:10:02 UTC
If the opengl is enabled, everything is fine.
If you disable opengl and quit, it's fine.
If you disable the opengl, quit, then open the photo again, and quit, then it crashes.
Comment 9 Halla Rempt 2010-03-29 19:38:12 UTC
Reported in here: https://bugs.launchpad.net/kubuntu-7/+bug/550492

*** This bug has been marked as a duplicate of bug 228424 ***