| Summary: | [steps] kolourpaint crashes when undoing after typing text and selecting something [assert, kpDocumentEnvironment::switchToCompatibleTool, kpDocument::setSelection, kpToolSelectionDestroyCommand::unexecute] | ||
|---|---|---|---|
| Product: | [Applications] kolourpaint | Reporter: | Anthony Bryant <antjbryant> |
| Component: | general | Assignee: | kolourpaint-support |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | andresbajotierra, mirza.dervisevic |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I can reproduce the same 3 steps and the same result on KDE4.0.73 on WinXP, though i can't get all that crash messages - kolourpaint doesn't print anything into console. Version 4.1.00 (KDE 4.1.0) Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686: I can confirm this bug I can also reproduce this bug using: Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814)) kdelibs4.2 svn rev.849324 kdebase4.2 svn rev.849337 ArchLinux 2.6.25-zen2-20080814 i686 The assert is: ASSERT: "!document ()->selection ()" in file /home/kde-devel/kde/src/KDE/kdegraphics/kolourpaint/environments/document/kpDocumentEnvironment.cpp, line 127 I can still reproduce this bug using KDE4.1.3 and KDE4.2svn (kdegraphics rev. 890639) Confirming here using: Qt: 4.4.3 KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) kdelibs svn rev. 898705 / kdebase svn rev. 898705 kdegraphics svn rev.898725 on ArchLinux x86_64 - 2.6.27.8 *** Bug 197638 has been marked as a duplicate of this bug. *** I confirm it with KDE 4.3.1 (openSUSE 11.2 x86_64). Still valid with KDE SC 4.4 trunk: kdegraphics svn rev. 1062428 *** This bug has been marked as a duplicate of bug 211481 *** |
Version: (using Devel) Installed from: Compiled sources Compiler: gcc 4.2.1 OS: Linux steps to reproduce: 1. drag a text box and type something in it 2. make a selection rectangle (either drag it or use select all) 3. press undo Application: KolourPaint BETA (kolourpaint4), signal SIGABRT Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1245899072 (LWP 7963)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb650e875 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb6510201 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb7e3f01d in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb7e3f0a1 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb7e3f20d in qt_assert () from /usr/lib/libQtCore.so.4 #12 0x0808841a in kpDocumentEnvironment::switchToCompatibleTool ( this=0x81b8318, selection=@0x8515618, isTextChanged=0xbffbf5b6) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/environments/document/kpDocumentEnvironment.cpp:127 #13 0x0808715d in kpDocument::setSelection (this=0x81b8450, selection=@0x8515618) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/document/kpDocument_Selection.cpp:111 #14 0x0806ea51 in kpToolSelectionDestroyCommand::unexecute (this=0x8744f98) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/commands/tools/selection/kpToolSelectionDestroyCommand.cpp:166 #15 0x08068521 in kpCommandHistoryBase::undoInternal (this=0x820d680) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/commands/kpCommandHistoryBase.cpp:325 #16 0x08069061 in kpCommandHistoryBase::undo (this=0x820d680) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/commands/kpCommandHistoryBase.cpp:390 #17 0x0806b378 in kpCommandHistory::undo (this=0x820d680) at /home/anthony/kde/src/trunk/KDE/kdegraphics/kolourpaint/commands/kpCommandHistory.cpp:104 #18 0x0806863b in kpCommandHistoryBase::qt_metacall (this=0x820d680, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffbfd0c) at /home/anthony/kde/build/trunk/KDE/kdegraphics/kolourpaint/kpCommandHistoryBase.moc:79 #19 0x0806b214 in kpCommandHistory::qt_metacall (this=0x820d680, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbffbfd0c) at /home/anthony/kde/build/trunk/KDE/kdegraphics/kolourpaint/kpCommandHistory.moc:60 #20 0xb7f0ec04 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #21 0xb7f0ee00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #22 0xb687c878 in QAction::triggered () from /usr/lib/libQtGui.so.4 #23 0xb687e5e6 in QAction::activate () from /usr/lib/libQtGui.so.4 #24 0xb687e797 in QAction::event () from /usr/lib/libQtGui.so.4 #25 0xb68dfa8c in QWidgetAction::event () from /usr/lib/libQtGui.so.4 #26 0xb688444d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #27 0xb688474e in QApplication::notify () from /usr/lib/libQtGui.so.4 #28 0xb7a9fc3b in KApplication::notify (this=0xbffc0fa0, receiver=0x820d7a0, event=0xbffc01c4) at /home/anthony/kde/src/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #29 0xb7efd456 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #30 0xb688117f in ?? () from /usr/lib/libQtGui.so.4 #31 0xbffc0fa0 in ?? () #32 0x0820d7a0 in ?? () #33 0xbffc01c4 in ?? () #34 0x00000000 in ?? () #0 0xffffe410 in __kernel_vsyscall ()