• 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
Re: Crash on Intel machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash on Intel machine


  • Subject: Re: Crash on Intel machine
  • From: Kish <email@hidden>
  • Date: Thu, 1 Mar 2007 15:42:23 +0530

Hi Joar,
Yes, I'm creating my own thread in-order to update the UI while importing process is going on (like iTunes). The problem is appearing every time once the importing process is over.
Here is another variant of crash:


Date/Time:      2007-03-01 15:35:12.199 +0530
OS Version:     10.4.8 (Build 8L2127)
Report Version: 4

Command: Importer
Path:    /Users/kish/Desktop/Importer.app/Contents/MacOS/Importer
Parent:  WindowServer [63]

Version: 1.0

PID:    4872
Thread: 6

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

Thread 0:
0 libSystem.B.dylib 0x90009857 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082969a CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90828eb5 CFRunLoopRunInMode + 61
3 com.apple.HIToolbox 0x92dcdb90 RunCurrentEventLoopInMode + 285
4 com.apple.HIToolbox 0x92dcd297 ReceiveNextEventCommon + 385
5 com.apple.HIToolbox 0x92dcd0ee BlockUntilNextEventMatchingListInMode + 81
6 com.apple.AppKit 0x9326f465 _DPSNextEvent + 572
7 com.apple.AppKit 0x9326f056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
8 com.apple.AppKit 0x93268ddb -[NSApplication run] + 512
9 com.apple.AppKit 0x9325cd2f NSApplicationMain + 573
10 com.mycompany.importer 0x00002f6d main + 135
11 com.mycompany.importer 0x00002eca _start + 216
12 com.mycompany.importer 0x00002df1 start + 41


Thread 1:
0 libSystem.B.dylib 0x90009857 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082969a CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90828eb5 CFRunLoopRunInMode + 61
3 com.apple.Foundation 0x9262aa9b +[NSURLConnection (NSURLConnectionInternal) _resourceLoadLoop:] + 259
4 com.apple.Foundation 0x925f536c forkThreadForFunction + 123
5 libSystem.B.dylib 0x90023d87 _pthread_body + 84


Thread 2:
0 libSystem.B.dylib 0x90009857 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082969a CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90828eb5 CFRunLoopRunInMode + 61
3 com.apple.Foundation 0x92651c4e +[NSURLCache _diskCacheSyncLoop:] + 206
4 com.apple.Foundation 0x925f536c forkThreadForFunction + 123
5 libSystem.B.dylib 0x90023d87 _pthread_body + 84


Thread 3:
0   libSystem.B.dylib              	0x900268bc kevent + 12
1   ...ple.CoreServices.CarbonCore 	0x90cb3f7c PrivateMPEntryPoint + 51
2   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 4:
0 libSystem.B.dylib 0x90024427 semaphore_wait_signal_trap + 7
1 ...ple.CoreServices.CarbonCore 0x90cb4121 MPWaitOnQueue + 198
2 com.apple.DesktopServices 0x9251b943 TNodeSyncTask::SyncTaskProc(void*) + 143
3 ...ple.CoreServices.CarbonCore 0x90cb3f7c PrivateMPEntryPoint + 51
4 libSystem.B.dylib 0x90023d87 _pthread_body + 84


Thread 5:
0 libSystem.B.dylib 0x90024427 semaphore_wait_signal_trap + 7
1 com.apple.Foundation 0x9264b2f8 -[NSConditionLock lockWhenCondition:] + 39
2 com.apple.AppKit 0x93346270 -[NSUIHeartBeat _heartBeatThread:] + 377
3 com.apple.Foundation 0x925f536c forkThreadForFunction + 123
4 libSystem.B.dylib 0x90023d87 _pthread_body + 84


Thread 6 Crashed:
0 libobjc.A.dylib 0x90a54387 objc_msgSend + 23
1 com.apple.AppKit 0x934101ad +[NSApplication _startDrawingThread:] + 120
2 com.apple.Foundation 0x925f536c forkThreadForFunction + 123
3 libSystem.B.dylib 0x90023d87 _pthread_body + 84


Thread 6 crashed with X86 Thread State (32-bit):
  eax: 0x00000000    ebx: 0x925d980e ecx: 0x90abafd0 edx: 0x0000030b
  edi: 0x00000008    esi: 0xb03a3e48 ebp: 0xb03a3ed8 esp: 0xb03a3e14
   ss: 0x0000001f    efl: 0x00010202 eip: 0x90a54387  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037


On 1 Mar 2007, at 13:04, Joar Wingfors wrote:


On Mar 1, 2007, at 8:14 AM, Kish wrote:

I am getting a crash with my application (universal binary) on Intel machines in the following way:
This application basically imports svg files and renders them on to the screen.
I've tried by setting different environment flags (NSZombieEnabled, MallocStackLogging etc), but not able to figure out the problem.

It's crashing while you have a save panel open, but in a background thread that doesn't seem to be yours? A crash in objc_msgSend often indicates a memory management error of some kind.
Do you create any threads yourself? Are you doing anything in these threads that might not be thread safe? Is this problem easy to reproduce?


j o a r




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Crash on Intel machine
      • From: James Bucanek <email@hidden>
    • Re: Crash on Intel machine
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: MUPhotoView and autorelease object
  • Next by Date: Re: Crash on Intel machine
  • Previous by thread: MUPhotoView and autorelease object
  • Next by thread: Re: Crash on Intel machine
  • Index(es):
    • Date
    • Thread