Bug 262581 - Crash on exit
Summary: Crash on exit
Status: RESOLVED DUPLICATE of bug 262941
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 20:59 UTC by animtim
Modified: 2011-01-19 21:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.59 KB, text/plain)
2011-01-17 14:11 UTC, animtim
Details
New crash information added by DrKonqi (7.60 KB, text/plain)
2011-01-17 14:30 UTC, animtim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description animtim 2011-01-08 20:59:24 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

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

Just closing Krita after drawing a little on it produced this crash.

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

Thread 4 (Thread 0x7fc689020700 (LWP 20931)):
#0  0x00007fc6937e9203 in poll () from /lib/libc.so.6
#1  0x00007fc692c48009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc692c487b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fc6897570f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fc692c6d7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fc699f0a953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fc69b7a9971 in start_thread () from /lib/libpthread.so.0
#7  0x00007fc6937f592d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc6647d0700 (LWP 21009)):
#0  0x00007fc69b7ada9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc69ba34e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fc69ba30b0b in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fc69af1b9fe in KisTileDataPooler::waitForWork (this=0x5a0b830) at /home/timo/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:127
#4  0x00007fc69af1bc48 in KisTileDataPooler::run (this=0x5a0b830) at /home/timo/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:156
#5  0x00007fc69ba3427e in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fc699f0a953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007fc69b7a9971 in start_thread () from /lib/libpthread.so.0
#8  0x00007fc6937f592d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc663fcf700 (LWP 21010)):
#0  0x00007fc69b7ada9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc69ba34e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fc69ba30dab in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007fc69af38a6a in KisTileDataSwapper::run (this=0x5a0b860) at /home/timo/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#4  0x00007fc69ba3427e in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fc699f0a953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fc69b7a9971 in start_thread () from /lib/libpthread.so.0
#7  0x00007fc6937f592d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc69c2397a0 (LWP 20930)):
[KCrash Handler]
#6  KisImage::colorSpace (this=0x0) at /home/timo/kde4/src/calligra/krita/image/kis_image.cc:573
#7  0x00007fc69b4b1d85 in KisOpenGLImageTextures::imageCanShareTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:96
#8  0x00007fc69b4b3438 in KisOpenGLImageTextures::getImageTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:104
#9  0x00007fc69b36ee68 in KisCanvas2::createOpenGLCanvas (this=0xa13e4a0) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:332
#10 0x00007fc69b36fced in KisCanvas2::createCanvas (this=0xa13e4a0, useOpenGL=true) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:349
#11 0x00007fc69b36ff77 in KisCanvas2::KisCanvas2 (this=0xa13e4a0, viewConverter=0x587dc00, view=<value optimized out>, sc=0x7b6d9e0) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:122
#12 0x00007fc69b46fc3f in KisView2::KisView2 (this=0x9b7b060, doc=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/timo/kde4/src/calligra/krita/ui/kis_view2.cpp:246
#13 0x00007fc69b3f15cb in KisDoc2::createViewInstance (this=0xa2bece0, parent=0x577bd50) at /home/timo/kde4/src/calligra/krita/ui/kis_doc2.cc:432
#14 0x00007fc69a6b16ba in KoDocument::createView (this=0x0, parent=0x0) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:428
#15 0x00007fc69a6dee29 in KoMainWindow::setRootDocument (this=0x27a83e0, doc=0xa2bece0) at /home/timo/kde4/src/calligra/libs/main/KoMainWindow.cpp:463
#16 0x00007fc69a6b36a7 in KoDocument::deleteOpenPane (this=0xa2bece0) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:2494
#17 0x00007fc69a6dcd51 in KoMainWindow::closeEvent (this=0x27a83e0, e=0x7fff89343300) at /home/timo/kde4/src/calligra/libs/main/KoMainWindow.cpp:1050
#18 0x00007fc69510f080 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007fc6954f641b in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fc695f27683 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007fc6950b8fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007fc6950beaed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fc695e0b156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007fc69bb27cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007fc695112b7d in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQtGui.so.4
#26 0x00007fc69a6e4f15 in KoMainWindow::qt_metacall (this=0x27a83e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff893434d0) at /home/timo/kde4/build/calligra/libs/main/KoMainWindow.moc:158
#27 0x00007fc69bb3fb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0x00007fc6950b1852 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#29 0x00007fc6950b2f5b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#30 0x00007fc695519dc1 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007fc69551f782 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007fc695eebcee in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007fc69510f04e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fc69552190b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fc6950b8fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fc6950bf30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0x00007fc695e0b156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x00007fc69bb27cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#39 0x00007fc6950bddbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#40 0x00007fc6951417bd in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007fc69513fc5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007fc69516cb6f in ?? () from /usr/lib/libQtGui.so.4
#43 0x00007fc69bb26a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x00007fc69bb26dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007fc69bb2aebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#46 0x00007fc69be5e315 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/timo/kde4/src/calligra/krita/main.cc:49
#47 0x00007fc69372dd8e in __libc_start_main () from /lib/libc.so.6
#48 0x00000000004008a9 in _start ()

