gdb bash-3.2# gdb /Applications/uTorrent.app GNU gdb 6.3.50-20050815 (Apple version gdb-764) (Sat Sep 15 04:40:51 UTC 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin"... (gdb) run Starting program: /Applications/uTorrent.app/Contents/MacOS/uTorrent 2007-09-23 18:31:07.624 uTorrent[1315:813] { SUCheckAtStartup = 1; kAdvancedEnableCrashReporting = 1; kDownloadPathCompleted = "~/"; kDownloadPathIncomplete = "~/Library/Application Support/uTorrent/incomplete/"; kDownloadPromptForPath = 1; kGeneralConfirmQuit = 1; kGeneralUseGraphicalProgress = 1; kNetworkAutoMapPort = 1; kNetworkDownloadRateLimit = -1; kNetworkLimitDownloadRate = 0; kNetworkLimitUploadRate = 1; kNetworkPort = 16666; kNetworkUploadRateLimit = 35; kNetworkUseRandomPort = 1; kQueueMaxActiveDownloads = 0; kQueueMaxActiveUploads = 0; kSeedingStopRatio = "2.0"; kSeedingStopWhenRatio = 0; kTorrentLabels = ( ); } 2007-09-23 18:31:07.772 uTorrent[1315:813] outlineViewSelectionDidChange:, Group 2007-09-23 18:31:08.036 uTorrent[1315:813] 0.9.3 (2977) 2007-09-23 18:31:08.293 uTorrent[1315:813] updateWithCount: 0 2007-09-23 18:31:08.298 uTorrent[1315:813] *** _networkReachabilityChangedCallback got flags: -r----- 2007-09-23 18:31:08.300 uTorrent[1315:813] networkReachabilityDidChange: NSConcreteNotification 0x595c70 {name = BitTorrentNetworkReachabilityDidChangeNotification; object = 1} 2007-09-23 18:31:09.294 uTorrent[1315:813] 2007-09-23 18:31:09 -0400:Error while mapping ports on NAT router: NAT-PMP disabled: local host is probably not on a NATed network. disabling NAT-PMP 2007-09-23 18:31:09.294 uTorrent[1315:813] coreDidMapPorts:NO 2007-09-23 18:31:09.295 uTorrent[1315:813] 2007-09-23 18:31:09 -0400:Error while mapping ports on NAT router: UPnP portmapping disabled: local host is probably not on a NATed network. disabling UPnP 2007-09-23 18:31:09.296 uTorrent[1315:813] coreDidMapPorts:NO 2007-09-23 18:31:10.293 uTorrent[1315:813] *** -[NSCFArray _alertEventLoop:]: unrecognized selector sent to instance 0x565e10 2007-09-23 18:31:10.294 uTorrent[1315:813] *** NSTimer ignoring exception '*** -[NSCFArray _alertEventLoop:]: unrecognized selector sent to instance 0x565e10' that raised during firing of timer with target 0x565e10 and selector '_alertEventLoop:' Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xc015ca2f 0x912966e8 in ?? () (gdb) bt #0 0x912966e8 in ?? () #1 0xbfffede0 in ?? () Activity Monitor -> 'Sample' Sampling process 1315 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling uTorrent (pid 1315) every 1 millisecond Call graph: 2364 Thread_2503 2364 0x2d99 2364 0x2e72 2364 NSApplicationMain 2364 -[NSApplication run] 2364 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 2364 _DPSNextEvent 2364 BlockUntilNextEventMatchingListInMode 2364 ReceiveNextEventCommon 2364 RunCurrentEventLoopInMode 2364 CFRunLoopRunInMode 2364 CFRunLoopRunSpecific 2364 objc_msgSend 2364 objc_msgSend 2364 Thread_2603 2364 thread_start 2364 _pthread_start 2364 __NSThread__main__ 2364 -[NSThread main] 2364 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] 2364 CFRunLoopRunInMode 2364 CFRunLoopRunSpecific 2364 mach_msg 2364 mach_msg_trap 2364 mach_msg_trap 2364 Thread_2703 2364 thread_start 2364 _pthread_start 2364 select$DARWIN_EXTSN 2364 select$DARWIN_EXTSN 2364 Thread_2803 2364 thread_start 2364 _pthread_start 2364 CFURLCacheWorkerThread(void*) 2364 CFRunLoopRunInMode 2364 CFRunLoopRunSpecific 2364 mach_msg 2364 mach_msg_trap 2364 mach_msg_trap Total number in stack (recursive counted multiple, when >=5): Sort by top of stack, same collapsed (when >= 5): mach_msg_trap 4728 objc_msgSend 2364 select$DARWIN_EXTSN 2364 Sample analysis of process 1315 written to file /dev/stdout