- This topic has 4 replies, 3 voices, and was last updated 12 years, 2 months ago by DavidPhillips.
-
AuthorPosts
-
DavidPhillipsMemberHi, guys-thanks for a great product. My problem is that Mobione stops working with the attached message when I attempt to run in test center. I had an app working fine but after adding a while loop the program crashes when I attempt to run it in test center. I’m fairly sure I may have created an endless loop that is causing an overflow error and subsequent crash but have no way of getting to the custom js source code to fix it. Seem like a ‘catch 22’ situation. Any suggestions appreciated.
Attachments:
You must be logged in to view attached files.
support-octavioMemberHi phillda,
If you’re sure that your problem is with your code, please share with us your design to take a look where is the problem. If you want to keep the data in privacy send it via support at genuitec dot com, use title: “mobione data from phillda”
Also please share with us your .log file (located at <user-home>/.mobione/runtime/.metadata/.log) and the details about your hardware such RAM, proccesor, …
Other information that we’ll need is what version of mobione and windows you’re using.
DavidPhillipsMemberThanks for your fast response Octavio, I have emailed the .log file and a copy of the .mobi file that caused the Test Centre crash. I sent these to support at genuitec dot com using the title suggested. Please let me know if you don’t receive it, thanks a again for your support.
support-michaelKeymaster@phillda
We investigated and as you hinted the root of the problem is an infinite loop that creates a zillion timers. Running this same code in some desktop browsers would absolutely kill it; it crashes a Chrome browser instance. We have an internal plan to reimplement the emulator to isolate the browser functionality in a separate process to avoid such vulnerabilities.
The short term fix is to revise your while-loop in the document-ready callback function to avoid running forever.
DavidPhillipsMemberThanks very much Octavio and Wayne, I have removed the offending code and have my timer working now-I didn’t realise that I could edit the file directly in the www folder. I am on a steep learning curve but thoroughly enjoying the product, regards Dave.
-
AuthorPosts