bugGNU Paint - Bugs: bug #20251, gpaint crashed with SIGSEGV in...

 
 

bug #20251: gpaint crashed with SIGSEGV in image_from_selection()

Submitted by:  Andy Tai <atai>
Submitted on:  Mon 25 Jun 2007 11:20:22 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Andy Tai <atai>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 02 Sep 2007 04:27:44 AM UTC, comment #3:

fix released with version 0.3.2

Andy Tai <atai>
Project AdministratorIn charge of this item.
Thu 12 Jul 2007 07:24:17 AM UTC, comment #2:

Patch applied. Goedso, thanks.

Andy Tai <atai>
Project AdministratorIn charge of this item.
Mon 25 Jun 2007 11:20:22 AM UTC, comment #1:

This item has been reassigned from the project GNU Paint task tracker to your tracker.

The original report is still available at task #7032

Following are the information included in the original report:

[field #0] Item ID: 7032
[field #1] Group ID: 121
[field #2] Open/Closed: Open
[field #3] Severity: 3 - Normal
[field #4] Privacy: Public
[field #9] Category: None
[field #10] Submitted by: atai
[field #11] Assigned to: atai
[field #12] Submitted on: Monday 06/25/2007 at 04:12
[field #13] Summary: gpaint crashed with SIGSEGV in image_from_selection()
[field #14] Original Submission: Original Ubnutu bug report:

https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/102539

Bug description [edit]

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

* Stacktrace.txt (retraced) (35.8 KiB, text/plain)

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

Jordan Mantha said on 2007-06-22: (permalink)

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"


[field #16] Item Group: None
[field #17] Status: None
[field #18] Component Version: None
[field #19] Operating System: None
[field #20] Reproducibility: None
[field #21] Size (loc): None
[field #22] Fixed Release: None
[field #23] Planned Release: None
[field #24] Effort: 0.00
[field #28] Priority: 1 - Later
[field #29] Should Start On: Monday 06/25/2007 at 00:00
[field #30] Should be Finished on: Monday 06/25/2007 at 00:00
[field #31] Percent Complete: 0%
[field #33] Release: None
[field #58] Custom Select Box #1: None
[field #59] Custom Select Box #2: None
[field #60] Custom Select Box #3: None
[field #61] Custom Select Box #4: None
[field #62] Custom Select Box #5: None
[field #63] Custom Select Box #6: None
[field #64] Custom Select Box #7: None
[field #65] Custom Select Box #8: None
[field #66] Custom Select Box #9: None
[field #67] Custom Select Box #10: None

Andy Tai <atai>
Project AdministratorIn charge of this item.
Mon 25 Jun 2007 11:20:22 AM UTC, original submission:

Original Ubnutu bug report:

https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/102539

Bug description [edit]

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

* Stacktrace.txt (retraced) (35.8 KiB, text/plain)

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

Jordan Mantha said on 2007-06-22: (permalink)

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"

Andy Tai <atai>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #13231:  03_fix_crash_on_copy.dpatch added by goedson (6KiB - application/octet-stream - Updated patch with a complete fix for the bug)
file #13159:  03_fix_crash_on_copy.dpatch added by atai (2KiB - application/octet-stream - proposed fix by Goedson Teixeira Paixao <goedson@debian.org> attached)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goedson (Updated the item)
  • -unavailable- added by atai (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Sep 2007 04:27:55 AM UTCataiOpen/ClosedOpen=>Closed
    Thu 12 Jul 2007 07:24:17 AM UTCataiStatusNone=>Fixed
    Tue 03 Jul 2007 01:36:04 AM UTCgoedsonAttached File-=>Added 03_fix_crash_on_copy.dpatch, #13231
    Mon 25 Jun 2007 11:24:31 AM UTCataiAssigned toNone=>atai
    Mon 25 Jun 2007 11:20:23 AM UTCataiReassign itemGNU Paint, task #7032=>GNU Paint, bug #20251

    Back to the top


    Powered by Savane 3.1-cleanup1