Discussion Forums  >  Crashes, Memory Warnings

Replies: 2    Views: 174

Fais
I hate code!
Profile
Posts: 38
Reg: Jan 19, 2013
Bristol
2,030
04/13/13 01:06 PM (11 years ago)

Javascript issue causing crash?

Hi guys, I was wondering if some help me with the following error I have running in my app. It looks like a javascript issue but have no javascript files in my app :-S I am running BT 2.0 and its on iOS. The general structure of my app is: 1 menu with image linked to 3 menu buttons linked to 68 simple menus linked to 99 HTML doc (simple html files no javascript) Also includes: 1 splash screen 1 notepad feature 1 app rater 1 timer The error I am getting in buzztouch is: 2013-04-13 19:35:27.877 csaapp[1615:907] BT_screen_htmlDoc: hideProgress 1 0x37b1e6e7 <redacted> 2 0x37afecff JSC::JSObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 3 0x37afb613 JSC::JSGlobalObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 1 0x37b1e6e7 <redacted> 4 0x39bbd89d <redacted> 5 0x39bbd80f <redacted> 6 0x37b1e471 <redacted> 7 0x37b1df81 <redacted> 8 0x37b1de81 <redacted> 9 0x37b9cfab <redacted> 10 0x3bcd9311 <redacted> 2 0x37afecff JSC::JSObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 11 0x3bcd91d8 thread_start 3 0x37afb613 JSC::JSGlobalObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 4 0x39bbd89d <redacted> 5 0x39bbd80f <redacted> Any advice where I can the javascript file causing the error? Many thanks in advice!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/14/13 12:19 AM (11 years ago)
Very strange! Hard to tell what's going on from what you posted above. Is this an easily reproducible crash, or more random in nature? Can you post output from the Debug console right before and at the time of the crash? That should help us figure out what's going on. I don't think it has anything to do with Javascript...looks more like JSON or something. Mark
 
Fais
I hate code!
Profile
Posts: 38
Reg: Jan 19, 2013
Bristol
2,030
like
04/14/13 04:12 AM (11 years ago)
Hi Mark- thanks for the reply. Yep its reproducible; going through about 92 Htmldoc screens then it seems to crash. First the html doc doesn't load, then the menu list disappears, then menu buttons don't work and then finally the whole app freezes. The debug shows: 2013-04-13 19:35:27.776 csaapp[1615:907] BT_screen_htmlDoc: url scheme: file 2013-04-13 19:35:27.777 csaapp[1615:907] BT_screen_htmlDoc: webViewDidStartLoad 2013-04-13 19:35:27.779 csaapp[1615:907] BT_screen_htmlDoc: showProgress 2013-04-13 19:35:27.780 csaapp[1615:907] BT_viewUtilities: getProgressView 2013-04-13 19:35:27.875 csaapp[1615:907] BT_screen_htmlDoc: webViewDidFinishLoad 2013-04-13 19:35:27.877 csaapp[1615:907] BT_screen_htmlDoc: hideProgress 1 0x37b1e6e7 <redacted> 2 0x37afecff JSC::JSObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 3 0x37afb613 JSC::JSGlobalObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 1 0x37b1e6e7 <redacted> 4 0x39bbd89d <redacted> 5 0x39bbd80f <redacted> 6 0x37b1e471 <redacted> 7 0x37b1df81 <redacted> 8 0x37b1de81 <redacted> 9 0x37b9cfab <redacted> 10 0x3bcd9311 <redacted> 2 0x37afecff JSC::JSObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 11 0x3bcd91d8 thread_start 3 0x37afb613 JSC::JSGlobalObject::visitChildren(JSC::JSCell*, JSC::SlotVisitor&) 4 0x39bbd89d <redacted> 5 0x39bbd80f <redacted> (lldb) I have validated the JSON and there were no problems there. Thanks again for any advice. Fais
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.