CFURLDestroyResource crasches
Subject : CFURLDestroyResource crasches
From: Rune Lindman <email@hidden >
Date: Fri, 22 Jun 2007 12:31:56 +0200
Delivered-to: email@hidden
Delivered-to: email@hidden
I have problem with CFURLDestroyResource always crashing for me. The
file inRef points to is not removable but I don't think this should
cause a crash.
OSStatus err = noErr;
CFShow(inRef);
CFURLDestroyResource(inRef,&err);
ThrowIfError_(err);
Do I do something wrong or is this a problem with CFURLDestroyResource?
Output from GDB console:
---------------------------------
<CFURL 0x1542e060 [0xa080a1c0]>{type = 15, string = http://
www.qpict.com/images/wholew.jpg, base = (null)}
Program received signal: "EXC_BAD_ACCESS".
Date/Time: 2007-06-22 12:27:39.467 +0200
OS Version: 10.4.9 (Build 8P2137)
Report Version: 4
Output from Crash reporter:
-------------------------------------
Command: QPict
Path: /Users/lindman/Documents/QPict/Project/build/Debug/QPict.app/
Contents/MacOS/QPict
Parent: WindowServer [59]
Version: 7.0.2 (0.2)
PID: 18109
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x4503d043
Thread 0 Crashed:
0 libobjc.A.dylib 0x90a57387 objc_msgSend + 23
1 com.apple.CFNetwork 0x91015bf4
__CFHTTPMessageDeallocate + 21
2 com.apple.CoreFoundation 0x9080d169 _CFRelease + 188
3 com.apple.CFNetwork 0x91022b65 _CFURLDestroyResource
+ 209
4 com.apple.CoreFoundation 0x9088eb37 CFURLDestroyResource +
259
5 com.qpict.QPict 0x00181bfd CFURL::MoveToTrash
(__CFURL const*) + 531 (CFURL.cp:797)
6 com.qpict.QPict 0x000a9118 CIndexItem::DeleteFile
() + 38 (CIndexItem.cp:5005)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.