Heap/stack, RVO, and destructors
yes, wonderful topic name...
I always wondered if the following (c++) code would work:
std::string& foo()
std::string* s = new std::string("bar");
return *s;
void test()
std::string s = foo();
} //does s get properly destroied here?
the problem is as follows:
in test(), s is declared as a stack (auto) variable...
in foo(), s is created on the heap, and returned by reference, instead of by pointer...
technically, this code is sound... however I don't know if proper destruction takes place... will RVO (return value optimization) take care of it?
i3839 wrote:Perhaps I'm missing some hidden magick of references, but you said they were the same as pointers, and you made a new object and got a reference, no pointer in sight, so how can you blame pointers?
that's excatly it... "new" returns a pointer... technically one should just [return string("foo");] without the "new" - and RVO then takes the construction into account so it's not done twice (once on the return line, then a copy constructor when the actual return does it's job)
i3839 wrote:As for the memory management, what "internal memory management"? If you get data with new you need to free it yourself, either directly or indirectly (delete(this)?). All the memory management needs to be build into the classes as far as I can tell, or did C++ change so much recently?
I was talking specifically about the STL... which is C++, as much as some people don't like to admit... anyone can write a class that has resource issues in general... hell you can do it with database connections in java (and C#)
When you initialize an std::string, it calls new internally... and actually stores just the begin/end pointers, but it takes care or it's own resources...
the pseudo-techincal term is "RAII" (Resource Acquisition is Initialization) - constructor calls new, destructor deletes... it's all internal... when consuming that class, you never need worry about memory management if done correctly.
Similar Messages
-
i just installed an update my version is now MAC OS X 10.7.5 and now imovie is no longer working. it just uses heaps of CPU and then stops responding. please help.
I cannot find any fixes online and i don't know what to dohere is the message. i tried deleting all my video files in iphoto and it still does not work.
Date/Time:
2014-01-29 22:30:55 +1100
OS Version:
10.7.5 (Build 11G63)
Architecture:
x86_64
Report Version: 9
Command:
iMovie
Path:
/Applications/iMovie.app/Contents/MacOS/iMovie
Version:
9.0.3 (1633)
Build Version: 1
Project Name:
iMovieApp
Source Version: 16330000
App Item ID:
408981434
App External ID: 3879328
Parent:
launchd [124]
PID:
858
Event:
hang
Duration:
1.13s
Steps:
12 (100ms sampling interval)
Pageins:
0
Pageouts:
0
Process:
iMovie [858]
Path:
/Applications/iMovie.app/Contents/MacOS/iMovie
Architecture:
i386
UID:
501
Thread 0x3d39
User stack:
12 ??? (in iMovie) [0x2a6e]
12 ??? (in iMovie) [0x31b3]
12 NSApplicationMain + 1054 (in AppKit) [0x97478ac5]
12 -[NSApplication run] + 911 (in AppKit) [0x971e7ac1]
12 ??? (in iMovie) [0x44e47]
12 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113 (in AppKit) [0x971eb752]
12 _DPSNextEvent + 678 (in AppKit) [0x971ebee8]
12 BlockUntilNextEventMatchingListInMode + 88 (in HIToolbox) [0x935b671a]
12 ReceiveNextEventCommon + 168 (in HIToolbox) [0x935b67d6]
12 RunCurrentEventLoopInMode + 318 (in HIToolbox) [0x935af543]
12 CFRunLoopRunInMode + 120 (in CoreFoundation) [0x932f3088]
12 CFRunLoopRunSpecific + 332 (in CoreFoundation) [0x932f31dc]
12 __CFRunLoopRun + 1888 (in CoreFoundation) [0x932f3cd0]
12 __CFRunLoopDoTimer + 743 (in CoreFoundation) [0x93314c37]
12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22 (in CoreFoundation) [0x933152a6]
12 __NSFireDelayedPerform + 615 (in Foundation) [0x9bc19792]
12 ??? (in iMovie) [0x101a28]
12 ??? (in iMovie) [0x1055e2]
12 -[NSTableView selectRowIndexes:byExtendingSelection:] + 160 (in AppKit) [0x9735ba98]
12 -[NSTableView _doSelectIndexes:byExtendingSelection:indexType:funnelThroughSingleIndexVersion :] + 3073 (in AppKit) [0x9735c6a3]
12 -[NSTableView _enableSelectionPostingAndPost] + 428 (in AppKit) [0x97332b61]
12 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 174 (in AppKit) [0x9735d75c]
12 -[NSNotificationCenter postNotificationName:object:] + 55 (in Foundation) [0x9bc25272]
12 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 (in Foundation) [0x9bc0ffde]
12 _CFXNotificationPost + 2776 (in CoreFoundation) [0x93308688]
12 ___CFXNotificationPost_block_invoke_1 + 275 (in CoreFoundation) [0x9333d903]
12 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49 (in Foundation) [0x9bc24df1]
12 ??? (in iMovie) [0x1052a2]
12 ??? (in iMovie) [0xac244]
12 ??? (in iMovie) [0xbd5b3]
12 ??? (in iMovie) [0xa3f6f]
12 ??? (in iMovie) [0xb2352]
12 ??? (in iMovie) [0xbd2a0]
12 ??? (in iMovie) [0xa3fbc]
12 ??? (in iMovie) [0xa2b61]
12 ??? (in iMovie) [0xbeecb]
12 ??? (in iMovie) [0xa2e99]
12 ??? (in iMovie) [0xa3586]
12 ??? (in iMovie) [0xa1795]
12 ??? (in iMovie) [0xa2939]
12 ??? (in iMovie) [0xa3c71]
12 ??? (in iMovie) [0x17e6d3]
12 InsertMovieSegment + 50 (in QuickTime) [0x95414749]
12 InsertMovieSegment_priv + 273 (in QuickTime) [0x952c53f6]
12 PrivateInsertMovieSegment_priv + 2131 (in QuickTime) [0x952c4e0c]
12 insertIntoExistingTrack + 47 (in QuickTime) [0x952c3ea0]
12 PrivateInsertTrackSegment_priv + 361 (in QuickTime) [0x952f8c50]
12 CopyTrackMedia_priv + 600 (in QuickTime) [0x952f89a4]
12 MediaToMediaCopy_priv + 18723 (in QuickTime) [0x952f7ca1]
12 MediaSTAddSampleReferencesS64 + 87 (in QuickTime) [0x95428dca]
12 CallComponentDispatch + 29 (in CarbonCore) [0x9565845e]
11 CallComponent + 223 (in CarbonCore) [0x95658415]
11 Video2ComponentDispatch + 95 (in QuickTimeComponents) [0x9285d736]
11 CallComponentFunctionWithStorageProcInfo + 30 (in CarbonCore) [0x956e247d]
10 _ZL38CallComponentFunctionCommonWithStoragePPcP19ComponentParametersPFlvEm + 45 (in CarbonCore) [0x956e243d]
10 callComponentStorage_442444444 + 90 (in CarbonCore) [0x956341b3]
6 ??? (in QuickTimeComponents) [0x9285efeb]
5 ??? (in QuickTimeComponents) [0x92e2033d]
5 CallComponentDispatch + 29 (in CarbonCore) [0x9565845e]
5 CallComponent + 223 (in CarbonCore) [0x95658415]
5 STMediaComponentDispatch + 64 (in QuickTimeComponents) [0x92880a27]
5 CallComponentFunctionWithStorageProcInfo + 30 (in CarbonCore) [0x956e247d]
5 _ZL38CallComponentFunctionCommonWithStoragePPcP19ComponentParametersPFlvEm + 45 (in CarbonCore) [0x956e243d]
5 callComponentStorage_442444444 + 90 (in CarbonCore) [0x956341b3]
2 ??? (in QuickTimeComponents) [0x9289fbdf]
2 CSMemSetHandleSize + 254 (in CarbonCore) [0x95617678]
2 realloc + 138 (in libsystem_c.dylib) [0x9a8826d1]
1 szone_size + 291 (in libsystem_c.dylib) [0x9a841df4]
1 szone_size + 103 (in libsystem_c.dylib) [0x9a841d38]
1 ??? (in QuickTimeComponents) [0x9289f941]
1 ??? (in QuickTimeComponents) [0x92e1f78d]
1 CallComponentDispatch + 29 (in CarbonCore) [0x9565845e]
1 CallComponent + 223 (in CarbonCore) [0x95658415]
1 Video2ComponentDispatch + 112 (in QuickTimeComponents) [0x9285d747]
1 ??? (in QuickTimeComponents) [0x9289ed89]
1 ??? (in QuickTimeComponents) [0x9289eb5d]
1 CSMemGetHandleSize + 140 (in CarbonCore) [0x95617776]
1 malloc_size + 50 (in libsystem_c.dylib) [0x9a880cfc]
1 ??? (in QuickTimeComponents) [0x92e20340]
2 ??? (in QuickTimeComponents) [0x9285f003]
2 ??? (in QuickTimeComponents) [0x92e20865]
2 CallComponentDispatch + 29 (in CarbonCore) [0x9565845e]
1 CallComponent + 88 (in CarbonCore) [0x9565838e]
1 CallComponent + 223 (in CarbonCore) [0x95658415]
1 Video2ComponentDispatch + 43 (in QuickTimeComponents) [0x9285d702]
1 DelegateComponentCall + 24 (in CarbonCore) [0x9565843c]
1 CallComponent + 90 (in CarbonCore) [0x95658390]
2 ??? (in QuickTimeComponents) [0x9285f00e]
2 GetMediaDuration + 11 (in QuickTime) [0x95414a5b]
1 ZeroOutMoviesError + 3 (in QuickTime) [0x952c12ea]
1 ZeroOutMoviesError + 11 (in QuickTime) [0x952c12f2]
1 MoviesGetPerThreadStorage + 68 (in QuickTime) [0x95215694]
1 QTGetPerThreadStorage + 53 (in QuickTime) [0x952156d3]
1 pthread_once + 0 (in libsystem_c.dylib) [0x9a82c43b]
1 Video2ComponentDispatch + 0 (in QuickTimeComponents) [0x9285d6d7]
Kernel stack:
12 hndl_allintrs + 290 (in mach_kernel) [0xffffff80002da712]
12 interrupt + 192 (in mach_kernel) [0xffffff80002c48d0]
12 lapic_interrupt + 121 (in mach_kernel) [0xffffff80002c9ab9]
12 cpu_signal_handler + 172 (in mach_kernel) [0xffffff80002cb9ac]
12 sync_iss_to_iks + 118 (in mach_kernel) [0xffffff80002c3c76]
Thread <multiple> DispatchQueue 1919904114
User stack:
36 start_wqthread + 30 (in libsystem_c.dylib) [0x9a8306fe]
36 _pthread_wqthread + 346 (in libsystem_c.dylib) [0x9a82eb24]
36 _dispatch_worker_thread2 + 231 (in libdispatch.dylib) [0x9b69501c]
36 _dispatch_call_block_and_release + 15 (in libdispatch.dylib) [0x9b693fbd]
36 ____NSOQSchedule_block_invoke_2 + 135 (in Foundation) [0x9bc6dffa]
36 -[NSOperation start] + 67 (in Foundation) [0x9bc59ea7]
36 -[__NSOperationInternal start] + 1177 (in Foundation) [0x9bc5a347]
36 -[NSInvocationOperation main] + 267 (in Foundation) [0x9bd3f61a]
36 -[NSInvocation invoke] + 137 (in CoreFoundation) [0x933559d9]
36 __invoking___ + 29 (in CoreFoundation) [0x93355a9d]
36 -[ILMediaManager _loadDataThreaded] + 514 (in iLifeMediaBrowser) [0x9174e183]
24 -[ILMediaManager _performLoadData] + 599 (in iLifeMediaBrowser) [0x9174e591]
24 -[ILMediaManager setRootMediaGroup:] + 336 (in iLifeMediaBrowser) [0x9174d445]
24 -[ILMediaManager setRootMediaGroupInternal:] + 101 (in iLifeMediaBrowser) [0x9174d580]
24 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 160 (in Foundation) [0x9bc61286]
24 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1236 (in Foundation) [0x9bc617f0]
24 -[NSCondition wait] + 304 (in Foundation) [0x9bc6ebe8]
24 pthread_cond_wait$UNIX2003 + 71 (in libsystem_c.dylib) [0x9a7e142c]
24 __psynch_cvwait + 10 (in libsystem_kernel.dylib) [0x9ac0d83e]
12 -[ILMediaManager _performLoadData] + 216 (in iLifeMediaBrowser) [0x9174e412]
12 ??? (in iLMBiTunesPlugin) [0xbbe7b6d]
12 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 160 (in Foundation) [0x9bc61286]
12 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1236 (in Foundation) [0x9bc617f0]
12 -[NSCondition wait] + 304 (in Foundation) [0x9bc6ebe8]
12 pthread_cond_wait$UNIX2003 + 71 (in libsystem_c.dylib) [0x9a7e142c]
12 __psynch_cvwait + 10 (in libsystem_kernel.dylib) [0x9ac0d83e]
Kernel stack:
36 psynch_cvcontinue + 0 (in mach_kernel) [0xffffff800059e920]
Thread 0x3d3f
DispatchQueue 1701273966
User stack:
12 _dispatch_mgr_thread + 53 (in libdispatch.dylib) [0x9b694853]
12 __select_nocancel + 10 (in libsystem_kernel.dylib) [0x9ac0db5e]
Kernel stack:
12 wakeup + 992 (in mach_kernel) [0xffffff8000555e90]
Thread 0x3dc1
User stack:
12 start_wqthread + 30 (in libsystem_c.dylib) [0x9a8306fe]
12 __workq_kernreturn + 10 (in libsystem_kernel.dylib) [0x9ac0e02e]
Kernel stack:
12 workqueue_mark_exiting + 1408 (in mach_kernel) [0xffffff80005a50b0]
Thread 0x3dc6
User stack:
12 thread_start + 34 (in libsystem_c.dylib) [0x9a8306de]
12 _pthread_start + 335 (in libsystem_c.dylib) [0x9a82ced9]
12 __NSThread__main__ + 1606 (in Foundation) [0x9bc6cded]
12 +[NSThread exit] + 18 (in Foundation) [0x9bc6ce3c]
12 pthread_exit + 33 (in libsystem_c.dylib) [0x9a82e9a0]
12 _pthread_exit + 146 (in libsystem_c.dylib) [0x9a82e64c]
12 _pthread_tsd_cleanup + 176 (in libsystem_c.dylib) [0x9a875e67]
12 __CFTSDFinalize + 94 (in CoreFoundation) [0x93307a9e]
12 __NSFinalizeThreadData + 1419 (in Foundation) [0x9bc0f50a]
12 _objc_rootRelease + 47 (in libobjc.A.dylib) [0x920e654e]
12 ??? (in iMovie) [0x1529f1]
12 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 160 (in Foundation) [0x9bc61286]
12 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1236 (in Foundation) [0x9bc617f0]
12 -[NSCondition wait] + 304 (in Foundation) [0x9bc6ebe8]
12 pthread_cond_wait$UNIX2003 + 71 (in libsystem_c.dylib) [0x9a7e142c]
12 __psynch_cvwait + 10 (in libsystem_kernel.dylib) [0x9ac0d83e]
Kernel stack:
12 psynch_cvcontinue + 0 (in mach_kernel) [0xffffff800059e920]
Thread 0x3dc8
User stack:
12 thread_start + 34 (in libsystem_c.dylib) [0x9a8306de]
12 _pthread_start + 335 (in libsystem_c.dylib) [0x9a82ced9]
12 __NSThread__main__ + 1582 (in Foundation) [0x9bc6cdd5]
12 -[NSThread main] + 45 (in Foundation) [0x9bc6ce25]
12 ??? (in iMovie) [0xe4ce0]
12 usleep$UNIX2003 + 60 (in libsystem_c.dylib) [0x9a7e1558]
12 __semwait_signal + 10 (in libsystem_kernel.dylib) [0x9ac0dbb2]
Kernel stack:
12 semaphore_wait_continue + 0 (in mach_kernel) [0xffffff8000234650]
Thread 0x3dca
User stack:
12 thread_start + 34 (in libsystem_c.dylib) [0x9a8306de]
12 _pthread_start + 335 (in libsystem_c.dylib) [0x9a82ced9]
12 __select + 10 (in libsystem_kernel.dylib) [0x9ac0db42]
Kernel stack:
12 wakeup + 992 (in mach_kernel) [0xffffff8000555e90]
Thread 0x3ddd
User stack:
12 thread_start + 34 (in libsystem_c.dylib) [0x9a8306de]
12 _pthread_start + 335 (in libsystem_c.dylib) [0x9a82ced9]
12 ??? (in QuickTimeComponents) [0x9284d0ca]
12 TSWaitOnSemaphoreRelative + 24 (in CarbonCore) [0x9562ef2e]
12 TSWaitOnSemaphoreCommon + 490 (in CarbonCore) [0x9562f11d]
12 TSWaitOnConditionTimedRelative + 178 (in CarbonCore) [0x9562f3a7]
12 pthread_cond_timedwait_relative_np + 47 (in libsystem_c.dylib) [0x9a830f7b]
12 __psynch_cvwait + 10 (in libsystem_kernel.dylib) [0x9ac0d83e]
Kernel stack:
12 psynch_cvcontinue + 0 (in mach_kernel) [0xffffff800059e920]
Binary Images:
0x1000 - 0x441feb com.apple.iMovieApp 9.0.3 (1633) <799E1109-3D82-8582-3932-B2F57CCFE27A> /Applications/iMovie.app/Contents/MacOS/iMovie
0xbbe1000 - 0xbbe9ff2 com.apple.iLMBiTunesPlugin 2.6.4 (288.4.6) <3BC0F592-8A14-3738-B959-10E108BAB976> /Library/Application Support/iLifeMediaBrowser/*/iLMBiTunesPlugin
0x9170b000 - 0x9178aff7 com.apple.iLifeMediaBrowser 2.6.4 (502.4.5) <5C10CC72-586E-3497-9873-A0ACFB6156C3> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x920de000 - 0x921b4aab libobjc.A.dylib ??? (???) <2E272DCA-38A0-3530-BBF4-47AE678D20D4> /usr/lib/libobjc.A.dylib
0x92260000 - 0x92fb1fff com.apple.QuickTimeComponents.component 7.7.1 (2348) <BBFA6BA1-DF2F-32EA-9064-CE54EE7894C5> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x932b8000 - 0x9348ffe7 com.apple.CoreFoundation 6.7.2 (635.21) <4D1D2BAF-1332-32DF-A81B-7E79D4F0A6CB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x935ad000 - 0x938f3ff3 com.apple.HIToolbox 1.9 (???) <E5EA9EEF-3CCA-36A0-8688-DA2E64E2256C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x95214000 - 0x95499fe3 com.apple.QuickTime 7.7.1 (2348) <DAA61DE5-ED45-3AAE-8030-351D2C636FF2> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x955f1000 - 0x958f3fff com.apple.CoreServices.CarbonCore 960.25 (960.25) <C613B0DA-B401-3DC7-B626-6E20D4DDC8A8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x971e2000 - 0x97c77ff6 com.apple.AppKit 6.7.5 (1138.51) <B9D3DCA0-9765-354E-9730-75A45A97DDFD> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x9a7d0000 - 0x9a89bfff libsystem_c.dylib ??? (???) <52421B00-79C8-3727-94DE-62F6820B9C31> /usr/lib/system/libsystem_c.dylib
0x9abf5000 - 0x9ac13ff7 libsystem_kernel.dylib ??? (???) <79179F83-457A-3539-A76B-E960D2108109> /usr/lib/system/libsystem_kernel.dylib
0x9b693000 - 0x9b6a1fff libdispatch.dylib ??? (???) <1B857064-288D-3919-B81A-38E9F4D19B54> /usr/lib/system/libdispatch.dylib
0x9bc0d000 - 0x9bf17ff3 com.apple.Foundation 6.7.2 (833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Process:
Activity Monitor [213]
Path:
/Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor
Architecture:
x86_64
UID:
501
Thread 0x656
DispatchQueue 1
User stack:
12 ??? (in Activity Monitor) [0x108c5977c]
12 NSApplicationMain + 867 (in AppKit) [0x7fff92d5ceac]
8 -[NSApplication run] + 470 (in AppKit) [0x7fff92ae09b9]
8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135 (in AppKit) [0x7fff92ae407d]
8 _DPSNextEvent + 659 (in AppKit) [0x7fff92ae4779]
8 BlockUntilNextEventMatchingListInMode + 62 (in HIToolbox) [0x7fff889e53fa]
8 ReceiveNextEventCommon + 355 (in HIToolbox) [0x7fff889e556d]
8 RunCurrentEventLoopInMode + 277 (in HIToolbox) [0x7fff889de2bf]
8 CFRunLoopRunSpecific + 230 (in CoreFoundation) [0x7fff8b534486]
8 __CFRunLoopRun + 1204 (in CoreFoundation) [0x7fff8b534c74]
8 __CFRunLoopServiceMachPort + 188 (in CoreFoundation) [0x7fff8b52c50c]
8 mach_msg_trap + 10 (in libsystem_kernel.dylib) [0x7fff8831c67a]
4 -[NSApplication run] + 555 (in AppKit) [0x7fff92ae0a0e]
4 -[NSApplication sendEvent:] + 5593 (in AppKit) [0x7fff92b4a3a5]
4 -[NSWindow sendEvent:] + 6306 (in AppKit) [0x7fff92bb0c98]
3 -[NSToolbarItemViewer mouseDown:] + 4995 (in AppKit) [0x7fff92c85627]
3 -[NSToolbarButton sendAction] + 68 (in AppKit) [0x7fff93132f3e]
3 -[NSToolbarButton sendAction:to:] + 82 (in AppKit) [0x7fff93132ef0]
3 -[NSObject performSelector:withObject:] + 61 (in CoreFoundation) [0x7fff8b58f70d]
3 ??? (in Activity Monitor) [0x108c6f541]
3 NSBeginAlertSheet + 155 (in AppKit) [0x7fff92d8e333]
3 _NXDoLocalRunAlertSheet + 548 (in AppKit) [0x7fff92d8e0df]
3 -[NSApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:] + 134 (in AppKit) [0x7fff92d9819e]
3 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:] + 831 (in AppKit) [0x7fff92d97904]
3 -[NSApplication _orderFrontModalWindow:relativeToWindow:] + 662 (in AppKit) [0x7fff92d97e3b]
3 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 807 (in AppKit) [0x7fff92bddcf8]
3 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1679 (in AppKit) [0x7fff92bde470]
3 -[NSWindow(NSSheets) _orderFrontRelativeToWindow:] + 192 (in AppKit) [0x7fff930416e5]
3 -[NSMoveHelper(NSSheets) _moveParent:andOpenSheet:] + 1606 (in AppKit) [0x7fff9303ff48]
3 -[NSMoveHelper _doAnimation] + 1399 (in AppKit) [0x7fff93184178]
3 CFRunLoopRunSpecific + 230 (in CoreFoundation) [0x7fff8b534486]
3 __CFRunLoopRun + 1204 (in CoreFoundation) [0x7fff8b534c74]
3 __CFRunLoopServiceMachPort + 188 (in CoreFoundation) [0x7fff8b52c50c]
3 mach_msg_trap + 10 (in libsystem_kernel.dylib) [0x7fff8831c67a]
1 -[NSControl mouseDown:] + 786 (in AppKit) [0x7fff92be57f6]
1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 489 (in AppKit) [0x7fff92c66b74]
1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1493 (in AppKit) [0x7fff92be69e3]
1 -[NSWindow nextEventMatchingMask:] + 89 (in AppKit) [0x7fff92be6e03]
1 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135 (in AppKit) [0x7fff92ae407d]
1 _DPSNextEvent + 659 (in AppKit) [0x7fff92ae4779]
1 BlockUntilNextEventMatchingListInMode + 62 (in HIToolbox) [0x7fff889e53fa]
1 ReceiveNextEventCommon + 355 (in HIToolbox) [0x7fff889e556d]
1 RunCurrentEventLoopInMode + 277 (in HIToolbox) [0x7fff889de2bf]
1 CFRunLoopRunSpecific + 230 (in CoreFoundation) [0x7fff8b534486]
1 __CFRunLoopRun + 1204 (in CoreFoundation) [0x7fff8b534c74]
1 __CFRunLoopServiceMachPort + 188 (in CoreFoundation) [0x7fff8b52c50c]
1 mach_msg_trap + 10 (in libsystem_kernel.dylib) [0x7fff8831c67a]
Kernel stack:
12 ipc_mqueue_receive_continue + 0 (in mach_kernel) [0xffffff8000215930]
Thread 0x65f
DispatchQueue 2
User stack:
12 _dispatch_mgr_thread + 54 (in libdispatch.dylib) [0x7fff8df09316]
12 kevent + 10 (in libsystem_kernel.dylib) [0x7fff8831e7e6]
Kernel stack:
12 kqueue_scan + 416 (in mach_kernel) [0xffffff800053b4d0]
Thread 0x3eb4
User stack:
12 start_wqthread + 13 (in libsystem_c.dylib) [0x7fff87656b85]
12 __workq_kernreturn + 10 (in libsystem_kernel.dylib) [0x7fff8831e192]
Kernel stack:
12 workqueue_mark_exiting + 1408 (in mach_kernel) [0xffffff80005a50b0]
Thread 0x3ec2
User stack:
9 start_wqthread + 13 (in libsystem_c.dylib) [0x7fff87656b85]
9 __workq_kernreturn + 10 (in libsystem_kernel.dylib) [0x7fff8831e192]
Kernel stack:
9 workqueue_mark_exiting + 1408 (in mach_kernel) [0xffffff80005a50b0]
Thread 0x3ec3
User stack:
9 start_wqthread + 13 (in libsystem_c.dylib) [0x7fff87656b85]
9 __workq_kernreturn + 10 (in libsystem_kernel.dylib) [0x7fff8831e192]
Kernel stack:
9 workqueue_mark_exiting + 1408 (in mach_kernel) [0xffffff80005a50b0]
Thread 0x3ec4
User stack:
9 thread_start + 13 (in libsystem_c.dylib) [0x7fff87656b75]
9 _pthread_start + 335 (in libsystem_c.dylib) [0x7fff876538bf]
9 __NSThread__main__ + 1575 (in Foundation) [0x7fff87faa6a2]
9 -[NSThread main] + 68 (in Foundation) [0x7fff87faa72a]
7 -[NSUIHeartBeat _heartBeatThread:] + 1727 (in AppKit) [0x7fff92d1911b]
7 usleep + 53 (in libsystem_c.dylib) [0x7fff87609bb5]
7 __semwait_signal + 10 (in libsystem_kernel.dylib) [0x7fff8831de42]
2 -[NSUIHeartBeat _heartBeatThread:] + 741 (in AppKit) [0x7fff92d18d41]
2 -[NSWindow(NSWindow_Theme) heartBeat:] + 291 (in AppKit) [0x7fff93184ec7]
2 -[NSButtonCell(NSDefaultButtonIndicatorPrivate) heartBeat:] + 1859 (in AppKit) [0x7fff92df4afb]
2 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 2373 (in AppKit) [0x7fff92cb172c]
2 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 2373 (in AppKit) [0x7fff92cb172c]
1 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435 (in AppKit) [0x7fff92cb1382]
1 -[NSControl drawRect:] + 398 (in AppKit) [0x7fff92b64703]
1 -[NSButtonCell drawWithFrame:inView:] + 488 (in AppKit) [0x7fff92b9e9cf]
1 -[NSButtonCell drawBezelWithFrame:inView:] + 363 (in AppKit) [0x7fff92bd66bf]
1 CUIDraw + 225 (in CoreUI) [0x7fff8ed2c904]
1 CGRectIsEmpty + 0 (in CoreGraphics) [0x7fff8cedb75f]
1 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1066 (in AppKit) [0x7fff92cb1211]
1 -[NSFocusStack focusView:inWindow:] + 295 (in AppKit) [0x7fff92b2ca57]
1 objc_addExceptionHandler + 471 (in libobjc.A.dylib) [0x7fff8fac6419]
1 read_address + 323 (in libobjc.A.dylib) [0x7fff8fac68e1]
Kernel stack:
7 semaphore_wait_continue + 0 (in mach_kernel) [0xffffff8000234650]
2 hndl_allintrs + 290 (in mach_kernel) [0xffffff80002da712]
2 interrupt + 192 (in mach_kernel) [0xffffff80002c48d0]
2 lapic_interrupt + 121 (in mach_kernel) [0xffffff80002c9ab9]
2 cpu_signal_handler + 172 (in mach_kernel) [0xffffff80002cb9ac]
2 sync_iss_to_iks + 118 (in mach_kernel) [0xffffff80002c3c76]
Binary Images:
0x108c58000 -
0x108c85fff com.apple.ActivityMonitor 10.7.4 (718) <8E691413-5892-3BE8-97D6-B62D873C903E> /Applications/Utilities/Activity Monitor.app/Contents/MacOS/Activity Monitor
0x7fff87605000 -
0x7fff876e2fef libsystem_c.dylib ??? (???) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
0x7fff87f50000 -
0x7fff88269fff com.apple.Foundation 6.7.2 (833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff88307000 -
0x7fff88327fff libsystem_kernel.dylib ??? (???) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib
0x7fff889dc000 -
0x7fff88d08fff com.apple.HIToolbox 1.9 (???) <CCB32DEA-D0CA-35D1-8019-E599C8007AB6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff8b4fc000 -
0x7fff8b6d0ff7 com.apple.CoreFoundation 6.7.2 (635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8ce4d000 -
0x7fff8d7eba27 com.apple.CoreGraphics 1.600.0 (???) <576777EA-921B-3D94-98C3-40A9CF8EBD18> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff8df07000 -
0x7fff8df15fff libdispatch.dylib ??? (???) <8E03C652-922A-3399-93DE-9EA0CBFA0039> /usr/lib/system/libdispatch.dylib
0x7fff8ed00000 -
0x7fff8ed68ff7 com.apple.coreui 1.2.2 (165.11) <9316266A-39CA-3EC7-9C9E-726462CEFF4D> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff8fab5000 -
0x7fff8fb99e5f libobjc.A.dylib ??? (???) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
0x7fff92adc000 -
0x7fff936e2fff com.apple.AppKit 6.7.5 (1138.51) <44417D02-6123-3FC3-A119-CE51BB4C3006> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Process:
activitymonitord [215]
Path:
/usr/libexec/activitymonitord
Architecture:
x86_64
UID:
0
Thread 0x665
DispatchQueue 1
User stack:
12 ??? (in activitymonitord) [0x1090d4ccc]
12 ??? (in activitymonitord) [0x1090d649b]
12 kevent + 10 (in libsystem_kernel.dylib) [0x7fff8831e7e6]
Kernel stack:
12 kqueue_scan + 416 (in mach_kernel) [0xffffff800053b4d0]
Binary Images:
0x1090d4000 -
0x1090dcff7 activitymonitord ??? (???) <512E7906-3DBC-3F2B-932B-12AC84F03BDA> /usr/libexec/activitymonitord
0x7fff88307000 -
0x7fff88327fff libsystem_kernel.dylib ??? (???) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib
Process:
AppleSpell [189]
Path:
/System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell
Architecture:
x86_64
UID:
501
Thread 0x4d3
DispatchQueue 1
User stack:
12 ??? (in AppleSpell) [0x1043e7a7c]
12 ??? (in AppleSpell) [0x1043e7d2e]
12 -[NSSpellServer run] + 74 (in Foundation) [0x7fff880acc76]
12 CFRunLoopRun + 95 (in CoreFoundation) [0x7fff8b54419f]
12 CFRunLoopRunSpecific + 230 (in CoreFoundation) [0x7fff8b534486]
12 __CFRunLoopRun + 1204 (in CoreFoundation) [0x7fff8b534c74]
12 __CFRunLoopServiceMachPort + 188 (in CoreFoundation) [0x7fff8b52c50c] -
Double stack BI and Enterprise portal for SSO
I am in the process of configuring a double stack BI and SAP Enterprise Portal. Both systems are residing on different domains. We want to utilize the standalone SAP Enterprise Portal for our BEx etc. For that I have exchanged certificates between the ABAP and the SAP Enterprise Portal systems and with the help of Support desk tool I have overcome the certificate issues. The RFC connection from ABAP and SAP Enterprise Portal works fine. The Support desk tool is complaining now about the prefix of these two servers. Also when I check the connection testing between these two systems all the messages are correct except for WEBAS connection it complains about the ping service which is already active on ABAP side. For Connectors it complains about SSO which is not detected/complained by the Support desk tool (0.426). I need your advice:
1. Either uninstall the JAVA instance of BI or
2. Make a Federated Portal network by making the BI JAVA as PRODUCER and the SAP standalone as CONSUMER.
The Support package levels are the same as EHP1 SP 7 of both the double stack BI and the standalone Enterprise Portal systems. The source of users are both local to the systems.answered
-
How do i select a whole heap of bands and change there genre in one shot .
how do i select a whole heap of bands and change there genre in one shot like old itunes, before i was able to hold ctrl and select all the bands, now i have to do it individually or go to songs and select them individually.
ctrl or shift doesnt do anything anymore.
thaks for your help.Use the Songs or List views.
tt2 -
My iPod 4th gen has been broken for at least 2 years, the screen is broken so it won't sense me touching it but it still turns on, I have heaps of photos and vidios I would like to look at but my laptop that it was synced to is broke, I also have a pass code on my ipod. Is there anything I can do!
Photos
- If they are in an iPod backup then restore another iPod, iPhne or iPad from that backup. See the restore topic of:
iOS: How to back up
- Maybe from the restored iPod via
How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
http://www.amacsoft.com/ipod-data-recovery.html
iPod recovery software to restore lost music files
-iPod touch Deleted Photo Recovery Tips You Should Know
To restore the iPod:
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
You can also contact a Data Recovery Company -
Dear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S EDear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S E -
Best Way to Stack 2d and 3d in a Composite
Hey everyone, it seems I'm really on a 3d binge with Photoshop CS6. It's just a blast! Anyway, I'm looking to figure out the best way to stack 2d and 3d items together in the same document, and maximize the editibility...
I'm working on a digital room setting, and I have part of the room in 3d and part in 2d. So, for example, the walls, ceiling, floor, table, chairs and corner hutch are 3d, but the regular hutch and buffet server are in 2d.
- The table and chairs need to be in the foreground
- The regular hutch and server are behind the table and chairs
- The corner hutch needs to be behind all other pieces of furniture
So, you may be catching on by now to my little dilemna... I want all the 3D items to have the same lighting and reflect off one another, however, I need the 2d layers to somehow fit "inbetween" the 3d objects. The simple question is, how can this be done? Is there a way to mask the foreground 3D objects so that they appear to be in from of the 2D objects? My only current solution is this:
- Move the whole 3D layer (the scene layer) all the way to the back
- Make the final decision on the position of the table and chairs
- Hide all other meshes in the scene besides the table and chairs
- Render, so the edges are clean
- Load the newly rendered 3D layer as a selection (which loads the table and chairs only)
- Either create a new layer from the selection of the rendered 3D layer, or mask the 3D layer so that the table and chairs appear to be in the foreground
I didn't anticipate this post being this long, so I apologize,... but as you can assume, the method above means I can no longer edit/reposition/scale the 3D at all, so if there's a better way to stack these room elements I would be extremely grateful to whoever knows how!
Thanks!
AndyFirst, I was wrong about layers needing to be hidden to prevent their appearance being included in a new Postcard. I misunderstood something that happened when working with a 3D document a while ago.
Materials support transparency/opacity. A material has an opacity control that can use a texture. The material opacity percentage is multiplied by the opacity of the texture.
When a Postcard is created, its default material's opacity control will contain an instance of the texture that's in the diffuse control, which is a PSB file containing the 2D layer (pixels, Shape, Smart Object or Group) from which the Postcard was created.
Here is an example. Two solid Pyramid meshes and a Postcard of a cloud Shape layer:
The Shape layer from which the Postcard was created is in the document that can be opened by picking Edit in the dropdown of the buttons highlighted above: -
PI 7.31 Java only stack (PI and Orchestration package) post installation
Hi,
Recently we installed PI 7.31 server, i searched in sdn but i couldn't get any post installation steps.
Could you please provide PI 7.31 Java only stack (PI and Orchestration package) post installation steps.
Thanks,
Venkata RameshHI Venkata Ramesh,
Ref: UPGRADE TO SAP NETWEAVER PROCESS INTEGRATION 7.3
http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/505374f4-9cbe-2e10-a6b9-c74a22924d26
Regards, -
My Photoshop Elements 12 is downloading two copies of each photo and there is no Automatically Stack RAW and JPEG Option in the Download Box.
Anwesha,
Yes.
I have clicked on it, selected “Stack” and all is now fine, with both versions of the photo readable by “unstacking”, using the side arrows !!
Thanks for that.
Regards,
Wayne -
Combination stacked bar and line chart
Post Author: jl07
CA Forum: WebIntelligence Reporting
Is there a way to create a combination stacked bar and line chart in Web Intelligence XI R2 reports?
This can be done in Excel and I'm thinking that it should be possible in WebI reports too.
ThanksPost Author: jsanzone
CA Forum: WebIntelligence Reporting
JL07:
This capability is not currently available in WebI (though it is available in Crystal). Last fall I submitted this as an enhancement request. It is being tracked under the following enhancement request: ADAPT00676609 u2013 for the stacked bar chart, line graph issue. -
Stacked Canvas and No. of records display on the block?
Any coding to re-size the "Stacked" canvas and no.of records displays on the block?
Please advice,
Amyu can set the view port and Width and height of the Stack canvas at runtime but not No of Records display....
set_view_property .....VIEW_SIZE or Width / Height
for canvas size use SET_CANVAS_PROPERTY
Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
How to create stacked bar and standard bar on same graph
Can OBIEE can both Stacked and Standard bar graph on the same analysis by using Line-Bar graph type? For example, I have four measure: Target revenue, Revenue, Billed Quantity, and Target Quantity. I would like to create an analysis that includes all these four measure. On the same graph, I would like to use Stacked subtype for Target revenue and Revenue, use standard subtype for Billed quantity and use line for Target quantity. I tried, but could not find any way to put stacked subtype and standard subtype on the same graph. Do you know if this feature is available from OBIEE?
I tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
Brand Units Dollars 0 Year_Ago_units 1
Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
Assuming Year_Ago_Dollars be standard in your case.
Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
Let me know if this is of any help!
Thanks.
Edited by: Venkata on Sep 30, 2010 12:11 PM -
BI/Netweaver Support Stack 17 and 18 source system dependencies?
Does anyone know what are the source system dependencies for BI/Netweaver Support Stack 17 and 18? I have looked everywhere online and I cannot find anything. Any help would be much appreciated it. Thanks!
Those dependencies are describe in the stack information in SAP Marketplace
Regards
Juan -
IE Stacking Issue and Video Playback
This page works great in every browser except IE. It's giving me a weird stacking problem and the video isn't even appearing on the page (although the audio is working). Any suggestions as to why this is happening? Thanks.
I don't know much about .asp but it shouldn't make much difference - in the generated output file, the doctype should be the first line to prevent IE going in quirks mode. Maybe someone with more .asp knowledge will be able to give better advice. I found this: http://www.webmasterworld.com/forum21/11568.htm
Your video seems to have contradicting styles applied to it. I would suggest combining into one style. I tried turning off the latter position:absolute and it didn't seem to affect anything - in fact I removed that whole style and nothing 'seemed' to have changed but do some testing yourself and see what happens. I would also add a z-index so it sits above everything else on the page.
.video-js {
background-color: #000000; font-size: 10px;
padding: 0;
position: relative;
vertical-align: middle;
z-index: 999;
.video-js .vjs-tech {
height: 100%; left: 0;
position: absolute;
top: 0;
width: 100%; -
One method i realize is to have two waveform controls, one visible and one not visible. The real issue here is, how to dynamically control the number of plots in a stacked plot. My case,
i will have between 2 and 8 channels. I have found that in the properties if i set the number of plots - Legend--Plots shown . I can control the number of stack plots, however, i must toggle from overlay to stack plots in design mode for the correct number of stack plots to be shown. Does anyone know a way around this problem or know of the property that has alluded me?Hi,
You cant select between Stack plot and Overlay programmatically. Well not in LaBVIEW 5.1.1.
You could have two Charts, one set up for Overlay and the other setup for Stacked. Then hide the one you are not immediately using.
Ray.
Regards
Ray Farmer
Maybe you are looking for
-
Specify folders to backup on external drive
I have 3 hdd: s. My internal, one 750gb external drive and a 1TB backup-disk. I'd like to backup my complete internal drive, but also backup specified folders on my 750GB-disk (like /pictures/, /movies/ ...). The only way I can think about is to excl
-
BPM Process triggered externally
I have created a BPM process and I am able to test it from NWA -> Process repository. But When I am testing from WS Navigator then I am getting an error like-> Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Ser
-
Explorer Search Case Sensitive?
The search functionality in Explorer is case sensitive. Is there a way to make the search functionality be case insensitive?
-
TS2446 How do i reset And change my security questions?
My last ipod was sole so i bought a new one changed my passwaor and stuff and its been so long that i forgot my security questions answrs i have look just about every were and cant find anywere to reset or change it and i have a 25$$ card on my accou
-
After updating to Maverick on my MacPro it no longer sees both CD drives Help
After updating to Maverick on my MacPro it no longer sees both CD drives Can anyone help? When I hit the eject key only the bottom drive ejects........ Thanks [email protected]