Bug 242732 - Segmentation,Fatal Error when Undo
Summary: Segmentation,Fatal Error when Undo
Status: RESOLVED DUPLICATE of bug 236329
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 23:40 UTC by Tzikalagias Andreas
Modified: 2013-04-16 21:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tzikalagias Andreas 2010-06-24 23:40:21 UTC
Version:           unspecified
OS:                Linux

While I try to Undo through menu-bar it crashes giving a fatal error warning and the signal 11 (SIGSEGV).


Reproducible: Sometimes

Steps to Reproduce:
Run application.
Do something on the workspace.
Go to  Edit>Undo> (select an action to undo) , crashes.


Actual Results:  
Application crashed giving fatal error window.


Undo using shortcut Cntr + Z , works.

My Operating System is:

Ubuntu
Release 9.04 (jaunty)
Kernel Linux 2.6.28-19-generic
GNOME 2.26.1
Comment 1 Christoph Feck 2010-08-30 01:10:24 UTC
Hi, if this is reproducible, please provide a backtrace. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 kdebugs 2013-03-19 04:30:22 UTC
I'm not sure if it's the exact same bug, but I have a reproducible bug related to use of Undo.  It crashes KolourPaint with a segmentation fault.  I'd be glad to provide a backtrace, however I'm not sure how to install debugging packages.  The KDE Crash Handler when I click "Install Debug Symbols" tells me:
-----------------
Error during the installation of debug symbols -- The...
Could not find debug symbol packages for this application.
-----------------
According to http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Ubuntu packages are all supposed to have "-dbg" counterparts, however when I tried:
---------------
sudo apt-get install kolourpaint4-dbg
I got:
---------------
E: Unable to locate package kolourpaint4-dbg
-------------------------
To reproduce the bug in Kubuntu 12.04 (KDE 4.8.5) with version 4.8.4 of KolourPaint:
1) Start KolourPaint
2) Paste an image onto the existing canvas.*
3) Press 'G', or click the freehand polygon tool.
4) Click on the canvas 3 times.**
5) Click Undo...Undo: Selection: Create***
6) Press 'M', or click the freehand selection tool.

Notes:
* I've tried multiple pictures with different sizes, so any pasted image should do.
** Do NOT right-click or select any another tools between steps 4 and 5 above!  The polygon must be drawn, but not finalized.
*** For Step 5, you can click the Undo on the toolbar, or go to Edit...Undo, but using Ctrl+Z doesn't work, since it finalizes the polygon.

Here is the "not useful" crash information:
--------------------
Application: KolourPaint (kolourpaint), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  0x0880e390 in ?? ()
#8  0xb64c52c7 in KLocalizedString::toString() const () from /usr/lib/libkdecore.so.5
#9  0x08064bc4 in _start ()
Comment 3 Christoph Feck 2013-04-16 21:14:46 UTC
Thanks, we finally have a way to reproduce bug 236329.

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