[apport] gpaint crashed with SIGSEGV in image_from_selection()

Bug #102539 reported by Mathieu Marquer
16
Affects Status Importance Assigned to Milestone
gpaint (Ubuntu)
Fix Released
Medium
Goedson Teixeira Paixão

Bug Description

Binary package hint: gpaint

I was just editing a file, pressed Ctrl+A to select all the picture, then Ctrl+c to copy it, and then gpaint just crashed. It appears to happen with every type of image (.jpg, .png...)

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Tue Apr 3 21:51:14 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gpaint
Package: gpaint 0.2.4+0.3.0pre5-4
PackageArchitecture: i386
ProcCmdline: gpaint
ProcCwd: /home/mathieu
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gpaint
StacktraceTop:
 image_from_selection ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Uname: Linux mathieu-laptop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip fax floppy lpadmin netdev plugdev powerdev scanner tape video

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:image_from_selection (pixmap=0x82edd50, pa=0x82c09f0) at image.c:431
canvas_copy_selection_to_clipboard (canvas=0x82c0900) at canvas.c:695
canvas_copy (canvas=0x82c0900) at canvas.c:635
IA__g_cclosure_marshal_VOID__VOID (closure=0x829eec0, return_value=0x0, n_param_values=1, param_values=0xbfc579ac, invocation_hint=0xbfc578bc,
IA__g_closure_invoke (closure=0x829eec0, return_value=0x0, n_param_values=1, param_values=0xbfc579ac, invocation_hint=0xbfc578bc) at gclosure.c:490

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in gpaint:
importance: Undecided → Medium
Revision history for this message
LaserJock (laserjock) wrote :

In gutsy (0.3.1-1) gpaint crashes when I load a file and do "Select All" and then "Cut". It doesn't crash when I do "Copy"

Revision history for this message
atai (atai) wrote :
Changed in gpaint:
assignee: nobody → goedson
status: New → In Progress
Revision history for this message
Goedson Teixeira Paixão (goedson) wrote :

The attached patch fixes the bug.

Revision history for this message
Goedson Teixeira Paixão (goedson) wrote :

A minor correction to the patch so the borders of the image get correctly redrawn when we move the pasted image. This is the final version I'll upload to Debian sid tomorrow after I rebuild my pbuilder environment.

Revision history for this message
Goedson Teixeira Paixão (goedson) wrote :

A complete fix for the bug is in the attached patch and will be uploaded to Debian tomorrow.

Changed in gpaint:
status: In Progress → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

gpaint (0.3.1-2) unstable; urgency=low

  * Fix crash when copying the whole image (LP: #102539)
  * Updated pt_BR translation

 -- Sebastien Bacher <email address hidden> Thu, 05 Jul 2007 21:32:14 +0100

Changed in gpaint:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.