After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665686 - gimp crashes after I 'export as' a jpg
gimp crashes after I 'export as' a jpg
Status: RESOLVED DUPLICATE of bug 681845
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.24.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2011-12-06 18:42 UTC by zebul666
Modified: 2013-05-30 00:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
png image from my scanner (101.37 KB, image/png)
2012-02-23 13:07 UTC, zebul666
Details

Description zebul666 2011-12-06 18:42:52 UTC
1. I open a big png made with my scanner
2. I crop the image
3. I save the image as jpg with 100 as quality.
4. gimp freezes. but saves the image to disk.

I have this in a console:

$ gimp

(gimp:19360): GLib-WARNING **: goption.c:2168: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(gimp:19360): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/solstice/pdftmp/out-0141.jpg': Erreur de l'interrogation du fichier « /home/solstice/pdftmp/out-0141.jpg » : Aucun fichier ou dossier de ce type

(gimp:19360): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
*** glibc detected *** gimp: free(): invalid pointer: 0xb6a85ff4 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6e822)[0xb697c822]
/lib/libc.so.6(+0x6f4c2)[0xb697d4c2]
/lib/libc.so.6(cfree+0x6d)[0xb69805ad]
/usr/lib/libglib-2.0.so.0(+0x495cb)[0xb6ad35cb]
/usr/lib/libglib-2.0.so.0(g_free+0x36)[0xb6ad38a6]
/usr/lib/libgtk-x11-2.0.so.0(+0xe0f4e)[0xb722cf4e]
/usr/lib/libgtk-x11-2.0.so.0(+0xc06fd)[0xb720c6fd]
/usr/lib/libgtk-x11-2.0.so.0(+0x22dfb7)[0xb7379fb7]
/usr/lib/libgtk-x11-2.0.so.0(+0x22f9ee)[0xb737b9ee]
/usr/lib/libgtk-x11-2.0.so.0(+0x230ade)[0xb737cade]
/usr/lib/libgtk-x11-2.0.so.0(gtk_tree_model_iter_n_children+0xa0)[0xb73782e0]
/usr/lib/gtk-2.0/modules/libgail.so(+0x313e7)[0xb62313e7]
/usr/lib/gtk-2.0/modules/libgail.so(+0x31501)[0xb6231501]
/usr/lib/gtk-2.0/modules/libgail.so(+0x37529)[0xb6237529]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x8c)[0xb6b9713c]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1aa)[0xb6b95c6a]
/usr/lib/libgobject-2.0.so.0(+0x1f907)[0xb6ba8907]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x777)[0xb6bb1697]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x33)[0xb6bb17f3]
/usr/lib/libgtk-x11-2.0.so.0(gtk_tree_view_remove_column+0x163)[0xb7398173]
/usr/lib/libgtk-x11-2.0.so.0(+0x251db1)[0xb739ddb1]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x8c)[0xb6b9713c]
/usr/lib/libgobject-2.0.so.0(+0xb6cd)[0xb6b946cd]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xd6)[0xb6b95b96]
/usr/lib/libgobject-2.0.so.0(+0x1f394)[0xb6ba8394]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x777)[0xb6bb1697]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x33)[0xb6bb17f3]
/usr/lib/libgtk-x11-2.0.so.0(+0x1621f1)[0xb72ae1f1]
/usr/lib/libgtk-x11-2.0.so.0(+0x278074)[0xb73c4074]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x77)[0xb6b9a877]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x7e)[0xb72aef9e]
/usr/lib/libgtk-x11-2.0.so.0(+0xc0520)[0xb720c520]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x188)[0xb6b98668]
/usr/lib/libgtk-x11-2.0.so.0(gtk_entry_set_completion+0xdd)[0xb720892d]
/usr/lib/libgtk-x11-2.0.so.0(+0xbca6d)[0xb7208a6d]
/usr/lib/libgtk-x11-2.0.so.0(+0xe01c4)[0xb722c1c4]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x188)[0xb6b98668]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x7f)[0xb6b9a87f]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x7e)[0xb72aef9e]
/usr/lib/libgtk-x11-2.0.so.0(+0x1ce2d0)[0xb731a2d0]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_foreach+0xa7)[0xb71f57b7]
/usr/lib/libgtk-x11-2.0.so.0(+0xaa97e)[0xb71f697e]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x8c)[0xb6b9713c]
/usr/lib/libgobject-2.0.so.0(+0xb6cd)[0xb6b946cd]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xd6)[0xb6b95b96]
/usr/lib/libgobject-2.0.so.0(+0x1f394)[0xb6ba8394]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x777)[0xb6bb1697]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x33)[0xb6bb17f3]
/usr/lib/libgtk-x11-2.0.so.0(+0x1621f1)[0xb72ae1f1]
/usr/lib/libgtk-x11-2.0.so.0(+0x278074)[0xb73c4074]
/usr/lib/libgobject-2.0.so.0(g_object_run_dispose+0x77)[0xb6b9a877]
/usr/lib/libgtk-x11-2.0.so.0(gtk_object_destroy+0x7e)[0xb72aef9e]
/usr/lib/libgtk-x11-2.0.so.0(+0x6e10b)[0xb71ba10b]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_foreach+0xa7)[0xb71f57b7]
/usr/lib/libgtk-x11-2.0.so.0(+0xaa97e)[0xb71f697e]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x8c)[0xb6b9713c]
/usr/lib/libgobject-2.0.so.0(+0xb6cd)[0xb6b946cd]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xd6)[0xb6b95b96]
/usr/lib/libgobject-2.0.so.0(+0x1f394)[0xb6ba8394]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x777)[0xb6bb1697]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x33)[0xb6bb17f3]
/usr/lib/libgtk-x11-2.0.so.0(+0x1621f1)[0xb72ae1f1]
/usr/lib/libgtk-x11-2.0.so.0(+0x278074)[0xb73c4074]
======= Memory map: ========
08048000-084d6000 r-xp 00000000 08:05 1038522    /usr/bin/gimp-2.6
084d6000-084d7000 r--p 0048d000 08:05 1038522    /usr/bin/gimp-2.6
084d7000-084df000 rw-p 0048e000 08:05 1038522    /usr/bin/gimp-2.6
084df000-08516000 rw-p 00000000 00:00 0 
0a4e9000-0bfba000 rw-p 00000000 00:00 0          [heap]
aba0d000-ac396000 rw-p 00000000 00:00 0 
acaf6000-acaf7000 ---p 00000000 00:00 0 
acaf7000-ad648000 rw-p 00000000 00:00 0 
ad64c000-ad669000 rw-p 00000000 00:00 0 
ad66b000-ada0e000 rw-p 00000000 00:00 0 
ada0f000-ada40000 rw-p 00000000 00:00 0 
ada43000-ae035000 rw-p 00000000 00:00 0 
ae036000-ae17d000 rw-p 00000000 00:00 0 
ae17f000-ae1ee000 rw-p 00000000 00:00 0 
ae1ef000-ae559000 rw-p 00000000 00:00 0 
ae559000-ae55e000 rw-p 00000000 00:00 0 
ae55e000-ae560000 r-xp 00000000 08:05 1031968    /usr/lib/gconv/ISO8859-1.so
ae560000-ae561000 r--p 00001000 08:05 1031968    /usr/lib/gconv/ISO8859-1.so
ae561000-ae562000 rw-p 00002000 08:05 1031968    /usr/lib/gconv/ISO8859-1.so
ae562000-b0309000 rw-p 00000000 00:00 0 
b0309000-b030a000 ---p 00000000 00:00 0 
b030a000-b0b0a000 rw-p 00000000 00:00 0 
b0b0a000-b0b0b000 ---p 00000000 00:00 0 
b0b0b000-b130b000 rw-p 00000000 00:00 0 
b130b000-b130c000 ---p 00000000 00:00 0 
b130c000-b1b0c000 rw-p 00000000 00:00 0 
b1b0c000-b1b0d000 ---p 00000000 00:00 0 
b1b0d000-b230d000 rw-p 00000000 00:00 0 
b230d000-b242e000 r-xp 00000000 08:05 1029470    /usr/lib/libxml2.so.2.7.8
b242e000-b2433000 rw-p 00121000 08:05 1029470    /usr/lib/libxml2.so.2.7.8
b2433000-b2434000 rw-p 00000000 00:00 0 
b2434000-b246e000 r-xp 00000000 08:05 1028540    /usr/lib/libcroco-0.6.so.3.0.1
b246e000-b246f000 ---p 0003a000 08:05 1028540    /usr/lib/libcroco-0.6.so.3.0.1
b246f000-b2470000 r--p 0003a000 08:05 1028540    /usr/lib/libcroco-0.6.so.3.0.1
b2470000-b2472000 rw-p 0003b000 08:05 1028540    /usr/lib/libcroco-0.6.so.3.0.1
b2472000-b24a8000 r-xp 00000000 08:05 1028807    /usr/lib/librsvg-2.so.2.34.2
b24a8000-b24a9000 ---p 00036000 08:05 1028807    /usr/lib/librsvg-2.so.2.34.2
b24a9000-b24aa000 r--p 00036000 08:05 1028807    /usr/lib/librsvg-2.so.2.34.2
b24aa000-b24ab000 rw-p 00037000 08:05 1028807    /usr/lib/librsvg-2.so.2.34.2
b24ac000-b2b00000 rw-p 00000000 00:00 0 
b2b00000-b2b21000 rw-p 00000000 00:00 0 
b2b21000-b2c00000 ---p 00000000 00:00 0 
b2c00000-b2c92000 rw-p 00000000 00:00 0 
b2c92000-b2cb4000 r--p 00000000 08:05 1142740    /usr/share/fonts/TTF/LiberationSans-Regular.ttf
b2cb4000-b2cd6000 rw-p 00000000 00:00 0 
b2cd7000-b353d000 rw-p 00000000 00:00 0 
b353d000-b35e2000 r--p 00000000 08:05 1142915    /usr/share/fonts/TTF/DejaVuSans-Bold.ttf
b35e2000-b3642000 rw-s 00000000 00:04 16154637   /SYSV00000000 (deleted)
b3642000-b365a000 rw-p 00000000 00:00 0 
b365a000-b365b000 r-xp 00000000 08:05 1101747    /usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
b365b000-b365c000 r--p 00000000 08:05 1101747    /usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
b365c000-b365d000 rw-p 00001000 08:05 1101747    /usr/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so
b365d000-b3685000 rw-p 00000000 00:00 0 
b3685000-b371b000 r--p 00000000 08:05 1142917    /usr/share/fonts/TTF/DejaVuSans-Oblique.ttf
b371b000-b4a58000 r--p 00000000 08:05 1232646    /usr/share/icons/hicolor/icon-theme.cache
b4a58000-b4a74000 r-xp 00000000 08:05 1032049    /usr/lib/libgcc_s.so.1
b4a74000-b4a75000 rw-p 0001b000 08:05 1032049    /usr/lib/libgcc_s.so.1
b4a75000-b4b58000 r-xp 00000000 08:05 1028953    /usr/lib/libstdc++.so.6.0.16
b4b58000-b4b5c000 r--p 000e3000 08:05 1028953    /usr/lib/libstdc++.so.6.0.16
b4b5c000-b4b5d000 rw-p 000e7000 08:05 1028953    /usr/lib/libstdc++.so.6.0.16
b4b5d000-b4b64000 rw-p 00000000 00:00 0 
b4b65000-b4b69000 rw-p 00000000 00:00 0 
b4b69000-b4b6e000 rw-p 00000000 00:00 0 
b4b6e000-b4b72000 rw-p 00000000 00:00 0 
b4b73000-b4b95000 rw-p 00000000 00:00 0 
b4b95000-b4b98000 r-xp 00000000 08:05 1110702    /usr/lib/gimp/2.0/modules/libcolor-selector-water.so
b4b98000-b4b99000 r--p 00002000 08:05 1110702    /usr/lib/gimp/2.0/modules/libcolor-selector-water.so
b4b99000-b4b9a000 rw-p 00003000 08:05 1110702    /usr/lib/gimp/2.0/modules/libcolor-selector-water.so
b4b9a000-b4b9d000 r-xp 00000000 08:05 1110697    /usr/lib/gimp/2.0/modules/libcolor-selector-cmyk.so
b4b9d000-b4b9e000 r--p 00002000 08:05 1110697    /usr/lib/gimp/2.0/modules/libcolor-selector-cmyk.so
b4b9e000-b4b9f000 rw-p 00003000 08:05 1110697    /usr/lib/gimp/2.0/modules/libcolor-selector-cmyk.so
b4b9f000-b4ba4000 rw-p 00000000 00:00 0 
b4ba4000-b4bd2000 r-xp 00000000 08:05 1029637    /usr/lib/liblcms.so.1.0.19
b4bd2000-b4bd3000 rw-p 0002d000 08:05 1029637    /usr/lib/liblcms.so.1.0.19
b4bd3000-b4bd6000 rw-p 00000000 00:00 0 
b4bd6000-b4bd8000 r-xp 00000000 08:05 1110999    /usr/lib/gimp/2.0/modules/libcolor-selector-wheel.so
b4bd8000-b4bd9000 r--p 00001000 08:05 1110999    /usr/lib/gimp/2.0/modules/libcolor-selector-wheel.so
b4bd9000-b4bda000 rw-p 00002000 08:05 1110999    /usr/lib/gimp/2.0/modules/libcolor-selector-wheel.so
b4bda000-b4bdd000 rw-p 00000000 00:00 0 
b4bdd000-b4bf9000 r--s 00000000 08:05 1117938    /usr/share/mime/mime.cache
b4bf9000-b4c00000 rw-p 00000000 00:00 0 
b4c00000-b4c03000 r-xp 00000000 08:05 1110699    /usr/lib/gimp/2.0/modules/libdisplay-filter-lcms.so
b4c03000-b4c04000 r--p 00003000 08:05 1110699    /usr/lib/gimp/2.0/modules/libdisplay-filter-lcms.so
b4c04000-b4c05000 rw-p 00004000 08:05 1110699    /usr/lib/gimp/2.0/modules/libdisplay-filter-lcms.so
b4c05000-b4c20000 rw-p 00000000 00:00 0 
b4c20000-b4c21000 r-xp 00000000 08:05 1388427    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b4c21000-b4c22000 r--p 00001000 08:05 1388427    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b4c22000-b4c23000 rw-p 00002000 08:05 1388427    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
b4c23000-b4c36000 r-xp 00000000 08:05 1054784    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b4c36000-b4c37000 r--p 00012000 08:05 1054784    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b4c37000-b4c38000 rw-p 00013000 08:05 1054784    /usr/lib/gio/modules/libgioremote-volume-monitor.so
b4c38000-b4c3e000 rw-p 00000000 00:00 0 
b4c3e000-b4c72000 rw-p 00000000 00:00 0 
b4c72000-b4c7e000 r--p 00000000 08:05 775256     /usr/share/locale/fr/LC_MESSAGES/gimp20-script-fu.mo
b4c7e000-b4ca3000 rw-p 00000000 00:00 0 
b4ca3000-b4cd4000 r--p 00000000 08:05 775257     /usr/share/locale/fr/LC_MESSAGES/gimp20-std-plug-ins.mo
b4cd4000-b4cd6000 r-xp 00000000 08:05 786263     /lib/libutil-2.14.1.so
b4cd6000-b4cd7000 r--p 00001000 08:05 786263     /lib/libutil-2.14.1.so
b4cd7000-b4cd8000 rw-p 00002000 08:05 786263     /lib/libutil-2.14.1.so
b4cd8000-b4ce6000 r-xp 00000000 08:05 783513     /lib/libudev.so.0.13.0
b4ce6000-b4ce7000 r--p 0000d000 08:05 783513     /lib/libudev.so.0.13.0
b4ce7000-b4ce8000 rw-p 0000e000 08:05 783513     /lib/libudev.so.0.13.0
b4ce8000-b4cfe000 r-xp 00000000 08:05 1029303    /usr/lib/libgvfscommon.so.0.0.0
b4cfe000-b4cff000 r--p 00015000 08:05 1029303    /usr/lib/libgvfscommon.so.0.0.0
b4cff000-b4d00000 rw-p 00016000 08:05 1029303    /usr/lib/libgvfscommon.so.0.0.0
b4d00000-b4d02000 rw-p 00000000 00:00 0 
b4d02000-b4d04000 r--p 00000000 08:05 775209     /usr/share/locale/fr/LC_MESSAGES/gimp20-python.mo
b4d04000-b4d09000 rw-p 00000000 00:00 0 
b4d0a000-b4d22000 rw-p 00000000 00:00 0 
b4d22000-b4d2a000 r--p 00000000 08:05 775255     /usr/share/locale/fr/LC_MESSAGES/gimp20-libgimp.mo
b4d2a000-b4d54000 r-xp 00000000 08:05 1054787    /usr/lib/gio/modules/libgvfsdbus.so
b4d54000-b4d55000 r--p 00029000 08:05 1054787    /usr/lib/gio/modules/libgvfsdbus.so
b4d55000-b4d56000 rw-p 0002a000 08:05 1054787    /usr/lib/gio/modules/libgvfsdbus.so
b4d56000-b4e2d000 rw-p 00000000 00:00 0 
b4e2d000-b4e8d000 rw-s 00000000 00:04 16089091   /SYSV00000000 (deleted)
b4e8d000-b4f3d000 r--p 00000000 08:05 1142909    /usr/share/fonts/TTF/DejaVuSans.ttf
b4f3d000-b4f7e000 r--s 00000000 08:05 1196161    /var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3
b4f7e000-b4fbf000 r--s 00000000 08:05 1191688    /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-le32d4.cache-3
b4fbf000-b5000000 r--s 00000000 08:05 1191687    /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-3
b5000000-b5021000 rw-p 00000000 00:00 0 
b5021000-b5100000 ---p 00000000 00:00 0 
b5101000-b5108000 rw-p 00000000 00:00 0 
b5108000-b5118000 r--s 00000000 08:05 1191698    /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le32d4.cache-3
b5118000-b511f000 r--s 00000000 08:05 1191692    /var/cache/fontconfig/a98d8961fa319a64d3cfd8640c79e62d-le32d4.cache-3
b511f000-b5125000 r--s 00000000 08:05 1196162    /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-le32d4.cache-3
b5125000-b512b000 r--s 00000000 08:07 4283549    /home/solstice/.fontconfig/eead22abaa69f4ba72d10e9fe12f857c-le32d4.cache-3
b512b000-b516e000 rw-p 00000000 00:00 0 
b516e000-b5172000 rw-s 00000000 00:04 16121868   /SYSV00000000 (deleted)
b5172000-b5175000 rw-p 00000000 00:00 0 
b5175000-b517b000 rw-p 00000000 00:00 0 
b517b000-b517c000 r--s 00000000 08:07 20838      /home/solstice/.local/share/mime/mime.cache
b517c000-b517d000 ---p 00000000 00:00 0 
b517d000-b597d000 rw-p 00000000 00:00 0 
b597d000-b597e000 ---p 00000000 00:00 0 
b597e000-b617e000 rw-p 00000000 00:00 0 
b617e000-b61a0000 r-xp 00000000 08:05 1031819    /usr/lib/libatspi.so.0.0.1
b61a0000-b61a1000 r--p 00021000 08:05 1031819    /usr/lib/libatspi.so.0.0.1
b61a1000-b61a2000 rw-p 00022000 08:05 1031819    /usr/lib/libatspi.so.0.0.1
b61a2000-b61cb000 r-xp 00000000 08:05 1236120    /usr/lib/gtk-2.0/modules/libatk-bridge.so
b61cb000-b61cc000 r--p 00028000 08:05 1236120    /usr/lib/gtk-2.0/modules/libatk-bridge.so
b61cc000-b61cd000 rw-p 00029000 08:05 1236120    /usr/lib/gtk-2.0/modules/libatk-bridge.so
b61cd000-b61ce000 rw-p 00000000 00:00 0 
b61ce000-b61d4000 r-xp 00000000 08:05 1031595    /usr/lib/libgailutil.so.18.0.1
b61d4000-b61d5000 r--p 00006000 08:05 1031595    /usr/lib/libgailutil.so.18.0.1
b61d5000-b61d6000 rw-p 00007000 08:05 1031595    /usr/lib/libgailutil.so.18.0.1
b61d6000-b61da000 rw-p 00000000 00:00 0 
b61da000-b61db000 r--s 00000000 08:05 1196163    /var/cache/fontconfig/6ba42ae0000f58711b5caaf10d690066-le32d4.cache-3
b61db000-b61dd000 rw-p 00000000 00:00 0 
b61dd000-b61f4000 r--p 00000000 08:05 1046399    /usr/share/locale/fr/LC_MESSAGES/glib20.mogimp: terminated: Abandon
gimp: terminated: Complété

