Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Scott Ribe
On Nov 25, 2014, at 9:27 AM, Markus Spoettl wrote: > > That hits only one user out of many? All the time, whenever he uses it, and > no one else. Caused by other apps or ours? All good points. I'd certainly want a system profile, to examine both it and the crash report for any 3rd-party kexts

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Markus Spoettl
On 25/11/14 15:28, Scott Ribe wrote: On Nov 25, 2014, at 1:26 AM, Markus Spoettl wrote: My user says he doesn't experience sluggishness, he also tried rebooting the machine and repair the disk permissions. Still crashes reliably every time. In that case, I'd personally suspect heap corrupti

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Scott Ribe
On Nov 25, 2014, at 1:26 AM, Markus Spoettl wrote: > > My user says he doesn't experience sluggishness, he also tried rebooting the > machine and repair the disk permissions. Still crashes reliably every time. In that case, I'd personally suspect heap corruption. -- Scott Ribe scott_r...@elev

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-25 Thread Markus Spoettl
On 24/11/14 14:54, Scott Ribe wrote: So I have no idea if this is related or not. But a few things for you to possibly find out: is there a lot of file manipulation being done on that Mac, is performance of everything sluggish before this happens, and will it work after a reboot. My user says h

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Markus Spoettl
On 24/11/14 14:54, Scott Ribe wrote: On Nov 24, 2014, at 3:03 AM, Markus Spoettl wrote: I'm attaching the call stack of the crash in the hope that someone on the list recognizes it. Any ideas what might be going on? Is this 10.10? And the libs are still using FSRef underneath their implement

Re: Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Scott Ribe
On Nov 24, 2014, at 3:03 AM, Markus Spoettl wrote: > > I'm attaching the call stack of the crash in the hope that someone on the > list recognizes it. Any ideas what might be going on? Is this 10.10? And the libs are still using FSRef underneath their implementations??? Hoo boy. I've seen 10.

Weird crash in FSRefCreate while saving NSDocument

2014-11-24 Thread Markus Spoettl
Hello, I have a user who keeps crashing our app by saving his NSDocument (file wrapper based). I can't make any sense of it and he's the only one who runs into this, apparently. I'm attaching the call stack of the crash in the hope that someone on the list recognizes it. Any ideas what mig

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-10 Thread Jerry Krinock
> On 2014 Nov 10, at 15:37, Lee Ann Rucker wrote: > > Do you implement any of the delegate methods corresponding to the > notifications? Cocoa will add notifications for you instead of bothering with > "respondsToSelector:" all the time. Thank you, Lee Ann. No, I can’t find any corresponding

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-10 Thread Lee Ann Rucker
Do you implement any of the delegate methods corresponding to the notifications? Cocoa will add notifications for you instead of bothering with "respondsToSelector:" all the time. On Nov 9, 2014, at 5:02 AM, Jerry Krinock wrote: > >> On 2014 Nov 07, at 16:02, Greg Parker wrote: >> >> You m

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-09 Thread Jerry Krinock
> On 2014 Nov 07, at 16:02, Greg Parker wrote: > > You may have better luck tracing it from the other side. Run to that line in > appendToRecentSearches:, set a breakpoint on -[NSNotificationCenter > postNotificationName:object:userInfo:], and step over your line. At those > breakpoints you s

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Greg Parker
> On Nov 7, 2014, at 12:35 PM, Jerry Krinock wrote: > >> On 2014 Nov 07, at 14:14, Greg Parker wrote: >> >> Which frame are you in when you try to read the register (the top frame, or >> some other frame)? > > Some other. #11 in this call stack: > > #0 in strlen () > #1 in strdup () >

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Jerry Krinock
> On 2014 Nov 07, at 14:14, Greg Parker wrote: > > Which frame are you in when you try to read the register (the top frame, or > some other frame)? Some other. #11 in this call stack: #0 in strlen () #1 in strdup () #2 in objc_class::nameForLogging() () #3 in cache_t::bad_cache(objc_

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Greg Parker
> On Nov 7, 2014, at 5:06 AM, Jerry Krinock wrote: > >> On 2014 Nov 04, at 01:33, Quincey Morris >> wrote: >> >> The fact that NSNotificationCenter is involved tells you that this is *not* >> KVO related. > > OK, then that makes me even more upset that all I can get from po $rdi, po > $rdx

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-07 Thread Jerry Krinock
> On 2014 Nov 04, at 01:33, Quincey Morris > wrote: > > The fact that NSNotificationCenter is involved tells you that this is *not* > KVO related. OK, then that makes me even more upset that all I can get from po $rdi, po $rdx, po $rcx, etc. when I need them nowadays is those damned “Couldn’