Possible duplicates by query: bug 189744, bug 186612.

Reported using DrKonqi
Comment 1 Sven Langkamp 2011-01-17 02:59:22 UTC
Can you reproduce the bug?
Comment 2 animtim 2011-01-17 12:15:49 UTC
I can reproduce it every time I close Krita.
Comment 3 animtim 2011-01-17 12:16:15 UTC
I can reproduce it every time I close Krita.
Comment 4 animtim 2011-01-17 14:11:46 UTC
Created attachment 56121 [details]
New crash information added by DrKonqi

krita (2.4 Alpha 1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
This time just opening and closing Krita, to reproduce the bug.

-- Backtrace (Reduced):
#6  KisImage::colorSpace (this=0x0) at /home/timo/kde4/src/calligra/krita/image/kis_image.cc:573
#7  0x00007f696e6acda5 in KisOpenGLImageTextures::imageCanShareTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:96
#8  0x00007f696e6ae458 in KisOpenGLImageTextures::getImageTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:104
#9  0x00007f696e568f08 in KisCanvas2::createOpenGLCanvas (this=0x5827150) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:332
#10 0x00007f696e569d8d in KisCanvas2::createCanvas (this=0x5827150, useOpenGL=true) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:349
Comment 5 animtim 2011-01-17 14:30:46 UTC
Created attachment 56122 [details]
New crash information added by DrKonqi

krita (2.4 Alpha 1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

Same thing but right after updating to the last GIT master.

-- Backtrace (Reduced):
#6  KisImage::colorSpace (this=0x0) at /home/timo/kde4/src/calligra/krita/image/kis_image.cc:573
#7  0x00007fb9625b5da5 in KisOpenGLImageTextures::imageCanShareTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:96
#8  0x00007fb9625b7458 in KisOpenGLImageTextures::getImageTextures (image=) at /home/timo/kde4/src/calligra/krita/ui/opengl/kis_opengl_image_textures.cpp:104
#9  0x00007fb962471f08 in KisCanvas2::createOpenGLCanvas (this=0x7fb920188be0) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:332
#10 0x00007fb962472d8d in KisCanvas2::createCanvas (this=0x7fb920188be0, useOpenGL=true) at /home/timo/kde4/src/calligra/krita/ui/canvas/kis_canvas2.cpp:349
Comment 6 Sven Langkamp 2011-01-17 14:32:13 UTC
Confirmed.
Comment 7 Halla Rempt 2011-01-17 15:29:25 UTC
Note: only happens in master, not 2.3, and only when closing when the template window is visible.
Comment 8 Halla Rempt 2011-01-19 21:12:38 UTC
Also probably a duplicate of 262941

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