(script-fu:19881): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

I already had the problem when saving png but more randomly.

is it a bug in gtk ?

I use archlinux 32 bits (latest) and gtk 2.24.8 and gimp 2.6.11
Comment 1 zebul666 2011-12-06 18:45:01 UTC
oh and I have forgotten to say, I have to kill it from another console because it stays frozen ad infinitam.
Comment 2 Michael Natterer 2012-01-07 21:55:17 UTC
Please try GIMP 2.7.4 and report back, we don't fix 2.6 bugs any longer.
Comment 3 Akhil Laddha 2012-02-23 11:40:06 UTC
Could you please try to reproduce problem with GIMP 2.7.4 or later version and update the bug report with your findings, tia.
Comment 4 zebul666 2012-02-23 12:50:45 UTC
this is still happening with 2.7.4

So opening a png, cropping it, and exporting it as jpg at 100% compression, still give the segfault

Note that the sefgault does not happen when overwriting an exisitng file.

After recompiling:
* glib2
* gdk2-pixbuf2
* gtk2
* gimp-devel
with debug symbol, I was able to get a stack trace
 

$ LANG=C gimp
This is a development version of GIMP.  Debug messages may appear here.


(gimp:24764): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
gimp: fatal error: Segmentation fault
gimp (pid:24764): [E]xit, [H]alt, show [S]tack trace or [P]roceed: S
  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 g_on_error_stack_trace
    from /usr/lib/libglib-2.0.so.0
  • #3 g_on_error_query
    from /usr/lib/libglib-2.0.so.0
  • #4 gimp_eek
  • #5 gimp_fatal_error
  • #6 gimp_sigfatal_handler
  • #7 <signal handler called>
  • #8 __strncmp_ia32
    from /lib/libc.so.6
  • #9 completion_match_func
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 gtk_entry_completion_visible_func
  • #11 gtk_tree_model_filter_visible
  • #12 gtk_tree_model_filter_build_level
  • #13 gtk_tree_model_filter_iter_n_children
  • #14 gtk_tree_model_iter_n_children
  • #15 count_rows
    from /usr/lib/gtk-2.0/modules/libgail.so
  • #16 get_row_count
    from /usr/lib/gtk-2.0/modules/libgail.so
  • #17 columns_changed
    from /usr/lib/gtk-2.0/modules/libgail.so
  • #18 g_cclosure_marshal_VOID__VOID
  • #19 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #20 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #23 gtk_tree_view_remove_column
  • #24 gtk_tree_view_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_cclosure_marshal_VOID__VOID
  • #26 g_type_class_meta_marshal
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #34 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gtk_entry_completion_finalize
  • #36 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #37 gtk_entry_set_completion
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 gtk_entry_finalize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 gtk_file_chooser_entry_finalize
  • #40 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #42 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #43 gtk_table_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 g_cclosure_marshal_VOID__VOID
  • #47 g_type_class_meta_marshal
  • #48 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #49 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #52 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #53 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #55 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #56 gtk_box_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #57 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #58 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #59 g_cclosure_marshal_VOID__VOID
  • #60 g_type_class_meta_marshal
  • #61 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #62 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #64 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #65 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #66 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #67 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #68 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 gtk_box_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #70 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #71 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #72 g_cclosure_marshal_VOID__VOID
  • #73 g_type_class_meta_marshal
  • #74 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #75 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #76 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #77 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #78 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #79 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #80 gtk_file_chooser_default_dispose
  • #81 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #82 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #83 gtk_box_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #84 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #85 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #86 g_cclosure_marshal_VOID__VOID
  • #87 g_type_class_meta_marshal
  • #88 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #89 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #90 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #91 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #92 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #93 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #94 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #95 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #96 gtk_box_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #97 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #98 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #99 g_cclosure_marshal_VOID__VOID
  • #100 g_type_class_meta_marshal
  • #101 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #102 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #103 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #104 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #105 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #106 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #107 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #108 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #109 gtk_bin_forall
    from /usr/lib/libgtk-x11-2.0.so.0
  • #110 gtk_container_foreach
    from /usr/lib/libgtk-x11-2.0.so.0
  • #111 gtk_container_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #112 gtk_window_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #113 g_cclosure_marshal_VOID__VOID
  • #114 g_type_class_meta_marshal
  • #115 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #116 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #117 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #118 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #119 gtk_object_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #120 gtk_widget_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #121 gtk_window_dispose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #122 gimp_file_dialog_dispose
  • #123 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #124 gtk_object_destroy
    from /usr/lib/libgtk-x11-2.0.so.0
  • #125 file_save_dialog_response
  • #126 g_cclosure_marshal_VOID(int0_t)
  • #127 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #128 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #129 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #130 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #131 gtk_dialog_response
    from /usr/lib/libgtk-x11-2.0.so.0
  • #132 g_cclosure_marshal_VOID__VOID
  • #133 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #134 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #135 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #136 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #137 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #138 gtk_button_finish_activate
  • #139 button_activate_timeout
    from /usr/lib/libgtk-x11-2.0.so.0
  • #140 gdk_threads_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #141 g_timeout_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #142 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #143 g_main_context_iterate.isra.19
  • #144 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #145 app_run
  • #146 main

