Video drawing error

Description
2020-08-14 22:32:58.031125+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextSetFillColorWithColor: invalid context 0x0. Backtrace:
<NSColorSetWithFillAndStroke+148>
<GetMethod+6621>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> 3
2020-08-14 22:32:58.032616+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextSetStrokeColorWithColor: invalid context 0x0. Backtrace:
<NSColorSetWithFillAndStroke+165>
<GetMethod+6621>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> 3
2020-08-14 22:32:58.033876+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextGetCompositeOperation: invalid context 0x0. Backtrace:
<CGContextGetCompositeOperation+43>
<NSRectFillUsingOperation+167>
<GetMethod+6688>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> 3
2020-08-14 22:32:58.035259+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextSetCompositeOperation: invalid context 0x0. Backtrace:
<NSRectFillUsingOperation+283>
<GetMethod+6688>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> 3
2020-08-14 22:32:58.036554+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextFillRects: invalid context 0x0. Backtrace:
<CGContextFillRect+105>
<NSRectFillUsingOperation+311>
<GetMethod+6688>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> 3
2020-08-14 22:32:58.037886+0500 GYMPOC[5938:179304] [MPS.GYMPOC] CGContextSetCompositeOperation: invalid context 0x0. Backtrace:
<NSRectFillUsingOperation+326>
<GetMethod+6688>
<-[_NSOpenGLViewBackingLayer display]+836>
<_ZN2CA5Layer17display_if_neededEPNS_11TransactionE+757>
<_ZN2CA7Context18commit_transactionEPNS_11TransactionEd+334>
<_ZN2CA11Transaction6commitEv+644>
<__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke+266>
<___NSRunLoopObserverCreateWithHandler_block_invoke+41>
<CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION+23>
<__CFRunLoopDoObservers+457>
<__CFRunLoopRun+874>
<CFRunLoopRunSpecific+462>
<RunCurrentEventLoopInMode+292>
<ReceiveNextEventCommon+584>
<_BlockUntilNextEventMatchingListInModeWithFilter+64>
<_DPSNextEvent+883>
<-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]+1352>
<-[NSApplication run]+658>
<NSApplicationMain+777>
<main+13>
<start+1> .

Which version?
latest

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Device Spec: [e.g. PC, Mac]
  • OS: [e.g. Windows 10, MacOS]
  • Version [e.g. 10.15.1]

Additional context
Add any other context about the problem here.

Hi @arsalan,

Thanks for the post. What is the SDK version you are using? Could you provide the SDK log for further investigation?

Thanks!

Hi @Carson_Chen, how to get the SDK logs, secondly using Version: 5.0.1 (24433.0616)

Hi @arsalan,

It seems like you are using Mac OS SDK. Here are the steps to enable and to retrieve the logs:

ii. Before initializing the SDK , call the following interface to enable log feature

ZoomSDK* sdk = [ZoomSDK sharedSDK];
[[ZoomSDK sharedSDK] enableDefaultLog:YES fileSize:5];
[sdk initSDK:useCustomizedUI];

ii. Build and run your SDK app, after experiencing the issue, then exit the app normally.
iii. You will find the log file in: ~/Library/Logs/appName

Thanks!