Closed mawis closed 4 years ago
I checked the code and saw that this has to do with the handling of the status message. So I guess this might be important information:
I set my status message to just one emoticon (smilie) which is outside the basic multilingual plane of Unicode. I don't remember which exact emoticon I was using and I also don't remember whether I used a skin tone modifier nor not.
I guess the function com.zoffcc.applications.trifa.MainActivity.tox_self_get_status_message_size
counts the length of the status message in a different way then substring()
does.
@mawis good catch. one is length in bytes and the other length in unicode characters.
Thanks for fixing it. :)
@mawis i am not sure when there will be a next release. need to fix a few more things. if you are able to help out, that would be super?
Your system information:
TRIfA Version: 1.0.26
App from: F-Droid
Android OS Version: 9 PKQ1.190118.001 MIUI Global 11.0.3 Stable 11.0.3.0(PDEMIXM)
Device: XiaoMi Mi MIX 2 (chiron)
Please describe your issue in as much detail as possible:
TRIfA crashes after starting the app, entering the Password and pressing the Unlock button. I get the contact list for a very short time, then the orange screen “TRIfA crashed press to restart TRIfA send Crashreport after restart on the 'About Page'“ appears.
Steps for reproducing this issue:
Not sure if this is a reproducable issue, but I try to summarize what I did:
I cannot send the crash report from the about page, because the crash always happens before I'm able to open any page. What I could do is capture the Android log using adb. The log starts after entering the password but before pressing the UNLOCK button.
I think the relevant part of this log is this:
Screenshots (if possible):
Launching TRIfA:
TRIfA password prompt:
Entering password:
Screen gets blank for a very short time:
I see the contact list for a very short time (it took me a lot of tries to actually get a screenshot of it):
Crash screen is shown:
(I cannot send this crash report, as I cannot start the app.)
Orbot is running: