GNOME Bugzilla – Bug 665686
gimp crashes after I 'export as' a jpg
Last modified: 2013-05-30 00:56:44 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
oh and I have forgotten to say, I have to kill it from another console because it stays frozen ad infinitam.
Please try GIMP 2.7.4 and report back, we don't fix 2.6 bugs any longer.
Could you please try to reproduce problem with GIMP 2.7.4 or later version and update the bug report with your findings, tia.
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
+ Trace 229727
(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
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.
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);
+ Trace 229742
I absolutely can't reproduce this. Do you have any assistive techology or whatever other GTK+ module loaded?
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
Could be the theme. Does it go away if you change the theme?
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.
Try changing the GTK+ 2 theme, GIMP is not using GTK+ 3. Thanks for willing to debug this :)
zebul666, was your problem resolved after changing the theme ?
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
I tried with a brand new user and it does not happen in gnome 3 default settings.
(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).
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")?
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
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.
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).
me too. I have 2.24.10-3 on archlinux 32 bits
OK. I believe this needs to be looked at from the GTK side, see comment #16.
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.
(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.
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.
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.
This just happen under Gnome3, I`ve just tested again under KDE and nothing happend, work nice.
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.
Michael Natterer told me that disabling the gnome3 accessibility stuff, will help. I`ll try it.
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
(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.
*** This bug has been marked as a duplicate of bug 681845 ***