Tobi823 / ffupdater

FFUpdater: Updater for privacy friendly browser
https://f-droid.org/en/packages/de.marmaro.krt.ffupdater
GNU General Public License v3.0
689 stars 33 forks source link

Crash on downloading Iceraven #445

Closed hank-tu-biz closed 1 year ago

hank-tu-biz commented 1 year ago

Stacktrace:

java.lang.RuntimeException: Error receiving broadcast Intent { act=de.marmaro.krt.ffupdater.installer.impl.SessionInstaller.true flg=0x10 pkg=de.marmaro.krt.ffupdater (has extras) } in de.marmaro.krt.ffupdater.installer.impl.SessionInstaller$registerIntentReceiver$2$1@c21f448
    at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1463)
    at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:205)
    at android.app.ActivityThread.main(ActivityThread.java:6991)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884)
Caused by: java.lang.IllegalArgumentException: Failed requirement.
    at de.marmaro.krt.ffupdater.installer.impl.SessionInstaller.createConfirmInstallationIntent(SessionInstaller.kt:204)
    at de.marmaro.krt.ffupdater.installer.impl.SessionInstaller.requestInstallationPermission(SessionInstaller.kt:188)
    at de.marmaro.krt.ffupdater.installer.impl.SessionInstaller.handleAppInstallationResult(SessionInstaller.kt:127)
    at de.marmaro.krt.ffupdater.installer.impl.SessionInstaller.access$handleAppInstallationResult(SessionInstaller.kt:32)
    at de.marmaro.krt.ffupdater.installer.impl.SessionInstaller$registerIntentReceiver$2$1.onReceive(SessionInstaller.kt:237)
    at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1445)
    ... 8 more

