Android Question Crash error text file ?

saunwin

Active Member
Licensed User
Longtime User
Hello all,

I have a crash.
Fatal signal 7 (SIGBUS), code 1, fault addr 0x27 in tid 7267 (Rgames.Buzzwire)

I'm 99% sure the following routine is to blame.

B4X:
Sub addto_emaildata
    answ = Msgbox2("We may from time to time email you about other products, services and activities (seminars, competitions, promotions, etc). Is this OK ?", "Email Permissions", "Yes", "", "No", Null)
        If answ = DialogResponse.POSITIVE Then 'if yes, save email
            List1.Add(firstnamecorp.Text & " " & lastnamecorp.Text & " - " & emailcorp.Text)
            File.WriteList(File.DirRootExternal, "SLREmailsList.txt", List1)
        Else 'don't save email address Default is NO
            List1.Add(firstnamecorp.Text & " " & lastnamecorp.Text & " - " & "Email Withheld")
            File.WriteList(File.DirRootExternal, "SLREmailsList.txt", List1)
        End If
        Log ("Done")
       
End Sub

If I don't call the above (i.e. Update the txt file) the crash doesn't happen.

I might have a clue - The crash doesn't happen on my test tablets, only on the TV stick.
I use a text viewer from the play store to view my text file. The viewer works on the tablets but fails to read the text file on the TV stick. The only way I can read the text file on the TV stick is with ES file explorers txt viewer. Hope that makes sense.

TIA
 
Top