hex0cter / xee

Automatically exported from code.google.com/p/xee
1 stars 0 forks source link

Xee dies opening this file #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, if you have any Haxies, InputManagers, SIMBL plugins or
similar operating system hacks installed, please remove them first, restart
the program, and make sure the bug is reproducible without them.

What steps will reproduce the problem?
1. open this file (exif is invalid)

What is the expected output? 

The image is displayed.

What do you see instead?

"unerwartet beendet" (Xee dies)

What version of the product are you using? On what operating system?
Xee 2.2
Lion 10.7.2

Please provide any additional information below.

exiv2 says to this file:

$ exiv2 PHOTO_1330244078011.jpg 
Error: Directory Image, entry 0x8827 has invalid size 4294967295*2; skipping 
entry.

Error: Directory Photo: Next pointer is out of bounds; ignored.
Error: Offset of directory Photo, entry 0x0000 is out of bounds: Offset = 
0x00010000; truncating the entry
Warning: Directory Photo, entry 0x0000 has unknown Exif (TIFF) type 17; setting 
type size 1.
Error: Offset of directory Photo, entry 0x0000 is out of bounds: Offset = 
0x00300000; truncating the entry
Error: Offset of directory Photo, entry 0x0000 is out of bounds: Offset = 
0x00010000; truncating the entry
Warning: Directory Photo, entry 0x0000 has unknown Exif (TIFF) type 39; setting 
type size 1.
Error: Offset of directory Photo, entry 0x0000 is out of bounds: Offset = 
0x00020000; truncating the entry
Warning: Directory Photo, entry 0x0000 has unknown Exif (TIFF) type 0; setting 
type size 1.
Error: Directory Photo, entry 0x0000 has invalid size 3305101567*1; skipping 
entry.
Warning: Directory Photo, entry 0x0501 has unknown Exif (TIFF) type 257; 
setting type size 1.
Error: Offset of directory Photo, entry 0x0501 is out of bounds: Offset = 
0x00000000; truncating the entry
Warning: Directory Photo, entry 0x0000 has unknown Exif (TIFF) type 0; setting 
type size 1.
Error: Offset of directory Photo, entry 0x0000 is out of bounds: Offset = 
0x08070605; truncating the entry
Warning: Directory Photo, entry 0x0a09 has unknown Exif (TIFF) type 4107; 
setting type size 1.
Error: Offset of directory Photo, entry 0x0a09 is out of bounds: Offset = 
0x03040203; truncating the entry
Warning: Directory Photo, entry 0x0505 has unknown Exif (TIFF) type 1028; 
setting type size 1.
Error: Directory Photo, entry 0x0505 has invalid size 2097217536*1; skipping 
entry.
Dateiname       : PHOTO_1330244078011.jpg
Dateigröße    : 761897 Bytes
MIME-Typ        : image/jpeg
Bildgrõße     : 2048 x 1536
Kamerahersteller: Motorola
Kameramodell    : MB525 59ec0001ffd800000160880b06028023
Zeitstempel des Bildes: 
Bildnummer      : 
Belichtungszeit : 
Blende          : 
Belichtungskontrolle: 
Blitz           : 
Blitzkontrolle  : 
Brennweite      : 
Entfernung des Motivs: 
ISO Geschwindigkeit: 
Belichtungsmodus: Automatisch
Messmodus       : 
Makromodus      : 
Bildqualität   : 
Exif-Auflösung : 2048 x 1536
Weißabgleich   : 
Vorschau        : image/jpeg, 24533 Bytes
Copyright       : 
Exif-Kommentar  : 

here is the stack dump

Process:         Xee [18666]
Path:            /Users/USER/Downloads/Xee.app/Contents/MacOS/Xee
Identifier:      cx.c3.xee
Version:         ??? (2.2)
Code Type:       X86 (Native)
Parent Process:  launchd [117]

Date/Time:       2012-02-26 09:19:47.629 +0100
OS Version:      Mac OS X 10.7.2 (11C74)
Report Version:  9

Interval Since Last Report:          803684 sec
Crashes Since Last Report:           17
Per-App Interval Since Last Report:  572759 sec
Per-App Crashes Since Last Report:   5
Anonymous UUID:                      DD88C30D-25F2-45A1-9766-8A6917DEF4D3

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- 
SM=NUL  /Users/USER/Downloads/Xee.app/Contents/MacOS/Xee
    __TEXT                 0000000000001000-00000000000a6000 [  660K] r-x/rwx SM=COW  /Users/USER/Downloads/Xee.app/Contents/MacOS/Xee

Application Specific Information:
objc[18666]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib               0x980f8d50 strlen + 16
1   cx.c3.xee                       0x0005982d exifparse + 871
2   cx.c3.xee                       0x0005d42d -[XeeEXIFParser 
initWithBuffer:length:mutable:] + 98
3   cx.c3.xee                       0x0005d3c9 -[XeeEXIFParser 
initWithBuffer:length:] + 48
4   cx.c3.xee                       0x0004c5ed -[XeeJPEGImage load] + 3631
5   com.apple.CoreFoundation        0x91ab6e1d __invoking___ + 29
6   com.apple.CoreFoundation        0x91ab6d59 -[NSInvocation invoke] + 137
7   cx.c3.xee                       0x00079e9f CSLeopardCoroutineStart + 34
8   ???                             0000000000 0 + 0
9   com.apple.CoreFoundation        0x91ab120e ___forwarding___ + 894
10  com.apple.CoreFoundation        0x91ab0e22 _CF_forwarding_prep_0 + 50
11  cx.c3.xee                       0x0000fcd7 -[XeeImage 
initWithHandle:ref:attributes:] + 558
12  cx.c3.xee                       0x0001188a +[XeeImage 
imageForHandle:ref:attributes:] + 251
13  cx.c3.xee                       0x0001174d +[XeeImage imageForRef:] + 157
14  cx.c3.xee                       0x0000da83 -[XeeDelegate 
application:openFile:] + 1035
15  com.apple.AppKit                0x967bf1ef -[NSApplication 
_doOpenFile:ok:tryTemp:] + 540
16  com.apple.AppKit                0x967c3d94 
__-[NSApplication(NSAppleEventHandling) 
_handleAEOpenDocumentsForURLs:]_block_invoke_1 + 1581
17  com.apple.AppKit                0x964ee0e7 
__-[NSDocumentController(NSInternal) 
_autoreopenDocumentsWithCompletionHandler:]_block_invoke_2 + 126
18  com.apple.AppKit                0x964edfd3 -[NSApplication 
_whenReopeningIsAllowedDo:] + 162
19  com.apple.AppKit                0x964edcd0 
-[NSDocumentController(NSInternal) _autoreopenDocumentsWithCompletionHandler:] 
+ 717
20  com.apple.AppKit                0x964ed758 -[NSApplication 
_reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionH
andler:] + 300
21  com.apple.AppKit                0x964ed623 
-[NSApplication(NSAppleEventHandling) 
_reopenWindowsIfNecessaryWithAppleEvent:completionHandler:] + 260
22  com.apple.AppKit                0x967402ed 
-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 248
23  com.apple.AppKit                0x964ed372 
-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 701
24  com.apple.CoreFoundation        0x91ab7548 -[NSObject 
performSelector:withObject:withObject:] + 72
25  com.apple.Foundation            0x916cc21a __-[NSAppleEventManager 
setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 121
26  com.apple.Foundation            0x916cafcd -[NSAppleEventManager 
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 476
27  com.apple.Foundation            0x916cada1 
_NSAppleEventManagerGenericHandler + 234
28  com.apple.AE                    0x9c1f8045 aeDispatchAppleEvent(AEDesc 
const*, AEDesc*, unsigned long, unsigned char*) + 202
29  com.apple.AE                    0x9c1e1b67 
_ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 43
30  com.apple.AE                    0x9c1e1a54 aeProcessAppleEvent + 253
31  com.apple.HIToolbox             0x90a9bfea AEProcessAppleEvent + 103
32  com.apple.AppKit                0x964ea2af _DPSNextEvent + 1301
33  com.apple.AppKit                0x964e98ab -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
34  com.apple.AppKit                0x964e5c22 -[NSApplication run] + 911
35  com.apple.AppKit                0x9677a18a NSApplicationMain + 1054
36  cx.c3.xee                       0x00002772 _start + 216
37  cx.c3.xee                       0x00002699 start + 41

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x919b390a kevent + 10
1   libdispatch.dylib               0x983dfc58 _dispatch_mgr_invoke + 969
2   libdispatch.dylib               0x983de6a7 _dispatch_mgr_thread + 53

Thread 2:
0   libsystem_kernel.dylib          0x919b302e __workq_kernreturn + 10
1   libsystem_c.dylib               0x980a3ccf _pthread_wqthread + 773
2   libsystem_c.dylib               0x980a56fe start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib          0x919b302e __workq_kernreturn + 10
1   libsystem_c.dylib               0x980a3ccf _pthread_wqthread + 773
2   libsystem_c.dylib               0x980a56fe start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib          0x919b302e __workq_kernreturn + 10
1   libsystem_c.dylib               0x980a3ccf _pthread_wqthread + 773
2   libsystem_c.dylib               0x980a56fe start_wqthread + 30

Thread 5:
0   libsystem_kernel.dylib          0x919b302e __workq_kernreturn + 10
1   libsystem_c.dylib               0x980a3ccf _pthread_wqthread + 773
2   libsystem_c.dylib               0x980a56fe start_wqthread + 30

Thread 6:: com.apple.appkit-heartbeat
0   libsystem_kernel.dylib          0x919b2bb2 __semwait_signal + 10
1   libsystem_c.dylib               0x980567b9 nanosleep$UNIX2003 + 187
2   libsystem_c.dylib               0x98056558 usleep$UNIX2003 + 60
3   com.apple.AppKit                0x96731be2 -[NSUIHeartBeat 
_heartBeatThread:] + 2399
4   com.apple.Foundation            0x916eef7d -[NSThread main] + 45
5   com.apple.Foundation            0x916eef2d __NSThread__main__ + 1582
6   libsystem_c.dylib               0x980a1ed9 _pthread_start + 335
7   libsystem_c.dylib               0x980a56de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffffffff  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000000
  edi: 0x01cb5310  esi: 0x01cb5330  ebp: 0x0857edf8  esp: 0x0857ed7c
   ss: 0x00000023  efl: 0x00010286  eip: 0x980f8d50   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x00000000
Logical CPU: 2

Binary Images:
    0x1000 -    0xa5fe7 +cx.c3.xee (??? - 2.2) <D38A1F79-6A82-D5E8-60FB-D0B6EE2CC2DD> /Users/USER/Downloads/Xee.app/Contents/MacOS/Xee

Original issue reported on code.google.com by bra...@gmail.com on 26 Feb 2012 at 8:30

Attachments:

GoogleCodeExporter commented 9 years ago
It happens to me too. I've been browsing many images with an invalid exif (I 
guess) and it's always crashing.

Original comment by aky...@gmail.com on 27 Dec 2012 at 8:46

GoogleCodeExporter commented 9 years ago
Xee 3.0 uses a new EXIF engine, and it seems to load this without problems.

Original comment by paracel...@gmail.com on 11 Jan 2013 at 1:52

GoogleCodeExporter commented 9 years ago
Could you point me where the Xee 3.0 is for download? I don't see it anywhere.

Original comment by aky...@gmail.com on 14 Jan 2013 at 1:03

GoogleCodeExporter commented 9 years ago
It is still in development, and will be for some time.

Original comment by paracel...@gmail.com on 14 Jan 2013 at 1:15