Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dantastic

macrumors 6502a
Original poster
Jan 21, 2011
572
678
Increasingly my app crash a lot more often.

Just today xCode has crashed about 5 times. skype wouldn't run at all - I had to re-install as it was crashing on start.

Now I simply can't get a simple little app to run - it's a small app to cut images into tiles. It's crashing at ransom spots half ways through the image processing.

This is starting to worry me as it looks like something is wrong, may it be disk or ram - either way. Any suggestions what I can check or verify any issues here?

Thanks!

Here's the latest tile cutter crash:
Code:
Process:         Tile Cutter [30552]
Path:            /Applications/Tile Cutter.app/Contents/MacOS/Tile Cutter
Identifier:      com.naked.TileCutter
Version:         1.02 (3)
Code Type:       X86-64 (Native)
Parent Process:  launchd [182]

Date/Time:       2011-05-10 11:56:56.072 +0100
OS Version:      Mac OS X 10.6.7 (10J869)
Report Version:  6

Interval Since Last Report:          427699 sec
Crashes Since Last Report:           18
Per-App Interval Since Last Report:  765 sec
Per-App Crashes Since Last Report:   7
Anonymous UUID:                      60780B66-BED0-45AC-8C0D-5E71210D15AA

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread:  6  Dispatch queue: com.apple.root.default-priority

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff835b8f8a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff835bcda1 _pthread_cond_wait + 1286
2   com.apple.Foundation          	0x00007fff82a1849b -[__NSOperationInternal waitUntilFinished] + 56
3   com.apple.Foundation          	0x00007fff82a18449 -[NSOperation waitUntilFinished] + 48
4   com.apple.Foundation          	0x00007fff82a181ca -[NSOperationQueue waitUntilAllOperationsAreFinished] + 233
5   com.apple.AppKit              	0x00007fff81094888 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1273
6   com.apple.AppKit              	0x00007fff81094c26 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
7   com.apple.AppKit              	0x00007fff81092f8e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767
8   com.apple.AppKit              	0x00007fff81093e5a -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
9   com.apple.AppKit              	0x00007fff81093e5a -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
10  com.apple.AppKit              	0x00007fff81092ab0 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
11  com.apple.AppKit              	0x00007fff8108f362 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
12  com.apple.AppKit              	0x00007fff81008b9a -[NSView displayIfNeeded] + 969
13  com.apple.AppKit              	0x00007fff81003a46 _handleWindowNeedsDisplay + 678
14  com.apple.CoreFoundation      	0x00007fff80e4bb37 __CFRunLoopDoObservers + 519
15  com.apple.CoreFoundation      	0x00007fff80e27464 __CFRunLoopRun + 468
16  com.apple.CoreFoundation      	0x00007fff80e26dbf CFRunLoopRunSpecific + 575
17  com.apple.HIToolbox           	0x00007fff82d8c7ee RunCurrentEventLoopInMode + 333
18  com.apple.HIToolbox           	0x00007fff82d8c551 ReceiveNextEventCommon + 148
19  com.apple.HIToolbox           	0x00007fff82d8c4ac BlockUntilNextEventMatchingListInMode + 59
20  com.apple.AppKit              	0x00007fff80fd8e64 _DPSNextEvent + 718
21  com.apple.AppKit              	0x00007fff80fd87a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
22  com.apple.AppKit              	0x00007fff80f9e48b -[NSApplication run] + 395
23  com.apple.AppKit              	0x00007fff80f971a8 NSApplicationMain + 364
24  com.naked.TileCutter          	0x0000000100001824 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff8359712a kevent + 10
1   libSystem.B.dylib             	0x00007fff83598ffd _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff83598cd4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff835987fe _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 2:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 3:  com.apple.CFSocket.private
0   libSystem.B.dylib             	0x00007fff835c1e52 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x00007fff80e49498 __CFSocketManager + 824
2   libSystem.B.dylib             	0x00007fff835b74f6 _pthread_start + 331
3   libSystem.B.dylib             	0x00007fff835b73a9 thread_start + 13

Thread 4:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff8357e29a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff8357e90d mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff80e27932 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff80e26dbf CFRunLoopRunSpecific + 575
4   com.apple.CoreFoundation      	0x00007fff80e26b46 CFRunLoopRun + 70
5   com.apple.DesktopServices     	0x00007fff886ac4d2 TSystemNotificationTask::SystemNotificationTaskProc(void*) + 514
6   ...ple.CoreServices.CarbonCore	0x00007fff8071f335 PrivateMPEntryPoint + 63
7   libSystem.B.dylib             	0x00007fff835b74f6 _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff835b73a9 thread_start + 13