--------- beginning of main
07-19 06:24:09.878 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:09.904 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:10.031 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:10.074 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:10.094 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:10.110 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
--------- beginning of system
07-19 06:24:10.233 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:10.233 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:10.254 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:10.256 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest BRAVE update.
07-19 06:24:13.130 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/brave/brave-browser/releases?per_page=40&page=1
07-19 06:24:15.977 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/brave/brave-browser/releases?per_page=40&page=2
07-19 06:24:16.133 I/FFUpdater(14430): findAppUpdateStatus(): Found BRAVE 1.52.130 (5877ms).
07-19 06:24:16.137 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:24:16.443 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/duckduckgo/Android/releases/latest
07-19 06:24:16.454 I/FFUpdater(14430): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (316ms).
07-19 06:24:16.461 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:24:16.760 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/fork-maintainers/iceraven-browser/releases/latest
07-19 06:24:16.771 I/FFUpdater(14430): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (310ms).
07-19 06:24:16.775 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest ORBOT update.
07-19 06:24:17.071 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/guardianproject/orbot/releases/latest
07-19 06:24:17.079 I/FFUpdater(14430): findAppUpdateStatus(): Found ORBOT 17.0.0-RC-1-tor.0.4.7.11 (304ms).
07-19 06:24:17.083 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest TOR_BROWSER update.
07-19 06:24:20.119 I/FFUpdater(14430): Execute real network request: https://www.torproject.org/download
07-19 06:24:20.276 I/FFUpdater(14430): Execute real network request: https://www.torproject.org/download/
07-19 06:24:21.762 I/FFUpdater(14430): Execute real network request: https://dist.torproject.org/torbrowser/12.5.1/?P=*android-aarch64-multi.apk
07-19 06:24:21.771 I/FFUpdater(14430): findAppUpdateStatus(): Found TOR_BROWSER 12.5.1 (4688ms).
07-19 06:24:51.370 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:51.418 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:51.418 I/FFUpdater(14430): InstalledAppsCache: Update cache of installed apps.
07-19 06:24:51.441 I/FFUpdater(14430): InstalledAppsCache: Cache was updated.
07-19 06:24:51.442 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest BRAVE update.
07-19 06:24:54.370 I/FFUpdater(14430): Execute real network request: https://api.github.com/repos/brave/brave-browser/releases?per_page=40&page=2
07-19 06:24:54.533 I/FFUpdater(14430): findAppUpdateStatus(): Found BRAVE 1.52.130 (3091ms).
07-19 06:24:54.535 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:24:54.547 I/FFUpdater(14430): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (12ms).
07-19 06:24:54.548 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:24:54.559 I/FFUpdater(14430): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (11ms).
07-19 06:24:54.560 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest ORBOT update.
07-19 06:24:54.575 I/FFUpdater(14430): findAppUpdateStatus(): Found ORBOT 17.0.0-RC-1-tor.0.4.7.11 (15ms).
07-19 06:24:54.577 D/FFUpdater(14430): findAppUpdateStatus(): Search for latest TOR_BROWSER update.
07-19 06:24:54.610 I/FFUpdater(14430): findAppUpdateStatus(): Found TOR_BROWSER 12.5.1 (33ms).
07-19 06:32:59.781 I/FFUpdater(15680): InstalledAppsCache: Update cache of installed apps.
07-19 06:32:59.809 I/FFUpdater(15680): InstalledAppsCache: Cache was updated.
07-19 06:32:59.852 I/FFUpdater(15680): InstalledAppsCache: Update cache of installed apps.
07-19 06:32:59.900 I/FFUpdater(15680): InstalledAppsCache: Update cache of installed apps.
07-19 06:32:59.920 I/FFUpdater(15680): InstalledAppsCache: Cache was updated.
07-19 06:32:59.957 I/FFUpdater(15680): InstalledAppsCache: Update cache of installed apps.
07-19 06:33:00.093 I/FFUpdater(15680): InstalledAppsCache: Cache was updated.
07-19 06:33:00.093 I/FFUpdater(15680): InstalledAppsCache: Update cache of installed apps.
07-19 06:33:00.117 I/FFUpdater(15680): InstalledAppsCache: Cache was updated.
07-19 06:33:00.118 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest BRAVE update.
07-19 06:33:00.635 I/FFUpdater(15680): findAppUpdateStatus(): Found BRAVE 1.52.130 (517ms).
07-19 06:33:00.638 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:33:00.707 I/FFUpdater(15680): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (69ms).
07-19 06:33:00.709 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:33:00.747 I/FFUpdater(15680): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (38ms).
07-19 06:33:00.749 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest ORBOT update.
07-19 06:33:00.789 I/FFUpdater(15680): findAppUpdateStatus(): Found ORBOT 17.0.0-RC-1-tor.0.4.7.11 (40ms).
07-19 06:33:00.791 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest TOR_BROWSER update.
07-19 06:33:00.839 I/FFUpdater(15680): findAppUpdateStatus(): Found TOR_BROWSER 12.5.1 (48ms).
07-19 06:33:06.424 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:33:06.442 I/FFUpdater(15680): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (18ms).
07-19 06:33:06.444 D/FFUpdater(15680): installOrDownloadApp(): Start DownloadActivity to install or update DUCKDUCKGO_ANDROID.
07-19 06:33:06.614 D/FFUpdater(15680): startInstallationProcess(): Start process for DUCKDUCKGO_ANDROID.
07-19 06:33:06.873 D/FFUpdater(15680): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:33:06.930 I/FFUpdater(15680): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (57ms).
07-19 06:33:06.938 D/FFUpdater(15680): startInstallationProcess(): Start download of DUCKDUCKGO_ANDROID.
07-19 06:33:07.685 I/FFUpdater(15680): Execute real network request: https://github.com/duckduckgo/Android/releases/download/5.164.1/duckduckgo-5.164.1-play-release.apk
07-19 06:33:08.528 I/FFUpdater(15680): Execute real network request: https://objects.githubusercontent.com/github-production-release-asset-2e65be/78869127/9cbd93cc-8184-47dd-9152-0c36eeffafe3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230719T133307Z&X-Amz-Expires=300&X-Amz-Signature=2f7e37ec5899c5bea09f4edc694b0826cc68a4310a93f21bd8ad5fd4d869098f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=78869127&response-content-disposition=attachment%3B%20filename%3Dduckduckgo-5.164.1-play-release.apk&response-content-type=application%2Fvnd.android.package-archive
07-19 06:33:20.868 I/FFUpdater(15680): Execute real network request: https://objects.githubusercontent.com/github-production-release-asset-2e65be/78869127/9cbd93cc-8184-47dd-9152-0c36eeffafe3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230719T133307Z&X-Amz-Expires=300&X-Amz-Signature=2f7e37ec5899c5bea09f4edc694b0826cc68a4310a93f21bd8ad5fd4d869098f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=78869127&response-content-disposition=attachment%3B%20filename%3Dduckduckgo-5.164.1-play-release.apk&response-content-type=application%2Fvnd.android.package-archive
07-19 06:33:20.875 D/FFUpdater(15680): Install app DUCKDUCKGO_ANDROID.
--------- beginning of crash
07-19 06:34:33.478 I/FFUpdater(15797): InstalledAppsCache: Update cache of installed apps.
07-19 06:34:33.609 I/FFUpdater(15797): InstalledAppsCache: Cache was updated.
07-19 06:38:33.132 I/FFUpdater(16734): InstalledAppsCache: Update cache of installed apps.
07-19 06:38:33.171 I/FFUpdater(16734): InstalledAppsCache: Cache was updated.
07-19 06:38:33.288 I/FFUpdater(16734): InstalledAppsCache: Update cache of installed apps.
07-19 06:38:33.335 I/FFUpdater(16734): InstalledAppsCache: Update cache of installed apps.
07-19 06:38:33.357 I/FFUpdater(16734): InstalledAppsCache: Cache was updated.
07-19 06:38:33.374 I/FFUpdater(16734): InstalledAppsCache: Update cache of installed apps.
07-19 06:38:33.482 I/FFUpdater(16734): InstalledAppsCache: Cache was updated.
07-19 06:38:33.482 I/FFUpdater(16734): InstalledAppsCache: Update cache of installed apps.
07-19 06:38:33.505 I/FFUpdater(16734): InstalledAppsCache: Cache was updated.
07-19 06:38:33.506 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest BRAVE update.
07-19 06:38:34.031 I/FFUpdater(16734): findAppUpdateStatus(): Found BRAVE 1.52.130 (525ms).
07-19 06:38:34.034 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest DUCKDUCKGO_ANDROID update.
07-19 06:38:34.133 I/FFUpdater(16734): findAppUpdateStatus(): Found DUCKDUCKGO_ANDROID 5.164.1 (99ms).
07-19 06:38:34.135 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:38:34.186 I/FFUpdater(16734): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (51ms).
07-19 06:38:34.188 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest ORBOT update.
07-19 06:38:34.223 I/FFUpdater(16734): findAppUpdateStatus(): Found ORBOT 17.0.0-RC-1-tor.0.4.7.11 (35ms).
07-19 06:38:34.225 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest TOR_BROWSER update.
07-19 06:38:34.276 I/FFUpdater(16734): findAppUpdateStatus(): Found TOR_BROWSER 12.5.1 (51ms).
07-19 06:38:37.164 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:38:37.184 I/FFUpdater(16734): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (20ms).
07-19 06:38:37.186 D/FFUpdater(16734): installOrDownloadApp(): Start DownloadActivity to install or update ICERAVEN.
07-19 06:38:37.423 D/FFUpdater(16734): startInstallationProcess(): Start process for ICERAVEN.
07-19 06:38:37.430 D/FFUpdater(16734): findAppUpdateStatus(): Search for latest ICERAVEN update.
07-19 06:38:37.482 I/FFUpdater(16734): findAppUpdateStatus(): Found ICERAVEN 2.7.0 (52ms).
07-19 06:38:37.486 D/FFUpdater(16734): startInstallationProcess(): Start download of ICERAVEN.
07-19 06:38:38.223 I/FFUpdater(16734): Execute real network request: https://github.com/fork-maintainers/iceraven-browser/releases/download/iceraven-2.7.0/iceraven-2.7.0-browser-arm64-v8a-forkRelease.apk
07-19 06:38:38.768 I/FFUpdater(16734): Execute real network request: https://objects.githubusercontent.com/github-production-release-asset-2e65be/285707519/500c4126-d2bd-4e56-974a-22b1ffb5dabf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230719T133838Z&X-Amz-Expires=300&X-Amz-Signature=315c172240d29b9abc43de0e96ad23b718333acfb711d9a6af88c580d16a7bde&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=285707519&response-content-disposition=attachment%3B%20filename%3Diceraven-2.7.0-browser-arm64-v8a-forkRelease.apk&response-content-type=application%2Fvnd.android.package-archive
07-19 06:38:52.137 I/FFUpdater(16734): Execute real network request: https://objects.githubusercontent.com/github-production-release-asset-2e65be/285707519/500c4126-d2bd-4e56-974a-22b1ffb5dabf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230719%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230719T133838Z&X-Amz-Expires=300&X-Amz-Signature=315c172240d29b9abc43de0e96ad23b718333acfb711d9a6af88c580d16a7bde&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=285707519&response-content-disposition=attachment%3B%20filename%3Diceraven-2.7.0-browser-arm64-v8a-forkRelease.apk&response-content-type=application%2Fvnd.android.package-archive
07-19 06:38:52.147 D/FFUpdater(16734): Install app ICERAVEN.
Device information: Key Value
FFUpdater version 78.0.5 (147) release
Device LM-T600 (tf10_lao_com, tf10, QC_Reference_Phone)
Manufacturer lge (LGE)
Supported ABIs arm64-v8a, armeabi-v7a, armeabi
Android version 9 (SDK: 28)
OS LGEACI5R3, jenkins, release-keys, 1570153819000
Tobi823 commented 1 year ago

Is fixed in version 78.0.6.