(script-fu:24770): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

using gimp-devel 2.7.4 gtk2 2.24.10 gtk3 3.2.3-2
Comment 5 zebul666 2012-02-23 13:07:54 UTC
Created attachment 208261 [details]
png image from my scanner

as it seems linked to png I got from my scanner, here is such an image, mostly blank

Note the bug happens with that image.
Comment 6 zebul666 2012-02-26 22:47:29 UTC
here is another stack trace


Starting program: /usr/bin/gimp 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb69feb40 (LWP 8540)]
[New Thread 0xb5fffb40 (LWP 8541)]
[New Thread 0xb5220b40 (LWP 8542)]
[New Thread 0xb4a1fb40 (LWP 8543)]
[New Thread 0xb421eb40 (LWP 8544)]
[New Thread 0xb22d8b40 (LWP 8546)]
[New Thread 0xb1ad7b40 (LWP 8547)]
[New Thread 0xb0fb2b40 (LWP 8548)]
[Thread 0xb22d8b40 (LWP 8546) exited]
[Thread 0xb1ad7b40 (LWP 8547) exited]
[New Thread 0xb1ad7b40 (LWP 8551)]
[New Thread 0xb22d8b40 (LWP 8552)]
[New Thread 0xafc46b40 (LWP 8553)]
[New Thread 0xaef90b40 (LWP 8554)]
[Thread 0xb1ad7b40 (LWP 8551) exited]
[Thread 0xaef90b40 (LWP 8554) exited]
[Thread 0xafc46b40 (LWP 8553) exited]
[Thread 0xb22d8b40 (LWP 8552) exited]
[New Thread 0xb22d8b40 (LWP 8556)]
[New Thread 0xafc46b40 (LWP 8557)]
[Thread 0xafc46b40 (LWP 8557) exited]
[Thread 0xb22d8b40 (LWP 8556) exited]

