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 341948 - Photos taken with portrait mode do not appear in the browser
Photos taken with portrait mode do not appear in the browser
Status: RESOLVED DUPLICATE of bug 334481
Product: f-spot
Classification: Other
Component: Browsing
0.1.11
Other All
: Normal major
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-16 07:59 UTC by Jason Martens
Modified: 2006-06-05 03:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jason Martens 2006-05-16 07:59:46 UTC
Please describe the problem:
I have a bunch of photos that were taken with my Canon sd550, and all of the
photos that are taken with the camera rotated 90 degrees do not show up in
f-spot.  I imported them from a folder, and they do get copied to my f-spot
photo folder, but I cannot view them from within f-spot itself.  The also do not
appear in the preview window when I am importing them.

Steps to reproduce:
1. Take a picture with the camera rotated 90 degrees
2. Import the picture into f-spot
3. The picture will not show up in the photo browser in either month view or
folder view.


Actual results:
Many of my pictures are missing from f-spot, despite the fact that they exist in
the f-spot photo folder.

Expected results:
All of the pictures should be visible from within f-spot.

Does this happen every time?
Yes

Other information:
Comment 1 Bengt Thuree 2006-05-16 09:24:22 UTC
Which version of F-Spot are you using?

Can you attach a sample photo that F-Spot do not handle?

Can you see the photo in Edit mode? 

Do the thumbnails look clear and consistent, no gaps between them, like there are one or more missing thumbnails?
Comment 2 Jason Martens 2006-05-16 16:04:48 UTC
I am using 0.1.11 on Ubuntu Dapper.

You can get a copy of a problem image at http://www.jasonmartens.org/00026.jpg

No, I cannot see the photo in edit mode.  

Yes, the thumbnails look consistent; it doesn't look like there are any missing.  

Hope this helps.
Comment 3 Bengt Thuree 2006-05-17 11:55:57 UTC
I started with a clean database (removed photos.db)

1) Imported this picture to my F-Spot (CVS 0.1.11) on dapper.
2) F-Spot automatically rotated the picture so the babys face was on the left side.
3) Tested
a) Browse mode by date   displays the photo
b) Browse mode by folder displays the photo
c) Edit displays the photo


Comment 4 Jason Martens 2006-05-17 19:05:09 UTC
Here is the debug output from f-spot.  Note, I deleted the photos.db and tried to import the file, and it failed.  This is also on a different computer than the original bug was reported on.

jmartens@uber:~$ mono --debug /usr/lib/f-spot/f-spot.exe
Starting new FSpot server
sda1 - gnome-dev-harddisk - Mountpoint file:///media/sda1 True True Harddrive
Harddrive
music - gnome-dev-harddisk - Mountpoint file:///media/music True True Harddrive
Smb
item ImportCommand+SourceItem
Scanning /home/jmartens/temp
loading exif data
Error importing /home/jmartens/temp/00026.jpg
System.ArgumentNullException: Argument cannot be null.
Parameter name: src
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
in <0x00013> System.Runtime.InteropServices.Marshal:Copy (IntPtr source, System.Byte[] destination, Int32 startIndex, Int32 length)
in <0x00050> Exif.ExifEntry:get_Data ()
in <0x00054> FSpot.JpegFile:get_Description ()
in <0x0006d> PhotoStore:Create (System.String newPath, System.String origPath, Gdk.Pixbuf thumbnail)
in <0x000cd> FileImportBackend:Step (.Photo photo, Gdk.Pixbuf thumbnail, System.Int32 count)
Could not import file
Stopping
cleanup context
Comment 5 Jason Martens 2006-05-17 19:10:45 UTC
This doesn't look useful, but here's the gdb output.

jmartens@uber:~$ gdb mono
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run /usr/lib/f-spot/f-spot.exe
Starting program: /usr/bin/mono /usr/lib/f-spot/f-spot.exe
(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]
[New Thread -1212963136 (LWP 17725)]
(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 -1208931408 (LWP 17728)]
[New Thread -1222841424 (LWP 17729)]
(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)
---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)
(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)
Starting new FSpot server
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
[New Thread -1242723408 (LWP 17734)]
[Thread -1242723408 (LWP 17734) exited]
[New Thread -1251116112 (LWP 17735)]
[Thread -1251116112 (LWP 17735) exited]
(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)
[New Thread -1275155536 (LWP 17736)]
[New Thread -1276208208 (LWP 17737)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1277477968 (LWP 17738)]
sda1 - gnome-dev-harddisk - Mountpoint file:///media/sda1 True True Harddrive
Harddrive
music - gnome-dev-harddisk - Mountpoint file:///media/music True True Harddrive
Smb
(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)
---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)
(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)
---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)
(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)
[New Thread -1280025680 (LWP 17748)]
item ImportCommand+SourceItem
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1251116112 (LWP 17752)]
[Thread -1251116112 (LWP 17752) exited]
[New Thread -1251116112 (LWP 17756)]
[Thread -1251116112 (LWP 17756) exited]
Scanning /home/jmartens/temp
loading exif data
Error importing /home/jmartens/temp/00026.jpg
System.ArgumentNullException: Argument cannot be null.
Parameter name: src
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
in <0x00013> System.Runtime.InteropServices.Marshal:Copy (IntPtr source, System.Byte[] destination, Int32 startIndex, Int32 length)
in <0x00050> Exif.ExifEntry:get_Data ()
in <0x00054> FSpot.JpegFile:get_Description ()
in <0x0006d> PhotoStore:Create (System.String newPath, System.String origPath, Gdk.Pixbuf thumbnail)
in <0x000cd> FileImportBackend:Step (.Photo photo, Gdk.Pixbuf thumbnail, System.Int32 count)
Could not import file
Stopping

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 17729)

  • #0 ??
  • #1 ??
IP 0xb60458d6 at offset 0x2e of method System.IO.StreamWriter:LowLevelWrite (string) (0xb60458a8 0xb604597f)[domain 0x21f00 - f-spot.exe]
$1 = -1279262676
(gdb) p mono_print_method_from_ip (0x00000000)
Cannot fetch general-purpose registers for thread -1222841424: generic error
(gdb)
Comment 6 Bengt Thuree 2006-05-18 01:05:46 UTC
This is weird.
I am also running Dapper (updating every day), as well as the latest (within a day or so) of F-Spot.

I can open the attached picture without any problems.
Comment 7 Danielle Madeley 2006-06-05 03:46:18 UTC
This looks a lot like bug 334381

*** This bug has been marked as a duplicate of 334381 ***
Comment 8 Danielle Madeley 2006-06-05 03:47:56 UTC
Crap, I meant, 334481
Comment 9 Danielle Madeley 2006-06-05 03:48:30 UTC

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