Bug 263964

Summary: Without opening/creating a new document Krita crashes at closing.
Product: [Applications] krita Reporter: Ico_dY <enrico_guarnieri>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ico_dY 2011-01-22 13:24:39 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Linux Mint 10 Julia

-- Information about the crash:
- What I was doing when the application crashed:
I've closed Krita (with the window close button or with the quit option is the same) without opening/creating a new document.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffc6443f780 (LWP 21067))]

Thread 4 (Thread 0x7ffc531ab700 (LWP 21070)):
#0  0x00007ffc5bbfc203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffc5b05b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffc5b05b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007ffc538e20f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007ffc5b0807e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007ffc63ac7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007ffc5bc0892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffc2e286700 (LWP 21153)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffc63d52e3b in wait (this=<value optimized out>, mutex=0x4940270, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4940270, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ffc63d4eb0b in QSemaphore::acquire (this=0x4c41560, n=1) at thread/qsemaphore.cpp:144
#4  0x00007ffc6322c9fe in KisTileDataPooler::waitForWork (this=0x4c41550) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/kis_tile_data_pooler.cc:127
#5  0x00007ffc6322cc48 in KisTileDataPooler::run (this=0x4c41550) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/kis_tile_data_pooler.cc:156
#6  0x00007ffc63d5227e in QThreadPrivate::start (arg=0x4c41550) at thread/qthread_unix.cpp:266
#7  0x00007ffc63ac7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007ffc5bc0892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffc2ea87700 (LWP 21154)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffc63d52e3b in wait (this=<value optimized out>, mutex=0x4c39550, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4c39550, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ffc63d4edab in QSemaphore::tryAcquire (this=0x4c37600, n=1, timeout=<value optimized out>) at thread/qsemaphore.cpp:221
#4  0x00007ffc63249a6a in KisTileDataSwapper::run (this=0x4c41580) at /media/sda7/Build/Koffice/koffice-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007ffc63d5227e in QThreadPrivate::start (arg=0x4c41580) at thread/qthread_unix.cpp:266
#6  0x00007ffc63ac7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007ffc5bc0892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffc6443f780 (LWP 21067)):
[KCrash Handler]
#6  KisImage::colorSpace (this=0x0) at /media/sda7/Build/Koffice/koffice-src/krita/image/kis_image.cc:573
#7  0x00007ffc637c9465 in KisOpenGLImageTextures::imageCanShareTextures (image=) at /media/sda7/Build/Koffice/koffice-src/krita/ui/opengl/kis_opengl_image_textures.cpp:96
#8  0x00007ffc637cab18 in KisOpenGLImageTextures::getImageTextures (image=) at /media/sda7/Build/Koffice/koffice-src/krita/ui/opengl/kis_opengl_image_textures.cpp:104
#9  0x00007ffc63681538 in KisCanvas2::createOpenGLCanvas (this=0x4ea7020) at /media/sda7/Build/Koffice/koffice-src/krita/ui/canvas/kis_canvas2.cpp:332
#10 0x00007ffc636823bd in KisCanvas2::createCanvas (this=0x4ea7020, useOpenGL=true) at /media/sda7/Build/Koffice/koffice-src/krita/ui/canvas/kis_canvas2.cpp:349
#11 0x00007ffc63682647 in KisCanvas2::KisCanvas2 (this=0x4ea7020, viewConverter=0x4f59220, view=<value optimized out>, sc=0x46889b0) at /media/sda7/Build/Koffice/koffice-src/krita/ui/canvas/kis_canvas2.cpp:122
#12 0x00007ffc637864df in KisView2::KisView2 (this=0x47fe980, doc=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/krita/ui/kis_view2.cpp:246
#13 0x00007ffc637046ab in KisDoc2::createViewInstance (this=0x465df90, parent=0x46a1ca0) at /media/sda7/Build/Koffice/koffice-src/krita/ui/kis_doc2.cc:432
#14 0x00007ffc629c173a in KoDocument::createView (this=0x0, parent=0x0) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoDocument.cpp:430
#15 0x00007ffc629ef359 in KoMainWindow::setRootDocument (this=0xb4e7c0, doc=0x465df90) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoMainWindow.cpp:463
#16 0x00007ffc629c3737 in KoDocument::deleteOpenPane (this=0x465df90) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoDocument.cpp:2514
#17 0x00007ffc629ed281 in KoMainWindow::closeEvent (this=0xb4e7c0, e=0x7fffa3cf5c30) at /media/sda7/Build/Koffice/koffice-src/libs/main/KoMainWindow.cpp:1050
#18 0x00007ffc5d523080 in QWidget::event (this=0xb4e7c0, event=0x7fffa3cf5c30) at kernel/qwidget.cpp:8345
#19 0x00007ffc5d90a41b in QMainWindow::event (this=0xb4e7c0, event=0x7fffa3cf5c30) at widgets/qmainwindow.cpp:1417
#20 0x00007ffc5e33dc93 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007ffc5d4ccfdc in QApplicationPrivate::notify_helper (this=0x880550, receiver=0xb4e7c0, e=0x7fffa3cf5c30) at kernel/qapplication.cpp:4396
#22 0x00007ffc5d4d2aed in QApplication::notify (this=0x7fffa3cf64e0, receiver=0xb4e7c0, e=0x7fffa3cf5c30) at kernel/qapplication.cpp:4277
#23 0x00007ffc5e220586 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007ffc63e45cdc in QCoreApplication::notifyInternal (this=0x7fffa3cf64e0, receiver=0xb4e7c0, event=0x7fffa3cf5c30) at kernel/qcoreapplication.cpp:732
#25 0x00007ffc5d526be1 in sendSpontaneousEvent (this=0x468a4c0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::close_helper (this=0x468a4c0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7751
#27 0x00007ffc5d544076 in translateCloseEvent (this=<value optimized out>, w=0xb4e7c0, event=0x7ffc4c124610, passive_only=false) at kernel/qapplication_x11.cpp:5321
#28 QApplication::x11ClientMessage (this=<value optimized out>, w=0xb4e7c0, event=0x7ffc4c124610, passive_only=false) at kernel/qapplication_x11.cpp:3052
#29 0x00007ffc5d554346 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa3cf6310) at kernel/qapplication_x11.cpp:3668
#30 0x00007ffc5d580b6f in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132
#31 0x00007ffc63e44a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007ffc63e44dec in QEventLoop::exec (this=0x7fffa3cf6490, flags=) at kernel/qeventloop.cpp:201
#33 0x00007ffc63e48ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x00007ffc6417c325 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /media/sda7/Build/Koffice/koffice-src/krita/main.cc:49
#35 0x00007ffc5bb40d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffa3cf6678) at libc-start.c:226
#36 0x00000000004008b9 in _start ()

Possible duplicates by query: bug 262581.

Reported using DrKonqi
Comment 1 Sven Langkamp 2011-01-22 13:26:36 UTC

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