Re: Weird crash in -[NSSearchField setRecentSearches:]

2014-11-03 Thread Quincey Morris
On Nov 3, 2014, at 19:54 , Jerry Krinock wrote: > > The highest line in the stack in my code is #12. Line #11 indicates that the > crash occurs when AppKit attempts to post a notification, which I suspect is > a KVO notification. (But is NSNotificationCenter used in KVO?) No, it is not. The

Weird crash in -[NSSearchField setRecentSearches:]

2014-11-03 Thread Jerry Krinock
I have subclassed NSSearchField, implementing a method which appends a new search to recent searches after the user has entered text into it. Three times during the last year, I’ve seen this method crash where it sets the new array of searches into super’s recentSearches, [self setRecentSearch

Re: Weird Crash in

2011-06-17 Thread Laurent Daudelin
On Jun 17, 2011, at 15:51, Greg Parker wrote: > On Jun 17, 2011, at 3:48 PM, Laurent Daudelin wrote: > >> On Jun 17, 2011, at 15:22, Greg Parker wrote: >> >>> On Jun 17, 2011, at 2:40 PM, Laurent Daudelin wrote: One of my user sent me a crash log with an excerpt here: ... Ex

Re: Weird Crash in

2011-06-17 Thread Greg Parker
On Jun 17, 2011, at 3:48 PM, Laurent Daudelin wrote: > On Jun 17, 2011, at 15:22, Greg Parker wrote: > >> On Jun 17, 2011, at 2:40 PM, Laurent Daudelin wrote: >>> One of my user sent me a crash log with an excerpt here: >>> >>> ... >>> Exception Type: EXC_BAD_ACCESS (SIGSEGV) >>> Exception Cod

Re: Weird Crash in

2011-06-17 Thread Laurent Daudelin
On Jun 17, 2011, at 15:22, Greg Parker wrote: > On Jun 17, 2011, at 2:40 PM, Laurent Daudelin wrote: >> One of my user sent me a crash log with an excerpt here: >> >> ... >> Exception Type: EXC_BAD_ACCESS (SIGSEGV) >> Exception Codes: KERN_INVALID_ADDRESS at 0x0027 >> ... >> Thread 4

Re: Weird Crash in

2011-06-17 Thread Greg Parker
On Jun 17, 2011, at 2:40 PM, Laurent Daudelin wrote: > One of my user sent me a crash log with an excerpt here: > > ... > Exception Type: EXC_BAD_ACCESS (SIGSEGV) > Exception Codes: KERN_INVALID_ADDRESS at 0x0027 > ... > Thread 4 Crashed: Dispatch queue: com.apple.root.default-priori

Weird Crash in

2011-06-17 Thread Laurent Daudelin
One of my user sent me a crash log with an excerpt here: ... Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0027 ... Thread 4 Crashed: Dispatch queue: com.apple.root.default-priority 0 libobjc.A.dylib 0x7fff85ea115c objc_

Re: Weird crash in sendEvent - right click vs control click

2008-05-13 Thread Brett Powley
instance, or perhaps APE? That's the only thing that I could think of that might be yielding such a crash. Cheers, Andrew On May 13, 2008, at 9:21 PM, Brett Powley wrote: Hi, I'm having a rather weird crash in a Cocoa application. If I control-click on a window, my appl

Re: Weird crash in sendEvent - right click vs control click

2008-05-13 Thread Andrew Merenbach
21 PM, Brett Powley wrote: Hi, I'm having a rather weird crash in a Cocoa application. If I control-click on a window, my application crashes instantly. If I right click, it doesn't (and indeed my rightMouse method is eventually called as I want it to be). I've tried e

Weird crash in sendEvent - right click vs control click

2008-05-13 Thread Brett Powley
Hi, I'm having a rather weird crash in a Cocoa application. If I control- click on a window, my application crashes instantly. If I right click, it doesn't (and indeed my rightMouse method is eventually called as I want it to be). I've tried enabling zombies, but tha