I was made a simple App that accept on edit text and in edittext_enterpressed write a db and show a table designed with scrollwiev.
This code is ok in android 4.1.2, but in 4.4.2
is crashed without write anything on filtered log. Without filter i extract the position of log where the crash is done:
DCD OFF
Window spent 25225.9ms processing the last input event:
Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 1685 (iscoapp.rilinve)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/matisseltexx/matisselte:4.4.2/KOT49H/T535XXU1ANK1:user/release-keys'
Revision: '3'
pid: 1685, tid: 1685, name: iscoapp.rilinve >>> it.multidatanet.siscoapp.rilinve <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000c
r0 00000000 r1 bef38a80 r2 bef390f3 r3 00000040
....
If comment DoEvent there isn't problems for every version. Why?
B4X:
sub ET_EnterPressed
if ET.Text = "" then
return
end if
WriteDB
ShowList
end sub 'Crash in this point
sub ShowList
Dim PH As Int : PH = 5%Y
ScrollView1.Panel.RemoveAllViews
strquery = ("SELECT ..."'")
dbCursor = Main.dbSql.ExecQuery(strquery)
For i = 0 To dbCursor.RowCount - 1
DoEvents
dbCursor.position = i
panel1.Initialize("PRow")
ScrollView1.Panel.AddView(ps, 0, i * PH, 100%x, PH)
panel1.LoadLayout("LayRow")
....
Next
ScrollView1.Panel.Height = dbCursor.RowCount * PH
dbCursor.Close
end sub
is crashed without write anything on filtered log. Without filter i extract the position of log where the crash is done:
DCD OFF
Window spent 25225.9ms processing the last input event:
Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 1685 (iscoapp.rilinve)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/matisseltexx/matisselte:4.4.2/KOT49H/T535XXU1ANK1:user/release-keys'
Revision: '3'
pid: 1685, tid: 1685, name: iscoapp.rilinve >>> it.multidatanet.siscoapp.rilinve <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000c
r0 00000000 r1 bef38a80 r2 bef390f3 r3 00000040
....
If comment DoEvent there isn't problems for every version. Why?
Last edited: