-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newest release causes Trebuchet to crash on devices running the Replicant ROM #963
Comments
Since I don't have compatible device for Replicant ROM, could you please send me full logcat message to my e-mail address? (Not here because it may contain sensitive information) |
The same on my CyanogenMod version 11.0-installer XNPQ32P. Unfortunately logcat message not available. |
@nscomputing @herbsmn So both of you are using Trebuchet? |
Yes, I am using it. To resolve issue I Then uninstalled Twidere. |
@nscomputing I can't reproduce on stock AOSP w/ Trebuchet or Nova launcher. Do you mind sending a full logcat to me for investigating? |
@mariotaku just sent a full logcat o your email. please let me know if i did it right. this is my first experience with logcat. |
CyanogenMod version 12 (cm-12-20150625-SNAPSHOT-YNG4NAO09M-e980) |
@tavoton i waited 20 minutes with Replicant and the device finally booted and was able to do some backups. it might be the same for you since Replicant is based on CyanogenMod/LineageOS |
@herbsmn Thanks. I'll find out why ASAP. |
@herbsmn I waited more than half an hour, only a few reboots achieved to show a warning with trebuchet crash, but it was impossible to interact with device, in a few seconds next reboot happened again. |
@tavoton Exactly the same in my case. @mariotaku Unfortunately, after I recovered my system only new logs are available. |
@nscomputing I tried to wipe from TWRP, but version 2.6.1 can't access encrypted partition, so I coudn't do anything. Then I tried to update TWRP to version 3.1.1, but this only finished killing device. |
@tavoton My installation is using the ClockworkMod Recovery. I was able to use it in combination with alternative launcher to wipe caches 2 times. After my first recovery I tried to update Twidere again and this triggered all described problems. |
@nscomputing @tavoton, same here. Reproduced the error by reinstalling CM 12.1 two times using TWRP 3.1. After first time I wasn't quite sure what triggered the problem until I installed the newest twidere version. Second time first thing I did was install twidere newest version, which indeed triggered the described behavior. Device got out of the boot loop once only to get stuck in Trebuchet crash loop. |
Thanks for the info everyone. Could you provide more details like Android version and device model? |
LG Optimus G Pro (model number E986) |
Galaxy S3 (i9300) and Galaxy Note 2 (N7100). |
Samsung Galaxy J5 (SM-J500F) |
Google Nexus 5 (hammerhead) |
@mariotaku you finding anything? |
Samsung Galaxy Note 2 ( GT-N7100) |
Samsung Galaxy S3 (GT-I9300) Using a newly flashed ROM I managed to replicate the crash/ bootloop with both Play Store and F-Droid versions (3.6.29). I only managed to stop the bootloop by removing Twidere from data/app and data/data, then wipe dalvik/cache (not sure if this step is necessary) and reboot. This problem does not occur in LineageOS 14.1. My CM13 installation also had similar bootloop problem when installing the lastest Nova Launcher update (5.4.1). And yes it is not present in LOS 14.1. |
@NoblePink I installed cm-13.0-20161221-SNAPSHOT-ZNH5YAO3Y6-shamu on Nexus 6 but still not able to reproduce. Do you have theme/gapps installed? Could you provide logcat since boot for investigation? |
I didn't have gapps or a theme installed. Please let me know if you'd like me to provide more logs. |
@mariotaku The problem occurs with and without gapps from what I tested (I used open_gapps-arm-6.0-pico-20170907), no custom theme applied. I'll try to find some time to reflash my device to provide a more reliable log since I just reconfigured it fully with themes and custom kernel. Also I'm not familiar with logcat so can you tell me when's the time to save the logs? From boot you mean before installing Twidere right? (Since I can't interact with device at all during the bootloops) |
@NoblePink any chance you could use adb logcat? https://forum.xda-developers.com/showthread.php?t=1726238 I was able to use 'adb logcat -v long > name of problem.txt' during the bootloops. I just kept restarting it after it shut down. One of the loops finally resulted in a boot. |
Phone: Huawei G760 L01 I have had the same problem, solved it by booting into recovery and deleting the app, by issuing
then wiping Dalvik cache, rebooting and it was (finally) fixed. Beginning of the log, contact me if you need more:
|
@mariotaku any news on this? |
@herbsmn I still can't reproduce. does new version works? |
I think it's related to a common dependency that these three projects have, I'm guessing that the newest build tools could cause a problem. |
Just find out the related bug report: https://issuetracker.google.com/issues/64434571 Workaround:
Explanation:
|
Is there a download with this fix available for testing? v3.7.1 still crashes my devices with CM13 or LOS13. |
@rogers1106 3.7.1 switched back to aapt. I'll make sure it switched successfully. However if this still not working, there'll be nothing we can do at this moment. |
@rogers1106 Actually that can be explained, I think that Total Commander tries to read the app's manifest with the android built-in functions which, as explained earlier, raises an error. @mariotaku Unfortunately, it's isn't working on my side too. |
@mariotaku Nova Launcher had the same problem. It's fixed in the latest beta but I do not know what was done. |
@mariotaku With 3.7.1 the problem is fixed for me (Google Nexus 10, LineageOS 13.0-20171014-nightly-manta) |
Today I installed 3.7.1 without problems. Maybe LineageOS changed something for 13.0. However, thanks for your time. |
I upgraded from CM 12.1 to Lineage OS 14.1 and installed the latest version 3.5.1 of Twidere from fdroid repos. Works like a charm. |
…gName() This ensures that there is no dangling pointer when the asset is closed. Without this fix, a device ends up in a boot loop when an app is installed that was created using aapt2. Reference: TwidereProject/Twidere-Android#963 (comment) Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> https://git.replicant.us/replicant/frameworks_base/commit/?id=953d2a3493aaceb3209afc7eef1ff1e7f7242908
…gName() This ensures that there is no dangling pointer when the asset is closed. Without this fix, a device ends up in a boot loop when an app is installed that was created using aapt2. Reference: TwidereProject/Twidere-Android#963 (comment) Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> https://git.replicant.us/replicant/frameworks_base/commit/?id=953d2a3493aaceb3209afc7eef1ff1e7f7242908
Thanks for the many links in this thread. I had the same problem, and found both supposed fixes, and found that one does not just work but is also easily applied by a one-byte(!) binary patch to the ROM: https://forum.xda-developers.com/showpost.php?p=75958727&postcount=184 |
Close due to long time inactivity. |
Expected behavior
Trebuchet doesn't crash and cause very long boot times.
Actual behavior
Trebuchet crashes, causes insanely long boot times, and causes decreased functionality until Twidere's current version is uninstalled or rolled back one release.
Steps to reproduce
Update or install to Twidere's current version in F-Droid
Android version: Replicant 6.0.1 0001 and 0002 https://replicant.us
Build variant: F-Droid
Micro-blogging service: This bug happens immediately upon install of the new Twidere version. You don't even need to open the app.
The text was updated successfully, but these errors were encountered: