andyg;642150 Wrote:
> erland, you can get some additional logging if you make this change:
>
> >
Code:
--------------------
> >
>
> --- Slim/Utils/Scanner/LMS.pm (revision 78762)
> +++ Slim/Utils/Scanner/LMS.pm (local)
> @@ -124,7 +124,7 @@
>
> # Begin scan
> my $s = Media::Scan->new( $paths, {
> - #loglevel => 5,
> + loglevel => MS_LOG_MEMORY,
> async => $args->{no_async} ? 0 : 1,
> cachedir => $prefs->get('librarycachedir'),
> ignore => $ignore,
>
--------------------
> >
Ok, with all the JPG images that crashes the scanner on a local drive,
I get this in the log with more logging enabled:
Code:
--------------------
Scanning file /mnt/tmppictures/P7060033.JPG
Init JPEG buffer src, 4096 bytes in buffer
JPEG skip requested: 302 bytes
JPEG buffer consume 2427 bytes
Parsing EXIF tag of size 14403
Saving Exif entry: ImageDescription: OLYMPUS DIGITAL CAMERA
Saving Exif entry: Make: OLYMPUS OPTICAL CO.,LTD
Saving Exif entry: Model: C700UZ
Exif orientation: 1
Saving Exif entry: Orientation: Top-left
Saving Exif entry: XResolution: 72
Saving Exif entry: YResolution: 72
Saving Exif entry: ResolutionUnit: Inch
Saving Exif entry: Software: v357p-A75
Saving Exif entry: DateTime: 2002:07:06 14:40:39
Saving Exif entry: YCbCrPositioning: Co-sited
Saving Exif entry: Compression: JPEG compression
Saving Exif entry: XResolution: 72
Saving Exif entry: YResolution: 72
Saving Exif entry: ResolutionUnit: Inch
Saving Exif entry: ExposureTime: 1/1000 sec.
Saving Exif entry: FNumber: f/5.0
Saving Exif entry: ExposureProgram: Normal program
Saving Exif entry: ISOSpeedRatings: 100
Saving Exif entry: ExifVersion: Exif Version 2.1
Saving Exif entry: DateTimeOriginal: 2002:07:06 14:40:39
Saving Exif entry: DateTimeDigitized: 2002:07:06 14:40:39
Saving Exif entry: ComponentsConfiguration: Y Cb Cr -
Saving Exif entry: CompressedBitsPerPixel: 2
Saving Exif entry: ExposureBiasValue: 0.00 EV
Saving Exif entry: MaxApertureValue: 3.00 EV (f/2.8)
Saving Exif entry: MeteringMode: Pattern
Saving Exif entry: LightSource: Unknown
Saving Exif entry: Flash: Flash did not fire
Saving Exif entry: FocalLength: 5.9 mm
Saving Exif entry: MakerNote: 520 bytes undefined data
Saving Exif entry: UserComment:
Saving Exif entry: FlashPixVersion: FlashPix Version 1.0
Saving Exif entry: ColorSpace: sRGB
Saving Exif entry: PixelXDimension: 1600
Saving Exif entry: PixelYDimension: 1200
Saving Exif entry: FileSource: DSC
Saving Exif entry: SceneType: Directly photographed
Saving Exif entry: InteroperabilityIndex: R98
Saving Exif entry: InteroperabilityVersion: 0100
Resizing from 1600 x 1200 -> 300 x 225
Using JPEG scale factor 1/5, new source dimensions 400 x 300
thumb using width padding 0, inner width 0, height padding 0, inner height
225, bgcolor 0
[11-07-22 00:34:43.1358] Slim::Utils::Scanner::LMS::__ANON__ (707) Handling
new image /mnt/tmppictures/P7060033.JPG
Segmentation fault
--------------------
Do you want a bug report for this even if the same file works correctly
in Michaels OSX setup (I'm using Linux). The image file I used in the
above test is this one:
http://erland.isaksson.info/arkiv/lmsbugs/P7060033.JPG
--
erland
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=86628
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta