Mystery threads eating CPU cycles
Mystery threads eating CPU cycles
- Subject: Mystery threads eating CPU cycles
- From: Mike Laster <email@hidden>
- Date: Mon, 11 Nov 2002 13:31:42 -0500
I have a server process that after about a day of running starts eating
about 50% of the CPU cycles, even though it should be completely idle
(no clients talking to it). If I run sample on it, I see a couple of
threads running that appear to be the source of the problem. However,
these aren't threads that I
have created. From what I've seen, any thread started with NSThread
has their stack start with pthread_body(), and these don't:
1000 Thread_1103
1000 NSExceptionHandlerUncaughtSignalHandler
1000 _sigtramp
1000 NSExceptionHandlerUncaughtSignalHandler
1000 NSExceptionHandlerUncaughtSignalHandler [STACK TOP]
1000 Thread_1203
1000 malloc_zone_from_ptr
1000 0x33d0
1000 _sigtramp
1000 NSExceptionHandlerUncaughtSignalHandler
1000 NSExceptionHandlerUncaughtSignalHandler [STACK TOP]
I'm linked into ExceptionHandling.framework which is supposed to catch
system signals and turn them into NSExceptions. It almost looks like
NSExceptionHandlerUncaughtSignalHandler is getting a signal while
handling one, and going into an infinite loop. Is this a bug in
ExceptionHandling.framework?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.