GNOME Bugzilla – Bug 623071
crash when resizing multiple photos
Last modified: 2010-08-24 09:10:33 UTC
If you select various images and issue a resize command, gthumb resize only one photo and then crashes
Thanks for taking the time to report this bug. This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug. Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
reproduce it this way - go to a directory where you have various images - select all images - tools -> resize - set with and heigh 60%, destination: same directory - execute it; a dialog appears asking whether to overwrite the images: tell it to overwrite all images, OK -> crash
Hmm, it works OK for me on some files, but not on others. Paolo, could you run: gdb gthumb run and after the crash: thread apply all bt and copy the resulting output into this bug report? - Mike
Current master should fix this, at least it does for the images I could test.
Well, today I couldn't reproduce the crash, probably because I used other images, but I got a freeze, and I copy the result of gdb gthumb: ---------------------------------------- (gdb) run Starting program: /usr/bin/gthumb [Thread debugging using libthread_db enabled] [New Thread 0xb6890b70 (LWP 9357)] [New Thread 0xb680fb70 (LWP 9358)] [New Thread 0xb678eb70 (LWP 9359)] [New Thread 0xb670db70 (LWP 9360)] [New Thread 0xb668cb70 (LWP 9361)] (gthumb:9353): Gtk-CRITICAL **: gtk_label_set_ellipsize: assertion `GTK_IS_LABEL (label)' failed (gthumb:9353): Gtk-CRITICAL **: gtk_label_set_angle: assertion `GTK_IS_LABEL (label)' failed (gthumb:9353): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (gthumb:9353): Gtk-CRITICAL **: gtk_label_set_ellipsize: assertion `GTK_IS_LABEL (label)' failed (gthumb:9353): Gtk-CRITICAL **: gtk_label_set_angle: assertion `GTK_IS_LABEL (label)' failed (gthumb:9353): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed [New Thread 0xb65fcb70 (LWP 9362)] [New Thread 0xb5bffb70 (LWP 9363)] [New Thread 0xb5dfbb70 (LWP 9364)] [Thread 0xb5bffb70 (LWP 9363) exited] [New Thread 0xb5bffb70 (LWP 9365)] [Thread 0xb5bffb70 (LWP 9365) exited] [New Thread 0xb5bffb70 (LWP 9367)] [New Thread 0xb53feb70 (LWP 9368)] [Thread 0xb65fcb70 (LWP 9362) exited] [Thread 0xb53feb70 (LWP 9368) exited] [New Thread 0xb53feb70 (LWP 9373)] [Thread 0xb53feb70 (LWP 9373) exited] [New Thread 0xb53feb70 (LWP 9374)] [Thread 0xb53feb70 (LWP 9374) exited] [New Thread 0xb53feb70 (LWP 9375)] [Thread 0xb53feb70 (LWP 9375) exited] [New Thread 0xb4bfdb70 (LWP 9376)] [Thread 0xb4bfdb70 (LWP 9376) exited] [New Thread 0xb53feb70 (LWP 9377)] [New Thread 0xb65fcb70 (LWP 9378)] [Thread 0xb65fcb70 (LWP 9378) exited] [New Thread 0xb65fcb70 (LWP 9379)] [Thread 0xb65fcb70 (LWP 9379) exited] [Thread 0xb5bffb70 (LWP 9367) exited] [New Thread 0xb4bfdb70 (LWP 9380)] [New Thread 0xb285ab70 (LWP 9381)] [New Thread 0xb5bffb70 (LWP 9382)] [Thread 0xb5bffb70 (LWP 9382) exited] [Thread 0xb4bfdb70 (LWP 9380) exited] [Thread 0xb285ab70 (LWP 9381) exited] [New Thread 0xb5bffb70 (LWP 9383)] [New Thread 0xb65fcb70 (LWP 9384)] [Thread 0xb5bffb70 (LWP 9383) exited] [Thread 0xb65fcb70 (LWP 9384) exited] [New Thread 0xb65fcb70 (LWP 9385)] (gthumb:9353): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed ** (gthumb:9353): CRITICAL **: _gdk_pixbuf_save_as_jpeg: assertion `pixels != NULL' failed [New Thread 0xb5bffb70 (LWP 9386)] [New Thread 0xb1e9fb70 (LWP 9387)] [New Thread 0xb05c9b70 (LWP 9388)] [Thread 0xb1e9fb70 (LWP 9387) exited] [Thread 0xb05c9b70 (LWP 9388) exited] [Thread 0xb65fcb70 (LWP 9385) exited] [New Thread 0xb65fcb70 (LWP 9389)] (gthumb:9353): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed (gthumb:9353): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed ** (gthumb:9353): CRITICAL **: _gdk_pixbuf_save_as_jpeg: assertion `pixels != NULL' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb65fcb70 (LWP 9389)] scale_line (weights=0x89eb380, n_x=3, n_y=3, dest=0xb23d3003 "", dest_x=0, dest_end=0xb23d3c60 "", dest_channels=3, dest_has_alpha=0, src=0x8957d98, src_channels=3, src_has_alpha=0, x_init=0, x_step=81943, src_width=2592, check_size=0, color1=0, color2=0) at /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/pixops/pixops.c:1013 1013 /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/pixops/pixops.c: Nessun file o directory. in /build/buildd/gtk+2.0-2.20.1/gdk-pixbuf/pixops/pixops.c (gdb) ----------------------------------------
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 623135 ***
if bug 623135 has been fixed in june 2010, this bug is not the same, because is still present in 2.11.6
still present in 2.11.90 too
Created attachment 168042 [details] image that together with the other, crashes gthumb when resizing multiple photos
Created attachment 168043 [details] image that together with the other, crashes gthumb when resizing multiple photos
I still cannot reproduce the crash, however current master shouldn't crash anymore.
(In reply to comment #11) > I still cannot reproduce the crash, however current master shouldn't crash > anymore. I meant: I still cannot reproduce the bug
Paolo, can't you reproduce the bug with the two images I attacched?
(In reply to comment #13) > Paolo, can't you reproduce the bug with the two images I attacched? no, I can't
Neither can I. - Mike
marked as duplicate of #627688, that has a backtrace as well. *** This bug has been marked as a duplicate of bug 627688 ***