Re: Crash in Core Backup or Launch Services?
Re: Crash in Core Backup or Launch Services?
- Subject: Re: Crash in Core Backup or Launch Services?
- From: Jim Luther <email@hidden>
- Date: Mon, 11 Aug 2014 22:40:30 -0700
It *might* a known bug in CSBackupIsItemExcluded (in 10.9.x and earlier) where CSBackupIsItemExcluded overreleased a URL's string if the URL passed to it was a relative URL (a relative URL is a URL with a base URL and a relative path as the string). If you think that might be what you're passing, you can work around the bug by using CFURLCopyAbsoluteURL to make the URL absolute before passing it to CSBackupIsItemExcluded.
So, my guess is "(d) none of the above."
- Jim
P.S. A full crash log makes my guesses stronger. I like looking at exception types, registers and stuff like that :-)
On Aug 11, 2014, at 8:50 PM, James Bucanek <email@hidden> wrote:
> Greetings,
>
> I'm the author of a backup utility (www.qrecall.com) that calls CSBackupIsItemExcluded() to automatically exclude superfluous items from the backup.
>
> I've got a customer with a brand new Mac Pro that can't make backups. Every time he starts one the process crashes with the following stack trace at the end of this message.
>
> Question: In the expert opinion of the most knowledgeable individual who read this list, is this most likely to be (a) a corrupted Launch Services DB, (b) a corrupted Core Backup database, (c) a bad volume directory structure or, (d) none of the above.
>
> Thanks,
>
> James
>
> ------------------------------------------------------------------------------------------------------
>
> Process: QRecallHelper [1543]
> Path: /Users/*/Library/Application Support/QRecall/QRecallHelper
> Identifier: QRecallHelper
> Version: ???
> Code Type: X86-64 (Native)
> Parent Process: QRecallScheduler [327]
> Responsible: QRecallScheduler [327]
> User ID: 0
>
> Date/Time: 2014-08-11 00:15:10.667 +0200
> OS Version: Mac OS X 10.9.4 (13E28)
> Report Version: 11
>
>
> Crashed Thread: 8
>
> ...
>
> Thread 8 Crashed:
> 0 com.apple.CoreFoundation 0x00007fff8c2f523c CFURLCopyFileSystemPath + 76
> 1 com.apple.CoreServices.CarbonCore 0x00007fff8bcb63bf CSBackupIsItemExcluded + 92
> 2 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 3 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 4 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 5 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 6 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 7 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 8 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 9 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 10 com.apple.CoreServices.CarbonCore 0x00007fff8bcb6502 CSBackupIsItemExcluded + 415
> 11 QRecallHelper 0x0000000100092dba 0x100000000 + 601530
> 12 QRecallHelper 0x0000000100061640 0x100000000 + 398912
> 13 QRecallHelper 0x000000010000f819 0x100000000 + 63513
> 14 QRecallHelper 0x000000010000f428 0x100000000 + 62504
> 15 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 16 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 17 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 18 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 19 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 20 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 21 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 22 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 23 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 24 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 25 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 26 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 27 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 28 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 29 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 30 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 31 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 32 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 33 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 34 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 35 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 36 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 37 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 38 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 39 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 40 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 41 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 42 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 43 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 44 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 45 QRecallHelper 0x000000010000f927 0x100000000 + 63783
> 46 QRecallHelper 0x000000010000f413 0x100000000 + 62483
> 47 QRecallHelper 0x00000001000998c4 0x100000000 + 628932
> 48 com.apple.Foundation 0x00007fff87a2a76b __NSThread__main__ + 1318
> 49 libsystem_pthread.dylib 0x00007fff8fa0c899 _pthread_body + 138
> 50 libsystem_pthread.dylib 0x00007fff8fa0c72a _pthread_start + 137
> 51 libsystem_pthread.dylib 0x00007fff8fa10fc9 thread_start + 13
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-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.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden