Re: Finder Crashes on File Open

2008-10-10 Thread Brian Miller

Hi,

Here is the plist, thanks in advance for taking a look at it:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd 


plist version=1.0
dict
keyCFBundleDevelopmentRegion/key
stringEnglish/string
keyCFBundleDocumentTypes/key
array
dict
keyCFBundleTypeExtensions/key
array
stringpbpshow/string
/array
keyCFBundleTypeIconFile/key
stringfileIcon/string
keyCFBundleTypeMIMETypes/key
array
stringapplication/octet-stream/string
/array
keyCFBundleTypeName/key
stringInstaCue/string
keyCFBundleTypeOSTypes/key
array
string/string
/array
keyCFBundleTypeRole/key
stringEditor/string
keyLSTypeIsPackage/key
false/
keyNSDocumentClass/key
stringMyDocument/string
keyNSPersistentStoreTypeKey/key
stringBinary/string
/dict
/array
keyCFBundleExecutable/key
string${EXECUTABLE_NAME}/string
keyCFBundleIconFile/key
stringICIcon/string
keyCFBundleIdentifier/key
stringcom.DTvideolabs.instaCue/string
keyCFBundleInfoDictionaryVersion/key
string6.0/string
keyCFBundleName/key
string${PRODUCT_NAME}/string
keyCFBundlePackageType/key
stringDTVL/string
keyCFBundleShortVersionString/key
string2.1.5/string
keyCFBundleSignature/key
string/string
keyCFBundleVersion/key
string2/string
keyNSMainNibFile/key
stringMainMenu/string
keyNSPrincipalClass/key
stringICApplication/string
/dict
/plist


Brian



On Oct 10, 2008, at 8:32 AM, Shawn Erickson wrote:


Oops missed the list...

On Thu, Oct 9, 2008 at 10:47 AM, Brian Miller [EMAIL PROTECTED]  
wrote:

Hi All,

I have a Cocoa Core Data Document based application.  When files  
created
with this application are opened via the Finder (or double  
clicked), the
Finder crashes and restarts every time.  Opening files from within  
the

application work fine, using Open With works fine.

The Finder crashes before the application is launched.


What does your Info.plist look like? All I can guess is that your
plist has some entries in it that are causing Launch Services grief.

-Shawn
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/bmvdeveloper 
%40cox.net


This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Finder Crashes on File Open

2008-10-09 Thread Brian Miller

Hi All,

I have a Cocoa Core Data Document based application.  When files  
created with this application are opened via the Finder (or double  
clicked), the Finder crashes and restarts every time.  Opening files  
from within the application work fine, using Open With works fine.


The Finder crashes before the application is launched.

This happens even on a clean Leopard install.

This only happens on Leopard, works fine in Tiger.

I have changed store types to SQL, etc. problem persists.  I have  
changed extension, etc. and problem persists.


I am including Finder Crash report, I can provide other info as  
needed.  Since my app doesn't launch, I can't figure out what is going  
on.


Any help would be greatly appreciated.

Thanks,
Brian Miller


Process: Finder [13544]
Path:/System/Library/CoreServices/Finder.app/Contents/ 
MacOS/Finder

Identifier:  com.apple.finder
Version: 10.5.6 (10.5.6)
Build Info:  Finder_FE-6071900~15
Code Type:   X86 (Native)
Parent Process:  launchd [109]

Date/Time:   2008-10-09 00:13:50.397 -0700
OS Version:  Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0005
Crashed Thread:  0

Thread 0 Crashed:
0   com.apple.CoreFoundation0x952332d4 CFRetain + 36
1   com.apple.CoreFoundation0x95203282 CFDictionaryAddValue + 530
2   com.apple.CoreFoundation0x95203894 CFDictionaryCreate + 132
3   com.apple.LaunchServices  	0x96fd9cb0  
CFDictionary::CFDictionary(unsigned int, void const**, void const**) +  
74
4   com.apple.LaunchServices  	0x96feb395 _LSFindApplicationsItem  
+ 39

5   com.apple.LaunchServices0x96fd4b30 _LSOpenStuff + 1924
6   com.apple.LaunchServices  	0x96ff5462  
_LSOpenItemsWithRole_Common(FSRef const*, long, unsigned long,  
AEKeyDesc const*, LSApplicationParameters_V1 const*,  
ProcessSerialNumber*, long, FSRef*) + 374

7   com.apple.LaunchServices0x96ff2916 LSOpenFromRefSpec + 708
8   com.apple.finder0x0008f576 0x1000 + 583030
9   com.apple.finder0x0008f145 0x1000 + 581957
10  com.apple.finder0x0008e1e1 0x1000 + 578017
11  com.apple.finder0x00082f9f 0x1000 + 532383
12  com.apple.finder0x000d5a70 0x1000 + 871024
13  com.apple.finder0x000898b6 0x1000 + 559286
14  com.apple.finder0x0002bced 0x1000 + 175341
15  com.apple.finder0x00031a25 0x1000 + 199205
16  com.apple.finder0x00026822 0x1000 + 153634
17  com.apple.finder0x000266a2 0x1000 + 153250
18  com.apple.finder0x0002 0x1000 + 153190
19  com.apple.HIToolbox   	0x92166303  
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,  
HandlerCallRec*) + 1181
20  com.apple.HIToolbox   	0x9216573d  
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,  
HandlerCallRec*) + 405
21  com.apple.HIToolbox   	0x921655a2  
SendEventToEventTargetWithOptions + 58

22  com.apple.finder0x00080359 0x1000 + 521049
23  com.apple.finder0x00045067 0x1000 + 278631
24  com.apple.finder0x0004483f 0x1000 + 276543
25  com.apple.finder0x00026822 0x1000 + 153634
26  com.apple.finder0x000266a2 0x1000 + 153250
27  com.apple.finder0x0002 0x1000 + 153190
28  com.apple.HIToolbox   	0x92166303  
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,  
HandlerCallRec*) + 1181
29  com.apple.HIToolbox   	0x9216573d  
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,  
HandlerCallRec*) + 405
30  com.apple.HIToolbox   	0x92182092 SendEventToEventTarget +  
52
31  com.apple.HIToolbox   	0x92194268  
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,  
OpaqueEventRef*, void*) + 1208
32  com.apple.HIToolbox   	0x921666bc  
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,  
HandlerCallRec*) + 2134
33  com.apple.HIToolbox   	0x9216573d  
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,  
HandlerCallRec*) + 405
34  com.apple.HIToolbox   	0x92182092 SendEventToEventTarget +  
52
35  com.apple.HIToolbox   	0x921eec60 ToolboxEventDispatcher +  
86
36  com.apple.HIToolbox   	0x921eb4ba RunApplicationEventLoop  
+ 222

37  com.apple.finder0x00023ab1 0x1000 + 142001
38  com.apple.finder0x000f39cd 0x1000 + 993741
39  com.apple.finder0x9a6e 0x1000 + 35438

Thread 1:
0   libSystem.B.dylib   0x9364b4a6 mach_msg_trap + 10
1   libSystem.B.dylib   0x93652c9c mach_msg + 72
2   com.apple.CoreFoundation  	0x952310ce CFRunLoopRunSpecific +  
1790

3