Note that there are some explanatory texts on larger screens.

plurals
  1. POWhere can I learn more about WebCoreSharedBufferData?
    primarykey
    data
    text
    <p>I've got an app that was working perfectly on iOS 6, but on iOS 7, if there is a very specific action taken by the user (too complex to get into but it uses a <code>UIWebView</code> and it's consistent), the app crashes with the error:</p> <pre><code>*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[WebCoreSharedBufferData getBytes:range:]: range {0, 8} exceeds data length 0' </code></pre> <p>Now I'm more than happy to do some research and experimentation myself, but I just can't find <code>WebCoreSharedBufferData</code>. Google searches reveal several people (like <a href="https://stackoverflow.com/questions/19133178/ios-7-uiwebview-crashes-because-of-range-exception">here</a> and <a href="http://www.mapdotnet.com/index.php/developers-center/discussions/if-we-upgrade-the-ipad-application-to-the-new-ios-7-then-crashing" rel="nofollow noreferrer">here</a> and <a href="https://devforums.apple.com/message/900197#900197" rel="nofollow noreferrer">here</a> and <a href="https://stackoverflow.com/questions/19114191/application-crash-nsrangeexception">here</a>) who are having similar problems, but their questions either haven't been answered or they're using their apps in ways (like zooming on a map or using 3rd party code) that I'm not doing.</p> <p>Xcode documentation has never heard of <code>WebCoreSharedBufferData</code>, and a search of my project reveals no references to it. Google searches have left me unenlightened as well, mostly just questions and GitHub projects with 3rd party code I'm not using. I'm assuming it's something deep in Apple's <code>UIWebView</code> functionality, but without being able to learn more about it I'm having a hard time proceeding.</p> <p><strong>So my question is:</strong> does anyone know where I can find information/tutorials/descriptions etc of <code>WebCoreSharedBufferData</code>? I feel like if I understood it a little better I'd be able to find the solution, it's just hard to debug in the dark...</p> <p>Or alternatively, does anyone just straight-up know what changed with <code>WebCoreSharedBufferData</code> in iOS 7 that might be creating an error like this?</p> <p><strong>EDIT:</strong> A clue provided by kcbanner (who has experienced a similar issue) in the comments below: both of our problems involve pages with canvases and <code>onclick</code> events with those canvases. Maybe something has changed with canvas click handling in iOS 7?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    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