Version: svn r961955 (using Devel) OS: Linux Installed from: Compiled sources 1) Open new document 2) View->Split view 3) View->Remove view 4) View->Split view 5) Crash Application: Krita (krita), signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] 0xb5c5543c in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0xb4fe06d0 (LWP 20324)): [KCrash Handler] #5 0xb7d1242c in KisNodeManager::activeNode () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #6 0xb7ceb4f8 in KisLayerBox::updateUI () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #7 0xb7d4b55e in KisView2::updateGUI () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #8 0xb7cf4a68 in KisLayerManager::layersUpdated () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #9 0xb7cf4d16 in KisLayerManager::activateLayer () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #10 0xb7d14566 in KisNodeManager::activateNode () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #11 0xb7d4e9fc in KisView2::slotLoadingFinished () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #12 0xb7d4f3df in KisView2::KisView2 () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #13 0xb7cceeff in KisDoc2::createViewInstance () from /home/devel/kde-install/release/kde/lib/libkritaui.so.5 #14 0xb7258f78 in KoDocument::createView () from /home/devel/kde-install/release/kde/lib/libkomain.so.5 #15 0xb727f831 in KoMainWindow::slotSplitView () from /home/devel/kde-install/release/kde/lib/libkomain.so.5 #16 0xb728b7a9 in KoMainWindow::qt_metacall () from /home/devel/kde-install/release/kde/lib/libkomain.so.5 #17 0xb7fea498 in QMetaObject::activate (sender=0x86e9c40, from_signal_index=5, to_signal_index=6, argv=0xbfdb7cbc) at kernel/qobject.cpp:3057 #18 0xb7fea6b1 in QMetaObject::activate (sender=0x86e9c40, m=0xb676bb88, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfdb7cbc) at kernel/qobject.cpp:3154 #19 0xb5fa81d4 in QAction::triggered (this=0x86e9c40, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236 #20 0xb5fa9e96 in QAction::activate (this=0x86e9c40, event=QAction::Trigger) at kernel/qaction.cpp:1160 #21 0xb645a6dc in QMenuPrivate::activateCausedStack (this=0xa6db198, causedStack=@0xbfdb7d90, action=0x86e9c40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:962 #22 0xb6460585 in QMenuPrivate::activateAction (this=0xa6db198, action=0x86e9c40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058 #23 0xb6462a9a in QMenu::mouseReleaseEvent (this=0xb1ae050, e=0xbfdb84f4) at widgets/qmenu.cpp:2252 #24 0xb6e07da5 in KMenu::mouseReleaseEvent () from /home/devel/kde-install/release/kde/lib/libkdeui.so.5 #25 0xb6011862 in QWidget::event (this=0xb1ae050, event=0xbfdb84f4) at kernel/qwidget.cpp:7516 #26 0xb645e41b in QMenu::event (this=0xb1ae050, e=0xbfdb84f4) at widgets/qmenu.cpp:2351 #27 0xb5fb07a0 in QApplicationPrivate::notify_helper (this=0x809ed28, receiver=0xb1ae050, e=0xbfdb84f4) at kernel/qapplication.cpp:4084 #28 0xb5fb14ff in QApplication::notify (this=0xbfdb8d9c, receiver=0xb1ae050, e=0xbfdb84f4) at kernel/qapplication.cpp:3786 #29 0xb6d21bb1 in KApplication::notify () from /home/devel/kde-install/release/kde/lib/libkdeui.so.5 #30 0xb7fd396b in QCoreApplication::notifyInternal (this=0xbfdb8d9c, receiver=0xb1ae050, event=0xbfdb84f4) at kernel/qcoreapplication.cpp:598 #31 0xb787bd60 in QCoreApplication::sendSpontaneousEvent () from /home/devel/kde-install/qt-copy/lib/libQt3Support.so.4 #32 0xb5fb559b in QApplicationPrivate::sendMouseEvent (receiver=0xb1ae050, event=0xbfdb84f4, alienWidget=0x0, nativeWidget=0xb1ae050, buttonDown=0xb678b920, lastMouseReceiver=@0xb678b924) at kernel/qapplication.cpp:2940 #33 0xb60343f3 in QETWidget::translateMouseEvent (this=0xb1ae050, event=0xbfdb8af0) at kernel/qapplication_x11.cpp:4359 #34 0xb6032074 in QApplication::x11ProcessEvent (this=0xbfdb8d9c, event=0xbfdb8af0) at kernel/qapplication_x11.cpp:3421 #35 0xb605d0e3 in x11EventSourceDispatch (s=0x80a1bd8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #36 0xb5b07146 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0xb5b0a4f3 in ?? () from /usr/lib/libglib-2.0.so.0 #38 0x080a1020 in ?? () #39 0x00000000 in ?? ()
Works for me in trunk, though the second split takes some time.
I have a branched and a bit outdated trunk (r966452) and there it still crashes.
Can you update in trunk and check?
Have just merged trunk changes to the branch. Crashes again with the same backtrace. More than that i've got new way to crash it: 1) Split view 2) Remove one view 3) Try to paint something - crash Backtrace is the following: (gdb) bt #0 QString (this=0xbffa1318, other=@0x1) at /home/devel/kde-install/release/qt-copy/include/QtCore/qstring.h:711 #1 0xb720aa87 in KoColorProfile::name (this=0x85bebf8) at /home/devel/kde-src/koffice/libs/pigment/KoColorProfile.cpp:55 #2 0xb7210af0 in KoColorSpaceRegistry::colorSpace (this=0x8dbbb98, csID=@0xbffa1364, profile=0x85bebf8) at /home/devel/kde-src/koffice/libs/pigment/KoColorSpaceRegistry.cpp:332 #3 0xb7210f6a in KoColorSpaceRegistry::rgb8 (this=0x8dbbb98, profile=0x85bebf8) at /home/devel/kde-src/koffice/libs/pigment/KoColorSpaceRegistry.cpp:397 #4 0xb720b929 in KoColorSpace::convertToQImage (this=0x9050e08, data=0x98a7050 "ЪЪЪЧмммЧ\235\235\235ЧюююЧВВВЧЪЪЪЧмммЧCCCЧ\030\030\030Ч---ЧЁЁЁЧВВВЧ\233\233\233Ч\024\024\024Ч", width=6, height=6, dstProfile=0x85bebf8, renderingIntent=KoColorConversionTransformation::IntentPerceptual) at /home/devel/kde-src/koffice/libs/pigment/KoColorSpace.cpp:466 #5 0xb7b7bba5 in KisPaintDevice::convertToQImage (this=0x90327c0, dstProfile=0x85bebf8, x1=175, y1=94, w=6, h=6) at /home/devel/kde-src/koffice/krita/image/kis_paint_device.cc:499 #6 0xb7b6377a in KisImage::convertToQImage (this=0x9050c60, x=175, y=94, w=6, h=6, profile=0x85bebf8) at /home/devel/kde-src/koffice/krita/image/kis_image.cc:884 #7 0xb7d8607d in KisOpenGLImageTextures::updateImageTextureTiles (this=0x91089d8, rect=@0xbffa15cc) at /home/devel/kde-src/koffice/krita/ui/opengl/kis_opengl_image_textures.cpp:249 #8 0xb7d864f9 in KisOpenGLImageTextures::slotImageUpdated (this=0x91089d8, rc=@0x9b1cdf8) at /home/devel/kde-src/koffice/krita/ui/opengl/kis_opengl_image_textures.cpp:385 #9 0xb7d86891 in KisOpenGLImageTextures::qt_metacall (this=0x91089d8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffa16fc) at /home/devel/kde-build/koffice/krita/ui/kis_opengl_image_textures.moc:79 #10 0xb7fd6498 in QMetaObject::activate (sender=0x9050c60, from_signal_index=9, to_signal_index=9, argv=0xbffa16fc) at kernel/qobject.cpp:3057 #11 0xb7fd7894 in QMetaObject::activate (sender=0x9050c60, m=0xb7c35e28, local_signal_index=5, argv=0xbffa16fc) at kernel/qobject.cpp:3134 #12 0xb7b62156 in KisImage::sigImageUpdated (this=0x9050c60, _t1=@0x9b1cdf8) at /home/devel/kde-build/koffice/krita/image/kis_image.moc:168 #13 0xb7b62180 in KisImage::slotProjectionUpdated (this=0x9050c60, rc=@0x9b1cdf8) at /home/devel/kde-src/koffice/krita/image/kis_image.cc:1138 #14 0xb7b62778 in KisImage::qt_metacall (this=0x9050c60, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x99768d0) at /home/devel/kde-build/koffice/krita/image/kis_image.moc:120 #15 0xb7fcfba7 in QMetaCallEvent::placeMetaCall (this=0x9b185e8, object=0x9050c60) at kernel/qobject.cpp:489 #16 0xb7fd4371 in QObject::event (this=0x9050c60, e=0x9b185e8) at kernel/qobject.cpp:1106 #17 0xb5fca7a0 in QApplicationPrivate::notify_helper (this=0x809ee30, receiver=0x9050c60, e=0x9b185e8) at kernel/qapplication.cpp:4084 #18 0xb5fcab4b in QApplication::notify (this=0xbffa1f48, receiver=0x9050c60, e=0x9b185e8) at kernel/qapplication.cpp:3631 #19 0xb6d3bbb1 in KApplication::notify () from /home/devel/kde-install/release/kde/lib/libkdeui.so.5 #20 0xb7fbf96b in QCoreApplication::notifyInternal (this=0xbffa1f48, receiver=0x9050c60, event=0x9b185e8) at kernel/qcoreapplication.cpp:598 #21 0xb7fc3514 in QCoreApplication::sendEvent (receiver=0x9050c60, event=0x9b185e8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #22 0xb7fbfe6c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8066a78) at kernel/qcoreapplication.cpp:1236 #23 0xb7fc0010 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132 #24 0xb7ff0ea5 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #25 0xb7ff00b5 in postEventSourceDispatch (s=0x80a10a0) at kernel/qeventdispatcher_glib.cpp:209 #26 0xb5b20146 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0xb5b234f3 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x080a1020 in ?? () #29 0x00000000 in ?? ()
The backtrace looks completely different and it might be a totally different problem. I still can't reproduce it.
SVN commit 1015372 by langkamp: don't delete the monitor profile when destroying the canvas as it's own by the colorspace registry CCBUG:191224 M +0 -1 kis_canvas2.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1015372