Note that there are some explanatory texts on larger screens.

plurals
  1. POhow do I debug a wait_fences error
    primarykey
    data
    text
    <p>wait_fences: failed to receive reply: 10004003</p> <p>I continue to get this error. It happens when my app starts up. How would I debug this issue. Is there some way I can watch the wait_fences and see what is going on there. Is there some way to see what threads are blocking what ? </p> <p>It feels like this error is nothing but a theading black hole with no tools or info getting into or coming out of the void. </p> <p>Anyone with tips on debugging this error would be greatly appreciated.</p> <p><strong>New</strong></p> <p>I have now changed my threading, All threading calls go through this method set to do all their dispatches</p> <p><strong>NOTE:</strong> Also I wish you guys would not vote to close my question just because you have seen another question about this problem. There is no real information about this error. I need to know what causes this error and/or how to debug it. not the common "add the super calls to your viewDidAppear and the such. If those helped, I would not have asked this question.</p> <pre><code>+ (void) ensureDispatchOfBlock:(dispatch_block_t) block onQueue:(dispatch_queue_t) queue async:(BOOL) async{ if (dispatch_get_current_queue() == queue){ block(); } else { if (async){ dispatch_async(queue, block); } else { dispatch_sync(queue, block); } } } + (void) ensureDispatchOnMainThread:(dispatch_block_t) block async:(BOOL) async{ [self ensureDispatchOfBlock:block onQueue:dispatch_get_main_queue() async:async]; } + (BOOL) addBlock:(dispatch_block_t) block toQueue:(dispatch_queue_t) queue async:(BOOL) async { if (!async &amp;&amp; dispatch_get_current_queue() == queue){ return NO; } if (async){ dispatch_async(queue, block); } else { dispatch_sync(queue, block); } return YES; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload