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 483522 - F-Spot crashes when uploading certain pictures to web-gallery or Flickr
F-Spot crashes when uploading certain pictures to web-gallery or Flickr
Status: RESOLVED DUPLICATE of bug 482038
Product: f-spot
Classification: Other
Component: General
0.3.x
Other All
: Normal critical
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-04 23:12 UTC by baddi
Modified: 2008-04-22 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description baddi 2007-10-04 23:12:14 UTC
Steps to reproduce:
1. I selected pictures taken with my new Olympus E510 camera
2. File - export - Flickr or webalbum.
3. Got authorized and start uploading. Then it crashes.
When uploading older pictures all is ok!


Stack trace:
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261066.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261066.JPG
Starting upload
uploading 0
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261072.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261072.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011085.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011085.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261065.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261065.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011086.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011086.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261064.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261064.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011087.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011087.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261063.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261063.JPG
value = f-spot version 0.3.5 len = 20
value = 2007:10:04 22:50:15 len = 19
Stacktrace:

  at (wrapper managed-to-native) Exif.ExifData.exif_data_save_data (System.Runtime.InteropServices.HandleRef,intptr&,uint&) <0x00004>
  at (wrapper managed-to-native) Exif.ExifData.exif_data_save_data (System.Runtime.InteropServices.HandleRef,intptr&,uint&) <0xffffffff>
  at Exif.ExifData.Save () <0x0003a>
  at JpegHeader.SetExif (Exif.ExifData) <0x0001f>
  at FSpot.JpegFile.SaveMetaData (System.IO.Stream,System.IO.Stream) <0x0004e>
  at FSpot.JpegFile.Save (Gdk.Pixbuf,System.IO.Stream) <0x00157>
  at FSpot.Filters.ResizeFilter.Convert (FSpot.Filters.FilterRequest) <0x001a0>
  at FSpot.Filters.FilterSet.Convert (FSpot.Filters.FilterRequest) <0x000ee>
  at FSpot.GalleryExport.Upload () <0x002b6>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        f-spot [0x818f7de]
        f-spot [0x8171be4]
        [0xffffe440]
        /usr/lib/libexif.so.12(exif_set_short+0x2c) [0xb35ae3dc]
        /usr/lib/libexif.so.12 [0xb35a5da8]
        /usr/lib/libexif.so.12 [0xb35a6184]
        /usr/lib/libexif.so.12(exif_data_save_data+0x108) [0xb35a6658]
        [0xac64ad57]
        [0xac64ac7b]
        [0xac64abd8]
        [0xac64a5f7]
        [0xac648580]
        [0xac6475d1]
        [0xac6472e7]
        [0xac6468b7]
        [0xb3a40f80]
        [0xb6ccd6f9]
        f-spot [0x8171aaf]
        f-spot(mono_runtime_invoke+0x27) [0x80b038f]
        f-spot(mono_runtime_delegate_invoke+0x62) [0x80b0617]
        f-spot [0x80e4f6e]
        f-spot [0x812c50d]
        f-spot [0x8145972]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7e7831b]
        /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7dda57e]
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011088.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007september/P9011088.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261062.JPG
open uri = file:///home/baddi/PicasaDocuments/Pictures/2007agust/P8261062.JPG

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(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]
[New Thread -1211066656 (LWP 11600)]
[New Thread -1396462704 (LWP 11916)]
[New Thread -1403806832 (LWP 11913)]
[New Thread -1407177840 (LWP 11912)]
[New Thread -1408230512 (LWP 11911)]
[New Thread -1400583280 (LWP 11910)]
[New Thread -1401635952 (LWP 11887)]
[New Thread -1406125168 (LWP 11763)]
[New Thread -1404925040 (LWP 11687)]
[New Thread -1399530608 (LWP 11638)]
[New Thread -1393755248 (LWP 11636)]
[New Thread -1282176112 (LWP 11608)]
[New Thread -1281123440 (LWP 11607)]
[New Thread -1222394992 (LWP 11602)]
[New Thread -1208763504 (LWP 11601)]
(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)
(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)
(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)
(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)
0xffffe410 in __kernel_vsyscall ()
  15 Thread -1208763504 (LWP 11601)  0xffffe410 in __kernel_vsyscall ()
  14 Thread -1222394992 (LWP 11602)  0xffffe410 in __kernel_vsyscall ()
  13 Thread -1281123440 (LWP 11607)  0xffffe410 in __kernel_vsyscall ()
  12 Thread -1282176112 (LWP 11608)  0xffffe410 in __kernel_vsyscall ()
  11 Thread -1393755248 (LWP 11636)  0xffffe410 in __kernel_vsyscall ()
  10 Thread -1399530608 (LWP 11638)  0xffffe410 in __kernel_vsyscall ()
  9 Thread -1404925040 (LWP 11687)  0xffffe410 in __kernel_vsyscall ()
  8 Thread -1406125168 (LWP 11763)  0xffffe410 in __kernel_vsyscall ()
  7 Thread -1401635952 (LWP 11887)  0xffffe410 in __kernel_vsyscall ()
  6 Thread -1400583280 (LWP 11910)  0xffffe410 in __kernel_vsyscall ()
  5 Thread -1408230512 (LWP 11911)  0xffffe410 in __kernel_vsyscall ()
  4 Thread -1407177840 (LWP 11912)  0xffffe410 in __kernel_vsyscall ()
  3 Thread -1403806832 (LWP 11913)  0xffffe410 in __kernel_vsyscall ()
  2 Thread -1396462704 (LWP 11916)  0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211066656 (LWP 11600)  0xffffe410 in __kernel_vsyscall ()



