juanro49 / autu-mandu

Autu Mandu te permite controlar ingresos y gastos de tus vehículos y mostrarlos en bonitos informes.
Apache License 2.0
20 stars 0 forks source link

version 4.0.2 crash #5

Open enboig opened 1 year ago

enboig commented 1 year ago

I updated using fdroid, and now it crash after start.

I tried downgrading but it fails.

juanro49 commented 1 year ago

What is your android version?

can you put the log when app crash?

adb logcat -v color | grep -F "`adb shell ps | grep autumandu  | tr -s [:space:] ' ' | cut -d' ' -f2`"
enboig commented 1 year ago

I installed it again downloading from github using ADB, but continue failing, and I cannot downgrade (adb: failed to install Autu-Mandu_4.0.1.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]).

Using android 11 on a xiaomi A1, so it should be nearly stock android.

Here is the log

09-15 20:57:40.607  1401  3720 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.juanro.autumandu cmp=org.juanro.autumandu/.gui.MainActivity} from uid 1000
09-15 20:57:40.684  1401  1703 I ActivityManager: Start proc 7594:org.juanro.autumandu/u0a190 for pre-top-activity {org.juanro.autumandu/org.juanro.autumandu.gui.MainActivity}
09-15 20:57:40.988  7594  7594 D a       : Using database at /data/user/0/org.juanro.autumandu/databases/data.db via classic content provider.
09-15 20:57:41.124  7594  7594 W SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.juanro.autumandu/databases/data.db' from 'wal' to 'TRUNCATE' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.
09-15 20:57:41.230  7594  7619 W SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.juanro.autumandu/databases/data.db' from 'wal' to 'TRUNCATE' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.
09-15 20:57:41.236  7594  7620 E AndroidRuntime: Process: org.juanro.autumandu, PID: 7594
09-15 20:57:41.243  1401  3751 W ActivityTaskManager:   Force finishing activity org.juanro.autumandu/.gui.MainActivity
09-15 20:57:41.655 25793 25793 D AppButtonsPrefCtl: Sending broadcast to query restart status for org.juanro.autumandu
09-15 20:57:42.065 25793 25793 D AppButtonsPrefCtl: Got broadcast response: Restart status for org.juanro.autumandu true
09-15 20:57:42.151 25793 25793 V BatteryUtils: package: org.juanro.autumandu
09-15 20:57:42.798  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 5 lines
09-15 20:57:42.802  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:42.808  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:42.815  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 2 lines
09-15 20:57:42.822  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:45.938  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:46.561  7594  7641 D ProfileInstaller: Installing profile for org.juanro.autumandu
09-15 20:57:47.395  1401  1703 I ActivityManager: Start proc 7643:org.juanro.autumandu:reminder/u0a190 for service {org.juanro.autumandu/org.juanro.autumandu.util.reminder.ReminderService}
09-15 20:57:47.442   783 19700 I vendor.qti.hardware.servicetracker@1.2-service: startService() is called for serviceorg.juanro.autumandu/.util.reminder.ReminderService
09-15 20:57:47.498  7643  7643 W System.err: java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/~~yZVrE6zTeRH6e6OreNOLRw==/org.juanro.autumandu-9oShAVdBGpupg8_1tjFIGw==/base.apk"],nativeLibraryDirectories=[/data/app/~~yZVrE6zTeRH6e6OreNOLRw==/org.juanro.autumandu-9oShAVdBGpupg8_1tjFIGw==/lib/arm64, /system/lib64, /system/system_ext/lib64]]]
09-15 20:57:47.510  7643  7643 W System.err:    at org.juanro.autumandu.util.reminder.ReminderEnablerReceiver.a(SourceFile:18)
09-15 20:57:47.510  7643  7643 W System.err:    at org.juanro.autumandu.Application.onCreate(SourceFile:12)
09-15 20:57:47.567   783 19700 I vendor.qti.hardware.servicetracker@1.2-service: destroyService is called for service : org.juanro.autumandu/.util.reminder.ReminderService
juanro49 commented 1 year ago

I installed it again downloading from github using ADB, but continue failing, and I cannot downgrade (adb: failed to install Autu-Mandu_4.0.1.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]).

Using android 11 on a xiaomi A1, so it should be nearly stock android.

Here is the log