Program received signal SIGSEGV, Segmentation fault.
0xb7b3a229 in completion_match_func (comp=0x881f600, key_unused=0xa131868 "test.jpg", iter=0xbfffc5e0, data=0x88272c8)
    at gtkfilechooserentry.c:427
427	  result = (strncmp (norm_file_part, norm_name, strlen (norm_file_part)) == 0);
  • #0 completion_match_func
    at gtkfilechooserentry.c line 427
  • #1 gtk_entry_completion_visible_func
    at gtkentrycompletion.c line 821
  • #2 gtk_tree_model_filter_visible
    at gtktreemodelfilter.c line 764
  • #3 gtk_tree_model_filter_build_level
    at gtktreemodelfilter.c line 535
  • #4 gtk_tree_model_filter_iter_n_children
    at gtktreemodelfilter.c line 2599
  • #5 IA__gtk_tree_model_iter_n_children
    at gtktreemodel.c line 1275
  • #6 count_rows
    at gailtreeview.c line 4404
  • #7 get_row_count
    at gailtreeview.c line 4595
  • #8 columns_changed
    at gailtreeview.c line 2572
  • #9 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #10 g_closure_invoke
    at gclosure.c line 774
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #12 g_signal_emit_valist
    at gsignal.c line 3003
  • #13 g_signal_emit
    at gsignal.c line 3060
  • #14 IA__gtk_tree_view_remove_column
    at gtktreeview.c line 11265
  • #15 gtk_tree_view_destroy
    at gtktreeview.c line 1616
  • #16 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #17 g_type_class_meta_marshal
    at gclosure.c line 885
  • #18 g_closure_invoke
    at gclosure.c line 774
  • #19 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #20 g_signal_emit_valist
    at gsignal.c line 3003
  • #21 g_signal_emit
    at gsignal.c line 3060
  • #22 gtk_object_dispose
    at gtkobject.c line 421
  • #23 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #24 g_object_run_dispose
    at gobject.c line 945
  • #25 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #26 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #27 gtk_entry_completion_finalize
    at gtkentrycompletion.c line 646
  • #28 g_object_unref
    at gobject.c line 2746
  • #29 IA__gtk_entry_set_completion
    at gtkentry.c line 9820
  • #30 gtk_entry_finalize
    at gtkentry.c line 2508
  • #31 gtk_file_chooser_entry_finalize
    at gtkfilechooserentry.c line 259
  • #32 g_object_unref
    at gobject.c line 2746
  • #33 g_object_run_dispose
    at gobject.c line 947
  • #34 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #35 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #36 gtk_table_forall
    at gtktable.c line 935
  • #37 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #38 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #39 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #40 g_type_class_meta_marshal
    at gclosure.c line 885
  • #41 g_closure_invoke
    at gclosure.c line 774
  • #42 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #43 g_signal_emit_valist
    at gsignal.c line 3003
  • #44 g_signal_emit
    at gsignal.c line 3060
  • #45 gtk_object_dispose
    at gtkobject.c line 421
  • #46 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #47 g_object_run_dispose
    at gobject.c line 945
  • #48 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #49 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #50 gtk_box_forall
    at gtkbox.c line 1251
  • #51 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #52 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #53 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #54 g_type_class_meta_marshal
    at gclosure.c line 885
  • #55 g_closure_invoke
    at gclosure.c line 774
  • #56 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #57 g_signal_emit_valist
    at gsignal.c line 3003
  • #58 g_signal_emit
    at gsignal.c line 3060
  • #59 gtk_object_dispose
    at gtkobject.c line 421
  • #60 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #61 g_object_run_dispose
    at gobject.c line 945
  • #62 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #63 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #64 gtk_box_forall
    at gtkbox.c line 1251
  • #65 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #66 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #67 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #68 g_type_class_meta_marshal
    at gclosure.c line 885
  • #69 g_closure_invoke
    at gclosure.c line 774
  • #70 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #71 g_signal_emit_valist
    at gsignal.c line 3003
  • #72 g_signal_emit
    at gsignal.c line 3060
  • #73 gtk_object_dispose
    at gtkobject.c line 421
  • #74 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #75 gtk_file_chooser_default_dispose
    at gtkfilechooserdefault.c line 5627
  • #76 g_object_run_dispose
    at gobject.c line 945
  • #77 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #78 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #79 gtk_box_forall
    at gtkbox.c line 1251
  • #80 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #81 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #82 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #83 g_type_class_meta_marshal
    at gclosure.c line 885
  • #84 g_closure_invoke
    at gclosure.c line 774
  • #85 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #86 g_signal_emit_valist
    at gsignal.c line 3003
  • #87 g_signal_emit
    at gsignal.c line 3060
  • #88 gtk_object_dispose
    at gtkobject.c line 421
  • #89 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #90 g_object_run_dispose
    at gobject.c line 945
  • #91 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #92 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #93 gtk_box_forall
    at gtkbox.c line 1251
  • #94 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #95 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #96 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #97 g_type_class_meta_marshal
    at gclosure.c line 885
  • #98 g_closure_invoke
    at gclosure.c line 774
  • #99 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #100 g_signal_emit_valist
    at gsignal.c line 3003
  • #101 g_signal_emit
    at gsignal.c line 3060
  • #102 gtk_object_dispose
    at gtkobject.c line 421
  • #103 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #104 g_object_run_dispose
    at gobject.c line 945
  • #105 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #106 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #107 gtk_bin_forall
    at gtkbin.c line 141
  • #108 IA__gtk_container_foreach
    at gtkcontainer.c line 1534
  • #109 gtk_container_destroy
    at gtkcontainer.c line 1073
  • #110 gtk_window_destroy
    at gtkwindow.c line 4440
  • #111 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #112 g_type_class_meta_marshal
    at gclosure.c line 885
  • #113 g_closure_invoke
    at gclosure.c line 774
  • #114 signal_emit_unlocked_R
    at gsignal.c line 3388
  • #115 g_signal_emit_valist
    at gsignal.c line 3003
  • #116 g_signal_emit
    at gsignal.c line 3060
  • #117 gtk_object_dispose
    at gtkobject.c line 421
  • #118 gtk_widget_dispose
    at gtkwidget.c line 8767
  • #119 gtk_window_dispose
    at gtkwindow.c line 2192
  • #120 gimp_file_dialog_dispose
    at gimpfiledialog.c line 173
  • #121 g_object_run_dispose
    at gobject.c line 945
  • #122 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #123 IA__gtk_widget_destroy
    at gtkwidget.c line 3156
  • #124 file_save_dialog_response
    at file-save-dialog.c line 236
  • #125 g_cclosure_marshal_VOID__INT
    at gmarshal.c line 224
  • #126 g_closure_invoke
    at gclosure.c line 774
  • #127 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #128 g_signal_emit_valist
    at gsignal.c line 3003
  • #129 g_signal_emit
    at gsignal.c line 3060
  • #130 IA__gtk_dialog_response
    at gtkdialog.c line 932
  • #131 action_widget_activated
    at gtkdialog.c line 628
  • #132 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #133 g_closure_invoke
    at gclosure.c line 774
  • #134 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #135 g_signal_emit_valist
    at gsignal.c line 3003
  • #136 g_signal_emit
    at gsignal.c line 3060
  • #137 IA__gtk_button_clicked
    at gtkbutton.c line 1128
  • #138 gtk_button_finish_activate
    at gtkbutton.c line 1803
  • #139 button_activate_timeout
    at gtkbutton.c line 1743
  • #140 gdk_threads_dispatch
    at gdk.c line 512
  • #141 g_timeout_dispatch
    at gmain.c line 3907
  • #142 g_main_dispatch
    at gmain.c line 2441
  • #143 g_main_context_dispatch
    at gmain.c line 3011
  • #144 g_main_context_iterate
    at gmain.c line 3089
  • #145 g_main_loop_run
    at gmain.c line 3297
  • #146 app_run
    at app.c line 256
  • #147 main
    at main.c line 440

