NSFireTimer Crash
NSFireTimer Crash
- Subject: NSFireTimer Crash
- From: Anurag Khare <email@hidden>
- Date: Tue, 15 Sep 2009 10:21:51 +0530
At least tell me the reason for this crash report.Please
Hi,
I am getting This crash log only with Snow Leopard(10.6).
1- In Code i am firing timer repeatedly in 0.1 second to load camera
(iSight) image using
NSBitmapImageRep (Category). This is because i am applying real time
tracking of face and applying mask.
2- I tried to Create subclass of NSBitmapImageRep but no success.
/*********************************************************
Code Type: X86 (Native)
Parent Process: launchd 78
Date/Time: 2009-09-08 19:04:13.723 +0530
OS Version: Mac OS X 10.6 (10A432)
Report Version: 6
Sleep/Wake UUID: 77786E52-2FB0-4F48-B327-40A923002183
Interval Since Last Report: 142619 sec
Crashes Since Last Report: 4
Per-App Interval Since Last Report: 18469 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 978527EF-85BB-4C5E-97F1-4C387892C9DD
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc_msgSend() selector name: grayscaleImageRep
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x925de91b objc_msgSend + 27
1 com.apple.Foundation 0x98a839d4 __NSFireTimer + 141
2 com.apple.CoreFoundation 0x97309eee __CFRunLoopRun + 6846
3 com.apple.CoreFoundation 0x97307d34 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x97307b61 CFRunLoopRunInMode + 97
5 com.apple.HIToolbox 0x90226fec RunCurrentEventLoopInMode + 392
6 com.apple.HIToolbox 0x90226da3 ReceiveNextEventCommon + 354
7 com.apple.HIToolbox 0x90226c28 BlockUntilNextEventMatchingListInMode
+ 81
8 com.apple.AppKit 0x94daeb99 _DPSNextEvent + 847
9 com.apple.AppKit 0x94dae40e -NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue: + 156
10 com.apple.AppKit 0x94d705fb -NSApplication run + 821
11 com.apple.AppKit 0x94d68695 NSApplicationMain + 574
/*********************************************************
I tried to execute this timer in separate thread but no success.
It's giving problem in NSRunLoop currentRunLoop run;
Please help me, give some pointer to re-solve this.
iMac Mac OS X (10.6) Xcode-3.2, but using 3.0 compatible in build
setting + Base SDK 10.5
Thanks,
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden