• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drawing crash - not near my code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing crash - not near my code!


  • Subject: Drawing crash - not near my code!
  • From: Evan Olcott <email@hidden>
  • Date: Fri, 25 Nov 2005 10:00:41 -0600

Does anybody have any idea why this crash is happening? It's happening to one of my users somewhat randomly, and the crash report isn't touching any of my code-- all the other threads in the app are fine, waiting at message traps.

The reason why I ask here is that it's coming from objects (NSFocusState, NSFrameView) which have no documentation *at all*, and even weirder, it's crashing at a *math statement* in libmath!.

My app is compiled for PPC and i386, and I recognize the math stuff as being a "warning sign" for running on i386 (divide by zero, etc) - but it's running on a PPC, so the i386 code isn't being touched.

Anybody recognize what's going on here?

===

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 libmathCommon.A.dylib 0x9020c914 remquo + 1844
1 libSystem.B.dylib 0x9005e974 remainder + 20
2 com.apple.AppKit 0x936c5a48 -[NSFrameView adjustHalftonePhase] + 172
3 com.apple.AppKit 0x936a4ad4 -[NSFocusState flush] + 272
4 com.apple.AppKit 0x936a3a1c -[NSView _focusFromView:withContext:] + 448
5 com.apple.AppKit 0x936a3650 -[NSView lockFocusIfCanDraw] + 616
6 com.apple.AppKit 0x936a335c -[NSView lockFocus] + 40
7 com.apple.AppKit 0x9369edc8 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 292
8 com.apple.AppKit 0x93694118 -[NSView displayIfNeeded] + 248
9 com.apple.AppKit 0x93693f88 -[NSWindow displayIfNeeded] + 180
10 com.apple.AppKit 0x93693e34 _handleWindowNeedsDisplay + 200
11 com.apple.CoreFoundation 0x9075cccc __CFRunLoopDoObservers + 352
12 com.apple.CoreFoundation 0x9075cf6c __CFRunLoopRun + 420
13 com.apple.CoreFoundation 0x9075ca0c CFRunLoopRunSpecific + 268
14 com.apple.HIToolbox 0x931831e0 RunCurrentEventLoopInMode + 264
15 com.apple.HIToolbox 0x93182874 ReceiveNextEventCommon + 380
16 com.apple.HIToolbox 0x931826e0 BlockUntilNextEventMatchingListInMode + 96
17 com.apple.AppKit 0x93660904 _DPSNextEvent + 384
18 com.apple.AppKit 0x936605c8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
19 com.apple.AppKit 0x9365cb0c -[NSApplication run] + 472
20 com.apple.AppKit 0x9374d618 NSApplicationMain + 452
21 com.audiofile.WaveEditor 0x000028f8 _start + 344 (crt.c:272)
22 com.audiofile.WaveEditor 0x0000279c start + 60


Thread 0 crashed with PPC Thread State 64:
srr0: 0x000000009020c914 srr1: 0x100000000200f030 vrsave: 0x0000000000000000
cr: 0x44004282 xer: 0x0000000000000000 lr: 0x000000009020c1f0 ctr: 0x0000000000000000
r0: 0x0000000000000000 r1: 0x00000000bfffe580 r2: 0x0000000000000000 r3: 0x00000000bfffe6b0
r4: 0x00000000004d1868 r5: 0x0000000000000006 r6: 0xfffffffffffffffd r7: 0x00000000bfffe638
r8: 0x00000000c047e580 r9: 0x000000000000007c r10: 0xfffffffffffffff7 r11: 0x000000000000007c
r12: 0x000000009020c1e0 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x00000000bffff2d0 r18: 0x000000000000a063 r19: 0x00000000004c1ac0
r20: 0x000000001d1f1437 r21: 0x000000000040ee70 r22: 0x0000000000000002 r23: 0x000000000040ef88
r24: 0x000000000040ef80 r25: 0x00000000004f0c90 r26: 0x0000000000000001 r27: 0x00000000004eae70
r28: 0x00000000004e6320 r29: 0x00000000a3691830 r30: 0x00000000a6004100 r31: 0x000000009020c1f0


Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering

http://www.audiofile-engineering.com/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Drawing crash - not near my code!
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: retrieve a milliseconds interval with obj-C
  • Next by Date: Is Apple's singleton sample code correct?
  • Previous by thread: Re: System overhead when creating pthreads?
  • Next by thread: Re: Drawing crash - not near my code!
  • Index(es):
    • Date
    • Thread