Hi Erel¡
I am developing an app that is executing a loop of html files in a webview. These htmls are stored in a sdcard. This files are loaded in the same webview in this manner:
The app runs ok for 1 hour more or less,but then, when loop was repeated a lot of times correctly, this stop and crash with next error:
Can you help me with this problem?
Thank you.
I am developing an app that is executing a loop of html files in a webview. These htmls are stored in a sdcard. This files are loaded in the same webview in this manner:
B4X:
Activity.RemoveAllViews
Activity.LoadLayout("Interstitial.bal")
WebViewInterstitial.LoadUrl("file:///" & File.Combine(File.DirRootExternal, "MuralShopping/Recursos/Proyecto_"&Otros.consultarValorFicheroConfiguracion("idProyecto")&"/Instancias/"&nombreInstancia&"/index.html"))
The app runs ok for 1 hour more or less,but then, when loop was repeated a lot of times correctly, this stop and crash with next error:
B4X:
GC_CONCURRENT freed 388K, 48% free 6659K/12679K, paused 4ms+7ms
nativeDestroy view: 0x23d44e8
Unknown chromium error: -6
request: /checkStatus.json
@@@ ABORTING: HEAP MEMORY CORRUPTION IN dlmalloc
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'iNet/nuclear_evb/nuclear-evb:4.0.4/IMM76D/20130115:eng/test-keys'
pid: 1159, tid: 1159 >>> MuralShopping.Carteleria <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
r0 deadbaad r1 00000001 r2 40000000 r3 00000000
r4 00000000 r5 00000027 r6 400a8d99 r7 0000000d
r8 00000000 r9 400b7498 10 2b908f21 fp 41d4d5e8
ip ffffffff sp be91be08 lr 40089f71 pc 400866d0 cpsr 68000030
d0 400000007149f2ca d1 3f96000000000000
d2 438000000000012c d3 0000000143800000
d4 000000003f800000 d5 000000713ee20000
d6 0000000000000002 d7 3f8000003f800000
d8 41d4d5e83f400000 d9 3fe8000000000000
d10 3f40000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
Can you help me with this problem?
Thank you.