Bug 190873 - Krita crashed when applying Show ruler assistant
Summary: Krita crashed when applying Show ruler assistant
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 190874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-27 23:15 UTC by Sergei Andreev
Modified: 2009-04-29 00:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Andreev 2009-04-27 23:15:48 UTC
Version:           2.0 RC1 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

Steps to reproduce:
1. open jpeg picture
2. paint some figure with default brush
3. Go to View -> Show ruler assistant 

or 

1. open jpeg picture
2. Go to View -> Show ruler assistant 
3. try to paint some figure with default brush

Приложение: Krita (krita), сигнал SIGSEGV
0x00007f3a0656cd21 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c

Thread 1 (Thread 0x7f3a0f3dd760 (LWP 16395)):
[KCrash Handler]
#5  KoZoomHandler::documentToView (this=0x4259170, documentPoint=@0x0) at /build/buildd/koffice2-1.9.99.9/libs/guiutils/KoZoomHandler.h:123
#6  0x00007f39f1acd42e in RulerDecoration::drawDecoration (this=0x473bf60, _painter=@0x7fff1741e500, documentOffset=<value optimized out>, _area=<value optimized out>, _converter=@0x4259170)
    at /build/buildd/koffice2-1.9.99.9/krita/plugins/assistants/RulerAssistant/RulerAssistantCommon/RulerDecoration.cc:62
#7  0x00007f3a0e7df482 in KisCanvasDecoration::paint (this=0x473bf60, gc=@0x7fff1741e500, documentOffset=@0x42674f8, area=@0x7fff1741ebd4, converter=@0x4259170)
    at /build/buildd/koffice2-1.9.99.9/krita/ui/canvas/kis_canvas_decoration.cc:73
#8  0x00007f3a0e7db970 in KisAbstractCanvasWidget::drawDecorations (this=0x4267268, gc=@0x7fff1741e500, tools=true, documentOffset=@0x42674f8, clipRect=@0x7fff1741ebd4, canvas=0x4265d70)
    at /build/buildd/koffice2-1.9.99.9/krita/ui/canvas/kis_abstract_canvas_widget.cpp:54
#9  0x00007f3a0e7ed956 in KisQPainterCanvas::paintEvent (this=0x4267240, ev=0x7fff1741ebc0) at /build/buildd/koffice2-1.9.99.9/krita/ui/canvas/kis_qpainter_canvas.cpp:182
#10 0x00007f3a07b2b796 in QWidget::event (this=0x4267240, event=0x7fff1741ebc0) at kernel/qwidget.cpp:7654
#11 0x00007f3a07ada83d in QApplicationPrivate::notify_helper (this=0xc4d5b0, receiver=0x4267240, e=0x7fff1741ebc0) at kernel/qapplication.cpp:4084
#12 0x00007f3a07ae2a2a in QApplication::notify (this=0x7fff1741fb90, receiver=0x4267240, e=0x7fff1741ebc0) at kernel/qapplication.cpp:4049
#13 0x00007f3a08cc726b in KApplication::notify (this=0x7fff1741fb90, receiver=0x4267240, event=0x7fff1741ebc0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#14 0x00007f3a0ed0375c in QCoreApplication::notifyInternal (this=0x7fff1741fb90, receiver=0x4267240, event=0x7fff1741ebc0) at kernel/qcoreapplication.cpp:602
#15 0x00007f3a07b32a55 in QWidgetPrivate::drawWidget (this=0x4267290, pdev=0x3f466b8, rgn=@0x7fff1741ef30, offset=@0x7fff1741ef20, flags=68, sharedPainter=0x0, backingStore=0x3f63350)
    at kernel/qwidget.cpp:5046
#16 0x00007f3a07cd63ae in QWidgetBackingStore::sync (this=0x3f63350) at painting/qbackingstore.cpp:1258
#17 0x00007f3a07b24100 in QWidgetPrivate::syncBackingStore (this=0x3f4c7a0) at kernel/qwidget.cpp:1603
#18 0x00007f3a07b2b62d in QWidget::event (this=0x3f1cac0, event=0x2491a80) at kernel/qwidget.cpp:7794
#19 0x00007f3a07ee007b in QMainWindow::event (this=0x3f1cac0, event=0x2491a80) at widgets/qmainwindow.cpp:1396
#20 0x00007f3a08dd2838 in KXmlGuiWindow::event (this=0x4259170, ev=0x0) at /build/buildd/kde4libs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#21 0x00007f3a07ada83d in QApplicationPrivate::notify_helper (this=0xc4d5b0, receiver=0x3f1cac0, e=0x2491a80) at kernel/qapplication.cpp:4084
#22 0x00007f3a07ae2a2a in QApplication::notify (this=0x7fff1741fb90, receiver=0x3f1cac0, e=0x2491a80) at kernel/qapplication.cpp:4049
#23 0x00007f3a08cc726b in KApplication::notify (this=0x7fff1741fb90, receiver=0x3f1cac0, event=0x2491a80) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#24 0x00007f3a0ed0375c in QCoreApplication::notifyInternal (this=0x7fff1741fb90, receiver=0x3f1cac0, event=0x2491a80) at kernel/qcoreapplication.cpp:602
#25 0x00007f3a0ed043ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xbfc080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007f3a0ed2d1e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 0x00007f3a05c1520a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f3a05c188e0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f3a05c18a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f3a0ed2ce6f in QEventDispatcherGlib::processEvents (this=0xc39c60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#31 0x00007f3a07b72c9f in QGuiEventDispatcherGlib::processEvents (this=0x4259170, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f3a0ed02002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 390200064}) at kernel/qeventloop.cpp:149
#33 0x00007f3a0ed023cd in QEventLoop::exec (this=0x7fff1741fb40, flags={i = 390200144}) at kernel/qeventloop.cpp:200
#34 0x00007f3a0ed04694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#35 0x00007f3a0effd905 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/koffice2-1.9.99.9/krita/main.cc:44
#36 0x00007f3a064e35a6 in __libc_start_main (main=0x400980 <main>, argc=1, ubp_av=0x7fff1741fd28, init=0x4009b0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff1741fd18) at libc-start.c:220
#37 0x00000000004008b9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 1 Dario Andres 2009-04-28 00:36:42 UTC
*** Bug 190874 has been marked as a duplicate of this bug. ***
Comment 2 Sven Langkamp 2009-04-28 02:52:48 UTC
SVN commit 960143 by langkamp:

fix crash on showing ruler assistant

CCBUG:190873



 M  +2 -0      RulerDecoration.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=960143