Re: CFPasteboardResolveAllPromisedData crash
Re: CFPasteboardResolveAllPromisedData crash
- Subject: Re: CFPasteboardResolveAllPromisedData crash
- From: The Karl Adam <email@hidden>
- Date: Mon, 31 Jan 2005 09:47:43 -0500
Well -namesOfPromisedFilesDroppedAtDestination: is where the file is
*supposed* to be created or creation deferred to after that by means
of some file created in that method. But if your CFURLGetFSRef failed
that could have something to do with it too. Though I'm pretty sure
your supposed to get an NSURL.
-Karl
On Mon, 31 Jan 2005 15:28:57 +0100, David Kocher <email@hidden> wrote:
> As I review my code, the problem could be that I get
> CFURLGetFSRef failed
> in the console.log probably because often the file isn't created before
> the program returns from the namesOfPromisedFilesDroppedAtDestination:
> method. Could this cause the problem? I am not sure as I can't
> reproduce the bug here yet.
>
> -dk
>
> On 31. Jan 2005, at 14:24, The Karl Adam wrote:
>
> > How are you accomplishing the file promise drag and how are you
> > providing it the files as promised?
> >
> > -Karl
> >
> >
> > On Mon, 31 Jan 2005 11:26:22 +0100, David Kocher
> > <email@hidden> wrote:
> >> Hi all,
> >> I have users reporting occasional crashes when quiting the
> >> application. It seems to be related with file promises in the
> >> clipboard; however I have no idea of the real cause. If anyone has
> >> seen
> >> this before or has any guess what is going on I would be more than
> >> happy.
> >>
> >> Thanks!
> >> -dk
> >>
> >> Thread 0 Crashed:
> >> 0 libobjc.A.dylib 0x908311f4 objc_msgSend + 0x14
> >> 1 com.apple.AppKit 0x92fbba08 ProvidePromisedData + 0x64
> >> 2 com.apple.CoreFoundation 0x902207a8
> >> __CFPasteboardResolvePromiseForItemLocal + 0xec
> >> 3 com.apple.CoreFoundation 0x901f0d0c
> >> CFPasteboardResolveAllPromisedData + 0x210
> >> 4 com.apple.AppKit 0x92eae964 -[NSApplication
> >> terminate:] +
> >> 0x18c
> >> 5 com.apple.AppKit 0x92e78224 -[NSApplication
> >> sendAction:to:from:] + 0x6c
> >> 6 com.apple.AppKit 0x92eada44 -[NSMenu
> >> performActionForItemAtIndex:] + 0x188
> >> 7 com.apple.AppKit 0x92ef22e4 -[NSCarbonMenuImpl
> >> performActionWithHighlightingForItemAtIndex:] + 0x68
> >> 8 com.apple.AppKit 0x92ef8c14 -[NSMenu
> >> performKeyEquivalent:] + 0x104
> >> 9 com.apple.AppKit 0x92ed7ccc -[NSApplication
> >> _handleKeyEquivalent:] + 0x124
> >> 10 com.apple.AppKit 0x92df53dc -[NSApplication
> >> sendEvent:] +
> >> 0xa5c
> >> 11 com.apple.AppKit 0x92dfdc54 -[NSApplication run] +
> >> 0x240
> >> 12 com.apple.AppKit 0x92eba2b8 NSApplicationMain + 0x1d0
> >> 13 ch.sudo.cyberduck 0x00007ce0 _start + 0x188 (crt.c:267)
> >> 14 dyld 0x8fe1a558 _dyld_start + 0x64
> >>
> >> _______________________________________________
> >> Do not post admin requests to the list. They will be ignored.
> >> Cocoa-dev mailing list (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden