Rawstudio crashes when changing images

Bug #329945 reported by Gregory Meyer
2
Affects Status Importance Assigned to Milestone
rawstudio (Ubuntu)
New
Medium
Anders Kvist
Nominated for Jaunty by Anders Kvist

Bug Description

Binary package hint: rawstudio

Using kubuntu 8.10, package version 1.0-1. I am currently using the KDE 4.2 from ppa but this happened when using the official KDE 4.1.x that is part of 8.10

When using Rawstudio, The application crashes with the following console output when attempting to change images from the first one loaded to a second. The application works perfectly when processing the first image, and always crashes when clicking on the thumbnail of another image.

$ rawstudio

(rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Aborted

and the window disappears. This happens every time I tried it.

I thought maybe I was missing some package that is not properly marked as a dependency, but I have not been able to find much information about this error in the Rawstudio bugzilla or on the Internet in general.

Daniel T Chen (crimsun)
Changed in rawstudio:
importance: Undecided → Medium
Revision history for this message
Anders Kvist (akv) wrote :

This doesn't seem to help us much.

I'm going to see if I can replicate it with a Kbuntu 8.10.

Changed in rawstudio (Ubuntu):
assignee: nobody → akv
Revision history for this message
Anders Kvist (akv) wrote :

Can you tell me which files you are trying to load via Rawstudio? Camera make and model.

Revision history for this message
Anders Kvist (akv) wrote :

I have installed a Kubuntu 8.10 and I haven't been able to duplicate this error. Could you test with rawstudio 1.1.1 from our own PPA at Launchpad?

https://launchpad.net/~rawstudio/+archive/ppa

I have only managed to crash rawstudio with files from cameras that were newer than the release. But this will be fixed in the next release.

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote : Re: [Bug 329945] Re: Rawstudio crashes when changing images

I am using images from a Pentax K100D and Pentax K20D. I don't think
it is caused by the images though because it works for me in other
distros, e.g. mandriva, and these cameras have been out awhile. I can
provide you with some sample images if you'd like.

On Tue, Apr 7, 2009 at 1:06 PM, Anders Kvist <email address hidden> wrote:
> I have installed a Kubuntu 8.10 and I haven't been able to duplicate
> this error. Could you test with rawstudio 1.1.1 from our own PPA at
> Launchpad?
>
> https://launchpad.net/~rawstudio/+archive/ppa
>
> I have only managed to crash rawstudio with files from cameras that were
> newer than the release. But this will be fixed in the next release.
>
> --
> Rawstudio crashes when changing images
> https://bugs.launchpad.net/bugs/329945
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “rawstudio” source package in Ubuntu: New
>
> Bug description:
> Binary package hint: rawstudio
>
> Using kubuntu 8.10, package version 1.0-1.  I am currently using the KDE 4.2 from ppa but this happened when using the official KDE 4.1.x that is part of 8.10
>
> When using Rawstudio, The application crashes with the following console output when attempting to change images from the first one loaded to a second.  The application works perfectly when processing the first image, and always crashes when clicking on the thumbnail of another image.
>
> $ rawstudio
>
> (rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
>
> (rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
> Aborted
>
>
> and the window disappears.  This happens every time I tried it.
>
> I thought maybe I was missing some package that is not properly marked as a dependency, but I have not been able to find much information about this error in the Rawstudio bugzilla or on the Internet in general.
>

--
Gregory K. Meyer, CPA

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
In accordance with Internal Revenue Service Circular 230, I
advise you that unless otherwise expressly stated, any discussion
of a federal tax issue in this communication or in any attachment
is not intended to be used, and it cannot be used, for the purpose
of avoiding federal tax penalties.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This e-mail transmission is intended for the use of the individual
or entity to which it is addressed and may contain confidential
information belonging to the sender. If you are not the intended
recipient, do not disclose, copy, distribute or take any action in
reliance on the contents of this message. If you have received
this message in error, please immediately notify the sender by
e-mail and delete the original message. Thank you.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

I think I am using the packages from ppa but I'll double check when I
get home. I've actually tried to compile it myself from source, with
no change in behavior.

On Tue, Apr 7, 2009 at 1:06 PM, Anders Kvist <email address hidden> wrote:
> I have installed a Kubuntu 8.10 and I haven't been able to duplicate
> this error. Could you test with rawstudio 1.1.1 from our own PPA at
> Launchpad?
>
> https://launchpad.net/~rawstudio/+archive/ppa
>
> I have only managed to crash rawstudio with files from cameras that were
> newer than the release. But this will be fixed in the next release.
>
> --
> Rawstudio crashes when changing images
> https://bugs.launchpad.net/bugs/329945
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “rawstudio” source package in Ubuntu: New
>
> Bug description:
> Binary package hint: rawstudio
>
> Using kubuntu 8.10, package version 1.0-1.  I am currently using the KDE 4.2 from ppa but this happened when using the official KDE 4.1.x that is part of 8.10
>
> When using Rawstudio, The application crashes with the following console output when attempting to change images from the first one loaded to a second.  The application works perfectly when processing the first image, and always crashes when clicking on the thumbnail of another image.
>
> $ rawstudio
>
> (rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
>
> (rawstudio:7493): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
> Aborted
>
>
> and the window disappears.  This happens every time I tried it.
>
> I thought maybe I was missing some package that is not properly marked as a dependency, but I have not been able to find much information about this error in the Rawstudio bugzilla or on the Internet in general.
>

--
Gregory K. Meyer, CPA

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
In accordance with Internal Revenue Service Circular 230, I
advise you that unless otherwise expressly stated, any discussion
of a federal tax issue in this communication or in any attachment
is not intended to be used, and it cannot be used, for the purpose
of avoiding federal tax penalties.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This e-mail transmission is intended for the use of the individual
or entity to which it is addressed and may contain confidential
information belonging to the sender. If you are not the intended
recipient, do not disclose, copy, distribute or take any action in
reliance on the contents of this message. If you have received
this message in error, please immediately notify the sender by
e-mail and delete the original message. Thank you.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

Okay, I confirmed I was using the 1.1.1 from the rawstudio PPA. I did
notice there is also a rawstudio daily package, so I uninstalled 1.1.1 and
tried the rawstudio-daily and the problem seems to be solved in that
package. The exact packagename is rawstudio-daily-2304-0ubuntu1~intrepid1

I tried with RAW files from both my K100D and K20D and confirmed it is not
camera specific. Is it possibly related to x86-64 arch?

Revision history for this message
Anders Kvist (akv) wrote :

I'll test again with 1.1.1.

Revision history for this message
Anders Kvist (akv) wrote :

I'm still not able to replicate this.

Can you do the following:
run "gdb rawstudio"
type "r" [enter]

When rawstudio crashes you type "bt" [enter] and you should see a lot of data, post this inhere.

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :
Download full text (5.1 KiB)

$ gdb
rawstudio

GNU gdb
6.8-debian

Copyright (C) 2008 Free Software Foundation,
Inc.

License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute
it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for
details.

This GDB was configured as
"x86_64-linux-gnu"...

(no debugging symbols
found)

(gdb)
r

Starting program:
/usr/bin/rawstudio

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

[Thread debugging using libthread_db
enabled]

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

---Type <return> to continue, or q <return> to
quit---

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

[New Thread 0x7ff7a35c1780 (LWP
18262)]

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

(no debugging symbols
found)

[New Thread 0x4179d950 (LWP
18266)]

[New Thread 0x42761950 (LWP 18267)]
[Thread 0x4179d950 (LWP 18266) exited]
[New Thread 0x4179d950 (LWP 18274)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ff7a35c1780 (LWP 18262)]
0x00007ff79f09b015 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ff79f09b015 in raise () from /lib/libc.so.6
#1 0x00007ff79f09cb83 in abort () from /lib/libc.so.6
#2 0x00007ff79f0e1a80 in ?? () from /lib/libc.so.6
#3 0x000000000042eecd in ?? ()
#4 0x00007ff7a129d248 in g_object_unref () from
/usr/lib/libgobject-2.0.so.0
#5 0x000000000043104e in ?? ()
#6 0x00007ff7a129d248 in g_object_unref () from
/usr/lib/libgobject-2.0.so.0
#7 0x00000000004135a3 in ?? ()
#8 0x000000000041e303 in ?? ()
#9 0x0000...

Read more...

Revision history for this message
Anders Kvist (akv) wrote :

Can you compile Rawstudio 1.1.1 from source and test it? We are missing all debugging symbols (as you probably already have seen).

If you need help compiling, you can try catching me (akv) in #rawstudio on freenode...

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

Yep, no problem. I was actually about to ask if there was a debug package I
needed to install first. Here you go.

Starting program: /usr/local/bin/rawstudio
[Thread debugging using libthread_db enabled]
[New Thread 0x7f78c6aad780 (LWP 19709)]
[New Thread 0x410e4950 (LWP 19712)]
[New Thread 0x418e5950 (LWP 19713)]
[Thread 0x410e4950 (LWP 19712) exited]
[New Thread 0x410e4950 (LWP 19719)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f78c6aad780 (LWP 19709)]
0x00007f78c2587015 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007f78c2587015 in raise () from /lib/libc.so.6
#1 0x00007f78c2588b83 in abort () from /lib/libc.so.6
#2 0x00007f78c25cda80 in ?? () from /lib/libc.so.6
#3 0x000000000042eebd in rs_image16_finalize (obj=0x12c1c50) at
rs-image.c:85
#4 0x00007f78c4789248 in g_object_unref () from
/usr/lib/libgobject-2.0.so.0
#5 0x000000000043103e in rs_photo_finalize (obj=0x12ec070) at rs-photo.c:66
#6 0x00007f78c4789248 in g_object_unref () from
/usr/lib/libgobject-2.0.so.0
#7 0x00000000004135b3 in rs_set_photo (rs=0xe24420, photo=0x12c2600) at
rawstudio.c:211
#8 0x000000000041e313 in icon_activated (instance=<value optimized out>,
name=<value optimized out>, rs=0xe24420) at gtk-interface.c:179
#9 0x00007f78c478725d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#10 0x00007f78c479cf5d in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007f78c479e608 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#12 0x00007f78c479eb33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x000000000045dba7 in selection_changed (iconview=<value optimized out>,
data=0xf3fa00) at rs-store.c:424
#14 0x00007f78c478725d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#15 0x00007f78c479cf5d in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00007f78c479e608 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#17 0x00007f78c479eb33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x00007f78c63ee891 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007f78c6412888 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00007f78c478725d in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#21 0x00007f78c479cc3b in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f78c479e48a in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#23 0x00007f78c479eb33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x00007f78c65156be in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007f78c640b1f3 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#26 0x00007f78c640c313 in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
#27 0x00007f78c608f09c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#28 0x00007f78c3d51d5b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#29 0x00007f78c3d5552d in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f78c3d55a5d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x00007f78c640c727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x000000000041df55 in gui_init (argc=1, argv=0x7fffceae3ee8,
rs=0xe24420) at gtk-interface.c:1061
#33 0x0000000000412f91 in main (argc=1, argv=0x7fffceae3ee8) at
rawstudio.c:1274

Revision history for this message
Anders Kvist (akv) wrote :

We have just released Rawstudio 1.2. This hopefully fixes this bug. We would recommend this release for Jaunty.
http://rawstudio.org/files/release/rawstudio-1.2.tar.gz

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

The rawstudio-daily package in ppa from a couple of days ago worked
without crashing, so if that was some snapshot of svn leading up to
the release of 1.2 I would imagine it would work, but I will confirm
later tonight.

Revision history for this message
Anders Kvist (akv) wrote :

1.2 is based on backports from svn trunk, so I really hope it will fixe your issue.

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

Nope :(

Here is the backtrace

(gdb) bt
#0 0x00007fbf0f016015 in raise () from /lib/libc.so.6
#1 0x00007fbf0f017b83 in abort () from /lib/libc.so.6
#2 0x00007fbf0f05ca80 in ?? () from /lib/libc.so.6
#3 0x000000000043164d in rs_image16_finalize (obj=0x104f0f0) at rs-image.c:88
#4 0x00007fbf11218248 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#5 0x00000000004334ce in rs_photo_finalize (obj=0x1050db0) at rs-photo.c:70
#6 0x00007fbf11218248 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#7 0x0000000000412992 in rs_set_photo (rs=0x7df900, photo=0x1054aa0)
at rawstudio.c:198
#8 0x000000000041fea1 in icon_activated (instance=<value optimized
out>, name=<value optimized out>, rs=0x7df900) at gtk-interface.c:178
#9 0x00007fbf1121625d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0x00007fbf1122bf5d in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007fbf1122d608 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#12 0x00007fbf1122db33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x0000000000461717 in selection_changed (iconview=<value optimized
out>, data=0xb7d200) at rs-store.c:462
#14 0x00007fbf1121625d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0x00007fbf1122bf5d in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00007fbf1122d608 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#17 0x00007fbf1122db33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x00007fbf12e7d891 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007fbf12ea1888 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00007fbf1121625d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x00007fbf1122bc3b in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0x00007fbf1122d48a in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#23 0x00007fbf1122db33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x00007fbf12fa46be in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007fbf12e9a1f3 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#26 0x00007fbf12e9b313 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x00007fbf12b1e09c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#28 0x00007fbf107e0d5b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#29 0x00007fbf107e452d in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fbf107e4a5d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x00007fbf12e9b727 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x000000000041fae6 in gui_init (argc=1, argv=0x7fff1b5748b8,
rs=0x7df900) at gtk-interface.c:1110
#33 0x0000000000412201 in main (argc=1, argv=0x7fff1b5748b8) at rawstudio.c:606

