Application that crashed: krita Version of the application: 2.2 Alpha 1 KDE Version: 4.3.1 (KDE 4.3.1) "release 1" Qt Version: 4.5.2 Operating System: Linux 2.6.30-rc6-git3-4-default x86_64 Distribution: "openSUSE 11.2 Milestone 2 (x86_64)" What I was doing when the application crashed: 1) Activate openGL canvas 2) restart Krita 3) create an RGB image from a template 4) paint two selections with a rect. selection tool (they will not be drawn on a screen, happens only with glcanvas). 5) close Krita - this crash -- Backtrace: Application: Krita (krita), signal: Aborted [Current thread is 1 (Thread 0x7f587d1b1750 (LWP 12029))] Thread 3 (Thread 0x7f586d04b910 (LWP 12030)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007f587ca264eb in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f587ca22490 in QSemaphore::acquire (this=0x7f587c31f4b0, n=1) at thread/qsemaphore.cpp:143 #4 0x00007f587bfc6fee in KisTileDataPooler::waitForWork (this=0x7f587c31f4a0) at /home/devel/kde-src/koffice.TRUNK/krita/image/tiles3/kis_tile_data_pooler.cc:120 #5 0x00007f587bfc7348 in KisTileDataPooler::run (this=0x7f587c31f4a0) at /home/devel/kde-src/koffice.TRUNK/krita/image/tiles3/kis_tile_data_pooler.cc:149 #6 0x00007f587ca25435 in QThreadPrivate::start (arg=0x7f587c31f4a0) at thread/qthread_unix.cpp:188 #7 0x00007f587c7b163d in start_thread (arg=<value optimized out>) at pthread_create.c:297 #8 0x00007f58747bf92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f58620ac910 (LWP 12033)): #0 0x00007f58747b8ef2 in select () from /lib64/libc.so.6 #1 0x00007f587cb359eb in QEventDispatcherUNIX::select (this=<value optimized out>, nfds=<value optimized out>, readfds=<value optimized out>, writefds=<value optimized out>, exceptfds=<value optimized out>, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:631 #2 0x00007f587cb3669a in QEventDispatcherUNIXPrivate::doSelect (this=0x11e8fd0, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:170 #3 0x00007f587cb374cb in QEventDispatcherUNIX::processEvents (this=0xf91610, flags=) at kernel/qeventdispatcher_unix.cpp:918 #4 0x00007f587cb0a072 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007f587cb0a444 in QEventLoop::exec (this=0x7f58620ac050, flags=) at kernel/qeventloop.cpp:201 #6 0x00007f587ca226cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007f587ca25435 in QThreadPrivate::start (arg=0x11dc180) at thread/qthread_unix.cpp:188 #8 0x00007f587c7b163d in start_thread (arg=<value optimized out>) at pthread_create.c:297 #9 0x00007f58747bf92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f587d1b1750 (LWP 12029)): [KCrash Handler] #5 0x00007f58747214c5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f5874722990 in *__GI_abort () at abort.c:88 #7 0x00007f587471a22a in *__GI___assert_fail (assertion=0x7f585b287b35 "valid_texture_object(oldTex)", file=<value optimized out>, line=305, function=0x7f585b287e00 "_mesa_reference_texobj") at assert.c:78 #8 0x00007f585b15ad13 in _mesa_reference_texobj () from /usr/lib64/dri/i965_dri.so #9 0x00007f585b15fb05 in _mesa_free_texture_data () from /usr/lib64/dri/i965_dri.so #10 0x00007f585b0f268d in _mesa_free_context_data () from /usr/lib64/dri/i965_dri.so #11 0x00007f585b091a20 in ?? () from /usr/lib64/dri/i965_dri.so #12 0x00007f587b2b23d3 in ?? () from /usr/lib64/libGL.so.1 #13 0x00007f587b28c591 in ?? () from /usr/lib64/libGL.so.1 #14 0x00007f5879e87a10 in QGLContext::reset() () from /usr/lib64/libQtOpenGL.so.4 #15 0x00007f5879e5545b in QGLContext::~QGLContext() () from /usr/lib64/libQtOpenGL.so.4 #16 0x00007f5879e52def in QGLWidget::~QGLWidget() () from /usr/lib64/libQtOpenGL.so.4 #17 0x00007f587c4e1954 in KisOpenGLCanvas2::~KisOpenGLCanvas2 (this=0x204c750, __in_chrg=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/krita/ui/opengl/kis_opengl_canvas2.cpp:102 #18 0x00007f587cb1999c in QObjectPrivate::deleteChildren (this=0x1b139c0) at kernel/qobject.cpp:1847 #19 0x00007f58753acd23 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4 #20 0x00007f587921e74e in Viewport::~Viewport (this=0x2efd, __in_chrg=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/libs/flake/KoCanvasController_p.h:35 #21 0x00007f587cb1999c in QObjectPrivate::deleteChildren (this=0x1b117b0) at kernel/qobject.cpp:1847 #22 0x00007f58753acd23 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4 #23 0x00007f587921c38d in KoCanvasController::~KoCanvasController (this=0x1b2b9d0, __in_chrg=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/libs/flake/KoCanvasController.cpp:104 #24 0x00007f587cb1999c in QObjectPrivate::deleteChildren (this=0xeec1e0) at kernel/qobject.cpp:1847 #25 0x00007f58753acd23 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4 #26 0x00007f587b80ce5e in KoView::~KoView (this=0x11b1e70, __vtt_parm=0x7f587c79ad68, __in_chrg=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/libs/main/KoView.cpp:197 #27 0x00007f587c4a03e7 in KisView2::~KisView2 (this=0x11b1e70, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/krita/ui/kis_view2.cpp:290 #28 0x00007f587b7ed815 in KoMainWindow::setRootDocument (this=0x9b9e00, doc=0x0) at /home/devel/kde-src/koffice.TRUNK/libs/main/KoMainWindow.cpp:484 #29 0x00007f587b7f222e in KoMainWindow::closeEvent (this=0x9b9e00, e=0x7fff3bc77260) at /home/devel/kde-src/koffice.TRUNK/libs/main/KoMainWindow.cpp:1040 #30 0x00007f58753b06d8 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #31 0x00007f587570a2fb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #32 0x00007f5876f0b2c3 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5 #33 0x00007f587536230c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #34 0x00007f58753695de in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #35 0x00007f5876dffeb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #36 0x00007f587cb0b76c in QCoreApplication::notifyInternal (this=0x7fff3bc78d10, receiver=0x9b9e00, event=0x7fff3bc77260) at kernel/qcoreapplication.cpp:610 #37 0x00007f58753b5ab1 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQtGui.so.4 #38 0x00007f58753bcf46 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /usr/lib64/libQtGui.so.4 #39 0x00007f58753cd8b4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #40 0x00007f58753f6483 in ?? () from /usr/lib64/libQtGui.so.4 #41 0x00007f587cb0a072 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #42 0x00007f587cb0a444 in QEventLoop::exec (this=0x7fff3bc78cc0, flags=) at kernel/qeventloop.cpp:201 #43 0x00007f587cb0c5f9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #44 0x00007f587ce00b75 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/devel/kde-src/koffice.TRUNK/krita/main.cc:49 #45 0x00007f587470da4d 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=0x7fff3bc78ea8) at libc-start.c:220 #46 0x0000000000400959 in _start () at ../sysdeps/x86_64/elf/start.S:113 Reported using DrKonqi
X version: dima@laptop:/home/devel/kde-src/koffice.TRUNK/krita/image> X -version X.Org X Server 1.6.3 Release Date: 2009-7-31 X Protocol Version 11, Revision 0 Build Operating System: openSUSE SUSE LINUX Current Operating System: Linux laptop 2.6.30-rc6-git3-4-default #1 SMP 2009-05-25 14:11:59 +0200 x86_64 Build Date: 12 August 2009 03:01:05PM
I can't reproduce this. Selections are shown and it doesn't crash. Can you check if it's fixed?
I can get a crash -- but not the non-showing of selections. Thread 1 (Thread 0xb3c7c760 (LWP 11313)): [KCrash Handler] #6 0xb522c70b in QImagePixmapCleanupHooks::executePixmapDestructionHooks(QPixmap*) () from /usr/lib/libQtGui.so.4 #7 0xb521c028 in QPixmap::~QPixmap() () from /usr/lib/libQtGui.so.4 #8 0xb526725c in QBrush::~QBrush() () from /usr/lib/libQtGui.so.4 #9 0xb6874a78 in ?? () from /usr/lib/libQtOpenGL.so.4 #10 0xb5285aa4 in QPaintEngine::~QPaintEngine() () from /usr/lib/libQtGui.so.4 #11 0xb6872d7d in QGL2PaintEngineEx::~QGL2PaintEngineEx() () from /usr/lib/libQtOpenGL.so.4 #12 0xb682c238 in ?? () from /usr/lib/libQtOpenGL.so.4 #13 0xb4d05111 in ?? () from /lib/libc.so.6 #14 0xb4d0516d in exit () from /lib/libc.so.6 #15 0xb4cedad6 in __libc_start_main () from /lib/libc.so.6 #16 0x080487c1 in _start () at ../sysdeps/i386/elf/start.S:119 This is with Qt 4.6 on an intel gma chip. What chipset do you use?
same as boud, I get the crash, but selection shows fine Application: Krita (krita), signal: Segmentation fault [Current thread is 1 (Thread 0xb67869b0 (LWP 13844))] Thread 2 (Thread 0xb6659b70 (LWP 13934)): #0 0x00711422 in __kernel_vsyscall () #1 0x00454e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x001eb2c7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #3 0x001e6e2d in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4 #4 0x007b2bf3 in KisTileDataPooler::waitForWork (this=0x904460) at /home/m4v/dev/kde/src/koffice/trunk/krita/image/tiles3/kis_tile_data_pooler.cc:133 #5 0x007b31ff in KisTileDataPooler::run (this=0x904460) at /home/m4v/dev/kde/src/koffice/trunk/krita/image/tiles3/kis_tile_data_pooler.cc:162 #6 0x001ea36e in ?? () from /usr/lib/libQtCore.so.4 #7 0x0045080e in start_thread (arg=0xb6659b70) at pthread_create.c:300 #8 0x0969e8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb67869b0 (LWP 13844)): [KCrash Handler] #6 0x020f7d2c in QImagePixmapCleanupHooks::executePixmapDataDestructionHooks(QPixmapData*) () from /usr/lib/libQtGui.so.4 #7 0x020f9507 in QX11PixmapData::~QX11PixmapData() () from /usr/lib/libQtGui.so.4 #8 0x020e5b86 in QPixmap::~QPixmap() () from /usr/lib/libQtGui.so.4 #9 0x0212e63c in QBrush::~QBrush() () from /usr/lib/libQtGui.so.4 #10 0x00ab6858 in ?? () from /usr/lib/libQtOpenGL.so.4 #11 0x0214ad94 in QPaintEngine::~QPaintEngine() () from /usr/lib/libQtGui.so.4 #12 0x00ab49ad in QGL2PaintEngineEx::~QGL2PaintEngineEx() () from /usr/lib/libQtOpenGL.so.4 #13 0x00a6e38a in ?? () from /usr/lib/libQtOpenGL.so.4 #14 0x0960105f in __run_exit_handlers (status=0, listp=0x9713304, run_list_atexit=true) at exit.c:78 #15 0x096010cf in *__GI_exit (status=0) at exit.c:100 #16 0x095e8b5e in __libc_start_main (main=0x8048820 <main>, argc=1, ubp_av=0xbf8e0f44, init=0x8048860 <__libc_csu_init>, fini=0x8048850 <__libc_csu_fini>, rtld_fini=0x174d20 <_dl_fini>, stack_end=0xbf8e0f3c) at libc-start.c:252 #17 0x08048781 in _start () at ../sysdeps/i386/elf/start.S:119 qt 4.6.2 and nvidia card note that if I deselect before closing there's no crash.
I found this change that might be related: http://qt.gitorious.org/+qt-developers/qt/staging/commit/a9bf9766f18e15fbecf53ac1cc9cf57c9dba259c The selections also don't show up anymore for me.
SVN commit 1106700 by berger: Fix: display of selections, tools overlay, grids, assistants on opengl canvas BUG:230879 CCBUG:216615 M +1 -1 canvas/kis_canvas_widget_base.cpp M +1 -1 opengl/kis_opengl_canvas2.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1106700
Looks like http://bugreports.qt.nokia.com/browse/QTBUG-8681 Can someone running Qt trunk check if it's fixed?
i have still the same behaviour as dmitry. X.Org X Server 1.6.5 nvidia graphics card
@adam, the crash or the selection not being displayed ? (if it is the crash, we are waiting for Qt4.6.3). If it is the selection not being displayed, can you check if things like the grid are correctly displayed ?
@cyrille the crash happens and the selection tool outline is not displayed (the one, which is displayed, while dragging) if another selection is active (ants are marching).
*** Bug 236255 has been marked as a duplicate of this bug. ***
This works for me with Qt 4.6.3. Does anyone still have this problem?
selection tool outline is not displayed anymore, not even ants. after selecting, the selection is displayed correctly (marching ants). grid, ruler etc do work. this is on nvidia closed source drivers.
added workaround in SVN commit 1159984 can we close?
Since you were the only one who could reproduce I'm closing it.
*** Bug 265843 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.