Bug#557994: rawstudio: Segmentation fault when loading images
Package: rawstudio Version: 2.0-1+b2 Followup-For: Bug #557994 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've (quite) the same problem. I do File - Open directory Choose and select a directory - Nothing happens Right click in the main window and got a segfault. Attached the gdb bt. Regards Jean-Luc - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (980, 'testing'), (90, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.4.4-k8-1 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rawstudio depends on: ii gconf-service 3.2.5-1 ii libatk1.0-0 2.4.0-2 ii libc6 2.13-34 ii libcairo2 1.12.2-2 ii libcurl3-gnutls 7.26.0-1 ii libdbus-1-3 1.6.2-2 ii libexif12 0.6.20-2 ii libexiv2-12 0.23-1 ii libfftw3-3 3.3.2-3 ii libflickcurl0 1.22-1 ii libfontconfig1 2.9.0-6 ii libfreetype62.4.9-1 ii libgcc1 1:4.7.1-3 ii libgconf-2-43.2.5-1 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-02.32.3-1 ii libgphoto2-22.4.14-2 ii libgphoto2-port02.4.14-2 ii libgtk2.0-0 2.24.10-1 ii libjpeg88d-1 ii liblcms11.19.dfsg-1.1 ii liblensfun0 0.2.6.0-1 ii libpango1.0-0 1.30.0-1 ii libsqlite3-03.7.13-1 ii libstdc++6 4.7.1-3 ii libtiff43.9.6-6 ii libx11-62:1.5.0-1 ii libxml2 2.8.0+dfsg1-4 rawstudio recommends no packages. rawstudio suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFP+AhsXit3lz9m7V4RAocQAJ4kqnaStLP7pRp3PgaIHEXv9GOQCwCgoWeD W2uIg1c/zYSrgGbT7Gir0CI= =LhE2 -END PGP SIGNATURE- rawstudio:30575): GLib-GObject-WARNING **: value 1 of type `gint' is invalid or out of range for property `width' of type `gint' (rawstudio:30575): GLib-GObject-WARNING **: value 1 of type `gint' is invalid or out of range for property `height' of type `gint' Program received signal SIGSEGV, Segmentation fault. rs_preview_widget_set_zoom_to_fit (preview=0x7d4060, zoom_to_fit=0) at rs-preview-widget.c:575 575 rs-preview-widget.c: Aucun fichier ou dossier de ce type. (gdb) bt #0 rs_preview_widget_set_zoom_to_fit (preview=0x7d4060, zoom_to_fit=0) at rs-preview-widget.c:575 #1 0x75a75724 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #2 0x75a867b0 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #3 0x75a8e72c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #4 0x75a8e8c2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #5 0x775cf623 in _gtk_action_emit_activate (action=0x749d90) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkaction.c:794 #6 0x775fe1b8 in gtk_check_menu_item_activate ( menu_item=optimized out) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkcheckmenuitem.c:422 #7 0x75a75724 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #8 0x75a860d3 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #9 0x75a8e72c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #10 0x75a8e8c2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 ---Type return to continue, or q return to quit--- #11 0x777a964e in IA__gtk_widget_activate (widget=0xa1b100) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:5015 #12 0x776a49bd in IA__gtk_menu_shell_activate_item ( menu_shell=0xa03540, menu_item=0xa1b100, force_deactivate=optimized out) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmenushell.c:1256 #13 0x776a4d57 in gtk_menu_shell_button_release (widget=0xa03540, event=optimized out) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmenushell.c:683 #14 0x77691538 in _gtk_marshal_BOOLEAN__BOXED (closure=0x6c64c0, return_value=0x7fffdc10, n_param_values=optimized out, param_values=0x7fffdcc0, invocation_hint=optimized out, marshal_data=optimized out) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkmarshalers.c:86 #15 0x75a75724 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x75a86530 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #17 0x75a8e34b in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #18 0x75a8e8c2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #19 0x777aa451 in gtk_widget_event_internal (widget=0xa03540, event=0xb45020) at /tmp/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:4984 ---Type return to continue, or q return to quit--- #20 0x7768f6c3 in IA__gtk_propagate_event
Bug#557994: rawstudio: Segmentation fault when loading images
Hi! I wonder why this bug was downgraded from grave to important. I'm experiencing this bug as well, in squeeze, and it really does render the program unusable. Once you've opened certain directory, rawstudio won't ever open unless you edit ~/.gconf/apps/rawstudio/%gconf.xml and remove the last_working_directory entry. I found this surprising message in the rawstudio page: === Troubleshooting: If RAWstudio can not be started from the GUI menu anymore, then try using the command line. Open a terminal and enter ‘rawstudio’. It should be in your PATH. If this results in a ‘segmentation fault’ (which rarely happens) you should open rawstudio from the command line again using root privileges. Then try to open the last directory you used. If rawstudio suddenly closes, you have found the directory that’s been giving problems. If not, try another directory. It should be the last directory you used. Once you’ve found the ‘problem’ directory go to the command prompt, navigate to the ‘problem’ directory and recursively remove the directory ‘.rawstudio’ inside it (rm -rf .rawstudio). After this, you should be able to start RAWstudio from the GUI menu again like before. === I find a bit shocking, that instead of finding a bug and fixing it, they propose a workaround, to something that seems to be evidently a common problem. However, this the solution proposed does not work in my case. I found the problematic directory, then deleted the .rawstudio dir with no change in the symptoms. I had to edit the file mentioned earlier in order to be able to keep using rawstudio. Re-opening the problematic dir caused the same trouble, so I realized that there was something in that dir that made rawstudio segfault. What I was able to trace was that there was a file that had a .cr2 (or CR2) extension but JFIF file format: $ file test2/_MG_64952.cr2 test2/_MG_64952.cr2: JPEG image data, JFIF standard 1.01 I don't know why this file go the wrong extension, but when that file was present, I got a segfault trying to open the directory. If I removed or changed the name of the file to .jpg (or JPG), then it worked alright. So, apparently the problem is that rawstudio is trying to open the raw files according to their extension, regardless of their file format. And when a .cr2 file is not really a raw file, it segfaults. I think this is indeed a grave bug, that should be fixed for stable, because users with less patience and computer skills won't be able to ever use rawstudio again, after it hitting one such file. I'll try to investigate the code next. -- Besos, Marga -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#557994: rawstudio: Segmentation fault when loading images
Package: rawstudio Version: 1.2-4 Severity: grave Justification: renders package unusable Rawstudio crashes with a segmentation fault when trying to load an image in main frame (previews work). The only message in the shell is: Segmentation fault. dmesg's outpus says: [36343.948482] rawstudio[13077]: segfault at 16101434161 ip 004616b1 sp 7fffc877ddd8 error 4 in rawstudio[40+85000] [36360.988873] rawstudio[13084]: segfault at eb800a80eb8 ip 004616b1 sp 7fffb4a6b508 error 4 in rawstudio[40+85000] -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/1 CPU core) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rawstudio depends on: ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit ii libc6 2.10.1-7 GNU C Library: Shared libraries ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst ii libexiv2-5 0.18.2-1+b1 EXIF/IPTC metadata manipulation li ii libfontconfig1 2.6.0-4 generic font configuration library ii libfreetype62.3.11-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.1-4GCC support library ii libgconf2-4 2.28.0-1 GNOME configuration database syste ii libglib2.0-02.22.2-2 The GLib library of C routines ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface ii libjpeg62 6b-15The Independent JPEG Group's JPEG ii liblcms11.18.dfsg-1 Color management library ii libpango1.0-0 1.26.0-1 Layout and rendering of internatio ii libstdc++6 4.4.1-4 The GNU Standard C++ Library v3 ii libtiff43.9.2-1 Tag Image File Format (TIFF) libra ii libx11-62:1.2.2-1X11 client-side library ii libxml2 2.7.6.dfsg-1 GNOME XML library rawstudio recommends no packages. rawstudio suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org