I'm not sure if I should post this to the Cocoa-dev list or to here, so I'll try here first.
I'm just preparing a new release of an app but it's crashing on 10.6.8 when I try to open any document. The crash log looks like this:
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 000000000000000000 0 + 0
1 com.apple.AppKit 0x00007fff82d2020e -[NSScrollView tile] + 757
2 com.apple.AppKit 0x00007fff82d1ff03 -[NSScrollView _tileWithoutRecursing] + 39
3 com.apple.AppKit 0x00007fff82dae536 -[NSScrollView(NSRulerSupport) setRulersVisible:] + 66
4 com.bobsoft.TeXnicle 0x0000000100051166 -[TeXTextView setUpRuler] + 582
5 com.bobsoft.TeXnicle 0x00000001000508cf -[TeXTextView awakeFromNib] + 207
6 com.apple.CoreFoundation 0x00007fff827bf9fd -[NSSet makeObjectsPerformSelector:] + 205
7 com.apple.AppKit 0x00007fff82c6c85b -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1445
8 com.apple.AppKit 0x00007fff82d13d14 -[NSNib instantiateNibWithExternalNameTable:] + 564
9 com.apple.AppKit 0x00007fff82d13a92 -[NSNib instantiateNibWithOwner:topLevelObjects:] + 233
10 com.apple.AppKit 0x00007fff82d13063 -[NSViewController loadView] + 180
11 com.apple.AppKit 0x00007fff82c8f6a3 -[NSViewController view] + 38
12 com.bobsoft.TeXnicle 0x00000001000ea8cd -[PrefsWindowController awakeFromNib] + 3373
13 com.apple.AppKit 0x00007fff82c6c8a1 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1515
14 com.apple.AppKit 0x00007fff82c6aa91 loadNib + 226
15 com.apple.AppKit 0x00007fff82c69fa1 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
16 com.apple.AppKit 0x00007fff82ce83e1 -[NSWindowController loadWindow] + 233
17 com.apple.AppKit 0x00007fff82c8ef59 -[NSWindowController window] + 82
18 com.bobsoft.TeXnicle 0x00000001000e7d02 -[DBPrefsWindowController showWindow:] + 50
19 com.bobsoft.TeXnicle 0x000000010007e277 -[TeXnicleAppController showPreferences:] + 87
20 com.apple.AppKit 0x00007fff82dfdeda -[NSApplication sendAction:to:from:] + 95
21 com.apple.AppKit 0x00007fff82e2246a -[NSMenuItem _corePerformAction] + 365
22 com.apple.AppKit 0x00007fff82e221d4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
23 com.apple.AppKit 0x00007fff82e07e45 -[NSMenu performKeyEquivalent:] + 272
24 com.apple.AppKit 0x00007fff82e06bed -[NSApplication _handleKeyEquivalent:] + 559
25 com.apple.AppKit 0x00007fff82cd76b9 -[NSApplication sendEvent:] + 3630
26 com.apple.AppKit 0x00007fff82c6e6de -[NSApplication run] + 474
27 com.apple.AppKit 0x00007fff82c673b0 NSApplicationMain + 364
28 com.bobsoft.TeXnicle 0x00000001000017e2 main + 34
29 com.bobsoft.TeXnicle 0x00000001000017b4 start + 52
I can trigger the crash even by opening the preferences window. I rolled back the code in git to the last release, recompiled, and it still crashes on 10.6.8. The actual previous release does not crash on 10.6.8. This seems very strange to me. Is there some setting in Xcode 4.6 that has changed which would cause my app to crash on 10.6.8? These crash logs are not helping me. The OS X deployment target is set to 10.6.8. Anyway, I didn't change any project settings between the releases, as far as I know.