*** stack smashing detected ***: xpaint terminated when move region
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xpaint (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Xpaint crash when move Region.I send a report and patch.
[Step to produce]
1. launch xpaint
2. open New Canvas
3. choose Toolbox/Select Rectangular Region
4. decide a region on canvas
5. push mouse button 1 on this region
6. xpaint crash due to "stack smashing detected" error
[How to fix]
apply this patch.
--- xpaint-
+++ xpaint-
@@ -994,7 +994,6 @@ regionButtonPre
{
int zoom = GET_ZOOM(pw);
static long prev_time = 0;
- Boolean value;
pw-
@@ -1005,6 +1004,7 @@ regionButtonPre
if (event->button == Button1 && Global.transparent) {
if (abs(event-
+ int value;
value = 3 - (value&1);
[System]
Package: xpaint 2.9.1.4-3.1
ProblemType: Bug
Architechture: amd64
CurrentDesktop: Unity
Date: Fri May 19 10:42:26 2017
DestroRelease Ubuntu 16.04
InstallationDate: Installed on 2017-01-19(120 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Relase amd64(20160426.1)
PackageArchitec
ProcVersionSign
SourcePackage: xpaint
Tags: xenial
Uname: Linux 4.4.0-71-generic x86_64