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 623071 - crash when resizing multiple photos
crash when resizing multiple photos
Status: RESOLVED DUPLICATE of bug 627688
Product: gthumb
Classification: Other
Component: general
2.11.x
Other Linux
: High critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2010-06-28 21:23 UTC by Paolo Benvenuto
Modified: 2010-08-24 09:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image that together with the other, crashes gthumb when resizing multiple photos (268.49 KB, image/jpeg)
2010-08-17 10:18 UTC, Paolo Benvenuto
Details
image that together with the other, crashes gthumb when resizing multiple photos (391.61 KB, image/jpeg)
2010-08-17 10:19 UTC, Paolo Benvenuto
Details

Description Paolo Benvenuto 2010-06-28 21:23:47 UTC
If you select various images and issue a resize command, gthumb resize only one photo and then crashes
Comment 1 Fabio Durán Verdugo 2010-06-29 01:08:48 UTC
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!
Comment 2 Paolo Benvenuto 2010-06-29 05:16:15 UTC
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
Comment 3 Michael Chudobiak 2010-06-29 13:32:07 UTC
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
Comment 4 Paolo Bacchilega 2010-06-29 14:35:01 UTC
Current master should fix this, at least it does for the images I could test.
Comment 5 Paolo Benvenuto 2010-06-29 15:25:42 UTC
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) 

----------------------------------------
Comment 6 Paolo Bacchilega 2010-06-29 15:33:55 UTC
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 ***
Comment 7 Paolo Benvenuto 2010-08-17 09:25:44 UTC
if bug 623135 has been fixed in june 2010, this bug is not the same, because is still present in 2.11.6
Comment 8 Paolo Benvenuto 2010-08-17 09:29:04 UTC
still present in 2.11.90 too
Comment 9 Paolo Benvenuto 2010-08-17 10:18:12 UTC
Created attachment 168042 [details]
image that together with the other, crashes gthumb when resizing multiple photos
Comment 10 Paolo Benvenuto 2010-08-17 10:19:14 UTC
Created attachment 168043 [details]
image that together with the other, crashes gthumb when resizing multiple photos
Comment 11 Paolo Bacchilega 2010-08-19 11:29:29 UTC
I still cannot reproduce the crash, however current master shouldn't crash anymore.
Comment 12 Paolo Bacchilega 2010-08-19 11:31:05 UTC
(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
Comment 13 Paolo Benvenuto 2010-08-19 12:53:30 UTC
Paolo, can't you reproduce the bug with the two images I attacched?
Comment 14 Paolo Bacchilega 2010-08-19 14:31:22 UTC
(In reply to comment #13)
> Paolo, can't you reproduce the bug with the two images I attacched?

no, I can't
Comment 15 Michael Chudobiak 2010-08-19 14:36:11 UTC
Neither can I.

- Mike
Comment 16 Paolo Bacchilega 2010-08-24 09:10:33 UTC
marked as duplicate of #627688, that has a backtrace as well.

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