Revision history for this message
Anders Kvist (akv) wrote :

Okay, we need to find a way to replicate this bug so we can investigate and fix it. But I must admit that i don't have many ideas...

Are you running Rawstudio on some exotic hardware or anything else that may differs from many other?

I'd like to have a sample of some photos that causes this behaviour - just in case. Can you put a tarball with a few (it it's enough) on ftp://rawstudio.org/incoming-raws/ ?

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

My system I don't think is very exotic. It's an Intel quad core ruinning kubuntu. I built it but it's an Intel chipset motherboard. Video is ati and I am using a color profile with my monitor, but this crash happens with the color profile loaded or not, with color management in rawstudio both on and off.

One other clue is that the rawstudio-daily packages in your PPA did work without crashing. I'll upload a tarball of pics later this evening.

I suppose I could do a clean install of kubuntu in a VM and see how that goes.
--
Greg Meyer
Sent from my BlackBerry wireless device.

Revision history for this message
Anders Kvist (akv) wrote :

When you test in a VM, could you try a regular Ubuntu as well?

Not that it should do anything, but when I tried Kubuntu, I found one dependency for Rawstudio that has an un-met dependency - but it din't crash anything. But you can try to check that "libbonoboui2-0" and "gtk-engines" is installed on your Kubuntu.

Regarding the rawstudio-daily package. It's a complete rebuild of all the internals of Rawstudio, so the code that causes this might have been replaced in the new structure. But we have started to close up this part of Rawstudio, but it's not even close to a release. That's why we took all the changes and made a 1.2 with fixes and minor enhancements on a the 1.1 base.

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

Yes, libbonoboui is installed. I do have a spare partition so I can install
regular ubuntu on it and see how that works on the native hardware.

Revision history for this message
Gregory Meyer (greg-gkmeyer) wrote :

Sorry I haven't had time to get to this, I have been quite busy with work
and family stuff, however, I have news. I upgraded to 9.04 today and
rawstudio no longer crashes. Didn't do anything special, just did the
upgrade over the Internet. I will still try and see if I can recreate it in
a fresh 8.10 install, but I thought you'd like to know it is not present in
9.04.

--
Greg

Revision history for this message
Anders Kvist (akv) wrote :

Interesting! I wonder if a new GTK2+ version has anything to do with this then...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.