Thread 6 Crashed:  Dispatch queue: com.apple.root.default-priority
0   com.apple.CoreFoundation      	0x00007fff80df431b CFArrayGetValueAtIndex + 187
1   com.apple.ImageIO.framework   	0x00007fff837a1a2f _CGImagePluginWriteJPEG + 51
2   com.apple.ImageIO.framework   	0x00007fff83799ff3 CGImageDestinationFinalize + 131
3   com.apple.AppKit              	0x00007fff81250d68 +[NSBitmapImageRep(NSBitmapImageFileTypeExtensions) representationOfImageRepsInArray:usingType:properties:] + 2243
4   com.naked.TileCutter          	0x0000000100003b10 -[TileOperation main] + 392
5   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
6   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
7   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
8   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
9   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
10  libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 7:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 8:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 9:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 10:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 11:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 12:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 13:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 14:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 15:  Dispatch queue: com.apple.root.default-priority
0   libSystem.B.dylib             	0x00007fff835bfdda fsync + 10
1   com.apple.Foundation          	0x00007fff82a0c4c8 _NSWriteBytesToFileWithExtendedAttributes + 537
2   com.apple.Foundation          	0x00007fff82a42370 _NSWriteBytesToFile + 23
3   com.naked.TileCutter          	0x0000000100003bc9 -[TileOperation main] + 577
4   com.apple.Foundation          	0x00007fff82a08cc4 -[__NSOperationInternal start] + 681
5   com.apple.Foundation          	0x00007fff82ae7ae7 __doStart2 + 97
6   libSystem.B.dylib             	0x00007fff835ba284 _dispatch_call_block_and_release + 15
7   libSystem.B.dylib             	0x00007fff835987f1 _dispatch_worker_thread2 + 239
8   libSystem.B.dylib             	0x00007fff83598128 _pthread_wqthread + 353
9   libSystem.B.dylib             	0x00007fff83597fc5 start_wqthread + 13

Thread 6 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000002  rbx: 0x0000000100172390  rcx: 0x00007fff70553378  rdx: 0x0000000000000000
  rdi: 0x0000000100172390  rsi: 0x0000000000000000  rbp: 0x0000000114b9bbb0  rsp: 0x0000000114b9bba0
   r8: 0x00007fff706e50c0   r9: 0x00000001001fc0a4  r10: 0x00007fff80e374d0  r11: 0x0000000100414b50
  r12: 0x0000000000000000  r13: 0x0000000100172340  r14: 0x0000000000000000  r15: 0x0000000100004478
  rip: 0x00007fff80df431b  rfl: 0x0000000000010246  cr2: 0x0000000000000000
 
First off do you have a backup disk? If not make a backup, make a backup and make a backup. Before you do anything else make a backup. Don't even try the simplest of things before you make a backup. If you care about any files on that drive make a backup.

Now you can try booting with just one RAM module in at a time. You can also use the Mac OS X install disc to run disk utility to try to repair your boot disc. If it does have errors that can not be repaired. I would suggest replacing the hard drive rather than trying to repair it.

Once a hard drive acts at all dodgy. I just replace it. Even if a format and reinstall seems to correct the issue. It just is not worth the risk. If you don't use much disk space I would suggest a small SSD.
 
Backing up is simply a sound piece of advice that I needed to be reminded of. I have now backed up everything of importance - thanks.

I went ahead and ran 2 passes of memtest and 1 pass of apple hardware test. No issues detected.

I will go ahead and try to boot with just one stick of ram now to see what happens if the issue seems to have been resolved without one or the other.
 
Still crashing - both sticks individually. so either both sticks are dud or there's nothing wrong with the ram.

Any additional suggestions to test more than welcome at this point.
 
Re installing will take me probably a full day getting everything back to normal. I can't really afford that amount of time just to test. Are there any disk integrity tools I could try?
 
Did you try running Repair Disk with Disk Utility using the installation disc? You can also Repair Permissions while you are at it.

Since the RAM sounds fine and the motherboard passed the Apple Hardware Test. Odds are it is to do with your hard drive.

As I mentioned before. If you do a reinstall and everything is fine again. I would still replace the hard drive. They are cheap enough and once anything dodgy happens with one I replace it given how prone they are to failure.

For $50 to $60 you can pick up a drive that is larger than what 90% of people have any use for. It's not like in the early 90's where you had to drop $500 for a couple hundred megabytes.
 
Thanks for the link. I did run the repair - no problems to report.
It did find a whole load of permissions to repair though.

I don't know... maybe I do need to just re-install the OS. It really seemed like a memory problem though. Just don't really have the time for this right now.

Thanks for your help velocity
 
I see you've gotten a web browser to run, dan! (Unless you're on your iDevice or other computer etc.)

Remember to backup most of your things.
 
Re installing will take me probably a full day getting everything back to normal. I can't really afford that amount of time just to test. Are there any disk integrity tools I could try?

Install takes 1 hour. You can keep all your apps, documents, and user settings.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.