[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 173922] New: Crash if you try to add shapes to notes view
From:       James Hogan <james () albanarts ! com>
Date:       2008-10-30 19:35:43
Message-ID: bug-173922-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=173922

           Summary: Crash if you try to add shapes to notes view
           Product: kpresenter
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: t.zachmann@zagge.de
        ReportedBy: james@albanarts.com


Version:           koffice trunk r877935 (after koffice 2.0-beta-2) (using KDE
4.1.2)
Compiler:          gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) 
OS:                Linux
Installed from:    Fedora RPMs

Start a new slideshow, go to "view"->"notes", select a shape from the "Add
Shape" docker and drag it out somewhere in the notes view.
Kpresenter then crashes.
I suppose the add shapes docker should be disabled when in notes view, or it
should show an error message if you do try.

Here's a backtrace. It is fully reproducable.

Application: KPresenter (kpresenter), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f0a6ab6a800 (LWP 10064)]
[KCrash handler]
#5  KoPADocument::addShape (this=0x1d89340, shape=0x1f76470)
    at
/home/james/src/kde/trunk/KDE/koffice/libs/kopageapp/KoPADocument.cpp:346
#6  0x000000000170ce7b in KoShapeCreateCommand::recurse (this=0x7f0a576bbc00, 
    shape=0x1f76470, ar=KoShapeCreateCommand::Add)
    at
/home/james/src/kde/trunk/KDE/koffice/libs/flake/commands/KoShapeCreateCommand.cpp:89
#7  0x000000000170d0de in KoShapeCreateCommand::redo (this=0x7f0a576bbc00)
    at
/home/james/src/kde/trunk/KDE/koffice/libs/flake/commands/KoShapeCreateCommand.cpp:68
#8  0x0000003776d03a28 in QUndoStack::push () from /usr/lib64/libQtGui.so.4
#9  0x0000000001738026 in KoInteractionTool::mouseReleaseEvent (
    this=0x28ca390, event=<value optimized out>)
    at
/home/james/src/kde/trunk/KDE/koffice/libs/flake/tools/KoInteractionTool.cpp:83
#10 0x00000000017386f9 in KoCreateShapesTool::mouseReleaseEvent (
    this=0x1b91278, event=0x1b91314)
    at
/home/james/src/kde/trunk/KDE/koffice/libs/flake/tools/KoCreateShapesTool.cpp:60
#11 0x00000000016e318e in KoToolProxy::mouseReleaseEvent (this=0x28c77b0, 
    event=0x7fff72bb7260, point=@0x7fff72bb6af0)
    at /home/james/src/kde/trunk/KDE/koffice/libs/flake/KoToolProxy.cpp:263
#12 0x000000000118502f in KoPACanvas::mouseReleaseEvent (this=0x28cbbd0, 
    event=0x7fff72bb7260)
    at /home/james/src/kde/trunk/KDE/koffice/libs/kopageapp/KoPACanvas.cpp:162
#13 0x00000037767d5109 in QWidget::event () from /usr/lib64/libQtGui.so.4
#14 0x00000037767827dd in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#15 0x000000377678adfa in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#16 0x00000037785fb55b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#17 0x0000003776143081 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#18 0x000000377678a198 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib64/libQtGui.so.4
#19 0x00000037767eea59 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00000037767ed477 in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#21 0x0000003776813d9c in ?? () from /usr/lib64/libQtGui.so.4
#22 0x000000317823742b in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#23 0x000000317823ac0d in ?? () from /lib64/libglib-2.0.so.0
#24 0x000000317823adcb in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#25 0x000000377616b56f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#26 0x000000377681350f in ?? () from /usr/lib64/libQtGui.so.4
#27 0x0000003776141992 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#28 0x0000003776141b1d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#29 0x0000003776143fed in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#30 0x0000000000112197 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /home/james/src/kde/trunk/KDE/koffice/kpresenter/part/main.cpp:41
#31 0x000000352a21e32a in __libc_start_main () from /lib64/libc.so.6
#32 0x0000000000400909 in _start ()


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic