Summary: | Crash on open remote document | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Sven Langkamp <sven.langkamp> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | echidnaman, havard |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sven Langkamp
2009-03-09 02:16:26 UTC
The problem is that remote documents are loaded asynchronously. So the view gets created before the image is there and some parts of the view expect the image to be available. *** Bug 189744 has been marked as a duplicate of this bug. *** This crash is still present in Krita 2.0 final. We received a downstream report about the crash here: https://launchpad.net/bugs/361943 with the following backtrace: Application: Krita (krita), signal SIGSEGV 0x00007f4e140fcd21 in nanosleep () from /lib/libc.so.6 Current language: auto; currently c Thread 1 (Thread 0x7f4e1cae7760 (LWP 6973)): [KCrash Handler] #5 KisImage::colorSpace (this=0x0) at /build/buildd/koffice2-2.0.0/krita/image/kis_image.cc:1049 #6 0x00007f4e1c1a88ee in KisOpenGLImageTextures::imageCanShareTextures (image={d = 0x7fff24cbf570}) at /build/buildd/koffice2-2.0.0/krita/ui/opengl/kis_opengl_image_textures.cpp:163 #7 0x00007f4e1c1ab7d0 in KisOpenGLImageTextures::getImageTextures (image={d = 0x7fff24cbf650}, monitorProfile=0x312d620) at /build/buildd/koffice2-2.0.0/krita/ui/opengl/kis_opengl_image_textures.cpp:135 #8 0x00007f4e1c090ec8 in KisCanvas2::createOpenGLCanvas (this=0x3d09410) at /build/buildd/koffice2-2.0.0/krita/ui/canvas/kis_canvas2.cpp:254 #9 0x00007f4e1c0913ac in KisCanvas2::createCanvas (this=0x3d09410) at /build/buildd/koffice2-2.0.0/krita/ui/canvas/kis_canvas2.cpp:272 #10 0x00007f4e1c09196b in KisCanvas2 (this=0x3d09410, viewConverter=<value optimized out>, view=0x3c4ef60, sc=<value optimized out>) at /build/buildd/koffice2-2.0.0/krita/ui/canvas/kis_canvas2.cpp:105 #11 0x00007f4e1c16b479 in KisView2 (this=0x3c4ef60, doc=0x20c8e10, parent=<value optimized out>) at /build/buildd/koffice2-2.0.0/krita/ui/kis_view2.cpp:195 #12 0x00007f4e1c0f5f84 in KisDoc2::createViewInstance (this=0x20c8e10, parent=0x2108b40) at /build/buildd/koffice2-2.0.0/krita/ui/kis_doc2.cc:457 #13 0x00007f4e195c1cfa in KoDocument::createView (this=0x0, parent=0x3ff91c0) at /build/buildd/koffice2-2.0.0/libs/main/KoDocument.cpp:341 #14 0x00007f4e195e7177 in KoMainWindow::setRootDocument (this=0x20e8970, doc=0x20c8e10) at /build/buildd/koffice2-2.0.0/libs/main/KoMainWindow.cpp:453 #15 0x00007f4e195c50a3 in KoDocument::deleteOpenPane (this=0x20c8e10) at /build/buildd/koffice2-2.0.0/libs/main/KoDocument.cpp:2645 #16 0x00007f4e1c0f59da in KisDoc2::openExistingFile (this=0x20c8e10, url=@0x7fff24cbfbf0) at /build/buildd/koffice2-2.0.0/krita/ui/kis_doc2.cc:160 #17 0x00007f4e1c0f5bd1 in KisDoc2::qt_metacall (this=0x20c8e10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24cbfab0) at /build/buildd/koffice2-2.0.0/obj-x86_64-linux-gnu/krita/ui/kis_doc2.moc:77 #18 0x00007f4e1c5c08d2 in QMetaObject::activate (sender=0x214a770, from_signal_index=<value optimized out>, to_signal_index=27, argv=0x3ff91c0) at kernel/qobject.cpp:3120 #19 0x00007f4e196456a2 in KoOpenPane::openExistingFile (this=0x0, _t1=<value optimized out>) at /build/buildd/koffice2-2.0.0/obj-x86_64-linux-gnu/libs/main/KoOpenPane.moc:98 #20 0x00007f4e19645a44 in KoOpenPane::qt_metacall (this=0x214a770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24cbfbd0) at /build/buildd/koffice2-2.0.0/obj-x86_64-linux-gnu/libs/main/KoOpenPane.moc:80 #21 0x00007f4e1c5c08d2 in QMetaObject::activate (sender=0x21cfd50, from_signal_index=<value optimized out>, to_signal_index=27, argv=0x3ff91c0) at kernel/qobject.cpp:3120 #22 0x00007f4e1965a572 in KoExistingDocumentPane::openExistingUrl (this=0x0, _t1=<value optimized out>) at /build/buildd/koffice2-2.0.0/obj-x86_64-linux-gnu/libs/main/KoExistingDocumentPane.moc:83 #23 0x00007f4e1965a5fa in KoExistingDocumentPane::onAccepted (this=0x21cfd50) at /build/buildd/koffice2-2.0.0/libs/main/KoExistingDocumentPane.cpp:62 #24 0x00007f4e1965a66d in KoExistingDocumentPane::qt_metacall (this=0x21cfd50, _c=QMetaObject::InvokeMetaMethod, _id=67080640, _a=0x7fff24cbfcd0) at /build/buildd/koffice2-2.0.0/obj-x86_64-linux-gnu/libs/main/KoExistingDocumentPane.moc:71 #25 0x00007f4e1c5c08d2 in QMetaObject::activate (sender=0x2219630, from_signal_index=<value optimized out>, to_signal_index=31, argv=0x3ff91c0) at kernel/qobject.cpp:3120 #26 0x00007f4e1120e0aa in KFileWidget::slotOk (this=0x2219630) at /build/buildd/kde4libs-4.2.4/kfile/kfilewidget.cpp:960 #27 0x00007f4e1120da29 in KFileWidget::slotOk (this=0x2219630) at /build/buildd/kde4libs-4.2.4/kfile/kfilewidget.cpp:875 #28 0x00007f4e1120c222 in KFileWidget::qt_metacall (this=0x2219630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24cc0750) at /build/buildd/kde4libs-4.2.4/obj-x86_64-linux-gnu/kfile/kfilewidget.moc:124 #29 0x00007f4e1c5c08d2 in QMetaObject::activate (sender=0x221bb90, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x3ff91c0) at kernel/qobject.cpp:3120 #30 0x00007f4e15c78ac7 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200 #31 0x00007f4e159d3d7b in QAbstractButtonPrivate::emitClicked (this=0x2e48ab0) at widgets/qabstractbutton.cpp:543 #32 0x00007f4e159d59d2 in QAbstractButtonPrivate::click (this=0x2e48ab0) at widgets/qabstractbutton.cpp:536 #33 0x00007f4e159d5c25 in QAbstractButton::mouseReleaseEvent (this=0x221bb90, e=0x7fff24cc0f20) at widgets/qabstractbutton.cpp:1115 #34 0x00007f4e1567edef in QWidget::event (this=0x221bb90, event=0x7fff24cc0f20) at kernel/qwidget.cpp:7521 #35 0x00007f4e1562db9d in QApplicationPrivate::notify_helper (this=0x18404f0, receiver=0x221bb90, e=0x7fff24cc0f20) at kernel/qapplication.cpp:4057 #36 0x00007f4e1563654a in QApplication::notify (this=<value optimized out>, receiver=0x221bb90, e=0x7fff24cc0f20) at kernel/qapplication.cpp:3759 #37 0x00007f4e1681384b in KApplication::notify (this=0x7fff24cc2e20, receiver=0x221bb90, event=0x7fff24cc0f20) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307 #38 0x00007f4e1c5aadfc in QCoreApplication::notifyInternal (this=0x7fff24cc2e20, receiver=0x221bb90, event=0x7fff24cc0f20) at kernel/qcoreapplication.cpp:610 #39 0x00007f4e15635798 in QApplicationPrivate::sendMouseEvent (receiver=0x221bb90, event=0x7fff24cc0f20, alienWidget=0x0, nativeWidget=0x221bb90, buttonDown=<value optimized out>, lastMouseReceiver=@0x7f4e1608f010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #40 0x00007f4e1569f789 in QETWidget::translateMouseEvent (this=0x221bb90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4448 #41 0x00007f4e1569e7f5 in QApplication::x11ProcessEvent (this=0x7fff24cc2e20, event=0x7fff24cc2aa0) at kernel/qapplication_x11.cpp:3566 #42 0x00007f4e156c6f84 in x11EventSourceDispatch (s=0x18443a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #43 0x00007f4e137a520a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #44 0x00007f4e137a88e0 in ?? () from /usr/lib/libglib-2.0.so.0 #45 0x00007f4e137a8a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #46 0x00007f4e1c5d452f in QEventDispatcherGlib::processEvents (this=0x182cbe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324 #47 0x00007f4e156c670f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #48 0x00007f4e1c5a96a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 617360784}) at kernel/qeventloop.cpp:149 #49 0x00007f4e1c5a9a6d in QEventLoop::exec (this=0x7fff24cc2dd0, flags={i = 617360864}) at kernel/qeventloop.cpp:200 #50 0x00007f4e1c5abd34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #51 0x00007f4e1c8a2905 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/koffice2-2.0.0/krita/main.cc:44 #52 0x00007f4e140735a6 in __libc_start_main (main=0x400980 <main>, argc=1, ubp_av=0x7fff24cc2fb8, init=0x4009b0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff24cc2fa8) at libc-start.c:220 #53 0x00000000004008b9 in _start () at ../sysdeps/x86_64/elf/start.S:113 |