gimp-gap crashes when duplicating frame

Bug #32900 reported by Ryan Kavanagh on 2006-02-25
8
Affects Status Importance Assigned to Milestone
The Gimp
Fix Released
Medium
gimp-gap (Ubuntu)
Medium
MOTU

Bug Description

GIMP gives an error when duplicating the frame:
<Start of Error Message>
GIMP Message

Plug-In crashed: "gap_plugins"
(/usr/lib/gimp/2.0/plug-ins/gap_plugins)

The dying Plug-In may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

<End of Error Message>

I have restarted GIMP three times, two no avail, and tries reinstalling gimp-gap threw adept.

gdb of gimp

(gdb) exec-file gimp
(gdb)
(gdb) run gimp
Starting program: /usr/bin/gimp gimp
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 2003035840 (LWP 8520)]
*** glibc detected *** free(): invalid pointer: 0x08109180 ***

Program exited normally.
(gdb)

Sebastien Bacher (seb128) wrote :

Could you run "GIMP_PLUGIN_DEBUG=gap_plugins gimp" from a command line, when it prints the pid of the plugin do "gdb -p pid", "(gdb) continue", try duplicating the image and get a backtrace if the plugin crashes then?

It did have the issue on first run on my dapper install but now prints a "could not rename frame" message and nothing about the plugin

Sebastien Bacher (seb128) wrote :

I've forwarded that issue upstream with a backtrace: http://bugzilla.gnome.org/show_bug.cgi?id=332689

Changed in gimp-gap:
assignee: nobody → motu
status: Unconfirmed → Confirmed
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in gimp:
status: Unconfirmed → Fix Released
Sebastien Bacher (seb128) wrote :

The patch is quite simple if somebody wants to apply it:
http://cvs.gnome.org/viewcvs/gimp-gap/gap/gap_thumbnail.c?r1=1.10&r2=1.11

Changed in gimp-gap:
status: Confirmed → Fix Committed
swmiller6 (swmiller6) wrote :

I am getting this same error and I do not know how to apply the patch or I would.

Debdiff including upstream fix.

Jérémie Corbier (jcorbier) wrote :

gimp-gap (2.2.0-2ubuntu1) dapper; urgency=low

  * debian/patches:
    - Added gap_thumbnail.c.diff to avoid crashes when duplicating frames
      (Closes: Malone #32900).

 -- Jeremie Corbier <email address hidden> Fri, 7 Apr 2006 15:34:24 +0200

Changed in gimp-gap:
status: Fix Committed → Fix Released
Changed in gimp:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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