<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Great news! AgentCubes, our tool for the teaching and learning of<br>computer science built with CCL, has been approved for sale on the Mac<br>app store.<br><br>Sadly, an important point of integration between our App and the store<br>is troubled. We're attempting to integrate with the StoreKit framework<br>to set up an in-app purchase, and we're experiencing some very strange<br>crashes.<br><br>In the StoreKit framework, there is an objc object called<br>SKProductsRequest which is an asynchronous mechanism for getting Mac<br>app store product information. We have to use this object to set up<br>and perform in-app purchases. (get money)<br><br>We are able to alloc, init, and make use of this object seemingly<br>without problems. However, some time later (between 5 and 60 seconds)<br>the app becomes very unstable and will crash seemingly randomly. The<br>crashes are all related to either heavily threaded portions of the app<br>or mouse events.<br><br>We have spent a few days investigating these crashes, but they remain<br>scrutable to us, and we need your help.<br><br>We have built a test application which exhibits the crash. Could you<br>experience the crash for yourself, and potentially help us figure out<br>what's going on? <br><br>It's easy to reproduce:<br>1) Unzip and start the app (it will only run on Lion and Mountain Lion)</div><div>- Download from: <a href="http://agentsheets.com/temp/AgentCubes.zip">http://agentsheets.com/temp/AgentCubes.zip</a><br>2) Enter the credentials for the app store:<br>- <span style="color: rgb(69, 83, 94); font-family: 'Lucida Grande', Geneva, Verdana, Arial; font-size: 12px; background-color: rgb(255, 255, 255); "><a href="mailto:CCLSandboxTest@gmail.com">CCLSandboxTest@gmail.com</a></span><br>- <span style="color: rgb(69, 83, 94); font-family: 'Lucida Grande', Geneva, Verdana, Arial; ">CCLs4ndbox</span><br>3) When the app starts, you will see a simple scrolling view<br>4) hover over the scrolling view, and scroll your scroll wheel<br>- After a while (5 to 60 seconds of scrolling) the app will hang<br>5) Look in the OSX console<br>- Often times there are stack traces printed, when the app crashes in<br>a mouse event handler or other threaded error handler<br>- Sometimes nothing is printed in the console.<br><br>Thanks again for all your help. We're really looking forward to being<br>able to leverage the Mac app store to spread our tool. CCL has been an<br>absolutely great and expressive environment for us to build AgentCubes<br>in.</div><div><br></div><div><br></div><div><br></div></body></html>