Preventing garbage-collection of a RMIRegistered server object
I am developping a client/server RMI application, and keep facing occasional ObjectNotFioundException: no such object in table, when the client tries to invoke method on the server stub retrived from the RMIRegistry.
The Javadoc and online documentation say this means the server object has been GC'ed since it has been registered in the RMIRegistry.
Following the advice found at: http://www.nabble.com/java.rmi.NoSuchObjectException:-no-such-object-in-table-t260095.html,
I register the server in a RMIRegistry I obtain through LocateRegistry.getRegistry(), and not createRegistry().
But I still face these exceptions.
Assuming the issue is really due to the server object being garbage-collected, I tried to keep a static reference to the server but it didn't help (the Main class was probably garbage-collected itself).
As a last hope, I've set up a "keep-alive" thread in the server VM, that keeps a direct reference to the server object (not the stub), and regularly invokes something on it. With this mechanism I never face the exception.
This solution looks obviously clumsy.
Is there a neater way to prevent garbage collection of the server object?
Note that I use dynamic stubs (Java5-style).
Without seeing some code, I'm not sure what you are doing. Also the link you supplied is broken.
You always need to keep a live reference to your implementation class. How you do this is your business. Using a separate thread is over-kill.
I set a reference to the implementation class in the start up class and use a never ending wait() to make sure the start up class thread (with the main()) lives forever.
Similar Messages
-
Ok, itunes keeps crashing. Have used disk utility to repair permissions, in regular mode, safe mode, and at start up. None of that worked. Was thinking maybe internet recovery may be my only option.
Here is the crash report, not sure how much i should post, so i will give the whole thing
Process: iTunes [268]
Path: /Applications/iTunes.app/Contents/MacOS/iTunes
Identifier: com.apple.iTunes
Version: 11.0.4 (11.0.4)
Build Info: iTunes-1104004001000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [135]
Date/Time: 2013-06-30 08:49:31.015 -0400
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 1614339 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 91 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 216341DE-1868-4DAB-BF67-A14384C0CB4E
Crashed Thread: 18
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[268]: garbage collection is OFF
*** error for object 0x7fc2b1a14e00: incorrect checksum for freed object - object was probably modified after being freed.
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.iTunes 0x000000010af63053 0x10ade3000 + 1572947
3 com.apple.iTunes 0x000000010ae35ff5 0x10ade3000 + 339957
4 com.apple.iTunes 0x000000010af62fde 0x10ade3000 + 1572830
5 com.apple.iTunes 0x000000010af62ed6 0x10ade3000 + 1572566
6 com.apple.iTunes 0x000000010af62e78 0x10ade3000 + 1572472
7 com.apple.iTunes 0x000000010ae35cea 0x10ade3000 + 339178
8 com.apple.iTunes 0x000000010ae35ba4 0x10ade3000 + 338852
9 com.apple.iTunes 0x000000010ae35b01 0x10ade3000 + 338689
10 com.apple.CoreFoundation 0x00007fff910dc4f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11 com.apple.CoreFoundation 0x00007fff910dbd5d __CFRunLoopDoSources0 + 253
12 com.apple.CoreFoundation 0x00007fff91102b49 __CFRunLoopRun + 905
13 com.apple.CoreFoundation 0x00007fff91102486 CFRunLoopRunSpecific + 230
14 com.apple.HIToolbox 0x00007fff9a1342bf RunCurrentEventLoopInMode + 277
15 com.apple.HIToolbox 0x00007fff9a13b56d ReceiveNextEventCommon + 355
16 com.apple.HIToolbox 0x00007fff9a13b3fa BlockUntilNextEventMatchingListInMode + 62
17 com.apple.AppKit 0x00007fff95088779 _DPSNextEvent + 659
18 com.apple.AppKit 0x00007fff9508807d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
19 com.apple.AppKit 0x00007fff9533c735 -[NSApplication _realDoModalLoop:peek:] + 610
20 com.apple.AppKit 0x00007fff9533c369 -[NSApplication runModalForWindow:] + 120
21 com.apple.AppKit 0x00007fff9532f9cd -[NSAlert runModal] + 159
22 com.apple.AppKit 0x00007fff950b759b __-[NSPersistentUIManager promptToIgnorePersistentState]_block_invoke_1 + 815
23 com.apple.AppKit 0x00007fff95335782 -[NSApplication _suppressFinishLaunchingFromEventHandlersWhilePerformingBlock:] + 31
24 com.apple.AppKit 0x00007fff950b7234 -[NSPersistentUIManager promptToIgnorePersistentState] + 178
25 com.apple.AppKit 0x00007fff9508b9ec -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completion Handler:] + 180
26 com.apple.AppKit 0x00007fff9508cca9 -[NSApplication _sendFinishLaunchingNotification] + 358
27 com.apple.AppKit 0x00007fff95088ac3 _DPSNextEvent + 1501
28 com.apple.AppKit 0x00007fff9508807d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
29 com.apple.AppKit 0x00007fff950849b9 -[NSApplication run] + 470
30 com.apple.iTunes 0x000000010afaceab 0x10ade3000 + 1875627
31 com.apple.iTunes 0x000000010afacd40 0x10ade3000 + 1875264
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff98b947e6 kevent + 10
1 libdispatch.dylib 0x00007fff97714786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff97713316 _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff98b94192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff97016594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff97017b85 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff98b94192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff97016594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff97017b85 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff910fa50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff91102c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91102486 CFRunLoopRunSpecific + 230
5 com.apple.CoreFoundation 0x00007fff9111219f CFRunLoopRun + 95
6 com.apple.iTunes 0x000000010af66d66 0x10ade3000 + 1588582
7 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
8 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff97018274 _pthread_cond_wait + 840
2 com.apple.iTunes 0x000000010adfe0d4 0x10ade3000 + 110804
3 com.apple.iTunes 0x000000010adfdb99 0x10ade3000 + 109465
4 com.apple.iTunes 0x000000010adfd550 0x10ade3000 + 107856
5 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
6 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff910fa50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff91102c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91102486 CFRunLoopRunSpecific + 230
5 com.apple.CoreFoundation 0x00007fff9111219f CFRunLoopRun + 95
6 com.apple.iTunes 0x000000010ae229bb 0x10ade3000 + 260539
7 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
8 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff970182a6 _pthread_cond_wait + 890
2 com.apple.iTunes 0x000000010ae33bef 0x10ade3000 + 330735
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff970182a6 _pthread_cond_wait + 890
2 com.apple.iTunes 0x000000010ae33bef 0x10ade3000 + 330735
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff970182a6 _pthread_cond_wait + 890
2 com.apple.iTunes 0x000000010ae33bef 0x10ade3000 + 330735
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff970182a6 _pthread_cond_wait + 890
2 com.apple.iTunes 0x000000010ae33bef 0x10ade3000 + 330735
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 11:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff97018274 _pthread_cond_wait + 840
2 com.apple.CoreVideo 0x00007fff91a8f6c8 CVDisplayLink::runIOThread() + 710
3 com.apple.CoreVideo 0x00007fff91a8f3e9 _ZL13startIOThreadPv + 148
4 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.iTunes 0x000000010af63053 0x10ade3000 + 1572947
3 com.apple.iTunes 0x000000010ae35ff5 0x10ade3000 + 339957
4 com.apple.iTunes 0x000000010af63aa3 0x10ade3000 + 1575587
5 com.apple.iTunes 0x000000010af68e8a 0x10ade3000 + 1597066
6 com.apple.iTunes 0x000000010b39cbe6 0x10ade3000 + 6003686
7 com.apple.iTunes 0x000000010af54c91 0x10ade3000 + 1514641
8 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.iTunes 0x000000010af63053 0x10ade3000 + 1572947
3 com.apple.iTunes 0x000000010ae35ff5 0x10ade3000 + 339957
4 com.apple.iTunes 0x000000010af63aa3 0x10ade3000 + 1575587
5 com.apple.iTunes 0x000000010af654bf 0x10ade3000 + 1582271
6 com.apple.iTunes 0x000000010b75c461 0x10ade3000 + 9933921
7 com.apple.iTunes 0x000000010af64605 0x10ade3000 + 1578501
8 com.apple.iTunes 0x000000010af6437c 0x10ade3000 + 1577852
9 com.apple.iTunes 0x000000010af64323 0x10ade3000 + 1577763
10 com.apple.iTunes 0x000000010af633cf 0x10ade3000 + 1573839
11 com.apple.iTunes 0x000000010af6308f 0x10ade3000 + 1573007
12 com.apple.iTunes 0x000000010af54c91 0x10ade3000 + 1514641
13 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
14 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff97018274 _pthread_cond_wait + 840
2 com.apple.iTunes 0x000000010adfe0d4 0x10ade3000 + 110804
3 com.apple.iTunes 0x000000010ae228e3 0x10ade3000 + 260323
4 com.apple.iTunes 0x000000010af56713 0x10ade3000 + 1521427
5 com.apple.iTunes 0x000000010af56659 0x10ade3000 + 1521241
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.iTunes 0x000000010af54c5b 0x10ade3000 + 1514587
3 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 16:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff98b93df2 __select + 10
1 com.apple.CoreFoundation 0x00007fff9114bc8b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff910fa50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff91102c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91102486 CFRunLoopRunSpecific + 230
5 com.apple.CoreFoundation 0x00007fff9111219f CFRunLoopRun + 95
6 com.apple.iTunes 0x000000010af66d66 0x10ade3000 + 1588582
7 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
8 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 18 Crashed:
0 libsystem_kernel.dylib 0x00007fff98b93ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff970167d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff97007a7a abort + 143
3 libsystem_c.dylib 0x00007fff970294ac szone_error + 459
4 libsystem_c.dylib 0x00007fff970294e8 free_list_checksum_botch + 29
5 libsystem_c.dylib 0x00007fff97029ae0 small_free_list_remove_ptr + 264
6 libsystem_c.dylib 0x00007fff9702dc53 szone_free_definite_size + 3495
7 libsystem_c.dylib 0x00007fff97066789 free + 194
8 com.apple.iTunes 0x000000010b72a505 0x10ade3000 + 9729285
9 com.apple.iTunes 0x000000010ae0e808 0x10ade3000 + 178184
10 com.apple.iTunes 0x000000010ae06bab 0x10ade3000 + 146347
11 com.apple.iTunes 0x000000010afe7150 0x10ade3000 + 2113872
12 com.apple.iTunes 0x000000010afe706d 0x10ade3000 + 2113645
13 com.apple.iTunes 0x000000010afc42fc 0x10ade3000 + 1970940
14 com.apple.iTunes 0x000000010af54c91 0x10ade3000 + 1514641
15 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
16 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff970182a6 _pthread_cond_wait + 890
2 com.apple.iTunes 0x000000010ae33bef 0x10ade3000 + 330735
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff98b9267a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98b91d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff910fa50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff91102c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91102486 CFRunLoopRunSpecific + 230
5 com.apple.CoreFoundation 0x00007fff9111219f CFRunLoopRun + 95
6 com.apple.iTunes 0x000000010af66d66 0x10ade3000 + 1588582
7 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
8 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff98b94192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff97016594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff97017b85 start_wqthread + 13
Thread 22:
0 libsystem_kernel.dylib 0x00007fff98b94192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff97016594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff97017b85 start_wqthread + 13
Thread 23:: com.apple.appkit-heartbeat
0 libsystem_kernel.dylib 0x00007fff98b93e42 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff96fcadea nanosleep + 164
2 libsystem_c.dylib 0x00007fff96fcabb5 usleep + 53
3 com.apple.AppKit 0x00007fff952bd11b -[NSUIHeartBeat _heartBeatThread:] + 1727
4 com.apple.Foundation 0x00007fff9132c72a -[NSThread main] + 68
5 com.apple.Foundation 0x00007fff9132c6a2 __NSThread__main__ + 1575
6 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 24:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff97018274 _pthread_cond_wait + 840
2 com.apple.iTunes 0x000000010ae33bce 0x10ade3000 + 330702
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010afd0e3c 0x10ade3000 + 2022972
5 com.apple.iTunes 0x000000010afd0d11 0x10ade3000 + 2022673
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 25:
0 libsystem_kernel.dylib 0x00007fff98b93bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff97018274 _pthread_cond_wait + 840
2 com.apple.iTunes 0x000000010ae33bce 0x10ade3000 + 330702
3 com.apple.iTunes 0x000000010ae33ab4 0x10ade3000 + 330420
4 com.apple.iTunes 0x000000010ae33a51 0x10ade3000 + 330321
5 com.apple.iTunes 0x000000010ae338d9 0x10ade3000 + 329945
6 com.apple.iTunes 0x000000010ade92df 0x10ade3000 + 25311
7 libsystem_c.dylib 0x00007fff970148bf _pthread_start + 335
8 libsystem_c.dylib 0x00007fff97017b75 thread_start + 13
Thread 18 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000011f884be8 rdx: 0x0000000000000000
rdi: 0x0000000000012203 rsi: 0x0000000000000006 rbp: 0x000000011f884c10 rsp: 0x000000011f884be8
r8: 0x00007fff7ebcafb8 r9: 0x0000000000000000 r10: 0x00007fff98b93d0a r11: 0xffffff80002dad60
r12: 0x000000010c57e000 r13: 0x0000000118d5e000 r14: 0x000000011f887000 r15: 0x0000000118d5e0c0
rip: 0x00007fff98b93ce2 rfl: 0x0000000000000246 cr2: 0x0000000119120000
Logical CPU: 0
Binary Images:
0x10ade3000 - 0x10c203fef com.apple.iTunes (11.0.4 - 11.0.4) <67E80C94-C386-345C-8C79-13436004A025> /Applications/iTunes.app/Contents/MacOS/iTunes
0x10c580000 - 0x10c600ff7 com.apple.iTunes.iPodUpdater (10.7 - 10.7) <0EE5C372-0F11-31C3-BE3E-F5B300596964> /Applications/iTunes.app/Contents/Frameworks/iPodUpdater.framework/Versions/A/i PodUpdater
0x10c640000 - 0x10c66cff7 com.apple.avfoundationcf (2.0 - 63.21) <A3140BD7-BB0C-3BD7-8F63-2ECB98041B6E> /System/Library/PrivateFrameworks/AVFoundationCF.framework/Versions/A/AVFoundat ionCF
0x10c69b000 - 0x10c6a1fff com.apple.agl (3.2.0 - AGL-3.2.0) <C98394A8-305D-3904-BEAE-8340FF988F15> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x10c6ac000 - 0x10c6b2fff com.apple.iPod (1.7 - 19) <8F1B8246-F053-3CD1-9040-29440BDB19D7> /System/Library/PrivateFrameworks/iPod.framework/Versions/A/iPod
0x10c6ba000 - 0x10c9e6ff7 +libgnsdk_dsp.1.9.5.dylib (1.9.5 - compatibility 1.9.5) <14636B08-4D26-54CA-3EE8-247B2B708AF0> /Applications/iTunes.app/Contents/MacOS/libgnsdk_dsp.1.9.5.dylib
0x10ca0c000 - 0x10ca43ff7 +libgnsdk_musicid.1.9.5.dylib (1.9.5 - compatibility 1.9.5) <C034C2ED-6A46-315F-89C8-8D54A937B255> /Applications/iTunes.app/Contents/MacOS/libgnsdk_musicid.1.9.5.dylib
0x10ca55000 - 0x10cb2bfe7 +libgnsdk_sdkmanager.1.9.5.dylib (1.9.5 - compatibility 1.9.5) <D144E870-FABC-E19E-452E-A33D19595B19> /Applications/iTunes.app/Contents/MacOS/libgnsdk_sdkmanager.1.9.5.dylib
0x10cb4f000 - 0x10cb92ff7 +libgnsdk_submit.1.9.5.dylib (1.9.5 - compatibility 1.9.5) <6689251D-098B-0F8D-08CC-785271E98540> /Applications/iTunes.app/Contents/MacOS/libgnsdk_submit.1.9.5.dylib
0x10d014000 - 0x10d016fff com.apple.textencoding.unicode (2.4 - 2.4) <FD4695F4-6110-36C6-AC06-86453E30FF6E> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x10d01b000 - 0x10d01ffff com.apple.audio.AudioIPCPlugIn (1.2.3 - 1.2.3) <F94D690D-3196-3B01-B798-09708367D28D> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
0x10d024000 - 0x10d029fff com.apple.audio.AppleHDAHALPlugIn (2.2.5 - 2.2.5a5) <4EC4981B-68AE-357E-960F-3D4603A61E9F> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x10e039000 - 0x10ed94fff com.apple.CoreFP (2.4.16 - 2.4.16) <BC24CECB-5B51-3BC7-A6AC-9D301D09F3C1> /System/Library/PrivateFrameworks/CoreFP.framework/CoreFP
0x1109e7000 - 0x110b32ff7 com.apple.audio.units.Components (1.7.3 - 1.7.3) <CAC75CC0-DAD7-3DD3-91CF-DDE8B19DEBDD> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x110ba6000 - 0x110c43fff com.apple.mobiledevice (555.43 - 555.43) <4460453F-C565-36B8-B1B8-6626AF98CBB5> /System/Library/PrivateFrameworks/MobileDevice.framework/MobileDevice
0x110c8c000 - 0x110e6dff7 com.apple.audio.codecs.Components (2.3 - 2.3) <9FF1C1F7-F049-3CE0-AE2A-E3D220A7031B> /System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
0x119867000 - 0x11986aff7 libCoreFSCache.dylib (??? - ???) <0D155750-7910-32C5-8327-924FC1089442> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0x11d8e1000 - 0x11d8ebfef libcldcpuengine.dylib (2.0.19 - compatibility 1.0.0) <4572AD1E-D1D1-3412-AFCC-D37037B1FAB5> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengin e.dylib
0x11e626000 - 0x11e7defff GLEngine (??? - ???) <59179FEC-D0E2-38B3-BD49-765506A645AC> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x11e815000 - 0x11e96ffff libGLProgrammability.dylib (??? - ???) <90390984-70BC-365C-AB3E-16C35C4240CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x11e9a1000 - 0x11ed88fe7 com.apple.driver.AppleIntelHD3000GraphicsGLDriver (7.32.12 - 7.3.2) <5C9C9474-BA99-33A6-BAD8-628224491FED> /System/Library/Extensions/AppleIntelHD3000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD3000GraphicsGLDriver
0x11eeae000 - 0x11eebcfff libGPUSupport.dylib (??? - ???) <9FF8DDA2-7CB1-3888-8AAE-227C7691CB98> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/lib GPUSupport.dylib
0x11eec3000 - 0x11eef1ff7 GLRendererFloat (??? - ???) <06CA5D0B-BC5F-3CC7-836D-A02F7DB92BE8> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x7fff6a9e3000 - 0x7fff6aa17baf dyld (195.6 - ???) <C58DAD8A-4B00-3676-8637-93D6FDE73147> /usr/lib/dyld
0x7fff8d86d000 - 0x7fff8d872fff libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
0x7fff8d873000 - 0x7fff8d874fff libunc.dylib (24.0.0 - compatibility 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
0x7fff8d8ae000 - 0x7fff8e5e5fff com.apple.WebCore (7534.57 - 7534.57.7) <33FCF30A-08C5-3169-B3B0-3A9462FA1A0D> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x7fff8e5e6000 - 0x7fff8e64eff7 com.apple.audio.CoreAudio (4.0.3 - 4.0.3) <9987DC46-2A96-3BA0-B88B-04E573C0AD9B> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff8e64f000 - 0x7fff8e6abff7 com.apple.HIServices (1.21 - ???) <B012EE97-D1CD-3F4B-812D-9AC7E6852FE6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff8ea07000 - 0x7fff8ea0dff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff8ea0e000 - 0x7fff8f1b6fff com.apple.CoreAUC (6.16.12 - 6.16.12) <EF535959-14FE-3B61-9C32-DF4C54B8F12D> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x7fff8f352000 - 0x7fff8f5c6fff com.apple.CoreImage (7.99.1 - 1.0.1) <4BB09B79-275B-364C-9466-0FF36ABB1218> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x7fff8f5d3000 - 0x7fff8f5e0fff com.apple.CrashReporterSupport (10.7.4 - 353) <6044CFB6-939E-3C73-BFBB-A8BBC096F135> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff8f760000 - 0x7fff8f768fff libsystem_dnssd.dylib (??? - ???) <584B321E-5159-37CD-B2E7-82E069C70AFB> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8f769000 - 0x7fff8fa85fff com.apple.CoreServices.CarbonCore (960.25 - 960.25) <4FC1AB30-022C-3C67-AC46-FDCBFCB7EEDE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff8fa86000 - 0x7fff8fa87fff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
0x7fff8fa88000 - 0x7fff8fa9ffff com.apple.CFOpenDirectory (10.7 - 146) <BBB7C97E-7B46-3286-9128-32B5D16B5CBE> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff8faa0000 - 0x7fff8fba1fff com.apple.QuickLookUIFramework (3.2 - 500.18) <56A13D40-9A61-3B98-85ED-B1C7075A88FB> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x7fff8fbff000 - 0x7fff8fc32ff7 com.apple.GSS (2.2 - 2.0) <971395D0-B9D0-3FDE-B23F-6F9D0A2FB95F> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff8fc33000 - 0x7fff90060fff libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff90061000 - 0x7fff90066fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
0x7fff90067000 - 0x7fff90074ff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <DFAB8CA8-CC9D-3F58-8C12-CE120442AACD> /usr/lib/libbz2.1.0.dylib
0x7fff90075000 - 0x7fff90077fff com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff90078000 - 0x7fff900a0fff com.apple.PerformanceAnalysis (1.11 - 11) <8D4C6382-DD92-37A2-BCFC-E89951320848> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x7fff909a2000 - 0x7fff909b1ff7 libxar-nossl.dylib (??? - ???) <A6ABBFB9-E4ED-38AD-BBBB-F9958B9CEFB5> /usr/lib/libxar-nossl.dylib
0x7fff909b2000 - 0x7fff90bb4fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <0176782F-9526-3905-813A-7A5676EC2C86> /usr/lib/libicucore.A.dylib
0x7fff90bb5000 - 0x7fff90c09fff libFontRegistry.dylib (??? - ???) <60FF9C2C-5E44-3C49-8A08-F26101898F21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff90e45000 - 0x7fff90e5cfff com.apple.MultitouchSupport.framework (231.4 - 231.4) <559C1AFB-E0B4-3D23-9189-18DE09C06FFE> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x7fff90e62000 - 0x7fff90ebdff7 com.apple.opencl (2.0.19 - 2.0.19) <B05BF605-73B8-328F-A228-6FA59E1FC73A> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff90edd000 - 0x7fff90fdffff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <AFBB22B7-07AE-3F2E-B88C-70BEEBFB8A86> /usr/lib/libxml2.2.dylib
0x7fff910ca000 - 0x7fff9129eff7 com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff9129f000 - 0x7fff9129ffff com.apple.ApplicationServices (41 - 41) <89B6AD5B-5C75-3E83-8C2B-AA7F4C55E400> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff912a0000 - 0x7fff912a9ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
0x7fff912b0000 - 0x7fff912d1fff libPng.dylib (??? - ???) <E2B52527-4D0C-3595-BB13-8E8EF364E998> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff912d2000 - 0x7fff915ebfff com.apple.Foundation (6.7.2 - 833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff915ec000 - 0x7fff915ecfff com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff9166a000 - 0x7fff91687ff7 com.apple.openscripting (1.3.3 - ???) <F5E34F54-CE85-334B-8F25-53581D43960C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff91688000 - 0x7fff916c6fff com.apple.bom (11.0 - 183) <F300B9EC-995E-33A7-9175-9F07D4B68F16> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x7fff916cb000 - 0x7fff91a75fe7 com.apple.MediaToolbox (1.0 - 705.94) <0719E69C-3275-3BD9-AD04-27DBADEB6E03> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x7fff91a76000 - 0x7fff91a8cfff libGL.dylib (??? - ???) <A4876AE9-DDFE-3B9A-874E-09BC29D46C39> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff91a8d000 - 0x7fff91ab6fff com.apple.CoreVideo (1.7 - 70.3) <9A9D4058-9935-3B0A-B1A6-27EB78D02249> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff91abf000 - 0x7fff91ac0ff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
0x7fff91ac1000 - 0x7fff91cebfe7 com.apple.CoreData (104.1 - 358.14) <6BB64605-8DA7-337D-A2AB-A3346A421CBD> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff91d66000 - 0x7fff91ef1fff com.apple.QTKit (7.7.1 - 2343) <2A7B0660-7E8F-378D-9D60-B9664410336E> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x7fff91ef2000 - 0x7fff92214fff com.apple.JavaScriptCore (7534.57 - 7534.57.3) <3A04B8FC-CFA6-3AEB-8FDF-B0525B5A4C82> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x7fff9226d000 - 0x7fff92323fff com.apple.PDFKit (2.7.7 - 2.7.7) <96C0C88B-F049-39F1-92A5-180F1C2EE6EB> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x7fff9235f000 - 0x7fff92373ff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff92394000 - 0x7fff92397fff libRadiance.dylib (??? - ???) <CD89D70D-F177-3BAE-8A26-644EA7D5E28E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff92398000 - 0x7fff923d8fe7 libGLImage.dylib (??? - ???) <0B7DAB2B-F1C6-39C7-B864-61EF683B6656> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff923d9000 - 0x7fff923dafff libScreenReader.dylib (??? - ???) <7CC8F990-29A2-3F41-B2C1-A128F2498D8C> /usr/lib/libScreenReader.dylib
0x7fff9241c000 - 0x7fff92492fff com.apple.CoreSymbolication (2.2 - 73.2) <126415E3-3A35-315B-B4B7-507CDBED0D58> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x7fff924d1000 - 0x7fff924fcfff libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <7D3CDB0A-840F-3856-8F84-B4A50E66431B> /usr/lib/libpcre.0.dylib
0x7fff9254f000 - 0x7fff925bffff com.apple.datadetectorscore (3.0 - 179.4) <4AB32B7F-8EC2-327E-BAC8-80129AA36E7B> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff925c0000 - 0x7fff925c1fff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff925c2000 - 0x7fff925c5fff com.apple.AppleSystemInfo (1.0 - 1) <111B6F69-3FBD-3860-BCF8-1DF02D9BED28> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff925c6000 - 0x7fff926cdfe7 libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <EE02BB01-64C9-304D-9719-A35F5CD6D04C> /usr/lib/libsqlite3.dylib
0x7fff926ce000 - 0x7fff926cefff com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff9270e000 - 0x7fff9270fff7 libsystem_sandbox.dylib (??? - ???) <5459F293-E1F2-33B3-B9B2-2ABB7B915B62> /usr/lib/system/libsystem_sandbox.dylib
0x7fff92710000 - 0x7fff92783fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff927ac000 - 0x7fff927d0fff com.apple.RemoteViewServices (1.5 - 44.2) <A0417D7F-22E9-3FD8-AC55-67654D8E93EB> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x7fff927d1000 - 0x7fff92867ff7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <642D8D54-F9F5-3FBB-A96C-EEFE94C6278B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff92868000 - 0x7fff928acff7 libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <B2A38D2C-7E82-34C5-8896-48C37B0E64A3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff928ad000 - 0x7fff9294ffff com.apple.securityfoundation (5.0 - 55116) <70CDC3ED-39AA-3784-8715-F0F5E2CB9754> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff92950000 - 0x7fff92f34fff libBLAS.dylib (??? - ???) <C34F6D88-187F-33DC-8A68-C0C9D1FA36DF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff92f35000 - 0x7fff92f3cfff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> /usr/lib/system/libcopyfile.dylib
0x7fff92f3d000 - 0x7fff92f8eff7 com.apple.CoreMediaIO (216.0 - 3199.8) <4D3FE512-E943-34E3-A7A5-2EC2E3854E28> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
0x7fff92f8f000 - 0x7fff92fddfff libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
0x7fff92fde000 - 0x7fff92ff4ff7 com.apple.ImageCapture (7.1.0 - 7.1.0) <1AD40E02-2126-377B-A0D2-CBB21D932558> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff92ff5000 - 0x7fff93011ff7 com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x7fff93012000 - 0x7fff93053fff com.apple.QD (3.40.1 - ???) <13ACC7F4-B004-3370-B575-6D06447EE428> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff93054000 - 0x7fff930b4fff libvDSP.dylib (325.4.0 - compatibility 1.0.0) <3A7521E6-5510-3FA7-AB65-79693A7A5839> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x7fff930b5000 - 0x7fff930bbfff com.apple.DiskArbitration (2.4.1 - 2.4.1) <CEA34337-63DE-302E-81AA-10D717E1F699> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff930e6000 - 0x7fff930ecfff libmacho.dylib (800.0.0 - compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> /usr/lib/system/libmacho.dylib
0x7fff930ed000 - 0x7fff93223fff com.apple.vImage (5.1 - 5.1) <A08B7582-67BC-3EED-813A-4833645964A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x7fff93224000 - 0x7fff93381fff com.apple.audio.toolbox.AudioToolbox (1.7.3 - 1.7.3) <5F1E4695-BC74-3ADD-8345-627BCD68201A> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff93382000 - 0x7fff9339cfff com.apple.CoreMediaAuthoring (2.0 - 891) <C7A92C52-AD9F-3CF1-86D5-C0714118935C> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
0x7fff9339d000 - 0x7fff933a4fff libGFXShared.dylib (??? - ???) <D3598924-B167-372E-8C9F-1BBF68852542> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff933a5000 - 0x7fff933a5fff com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <C06A140F-6114-3B8B-B080-E509303145B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x7fff93442000 - 0x7fff93466fff com.apple.Kerberos (1.0 - 1) <1F826BCE-DA8F-381D-9C4C-A36AA0EA1CB9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff934f6000 - 0x7fff93523fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <6E5C8AC3-DBB7-31CB-BEB7-D6ED8E6DE0CE> /usr/lib/libSystem.B.dylib
0x7fff9353b000 - 0x7fff93566ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <E71220D3-8015-38EC-B97D-7FDB383C2BDC> /usr/lib/libxslt.1.dylib
0x7fff93567000 - 0x7fff935bfff7 libTIFF.dylib (??? - ???) <59353B7F-EA9A-32D5-A501-283443B30C60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff935c0000 - 0x7fff93a87fff FaceCoreLight (1.4.7 - compatibility 1.0.0) <BDD0E1DE-CF33-3AF8-B33B-4D1574CCC19D> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLi ght
0x7fff93aa3000 - 0x7fff93ac9fff com.apple.framework.familycontrols (3.0 - 300) <6F0C58C0-22E7-3877-8CFA-1ED0CB3CE38B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff93aca000 - 0x7fff93ad5ff7 com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <6540EAF2-E3BF-3D2E-B4C1-F106180D6F20> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x7fff93ad6000 - 0x7fff93ad8fff libCVMSPluginSupport.dylib (??? - ???) <982F1ED4-3CBB-3161-8BEA-8A980C27FCC1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x7fff93aea000 - 0x7fff93aeefff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
0x7fff93b64000 - 0x7fff93b94ff7 com.apple.DictionaryServices (1.2.1 - 158.3) <5E2EBBFD-D520-3379-A431-11DAA844B8D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff93ba3000 - 0x7fff93ba6fff libCoreVMClient.dylib (??? - ???) <28CB0F3F-A202-391F-8CAC-FC9A1398A962> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x7fff93ba7000 - 0x7fff93be1fe7 com.apple.DebugSymbols (2.1 - 87) <ED2B177C-4146-3715-91DF-D99A8ED5449A> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x7fff93c3d000 - 0x7fff93c4bff7 libkxld.dylib (??? - ???) <01161870-E3B3-3F87-BA4A-0AA7A081F409> /usr/lib/system/libkxld.dylib
0x7fff93c4c000 - 0x7fff93d59fff libJP2.dylib (??? - ???) <6AF1F5FC-34D4-3278-BEBB-0712B81890B4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff93d5a000 - 0x7fff93d69fff com.apple.opengl (1.8.1 - 1.8.1) <51B34133-CEE3-3FC6-82AC-ADF567AE673C> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff941ff000 - 0x7fff942e3ff7 com.apple.CoreServices.OSServices (478.50 - 478.50) <3D6AA4EF-C601-36C7-8F3A-A00964F01759> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff942e4000 - 0x7fff942eeff7 liblaunch.dylib (392.39.0 - compatibility 1.0.0) <8C235D13-2928-30E5-9E12-2CC3D6324AE2> /usr/lib/system/liblaunch.dylib
0x7fff942ef000 - 0x7fff942f2ff7 com.apple.securityhi (4.0 - 1) <D0ABB03B-CEF9-39E0-A139-AA9484DBBC07> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff9431a000 - 0x7fff9431afff com.apple.Carbon (153 - 153) <16EA5662-5C2C-3267-B419-66669AE536D7> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff9431b000 - 0x7fff94329fff com.apple.NetAuth (3.2 - 3.2) <F0D60E34-37A9-308D-B44E-E3450906173A> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff9432a000 - 0x7fff94427ff7 com.apple.avfoundation (2.0 - 180.50) <A2EAE4E6-4DBA-3AAB-A387-7E72B93B6DA9> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff94428000 - 0x7fff94463fff libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
0x7fff94464000 - 0x7fff945cbfff com.apple.CFNetwork (520.5.1 - 520.5.1) <08F70E26-5456-3BFB-8192-00D3CE40D3C9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff945cc000 - 0x7fff945deff7 libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
0x7fff9467a000 - 0x7fff9471bfff com.apple.LaunchServices (480.40 - 480.40) <C936A07F-0CF8-3F8E-BDB3-76AA7611B4CA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff94779000 - 0x7fff947b8fff com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff949d3000 - 0x7fff94a25ff7 libGLU.dylib (??? - ???) <DB906997-0F70-3469-BA0E-2F1DDBEAD8D5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff94a26000 - 0x7fff94acbfff com.apple.ink.framework (10.7.5 - 113) <1AE6676D-490A-36C2-B6CC-00F93AEB31DE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff94b42000 - 0x7fff94b55ff7 libCRFSuite.dylib (??? - ???) <0B76941F-218E-30C8-B6DE-E15919F8DBEB> /usr/lib/libCRFSuite.dylib
0x7fff94b70000 - 0x7fff94b75ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x7fff94b76000 - 0x7fff94b7bfff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff94b7c000 - 0x7fff94c5afff com.apple.DiscRecording (6.0.4 - 6040.4.1) <F434B351-AE30-3D1B-9DAF-4581D080D2BC> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff94c5b000 - 0x7fff95079ff7 com.apple.SceneKit (125.3 - 125.8) <23382F45-D9CE-3897-B998-5B26337608FD> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
0x7fff9507a000 - 0x7fff9507ffff libGIF.dylib (??? - ???) <58A4492D-AAE7-3B8F-8B06-62867471A3EE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff95080000 - 0x7fff95c86fff com.apple.AppKit (6.7.5 - 1138.51) <44417D02-6123-3FC3-A119-CE51BB4C3006> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff95c87000 - 0x7fff95d66fff com.apple.ImageIO.framework (3.1.2 - 3.1.2) <047DFE61-500F-3F11-9881-D0844D2FCE5F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x7fff95d67000 - 0x7fff95dbafff com.apple.AppleVAFramework (5.0.16 - 5.0.16) <6F9A4BCE-8B99-3144-BCF7-B4299B27F6E9> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x7fff95dbb000 - 0x7fff95dc8fff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <72C53E7B-C222-3BE5-9984-FDC328CC4846> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff9648e000 - 0x7fff96499ff7 com.apple.DisplayServicesFW (2.5.4 - 323.3) <5E7F7A88-9313-3C31-87BD-80F3361DA338> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x7fff9649a000 - 0x7fff9649eff7 com.apple.CommonPanels (1.2.5 - 94) <37C6540B-F8D1-355A-806C-F93D8FB522AB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff964be000 - 0x7fff964c9fff com.apple.CommonAuth (2.2 - 2.0) <77E6F0D0-85B6-30B5-B99C-F57104DD2EBA> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff964d5000 - 0x7fff964d7fff libquarantine.dylib (36.7.0 - compatibility 1.0.0) <8D9832F9-E4A9-38C3-B880-E5210B2353C7> /usr/lib/system/libquarantine.dylib
0x7fff964d8000 - 0x7fff96e76a27 com.apple.CoreGraphics (1.600.0 - ???) <576777EA-921B-3D94-98C3-40A9CF8EBD18> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff96e77000 - 0x7fff96f2aff7 com.apple.CoreText (220.22.0 - ???) <A7A1096F-A211-3775-BA33-08FE98D27F08> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x7fff96f2b000 - 0x7fff96fc5ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff96fc6000 - 0x7fff970a3fef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B4Hi there rapitupnow9!
I have a couple of links here for you that should be able to help you with this issue. First, I would suggest isolating the issue by following the steps located in this article:
Isolating an issue by using another user account
http://support.apple.com/kb/TS4053
If you are still having trouble with iTunes in the new user account, then you should attempt to reinstall iTunes on your computer. Information about doing this can be found here:
OS X Lion: Reinstall applications that came with your computer
http://support.apple.com/kb/PH4360
Thanks for using the Apple Support Communities!
Cheers,
Braden -
A possibility to prevent garbage collection?
inspired by the topic "Why can we force Garbage Collection" i asked myself if it is possible to explicitly prevent the automatic garbage collection of the VM.
regards
~elchaschabhmm.. you didn't understand my question.
it's not about prevent the VM from freeing unused
objects, it's about preventing it doing it at the
wrong moment (e.g. a highly interactive part of code).No. But Sun's current GC works in smallish increments to reduce the impact. In extremis, you'd have to look at the realtime java project.
As for preventing objects from being reclaimed, even storing a reference to the object isn't sufficient. You have to provide code that convinces the optimiser that the object will actually be used again in a way that the optimise can't conclude is functionally null. Putting it in a list that will be traversed by an on-exit handler, which in turn will pass it to a native method would do it. Not sure whether anything else is sufficient.
Now throw in Reference objects and finalizers, and things really get exciting :(
Sylvia. -
Swing Transferhandler prevents garbage collection of one Component
While searching for memory leaks in my app I found out that an object wasn't garbage collected because of a static reference from javax.swing.TransferHandler.
Once an app has called TransferHandler.exportAsDrag, TransferHandler keeps alive one static reference to a SwingDragGestureRecognizer.
public void exportAsDrag(JComponent comp, InputEvent e, int action) {
int srcActions = getSourceActions(comp);
// only mouse events supported for drag operations
if (!(e instanceof MouseEvent)
// only support known actions
|| !(action == COPY || action == MOVE || action == LINK)
// only support valid source actions
|| (srcActions & action) == 0) {
action = NONE;
if (action != NONE && !GraphicsEnvironment.isHeadless()) {
if (recognizer == null) {
recognizer = new SwingDragGestureRecognizer(new DragHandler());
recognizer.gestured(comp, (MouseEvent)e, srcActions, action);
} else {
exportDone(comp, null, NONE);
....As you can see there is a call to recognizer.gestured(comp, (MouseEvent)e, srcActions, action). This object saves a reference to the component comp.
This means that the last Component for which the exportAsDrag method was called (and the gestured call was reached); and all objects refererred to by the Component can not be garbage collected.
I think in a normal application this will be not much of a problem because it's only a reference to a single Component; but still I think this is not very nice.
Should I report this as a bug somewhere?Something similar seems to happens to JInternalFrame.lastFocusOwner
Oh well, I guess I shouldn't worry too much about single references; I don't think they immediately cause memory leaks.. -
How to garbage collect an newed as3 Sound Object from memory?
For example, using next text code:
package
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.system.*;
import flash.system.*;
public class Main extends Sprite
[Embed(source = "../data/SongScene8.mp3")] protected var SongScene8:Class;
public function Main():void
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event = null):void
removeEventListener(Event.ADDED_TO_STAGE, init);
System.gc();
trace("Before");
trace(System.totalMemory);
trace("_________________")
var sound:Sound = new SongScene8();
System.gc();
trace("After new");
trace(System.totalMemory);
trace("_________________")
sound = null;
System.gc();
trace("After null");
trace(System.totalMemory);
The output is:
Before
3461120
After new
3604480
After null
3604480
* Even if the gc runs a thousand times after, the last, increased value remains.
* I've tested this too by importing an mp3 from an .swc, rather than from a file. The result is similar.
* Tracing System.privateMemory rather than System.totalMemory gives similar (although offset) results.
Wether or not a soundchannel is played on it, it looks like the Sound Object
cannot be removed from memory.
Please say I'm wrong and tell me why.
Thanks in advanceworks for me in cs5.5:
Loop 1
Before
28780
sound created
28796
After null 0
29380
After null 1
29196
After null 2
29192
After null 3
29192
Loop 2
Before
29192
sound created
29208
After null 0
29196
After null 1
29196
After null 2
29196
After null 3
29196
Loop 3
Before
29196
sound created
29208
After null 0
29196
After null 1
29196
After null 2
29196
After null 3
29192
Loop 4
Before
29192
sound created
29204
After null 0
29192
After null 1
29192
After null 2
29192
After null 3
29192
Loop 5
Before
29192
sound created
29204
After null 0
29192
After null 1
29192
After null 2
29192
After null 3
29192
Loop 6
Before
29192
sound created
29204
After null 0
29192
After null 1
29192
After null 2
29192
After null 3
29192
Loop 7
Before
29196
sound created
29208
After null 0
29196
After null 1
29196
After null 2
29196
After null 3
29196
use a frame loop to repeatedly execute the following and verify no memory leak:
var loops:int;
loops++;
if(loops>6){
stop();
} else if(loops==1) {
var s:String = "";
s+="Loop "+loops+"\n";
s+="Before\n";
s+=System.totalMemory/1024+"\n";
var sound:Sound = new SongScene8();
s+="sound created\n";
s+=System.totalMemory/1024+"\n";
var n:int;
clearF();
function clearF():void {
n=0;
sound=null;
this.addEventListener(Event.ENTER_FRAME,f);
function f(e:Event):void {
System.gc();
s+="After null "+n+"\n";
s+=System.totalMemory/1024+"\n";
n++;
if (n>3) {
this.removeEventListener(Event.ENTER_FRAME,f);
s+="_________________\n";
if(loops>6){
trace(s); -
Find out references to objects (garbage collection)
Is there an easy way to find out, which references prevent the garbage collector from collecting my old objects, which I expect should be collected? Something like System.out.println(...)
if you just want an object to be garbage collected, just
make sure you de-reference is completely.CMueller obviously doesn't know which references prevent garbage collection so naturally he cannot set those references to null, now can he?
o = null; // sets the value to null and drops all the referencesThat is simply not true. Removing a reference to an object doesn't affect any other references to that object.
Object o1,o2;
//create an object and make o1 reference it
o1=new Object();
//make o2 reference the same object as o1 references
o2=o1;
//now there are two references to the object
//make o1 reference null
o1=null;
//at this point there is still one reference (o2) to
//the object and therefore the object is NOT garbage
//which means that it can NOT be collected by the GC- Marcus Sundman -
Reconciling garbage collection, heap overview, and object stats
First, both the JRockit RuntimeAnalyzer and Console are great tools. We use
them extensively so thank you.
I'm trying to reconcile the numbers in these three tabs.
1. How do I reconcile the Runtime Analyzer and Console output?
- The Heap overview tab in our application profile shows Heap Overview as
83% free.
- However, the Garbage Collection tab of the profile and Console shows the
application as oscillating between 50 Meg and 200 Meg of heap used. That's
25% (50Meg/200Meg) to 100%(200Meg/200Meg) used. How do I interpret the 83%
vs. the 100%?
I don't believe the 83% free, but I'm skeptical that we consume 150Meg of
memory in 50 seconds.
2. How do I reconcile the Object stats with the Garbage collection?
- Take the top heap user at end of recording, character buffer. It's 22.8%
of heap using 6,328 KB. If the heap is actually only 34Meg ( 17% of 200Meg.
I get the 17% from the 83% free), then 22.8% makes sense.
- So what's in the 200Meg of heap?
I sent this recording to the JRA team if you want to look at it.
Thanks
JeffI've never heard it put that way. Very interesting.
"Johan Walles" <johan@spamalamadingdong> wrote in message
news:41bf0be3@mail...
Note that the time it takes for the garbage collector to do its thing
grows with the amount of live data.
What the garbage collector really does is more like retaining the live
data than disposing of the garbage.
Regards //Johan
Jeff wrote:
Staffan,
Thanks - you clearly answered my questions. Now the follow-on questions:
1. Is there a way to get insight into what the 'dead' data is composed
of?
2. Is this pattern of consuming 3x the live data in about a minute
'typical' or a disaster in the making?
I'm trying to get a sense of what a reasonable target of 'dead' data is.
The system processes about a meg of data per second, including database
writes.
Thanks
Jeff
"sla" <[email protected]> wrote in message
news:33533893.1102952170368.JavaMail.root@jserv5...
Hi Jeff,
I'll try to answer the questions.
1) The Heap overview in the application profile is a snapshot of the heap
at the end of a garbage collection. At this time only live data is still
on the heap. So it looks like you have 17% of the heap filled with live
data (and some overhead as seen in the Heap overview).
In the garbage collection tab you can see the heap usage oscillating
between 35-40MB and 200MB. The lower value is right after a garbage
collection and the higher value is right before a garbage collection. The
garbage collector clears out about 160MB of "dead" data from the heap.
This is the amount of temporary objects that you created during the
garbage collection cycles.
2) The Object statistics are also taken right after a garbage collection.
At this time there is 34M of live data on the heap and of these about 22%
is taken up by character arrays (not unusual).
At this time the rest of the 200MB heap is empty. It's been cleared of
all temporary objects and is ready for allocation of new objects.
I hope this answered your questions.
Regards,
/Staffan -
Garbage collection and closure
I am running a remote script from bridge that opens a complex dialog in photoshop. I need to run the dialog in photoshop because it displays fonts, styles and actions, which are not available in bridge.
When I close the dialog I return to my bridge script. If I repeated open the remote script with the complex dialog I continue to use up resources and the dialog opens more slowly each time.
If I run the remote script directly from the ESTK I still lose reources and it slows down, but not as significantly as when run as a remote script via bridgetalk.
I think this is caused by inner functions in my dialog, which are creating closures, which in turn are preventing garbage collection.
Has anyone experienced this and do you have any tips to prevent the performance degradation?Rory,
I've never seen that before. In PS, the script that displays the dialog executes, then the engine that ran it supposed to be destroyed. Should be no need for garbage collection. Running the script directly in ESTK still uses BridgeTalk, so I would expect little difference.
I'd be curious to know what's happening because each time you run the script, it should be using a fresh scripting engine in PS. Perhaps there's something preventing PS from releasing the engine when BridgeTalk is involved. It that's the case, it would be a bug.
I do have a suggestion - instead of switching to PS, why not ask PS to give you lists of fonts, styles, and actions? You could write a script that put all three into a an array:
// up here create the arrays
var a = new Array();
a[0] = fontArray;
a[1] = styleArray;
a[2] = actionArray;
a.toSource();
eval'ing the message body in the onResult handler would give you all the info you needed to show your dialog in Bridge. Both Bridge and PS use scriptUI, so the dialog you have written should work in either (once you get the information necessary to display it in Bridge). -
My understanding of garbage collection is that resources utilized by an object are released when no reference to the object exist. I accomplish this by ensuring that all references to an unneeded object are null.
My question/concern is this. If I have an object "A" that has references to other objects "B", "C", and "D", will the all objects be elibible for garbage collection when the reference to object A is set to null? I suspect that objects "B", "C", and "D" persist until the virtual machine is terminated.
Is the practice of creating a method within a class to make all inner objects eligible for garbage collection prior to setting the object reference to null. (i.e. set objects "B", "C", and "D" to null prior to setting "A" to null).
Maybe I am just paranoid??My understanding of garbage collection is that
resources utilized by an object are released when no
reference to the object existThat's not correct. Objects can have references that point to them and still be garbage collected. For example:
Vector v = new Vector();
v.add(new Object());
v = null;
After this code is executed, the Vector object has a reference to the "new Object()" created. However, the Vector itself is not reachable, and therefore the "new Object()" is unreachable, and therefore both are collected.
The garbage collector collects unreachable objects.
I accomplish this by
ensuring that all references to an unneeded object are
null.It is quite rare that setting a reference to null is needed to make an object unreachable. Don't do it -- it makes your code slower, less readable, and harder to modify.
My question/concern is this. If I have an object "A"
that has references to other objects "B", "C", and
"D", will the all objects be elibible for garbage
collection when the reference to object A is set to
null? I suspect that objects "B", "C", and "D"
persist until the virtual machine is terminated.Yes -- all will be collected when A becomes unreachable. As noted earlier, you shouldn't need to set any reference to null for this to happen.
Is the practice of creating a method within a class to
make all inner objects eligible for garbage collection
prior to setting the object reference to null. (i.e.
set objects "B", "C", and "D" to null prior to setting
"A" to null).
Maybe I am just paranoid??Yes. Just let the garbage collector do its job and collect unreachable objects. You should almost never need to write any code to "help" the garbage collector. -
Understanding Garbage Collection
Garbase Collector collects any objects that the program cannot access. If an object cannot be accessed, it will be collected by the garbage collector if needed.
Can someone explain with a simple example when an object cannot be garbase collected? preferably an example with 'String'
thanksString text = "Hallo";
//the instance "Hallo" cannot be collected here
String message = text;
text = null;
//neither here;
message = null;
//The instance "Hallo" can be collecter here by the GBI don't think that this is the way it works. Garbage collection frees memory for use, and in this case, the variable text could still be referenced, even though it does not have a value. I might be wrong, but my guess would be that setting a variable to be null, would result in the location of memory allocated for the variable to be emptied (e.g. C-function memset). If the garbage collection would occur when the variable is set to null might cause problems, like so:
String foo = "bar; // Create and initliaze variable
foo = null; // Set to null, assume garbage collection
String bar = "foor"; // Create and initialize. If this were now stored
// in the same memory slot as foo, which would be possible due
// to the garbage collection, problems would arise from next line
foo = "bar"; // Now foo and bar refer to the same memory locationTherefore garbage collection occurs only when no object or class holds no reference to the variable, example:
if(foobar) {
String localVar = "local variable";
// When the if-block ends, the variable localVariable is collected
// as it no longer can be referenced.Tuomas Rinta -
RMI server object getting garbage collected
Hi all,
I have seen a number of posts regarding the ConnectException and found that this can occur in a number of situations.
I am having a problem here.
I am having an RMI server that is always up and running. And the server object gets requests from the client at regular intervals. But, when the server object is not receiving any requests for a long time (ex: 1 day), then I think the remote object itself is getting garbage collected. And so, tough I am able to get the remote reference using the lookup method, I am getting "Connection refused to host: 192.168.0.216; nested exception is:
java.net.ConnectException: Connection refused" when I call a method using this reference.
I believe that this is because the server object getting garbage collected as there are no requests for the server since long. Please correct me if my assumption is wrong.
I want to know, after how much time the server object gets garbage collected if no requests are received. But, my requirement is that the server object should always be available and WHENEVER a client request comes then that should be processed. What should I do to accomplish this task.
If any one have any suggestions, please reply as soon as possible.
Thanks in advance,
srik4uYou might do some research into using an activatable remote object. You run rmid (the rmi activation deamon) and register a subclass of java.rmi.activation.Activatable (instead of the usual UnicastRemoteObject) with it. With an activatable object, the remote reference to the activatable object doesn't need to have a live object behind it. If an activatable object is not running (ie: it hasn't been constructed yet, or it has been garbage collected ...as in your case) a remote reference to the object can still be exported to a client. The first time the client calls a method on the remote object, the activation service on the server sees the object is not active, and activates the object for the client. If the object is running ...it is rmi as usual. But if it gets gc'd again, the next invocation on the remote object will trigger the activation service again.
(The above explanation paraphrases author David Flanagan from Java Enterprise in a Nutshell, O'Reilly)
I have only built one of these, which loosely followed an example from the above mentioned book. It's a whole other ballgame over and above a regular rmi object. But like anything else, if you dig in and get your head wrapped around it, it eventually makes sense. Ok, why lie ...it confused the hell out of me and left me a little queasy. But you know the drill, by the time you build a few of them it will probably seem as easy as mapping the human genome, right? At any rate, it seems like what you might be after ...so have a look at it. Good luck, and wear your lifejacket. -
Premature Garbage Collection of Remote Objects
I have a problem with distributed garbage collection and RMI. In CSPoker we try to support RMI for client-server communication. The client looks up the server through the registry, calls the login method and receives back a Remote Object reference called ServerContext. The client can register Remote even listener Objects with the server.
In both directions we occasionally see:
java.rmi.NoSuchObjectException: no such object in table
The behaviour is completely unpredictable. Some developers never see it, others see it all the time. Even on the same machine, sometimes it failes immediately
and sometimes it fails after a while. One person running the Sun JRE 6 on Windows has this poblem most frequently.
Can this be a bug or do we misinterpret something? The way we see it, as long as the client leases the Remote Object it shouldn't be GCed. All tests are run on localhost so no network partition can occur.
The problem would probably be solved if we hold static references to all Remote Objects in the local JVM. This is not an option because we want the Objects to be GCed once the lease expires.
Here are 2 debugging outputs of server runs with RMI logging enabled:
http://cspoker.pastebin.com/f27a7d6fc
As you can see, the lease requests are coming through but a NoSuchObjectException is thrown and the Object is finalized.
http://cspoker.pastebin.com/f732797d2Thanks for the quick reply.
For instance:
11:56:02,427 DEBUG (org.cspoker.common.api.shared.context.ForwardingRemoteServerContext.java:72) [finalize] - Garbage collecting old context: org.cspoker.server.rmi.export.ExportingServerContext@15a8767
07.11.2008 11:56:02 sun.rmi.server.UnicastServerRef logCall
FEINER: RMI TCP Connection(2)-10.0.4.106: [10.0.4.106: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
07.11.2008 11:56:03 sun.rmi.transport.Transport serviceCall
FEIN: RMI TCP Connection(2)-10.0.4.106: [10.0.4.106] exception:
java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.Transport.serviceCall(Transport.java:129)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)The context Object is exported and returned to the client here :
return (ExternalRemoteServerContext) UnicastRemoteObject.exportObject(context, 0);Then [the object|http://code.google.com/p/cspoker/source/browse/trunk/server/rmi/src/main/java/org/cspoker/server/rmi/export/ExportingServerContext.java?r=1023] that was just exported is GCed.
11:56:02,427 DEBUG (org.cspoker.common.api.shared.context.ForwardingRemoteServerContext.java:72) [finalize] - Garbage collecting old context: org.cspoker.server.rmi.export.ExportingServerContext@15a8767Then a lease request comes in:
FEINER: RMI TCP Connection(2)-10.0.4.106: [10.0.4.106: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]Then the client calls a method on the remote object and the NoSuchObjectException is thrown.
The behaviour is non-deterministic in any case but yes, on the Linux JVM I'm not seeing the problem, somebody on Windows gets it all the time. -
Huge number of garbage collected objects
We're running a system here with the java heap set to 256mb and have noticed
that now and then, garbage collection takes a horribly long time to complete
(in the order of minutes, rather than fractions of a minute!). Something
like 3 million objects are being freed when the server is heavily loaded.
Has anyone else experienced this behaviour? Has anyone tested weblogic with
JProfiler/OptimizeIt and found any troublesome spots where many objects are
created? One potential place where this can be happening is in the servlet
logging. Since there is a timestamp that is a formatted date, my guess is
that a new Date object is being created, which is very expensive and hence
might cause many more objects that need to be garbage collected. Can any
weblogic engineers confirm/deny this?Use vmstat to determine if you're swapping. sar would work too.
Swapping is definitely dictated by the OS, but an inordinate amount of
swapping activity just means you get to tune the hardware rather along
with the application.
Jason
Original Message <<<<<<<<<<<<<<<<<<On 2/21/00, 12:45:26 PM, "Hani Suleiman"
<[email protected]> wrote regarding Re: Huge number of
garbage collected objects:
Here are the results from running top on that machine:
Memory: 512M real, 14M free, 553M swap in use, 2908M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
3035 root 50 59 0 504M 334M sleep 308:42 5.13% java
How to make sure I'm not swapping? I thought that kind of thing was dictated
by the OS...
Rob Woollen <[email protected]> wrote in message
news:[email protected]..
If GC takes on the order of minutes to run then I suspect that you
are
paging. How much physical memory do you have on the machine? Make sure
that
you are not swapping.
-- Rob
Hani Suleiman wrote:
We're running a system here with the java heap set to 256mb and have
noticed
that now and then, garbage collection takes a horribly long time tocomplete
(in the order of minutes, rather than fractions of a minute!).
Something
like 3 million objects are being freed when the server is heavilyloaded.
Has anyone else experienced this behaviour? Has anyone tested weblogicwith
JProfiler/OptimizeIt and found any troublesome spots where many
objects
are
created? One potential place where this can be happening is in theservlet
logging. Since there is a timestamp that is a formatted date, my guessis
that a new Date object is being created, which is very expensive andhence
might cause many more objects that need to be garbage collected. Can
any
weblogic engineers confirm/deny this? -
How can I prevent class garbage collection????
Hi,
Is there a way to prevent a class from being garbage collected without using the -noclassgc option? Is there some code I can include in a class that tells the JVM not to garbage collect that particular class?
Thanks in advance,
Jacob.The code shown below (slightly modified from yours) should work correctly on any 1.0.x throught 1.4 JVM.
Look at this article for further info: http://www.javaworld.com/javaworld/javatips/jw-javatip52.html
public class SQLManager extends PoolManager {
private static SQLManager myself;
//code.........................
public static SQLManager getInstance() {
// This version of a getInstance method suffers from the use of the
// broken (unreliable) double checked locking idiom. It should never
// be used on a system with more than one processor and is ill-advised
// any other time. It can lead to accesses to uninitialized objects.
// See http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double.html
// or http://c2.com/cgi/wiki?DoubleCheckedLockingIsBroken
// So despite its common appearance in books and pattern repositories,
// it should not be used.
if (myself == null) {
synchronized(SQLManager.class) {
if (myself == null)
myself = new SQLManager();
return myself;
private SQLManager() {
livethread();
//code.........................
void livethread()
System.out.println("##############################################################");
System.out.println("###################Live Thread called#########################");
System.out.println("##############################################################");
Thread thread = new Thread()
public void run()
// added this code to ensure that run() actually is getting
// called
System.out.println("##############################################################");
System.out.println("#################### Thread Started ##########################");
System.out.println("##############################################################");
Class myClass = SQLManager.class;
while (true)
try
synchronized (myClass)
myClass.wait();
catch (InterruptedException ex)
System.out.println("##############################################################");
System.out.println("###################Thread interrupted#########################");
System.out.println("##############################################################");
finally
System.out.println("##############################################################");
System.out.println("################### Something Happened #########################");
System.out.println("##############################################################");
System.out.println("##############################################################");
System.out.println("#################### Thread Dead?? ##########################");
System.out.println("##############################################################");
thread.setDaemon(true);
System.out.println("##############################################################");
System.out.println("#################### Starting Thread #########################");
System.out.println("##############################################################");
thread.start();
//code.........................
} -
CORBA & Garbage Collection of Remote Objects
Hi!
I see lots of stuff on this topic for RMI. However I did not see much on garbage collection of remote objects using CORBA.
My question is: once I pass a reference to a CORBA client, how can I make sure that these references are garbage collected once the client application is done with them?
Another question is what happens to all remote object references if the client application crashes? Is there anyway for the server to be notifed and ensure that memory is claimed by the garbage collector?
Of course that if these references are just left hanging over, memory leaks can be a problem ...
Any help would be appreciated.
Regards,
Jo�oThese are questions I've been wondering about for some time too.... Does anyone has a hint?
Maybe you are looking for
-
Can't downlaod Creative Cloud app. Error 403
Hi my name is Max, when I try to try the Flash Proffesional CC and Mobile Device Packaging It just saids: Installation failed - Learn More And when I click Learn More this comes: Download error. Unable to reach Adobe servers. Please check your intern
-
How do you turn off cellular data on Ipad Air 2 with IOS 8.1.2
We have three new iPad Air 2s within the family. All have wi-fi capability but we are not needing to suscribe to it at this time, plan to use it on trips away from home. All of them get a popup message every 1-2 hours reminding to select a cellular p
-
Date type is not captured in Visual composer 7.0 using SQL server as DB
Date type is not captured in Visual composer 7.0 when using SQL server as DB, and field type is "SmallDateTime" in DB.
-
Hello, I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components I've made a JSP page with ADF on a single table. No errors when compiling. When I try
-
Lightroom (ACR 4) color management problems
Lightroom (or ACR 4) has some color management problems. When I develop a DNG into Photoshop (sRGB) everything looks great. Then I proof colors for the web (monitor RGB) the reds become oversaturated. I don't see this problem when I develop the same