Comment 7 Michael Natterer 2012-02-27 20:51:10 UTC
I absolutely can't reproduce this. Do you have any assistive techology
or whatever other GTK+ module loaded?
Comment 8 zebul666 2012-02-28 09:39:33 UTC
None that I am aware of

I am using archlinux 32 bits up to date and using
gtk2 2.24.10-1
glib2 2.30.2-2
glibc 2.15-6
gimp-devel 2.7.4-2
gdk-pixbuf2 2.24.1-3

I just tried that with another user, and it works. I have no idea what could be the problem ? the gtk theme I am using ? but that's the only bug I can see ? strange
Comment 9 Michael Natterer 2012-02-28 11:46:32 UTC
Could be the theme. Does it go away if you change the theme?
Comment 10 zebul666 2012-02-28 12:47:02 UTC
no it's not the gtk theme. I use the gtk3 default one. I was using a clearlooks theme for the windows. even with the default one it's the same

If I save it to an already existing file, it works without crash

the crash happens after I save the file and click export button and the file is written to disk. I can see the progress dialog go to the end and after that, crash

it seems to be something in closing the gtk file dialog or something like that

I have no idea where to look for.
Comment 11 Michael Natterer 2012-02-28 13:31:03 UTC
Try changing the GTK+ 2 theme, GIMP is not using GTK+ 3. Thanks for willing
to debug this :)
Comment 12 Akhil Laddha 2012-04-20 04:21:06 UTC
zebul666, was your problem resolved after changing the theme ?
Comment 13 zebul666 2012-04-20 08:46:07 UTC
how do I change the gtk2 theme in gnome 3 ?