09-15 20:57:40.607  1401  3720 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.juanro.autumandu cmp=org.juanro.autumandu/.gui.MainActivity} from uid 1000
09-15 20:57:40.684  1401  1703 I ActivityManager: Start proc 7594:org.juanro.autumandu/u0a190 for pre-top-activity {org.juanro.autumandu/org.juanro.autumandu.gui.MainActivity}
09-15 20:57:40.988  7594  7594 D a       : Using database at /data/user/0/org.juanro.autumandu/databases/data.db via classic content provider.
09-15 20:57:41.124  7594  7594 W SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.juanro.autumandu/databases/data.db' from 'wal' to 'TRUNCATE' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.
09-15 20:57:41.230  7594  7619 W SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.juanro.autumandu/databases/data.db' from 'wal' to 'TRUNCATE' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.
09-15 20:57:41.236  7594  7620 E AndroidRuntime: Process: org.juanro.autumandu, PID: 7594
09-15 20:57:41.243  1401  3751 W ActivityTaskManager:   Force finishing activity org.juanro.autumandu/.gui.MainActivity
09-15 20:57:41.655 25793 25793 D AppButtonsPrefCtl: Sending broadcast to query restart status for org.juanro.autumandu
09-15 20:57:42.065 25793 25793 D AppButtonsPrefCtl: Got broadcast response: Restart status for org.juanro.autumandu true
09-15 20:57:42.151 25793 25793 V BatteryUtils: package: org.juanro.autumandu
09-15 20:57:42.798  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 5 lines
09-15 20:57:42.802  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:42.808  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:42.815  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 2 lines
09-15 20:57:42.822  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:45.938  7594  7609 I chatty  : uid=10190(org.juanro.autumandu) FinalizerDaemon identical 1 line
09-15 20:57:46.561  7594  7641 D ProfileInstaller: Installing profile for org.juanro.autumandu
09-15 20:57:47.395  1401  1703 I ActivityManager: Start proc 7643:org.juanro.autumandu:reminder/u0a190 for service {org.juanro.autumandu/org.juanro.autumandu.util.reminder.ReminderService}
09-15 20:57:47.442   783 19700 I vendor.qti.hardware.servicetracker@1.2-service: startService() is called for serviceorg.juanro.autumandu/.util.reminder.ReminderService
09-15 20:57:47.498  7643  7643 W System.err: java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/~~yZVrE6zTeRH6e6OreNOLRw==/org.juanro.autumandu-9oShAVdBGpupg8_1tjFIGw==/base.apk"],nativeLibraryDirectories=[/data/app/~~yZVrE6zTeRH6e6OreNOLRw==/org.juanro.autumandu-9oShAVdBGpupg8_1tjFIGw==/lib/arm64, /system/lib64, /system/system_ext/lib64]]]
09-15 20:57:47.510  7643  7643 W System.err:    at org.juanro.autumandu.util.reminder.ReminderEnablerReceiver.a(SourceFile:18)
09-15 20:57:47.510  7643  7643 W System.err:    at org.juanro.autumandu.Application.onCreate(SourceFile:12)
09-15 20:57:47.567   783 19700 I vendor.qti.hardware.servicetracker@1.2-service: destroyService is called for service : org.juanro.autumandu/.util.reminder.ReminderService

Can you try if you have this problem with this apk?

https://upload.disroot.org/r/bjvosuBu#E30PSbceJNAqwTUH8gSsXjtnwuihTw9Yna4OHcXMFbc=

enboig commented 1 year ago

Sorry, I missed the file. Could you post it again?

By the way, I managed to downgrade, and it works without problems:

adb install -r -d Autu-Mandu_4.0.0.apk
juanro49 commented 1 year ago

Sorry, I missed the file. Could you post it again?

By the way, I managed to downgrade, and it works without problems:

adb install -r -d Autu-Mandu_4.0.0.apk

https://upload.disroot.org/r/48jPUDpQ#z9x5aH4kEsGlwjtGaHISY9n3H9Lvg9z8dMZLq1Spyp4=

This file will be available next 30 days 😊

enboig commented 1 year ago

This version doesn't crash :-)

Backup continue failing, but at least it works

juanro49 commented 1 year ago

This version doesn't crash :-)

Backup continue failing, but at least it works

can you select a path for the backup in the settings and check if it is successful, restore destination and check again?

enboig commented 1 year ago

It crashes as soon as I enter "Backup&export", and launch automatically (so it appear as it just go back).

11-06 20:01:33.799  1430  1495 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 29981
11-06 20:01:36.306 29981 29981 E AndroidRuntime: Process: org.juanro.autumandu, PID: 29981
11-06 20:01:41.666 29981 29981 I Process : Sending signal. PID: 29981 SIG: 9
11-06 20:01:41.727  1430  3960 I ActivityTaskManager: The Process com.android.settings Already Exists in BG. So sending its PID: 29364
11-06 20:01:58.274  1430  2113 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 30112
11-06 20:02:00.597 30112 30112 E AndroidRuntime: Process: org.juanro.autumandu, PID: 30112
11-06 20:02:00.626 30112 30112 I Process : Sending signal. PID: 30112 SIG: 9
11-06 20:02:00.822  1430  2958 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 30154
11-06 20:02:00.991   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
11-06 20:02:01.292   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
11-06 20:02:01.593   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
juanro49 commented 1 year ago

It crashes as soon as I enter "Backup&export", and launch automatically (so it appear as it just go back).

11-06 20:01:33.799  1430  1495 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 29981
11-06 20:01:36.306 29981 29981 E AndroidRuntime: Process: org.juanro.autumandu, PID: 29981
11-06 20:01:41.666 29981 29981 I Process : Sending signal. PID: 29981 SIG: 9
11-06 20:01:41.727  1430  3960 I ActivityTaskManager: The Process com.android.settings Already Exists in BG. So sending its PID: 29364
11-06 20:01:58.274  1430  2113 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 30112
11-06 20:02:00.597 30112 30112 E AndroidRuntime: Process: org.juanro.autumandu, PID: 30112
11-06 20:02:00.626 30112 30112 I Process : Sending signal. PID: 30112 SIG: 9
11-06 20:02:00.822  1430  2958 I ActivityTaskManager: The Process org.juanro.autumandu Already Exists in BG. So sending its PID: 30154
11-06 20:02:00.991   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
11-06 20:02:01.292   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
11-06 20:02:01.593   772  3259 E ANDR-PERF-LM: StatsProvider: getPIDStats() 119: sendRecvData returned error = -4

Oh... I need more logs to detect the problem... are you using Android Go edition?

enboig commented 1 year ago

It is Android One