Crash when switching application from full-screen Scrivener

About 60% of the time that I use the Command-Tab keyboard combination to switch from Scrivener while in full screen mode to another application, Scrivener crashes. I typically do this when I’m writing a column and want to pop over to Safari for a second to check a fact.

Hi,

Next time it happens, take a look at the crash report that gets generated and see if it says “iScroller” in there somewhere. If so, it’s a known bug that will be fixed in the next update. For now, you can work around it by going to the Full Screen preferences and changing the scroller type. Snow Leopard changed something that breaks the regular full screen scroller and causes a crash (I am guessing you are using Snow Leopard).

All the best,
Keith

Keith,

I’ve been having a similar crash. After working for a short period in full screen view (it doesn’t seem to happen when I first open full screen view) and then click in my other monitor on a Finder window Scrivener crashes and closes. I looked in the crash details and did find a [KBiScroller drawRece:] call in the report (see line 13 in the segment of the report I’ve copied below). I assume, therefore, that this is the known bug you mentioned.

I’ll try changing the scroller type as you suggest and see if that works around the problem for now.

  • Matthew B.

Excerpt (first block of text) of crash report:

Process: Scrivener [473]
Path: /Applications/Scrivener.app/Contents/MacOS/Scrivener
Identifier: com.literatureandlatte.scrivener
Version: 1.54 (1.54n - NaNoWriMo 2009 Edition)
Code Type: X86 (Native)
Parent Process: launchd [104]

Date/Time: 2010-03-12 09:53:06.719 -0500
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6

Interval Since Last Report: 236380 sec
Crashes Since Last Report: 11
Per-App Interval Since Last Report: 397771 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: xxxxxxxxxxxxxxxxxxxxxxxxx

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000007a95c0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreGraphics 0x9796330c argb32_image_mark_RGB32 + 2700
1 com.apple.CoreGraphics 0x978f101f argb32_image + 2847
2 libRIP.A.dylib 0x9633671e ripd_Mark + 295
3 libRIP.A.dylib 0x9632bc51 ripl_BltImage + 1593
4 libRIP.A.dylib 0x9632b38b ripc_RenderImage + 269
5 libRIP.A.dylib 0x9632896a ripc_DrawImage + 2697
6 com.apple.CoreGraphics 0x978ec384 CGContextDrawImage + 450
7 com.apple.AppKit 0x931252ef __-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1 + 1871
8 com.apple.AppKit 0x93124975 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1180
9 com.apple.AppKit 0x931234b0 __-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1 + 1857
10 com.apple.AppKit 0x93120d48 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 189
11 com.apple.AppKit 0x9312087e -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1939
12 com.apple.AppKit 0x931decd4 -[NSImage drawInRect:fromRect:operation:fraction:] + 120
13 …iteratureandlatte.scrivener 0x000abd3d -[KBiScroller drawRect:] + 2044
14 com.apple.AppKit 0x931bdb6c -[NSView _drawRect:clip:] + 3721
15 com.apple.AppKit 0x931bb238 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 2217
16 com.apple.AppKit 0x931bbbcb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
17 com.apple.AppKit 0x931bbbcb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
18 com.apple.AppKit 0x931bbbcb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4668
19 com.apple.AppKit 0x93259b5f -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 311
20 com.apple.AppKit 0x931b7111 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3309
21 com.apple.AppKit 0x93117d6e -[NSView displayIfNeeded] + 818
22 com.apple.AppKit 0x930cb9c5 -[NSNextStepFrame displayIfNeeded] + 98
23 com.apple.AppKit 0x930e1094 -[NSWindow displayIfNeeded] + 204
24 com.apple.AppKit 0x931125aa _handleWindowNeedsDisplay + 696
25 com.apple.CoreFoundation 0x98c21892 __CFRunLoopDoObservers + 1186
26 com.apple.CoreFoundation 0x98bde18d __CFRunLoopRun + 557
27 com.apple.CoreFoundation 0x98bdd864 CFRunLoopRunSpecific + 452
28 com.apple.CoreFoundation 0x98bdd691 CFRunLoopRunInMode + 97
29 com.apple.HIToolbox 0x9261cf0c RunCurrentEventLoopInMode + 392
30 com.apple.HIToolbox 0x9261cbff ReceiveNextEventCommon + 158
31 com.apple.HIToolbox 0x9261cb48 BlockUntilNextEventMatchingListInMode + 81
32 com.apple.AppKit 0x930e8ac5 _DPSNextEvent + 847
33 com.apple.AppKit 0x930e8306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
34 com.apple.AppKit 0x930aa49f -[NSApplication run] + 821
35 com.apple.AppKit 0x930a2535 NSApplicationMain + 574
36 …iteratureandlatte.scrivener 0x00002805 _start + 208
37 …iteratureandlatte.scrivener 0x00002734 start + 40

Hi,

Yes, that’s definitely the same bug - just change the scroller type and it will work fine. 1.54 will be out next week (at last) which fixes the issue.

All the best,
Keith