I have tried to change the line in ~/.gtkrc-2.0
to
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
or
include "/usr/share/themes/Crux/gtk-2.0/gtkrc"

but this seems to change nothing
and the crash still happens.

Like I said before, this does not happen if the file already exist and is overwritten
Comment 14 zebul666 2012-04-20 09:01:49 UTC
I tried with a brand new user and it does not happen in gnome 3 default settings.
Comment 15 Nils Philippsen 2012-04-20 09:46:54 UTC
(In reply to comment #13)
> how do I change the gtk2 theme in gnome 3 ?

To do that, you need to change the gtk-theme key in the org.gnome.desktop.interface schema of gsettings. There are several ways to do this:

1) gnome-tweak-tool -> Theme -> GTK+ theme (only offers themes available for both gtk3 and gtk2)

2) dconf-editor -> org -> gnome -> desktop -> interface -> set theme name in "gtk-theme"

3) gsettings set org.gnome.desktop.interface gtk-theme "<theme name>"

Note that if you supply an invalid theme name, nothing will happen, or a default theme will be used (don't remember which exactly).
Comment 16 Nils Philippsen 2012-04-20 10:03:01 UTC
Judging from the backtrace, this awfully looks like this Fedora bug:

https://bugzilla.redhat.com/show_bug.cgi?id=716325

The same bug also exists for a no longer maintained Fedora version, and describes how I could reproduce the bug with my then current setup:

https://bugzilla.redhat.com/show_bug.cgi?id=630405#c13

Noteworthy is that the same issue could be seen with e.g. gedit at the time, therefore this is surely not a GIMP issue. Meanwhile I couldn't reproduce it on my machine, this would support the idea that this is somehow theme related. What GTK theme do you use ("gsettings get org.gnome.desktop.interface gtk-theme")?
Comment 17 zebul666 2012-04-20 10:44:21 UTC
gsettings get org.gnome.desktop.interface "gtk-theme"
Adwaita

but changing org.gnome.desktop.interface is changing the gtk3 theme NOT the gtk2 theme

So I am still not able to change the gtk2 theme.
I can't reproduce the gedit crash (which must use gtk3 now, right ?)

but given a new user with new settings has no problem, this points to some configuration problem or settings

may be you could close this as not gimp bug, but I woudl have like to avoid that crash. may be when I am able to change the theme
Comment 18 zebul666 2012-04-20 11:29:44 UTC
ok. sorry.
So I was able to change theme gtk3 and gtk2 at the same time with advanced settings tool

I still got the crash. I give up.
Comment 19 Nils Philippsen 2012-04-20 12:02:04 UTC
It might be that the root cause is something else than the theme, that's true. Which gtk2 version do you have? Mine is 2.24.10 -- as I said, I've seen this with previous versions (of fedora and gtk2 respectively).
Comment 20 zebul666 2012-04-20 12:33:53 UTC
me too. I have 2.24.10-3 on archlinux 32 bits
Comment 21 Nils Philippsen 2012-04-23 15:13:22 UTC
OK. I believe this needs to be looked at from the GTK side, see comment #16.
Comment 22 Nils Philippsen 2012-06-04 12:25:47 UTC
Still happening on Fedora 17:

https://bugzilla.redhat.com/show_bug.cgi?id=828015

with current GIMP and (more important) gtk2:

gtk2-2.24.10-1.fc17.x86_64
gimp-2:2.8.0-1.fc17.x86_64

Raising importance/severity to "critical" as per https://bugzilla.gnome.org/page.cgi?id=fields.html#importance -- specifically because it is a crash that inevitably leads to data loss.

I dissected this a bit in https://bugzilla.redhat.com/show_bug.cgi?id=630405#c13 and there's probably some other comment in one of the Fedora bugs with more verbiage, if needed :-).

Any information that's missing here or in the linked bugs? Also if gtk maintainers feel this is not a gtk issue, I'd also like to know that (and why). So far, there's been only silence from the gtk side on this issue, both here and downstream at Fedora, which is a bit frustrating.
Comment 23 Nils Philippsen 2012-06-04 12:28:17 UTC
(In reply to comment #0)
> 4. gimp freezes. but saves the image to disk.

Well if only I could read :-/. Still critical, as it still causes crashes.
Comment 24 zebul666 2012-06-06 09:33:06 UTC
this is not happening here anymore.

Note however that I switched from 32 bits version of archlinux to x86_64, without reinstalling.
This means using still the same theme and the /home data, but also all configuration in /etc.

This was a clever (I followed a tutorial) reinstall of every needed package.
Comment 25 caralu 2013-01-11 13:19:58 UTC
I´m running GIMP 2.8.2 on Debian testing X86 and Gnome3 and gimp crashes after export, I´ve tried it on Windows and work fine without crash.
I´ll try on KDE and Ubuntu to see if gimp crashes.
Comment 26 caralu 2013-01-17 19:50:20 UTC
This just happen under Gnome3, I`ve just tested again under KDE and nothing happend, work nice.
Comment 27 caralu 2013-01-17 20:05:20 UTC
Under Win7 GIMP 2.8 work nice.
I have tested again to export to jpg and png under Gnome 3 and crash. So I suppose it is matter of GTK or Gnome.
Comment 28 caralu 2013-01-17 20:12:25 UTC
 Michael Natterer told me that disabling the gnome3 accessibility stuff, will help. I`ll try it.
Comment 29 caralu 2013-01-17 20:15:01 UTC
 Michael Natterer told me that disabling the gnome3 accessibility stuff, will help. I`ll try it.
Comment 30 kardan 2013-02-10 22:53:06 UTC
Segfault after exporting to jpg/png:

[1]-  Segmentation fault      gimp --verbose 104___02/IMG_0128.JPG

(gimp:25272): GLib-GObject-WARNING **: invalid cast from `GimpDisplayShell' to `GtkWindow'
(gimp:25272): Gtk-CRITICAL **: IA__gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed
(gimp:25272): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(script-fu:25282): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Segmentation fault

> Michael Natterer told me that disabling the gnome3 accessibility stuff, will
help. I`ll try it.

After stopping

 6532 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
 6536 ?        S      0:49 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
 6539 ?        Sl     0:38 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session

# apt-file search at-spi-bus-launcher
at-spi2-core: /usr/lib/at-spi2-core/at-spi-bus-launcher
# apt-file search /etc/at-spi2/accessibility.conf
at-spi2-core: /etc/at-spi2/accessibility.conf
# apt-file search /usr/lib/at-spi2-core/at-spi2-registryd
at-spi2-core: /usr/lib/at-spi2-core/at-spi2-registryd

and removing at-spi2-core the export caused no segfault anymore, but only

While parsing XMP metadata:
Error: No XMP packet found
loading menu '/usr/share/gimp/2.0/menus/image-menu.xml' for /dummy-menubar

(gimp:26432): GLib-GObject-WARNING **: invalid cast from `GimpDisplayShell' to `GtkWindow'
(gimp:26432): Gtk-CRITICAL **: IA__gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed
** (file-jpeg:26513): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Comment 31 Nils Philippsen 2013-02-11 14:32:51 UTC
(In reply to comment #30)
[...]
> While parsing XMP metadata:
> Error: No XMP packet found

AIUI this isn't really an error but informational (not every image file contains XMP metadata).

> loading menu '/usr/share/gimp/2.0/menus/image-menu.xml' for /dummy-menubar

Not sure what this is, but doesn't look like an error either.

> (gimp:26432): GLib-GObject-WARNING **: invalid cast from `GimpDisplayShell' to
> `GtkWindow'
> (gimp:26432): Gtk-CRITICAL **: IA__gtk_window_set_transient_for: assertion
> `parent == NULL || GTK_IS_WINDOW (parent)' failed

If I'm not off-track this is fixed in version 2.8.4, it's a non-fatal error though which shouldn't contribute to this issue.

> ** (file-jpeg:26513): WARNING **: Error retrieving accessibility bus address:
> org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
> provided by any .service files

This looks like some a11y hook (in gtk?) trying to look up an a11y service and failing at it.
Comment 32 Timothy Arceri 2013-05-30 00:56:44 UTC

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