Bug 263098 - Braindump crashes when shape is dropped onto canvas
Summary: Braindump crashes when shape is dropped onto canvas
Status: RESOLVED DUPLICATE of bug 262107
Alias: None
Product: braindump
Classification: Applications
Component: application (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Cyrille Berger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 04:36 UTC by code-breaker
Modified: 2011-01-14 10:50 UTC (History)
0 users

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 code-breaker 2011-01-14 04:36:25 UTC
Application: braindump (0.10.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I have tried various shapes, they all seem to cause braindump to crash when they are drag-and-dropped onto the canvas. They could be from the Shape box docker, or from the Add Shape docker. The image and video shapes open the file select dialog, and once a file is selected, then the crash occurs. Dropping the divineproportion shape brings up its dialog, then crashes braindump once the dialog closes. 

The crash can be reproduced every time.

 -- Backtrace:
Application: Braindump (braindump), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4166960 (LWP 20734))]

Thread 2 (Thread 0xaebffb70 (LWP 20739)):
#0  0xb4831e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb58016fb in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5806825 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb580686a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5804818 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58048a5 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb498eaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb498eee9 in ?? () from /lib/libglib-2.0.so.0
#8  0xb498f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb580460f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb57d7059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb57d74aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb56d35a8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb57b6c1b in ?? () from /usr/lib/libQtCore.so.4
#14 0xb56d632e in ?? () from /usr/lib/libQtCore.so.4
#15 0xb563a96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb53f3a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4166960 (LWP 20734)):
[KCrash Handler]
#6  0xb70bdb76 in KoShapeCreateCommand::redo (this=0x9662c50) at /home/code-breaker/Projects/calligra/libs/flake/commands/KoShapeCreateCommand.cpp:68
#7  0xb64fa6f5 in QUndoStack::push(QUndoCommand*) () from /usr/lib/libQtGui.so.4
#8  0x08061392 in RootSection::addCommand (this=0x8d99ef8, _section=0x0, _command=0x9662c50) at /home/code-breaker/Projects/calligra/braindump/src/RootSection.cpp:55
#9  0x0805ac00 in Canvas::addCommand (this=0x9a80c78, command=0x9662c50) at /home/code-breaker/Projects/calligra/braindump/src/Canvas.cpp:96
#10 0xb706a37c in Viewport::handleDropEvent (this=0x9563ba8, event=0xbfc02b10) at /home/code-breaker/Projects/calligra/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:192
#11 0xb70672fa in KoCanvasControllerWidget::dropEvent (this=0x95887c8, event=0xbfc02b10) at /home/code-breaker/Projects/calligra/libs/flake/KoCanvasControllerWidget.cpp:573
#12 0xb5e497c0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb6245fd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb62e0382 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb62e2c65 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb57d7cda in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0xb5deb4b9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb5df253d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb760840a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0xb57d8a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#21 0xb5e8bd35 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb5e8c046 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb5e8e2fa in ?? () from /usr/lib/libQtGui.so.4
#24 0xb57d7d9c in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb5deb463 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb5df29f7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb760840a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb57d8a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb5df1952 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#30 0xb5e7d088 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb5e7c511 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb5eab60a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb498b5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0xb498f2d8 in ?? () from /lib/libglib-2.0.so.0
#35 0xb498f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0xb58045d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb5eab135 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb57d7059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb57d74aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0xb5e9147d in ?? () from /usr/lib/libQtGui.so.4
#41 0xb5e0399e in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /usr/lib/libQtGui.so.4
#42 0xb639283c in QAbstractItemView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib/libQtGui.so.4
#43 0xb63a9727 in QListView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib/libQtGui.so.4
#44 0xb63900fa in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb63a9a9a in QListView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#46 0xb5e4969a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#47 0xb6245fd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb62e0382 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#49 0xb6394bd7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0xb62e2c65 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb57d7cda in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#52 0xb5deb4b9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#53 0xb5df29f7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb760840a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#55 0xb57d8a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#56 0xb5df1952 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#57 0xb5e7d088 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb5e7c511 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#59 0xb5eab60a in ?? () from /usr/lib/libQtGui.so.4
#60 0xb498b5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0xb498f2d8 in ?? () from /lib/libglib-2.0.so.0
#62 0xb498f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0xb58045d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#64 0xb5eab135 in ?? () from /usr/lib/libQtGui.so.4
#65 0xb57d7059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#66 0xb57d74aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#67 0xb57db69f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#68 0xb5deb577 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#69 0x08058c32 in main (argc=1, argv=0xbfc04ed4) at /home/code-breaker/Projects/calligra/braindump/src/main.cpp:59

Reported using DrKonqi
Comment 1 Cyrille Berger 2011-01-14 10:50:10 UTC
You need to create a whiteboard, before being able to insert a shape (maybe, braindump should create one at first run), to do so, go to the whiteboards docker, and click on the plus icon.

*** This bug has been marked as a duplicate of bug 262107 ***