Kodi Community Forum

Full Version: crashes on ORF image format
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

XBMC does not seem to support the ORF image format (http://en.wikipedia.org/wiki/ORF_format) in picture gallery properly. Whenever i add a picture source containing images of this format it crashes. I am using latest rc3 frodo. ORF as such is supported on mac os natively, so i was kind of hoping that xbmc would be able to piggyback this.

I've enable the debug logs but they don't contain any errors or exception traces, is there anything else i can do to extract some useful information for the devs so that at least the crash is taken care of ? The other half of my picture library are plain JPEGS and they work fine :-)

Jorg
Not sure why this was moved out of the Mac OS forum, because i am using xbmc on mac os and haven't been able to test if it affects other platforms. Anyway, i have located the required crash log and pasted it here http://pastebin.com/RnFCQxae

the xbmc debug log is here http://pastebin.com/rGry0mV7
Sample file please.

I dont think it works like that, if OS supports something doesn't mean XBMC will.

uNi
example picture here, just add it to a picture source (local or remote doesn't matter) and browse that location to see the thumbnail in xbmc and reproduce the crash.

https://www.dropbox.com/sh/e8u8urw8u7mc0...070984.ORF
I dont have a Mac but will try the File in Linux to see what my HTPC (A ION gen1) will do.

Again it could be as simple as the image format is not supported, just because OSX supports this natively I doubt seriously that XBMC will support it, doesnt work like you think unfortunately.

Formats supported are:

Digital picture/image formats: RAW image formats, BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX and Targa/TGA

see http://wiki.xbmc.org/index.php?title=Fea...at_support

Not sure why this was moved out os MAC OS forums either only the moderator who did it can explain why. Anyway its a good thing it was moved to general threads, more exposure?

uNi
I have good news and bad news

The good news is that image you slipme the ORF file is 100% supported, I can see thumbnail once it loads, it is after all a 12.83MB file and plays very very well in a slideshow,

The bad Nes is It works for me adn does not work form you,,,, Sorry. Wink

uNi
xbmc frodo rc3 on linux it opens fine in xbmc.

Post a full debug log showing the crash please.
  • I did not move your thread, but I understand why it was done. ORF is a raw image file format used by Olympus cameras and is not unique to OSX. Similarly, just because a Linux user is having trouble displaying JPG files in XBMC doesn't make that a Linux problem.
  • Your log doesn't show any attempt to open an ORF file. You said, "Whenever i add a picture source containing images of this format it crashes." Does XBMC crash as soon as you add this source, when you later try to access this source, or when you actually try to view an ORF file in this new source location? If it crashes as soon as you try to add this source, it very likely has nothing to do with the photo format of the files contained therein.
  • As with uNiverasl and nickr, I had no trouble viewing your sample ORF file. I also tested on Linux with both Eden and Frodo RC3.
Sorry for not being more clear in my wording. Xbmc does not crash when i add a source containing orf files, it crashes then when i try to access this picture source afterwards. My guess is that it crashes on the thumbnail generation. I will try to get a better debug log later today.. i read something about being able to set log levels so maybe that will give more detail.
Interestingly on my linux mint, pretty up to date system, gimp and image viewer will not open the file and nautilus (filesystem browser) does not thumbnail it, but xbmc doesn't have a problem at all, either with thumbnailing or viewing. the file utility tells me what it is:

Code:
nick@envy ~/Videos $ file ../Pictures/P8070984.ORF
../Pictures/P8070984.ORF: Olympus ORF raw image data, little-endian

but XBMC seems to be the only thing that cares! Well done devs.
I enabled loglevel 3 , here is the more detailed log http://pastebin.com/bUteMW5w

at least now there is some mention of the file opening

Code:
0:12:31 T:4798836736   DEBUG: Curl::Debug Vary: Accept-Encoding
10:12:31 T:4798836736   DEBUG: Curl::Debug Content-Length: 33
10:12:31 T:4798836736   DEBUG: Curl::Debug Connection: close
10:12:31 T:4798836736   DEBUG: Curl::Debug Content-Type: text/plain; charset=UTF-8
10:12:31 T:4798836736   DEBUG: Curl::Debug Closing connection #0
10:12:31 T:4862119936  NOTICE: Thread CFileCache start, auto delete: false
10:12:31 T:4862119936    INFO: CFileCache::Process - Hit eof.
10:12:31 T:4862119936   DEBUG: Thread CFileCache 4862119936 terminating
10:12:31 T:4368896000    INFO:   msg: JpgParse: Not a JPEG file /Users/mymedia/Desktop/orftest/P8070984.ORF
10:12:31 T:4368896000   DEBUG: Saving fileitems [/Users/mymedia/Desktop/orftest/]
10:12:31 T:4368896000   DEBUG:   -- items: 2, sort method: 0, ascending: false
10:12:31 T:4368896000   DEBUG: Thread Background Loader 4368896000 terminating
10:12:31 T:4368896000  NOTICE: Thread Background Loader start, auto delete: false
10:12:31 T:4368896000   DEBUG: Thread Background Loader 4368896000 terminating
10:12:31 T:4368896000  NOTICE: Thread Jobworker start, auto delete: true

and here is the corresponding crashreporter log http://pastebin.com/fGzC9hRf
Hi,

Should i wait for anyone else to confirm this on mac ? Or can i go ahead and create a ticket ?

Thanks
create a ticket IMHO.