Re: Quick Looking big files crash

2011-05-24 Thread Brad Stone
So it looks like the QuickLook framework has some bugs with Garbage Collection required. I contacted Apple tech support and they confirmed this is "likely a bug in the Quick Look framework" and asked me to file a bug report. Too bad this cost me one of my free tech support chits. In the mea

Re: Quick Looking big files crash

2011-05-03 Thread Brad Stone
Interesting, OK, now remember, t this is new to me. To begin the QL panel I run this required method: - (void)beginPreviewPanelControl:(QLPreviewPanel *)panel { previewPanel = [panel retain]; panel.delegate = self; panel.dataSource = self; } and then it ends with - (void)endPre

Re: Quick Looking big files crash

2011-05-03 Thread Nick Zitzmann
On May 3, 2011, at 5:27 PM, Brad Stone wrote: > My app stores an NSURL to a file. All I'm doing is acting as the data source > and delegate for QL and giving it access to an NSArray with the URL. I'm not > creating a plugin (or am I misunderstanding you). No, when you said "QuickLook" I tho

Re: Quick Looking big files crash

2011-05-03 Thread Wim Lewis
On 3 May 2011, at 4:03 PM, Brad Stone wrote: > I have a symbolic breakpoint set and it stops on > auto_refcount_underflow_error, even the small files. If I continue the doc > shows in QL. Presumably, a few stack frames up, there will be a call to CFRelease() which is causing the underflow (wh

Re: Quick Looking big files crash

2011-05-03 Thread Brad Stone
My app stores an NSURL to a file. All I'm doing is acting as the data source and delegate for QL and giving it access to an NSArray with the URL. I'm not creating a plugin (or am I misunderstanding you). On May 3, 2011, at 6:59 PM, Nick Zitzmann wrote: > > On May 3, 2011, at 4:45 PM, Brad S

Re: Quick Looking big files crash

2011-05-03 Thread Brad Stone
I have a symbolic breakpoint set and it stops on auto_refcount_underflow_error, even the small files. If I continue the doc shows in QL. On May 3, 2011, at 6:52 PM, Wim Lewis wrote: > > On 3 May 2011, at 3:45 PM, Brad Stone wrote: >> Here's what I get when I QL a large file. >> >> proNotes(52

Re: Quick Looking big files crash

2011-05-03 Thread Nick Zitzmann
On May 3, 2011, at 4:45 PM, Brad Stone wrote: > Here's what I get when I QL a large file. > > proNotes(52698,0x1196fd000) malloc: reference count underflow for > 0x201afc920, break on auto_refcount_underflow_error to debug. (17 times) > proNotes(52698,0x1196fd000) malloc: resurrection error for

Re: Quick Looking big files crash

2011-05-03 Thread Wim Lewis
On 3 May 2011, at 3:45 PM, Brad Stone wrote: > Here's what I get when I QL a large file. > > proNotes(52698,0x1196fd000) malloc: reference count underflow for > 0x201afc920, break on auto_refcount_underflow_error to debug. (17 times) > proNotes(52698,0x1196fd000) malloc: resurrection error for o