=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted (core dumped)


Other information:
Comment 1 Maxxer 2007-10-05 06:32:10 UTC
same crash of http://bugzilla.gnome.org/show_bug.cgi?id=482038
Comment 2 Stephane Delcroix 2007-10-07 12:13:32 UTC
Please provide an image producing this crash.
Comment 3 baddi 2007-10-07 20:25:01 UTC
Here you can download picture that does this error:
nordur.hopto.org/images/P8261073.JPG

It seems to be this error mentioned by Maxxer?

The problem is I do not know how to update this libraray:(

Best regards,
Baldur
Comment 4 Maxxer 2007-10-08 05:30:16 UTC
Did you upload with any particular option?

I've exported without resizing and with tags but everything worked fine.

You filed the bug for 0.3. Can you try 0.4 or SVN?
Comment 5 baddi 2007-10-09 21:25:58 UTC
Hi, thank you for your comments.

I do not get any error like you say if I do not resize the image like you did but I want to resize it. 

I am working on updating F-Spot but as I am newbee to Linux I ran i to problems. I am using Ubuntu 7.04 and they only have version 0.3.5. I have already downloaded v.0.4 and when I did ./configure I getthis error in the end:
configure: error: No C# compiler found

So no C compiler installed. I do not know yet how to install compiler but I am trying to find out now.
Comment 6 Maxxer 2007-10-10 06:42:54 UTC
(In reply to comment #5)
> I do not get any error like you say if I do not resize the image like you did
> but I want to resize it. 

Ok I was missing this. I tried now uploading your image to flickr resized with no problems.

> So no C compiler installed. I do not know yet how to install compiler but I am
> trying to find out now.

There's a simple how-to here http://f-spot.org/How_To_Build_from_HEAD for installing F-Spot from SVN.
Install to a workdir and try uploading your photos.

Btw, Ubuntu 7.10 will be out in 10 days, and it will have F-Spot 0.4.0. 
Comment 7 baddi 2007-10-10 15:41:32 UTC
Thank you for your replay.
I have now done like said in How_To_Build_from_HEAD.

After doing that then I got this error:
checking for mono.pc... configure: error: missing the mono.pc file, usually found in the mono-devel package

So installed mono-devel package and then this error came up:
checking for System.Runtime.Remoting.dll... configure: error: missing required mono 2.0 DLL: System.Runtime.Remoting.dll

I can not find this file.:(

Maybe I need to wait for Ubuntu 7.10...I still need to get this to work somehow.

best regards,
baldur
Comment 8 Maxxer 2007-10-10 16:55:45 UTC
(In reply to comment #7)

> So installed mono-devel package and then this error came up:
> checking for System.Runtime.Remoting.dll... configure: error: missing required
> mono 2.0 DLL: System.Runtime.Remoting.dll

try installing libmono-system-runtime2.0-cil

> I can not find this file.:(

for further missing files, try using http://packages.ubuntu.com
The second search box is for files contained into packages.

Ciao
Comment 9 baddi 2007-10-10 22:24:21 UTC
This did help some.
It seems to me like this is a never ending story...always some packages missing!!

Now I get this message in the end:

checking for mono.pc... found
checking for Mono.Data.SqliteClient.dll... found
checking for Mono.Posix.dll... found
checking for System.Runtime.Remoting.dll... found
checking for System.Web.dll... found
checking for System.Web.Services.dll... found
checking for Mono.GetOptions.dll... found
checking for F... configure: error: Package requirements (libgnome-2.0 >= 2.2 libgnomeui-2.0 >= 2.2 libexif >= 0.5.7 libexif < 0.7.0 gtkhtml-sharp-2.0 >= 2.8 gconf-sharp-2.0 >= 2.8 glade-sharp-2.0 >= 2.8 gnome-vfs-sharp-2.0 >= 2.8 gtk+-2.0 >= 2.6 mono >= 1.1.7) were not met:

No package 'libexif' found
No package 'libexif' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables F_CFLAGS
and F_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I can not find these packages in Ubuntu packages page.

Thank you for all your help.

regards from Iceland,
Baldur
Comment 10 Maxxer 2007-10-11 07:01:17 UTC
(In reply to comment #9)

> No package 'libexif' found

> I can not find these packages in Ubuntu packages page.

1. in this case it was complaning about a missing PACKAGE and not a FILE. So you should have used the first box of packages.ubuntu.com.
2. when you are compiling from source and you miss a package, you have to install the -dev one, which contains headers needed for compilation. so, in this case, you must install libexif-dev

try again :-)

maybe after this experience we should consider fixing up some things in that page of the website :-)
Comment 11 baddi 2007-10-11 22:57:05 UTC
Hi,
Thank you for your help:)

Installed liblcms-dev
then I had to install libgphoto2.dev

Then it worked!!
But still the same error when doing any changes to the picture:(

Yes, fixing the webpage would be great. Maybe it is better to wait until version 7.10 is out to see what needs to be added to that version as well..

Regards, 
Baldur
Comment 12 Maxxer 2007-10-12 06:55:32 UTC
(In reply to comment #11)

> But still the same error when doing any changes to the picture:(

Can I ask you what did you do to perform this test?
You did this on your db? Where did you install the SVN version? Why you said "changes"? The problem wasn't on flickr/folder export?

Thanks
maxxer
Comment 13 baddi 2007-10-12 20:30:38 UTC
It happens when uploading pictures only when f-spot needs to reduce the size of the picture. The same error happens when changing these pictures like making them B&W or into sepia tone. All is ok if I am uploading or changing pictures taken with older camera.

This error happens also after the update to v.0.4.0 and also from svn. Can it be that it is the same libexif error as described here: http://bugzilla.gnome.org/show_bug.cgi?id=382382

I did install svn f-spot to ~/temp/dev/f-spot and I run it from there.

Best regards,
Baldur
Comment 14 Bengt Thuree 2007-11-21 19:12:12 UTC
Can we say that this is a duplicate of bug #482038 since the stack trace is the same, as Maxxer indicated.
Comment 15 Tim Retout 2008-04-22 17:54:58 UTC
(In reply to comment #14)
> Can we say that this is a duplicate of bug #482038 since the stack trace is the
> same, as Maxxer indicated.

Yeah, might as well.

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 482038 ***
Comment 16 baddi 2008-04-22 21:58:44 UTC
Using now Ubuntu 7.10 and F-Spot 0.4.0 and all is fine.