Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Crash when trying to load a deferred component #828

Closed
wytesk133 opened this issue Nov 10, 2022 · 2 comments
Closed

Crash when trying to load a deferred component #828

wytesk133 opened this issue Nov 10, 2022 · 2 comments
Labels
waiting for developer response The team cannot make further progress on this issue until the original reporter responds.

Comments

@wytesk133
Copy link

wytesk133 commented Nov 10, 2022

Build commands:

# Commit Id: fecb94519dd7c08c5fc701a7111acd7035ce79cf
git clone https://github.com/flutter/gallery
flutter build appbundle -v
wget https://github.com/google/bundletool/releases/download/1.13.0/bundletool-all-1.13.0.jar
java -jar bundletool-all-1.13.0.jar build-apks --bundle=build/app/outputs/bundle/release/app-release.aab --output=build/app.apks --local-testing
java -jar bundletool-all-1.13.0.jar install-apks --apks=build/app.apks

Android Emulator: SDK 33 x86_64

Expected behavior: Successfully load the Crane module

Acutal behavior: Some assets were missing (see screenshot). App crashed after tapping Crane (see logcat).

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.4.0-34.1.pre, on Debian GNU/Linux rodete 5.18.16-1rodete4-amd64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 3.6)
[✓] Android Studio (version 4.1)
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2021.1)
[!] Android Studio (version 2022.1)
    ✗ Unable to find bundled Java version.
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 4.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Screenshots Screenshot 2022-11-11 at 04 29 32 Screenshot 2022-11-11 at 04 29 37
adb logcat
11-10 13:30:03.136  6378  6378 I FakeSplitInstallManager: availableSplits [, config.kk, config.km, config.kn, config.or, config.sv, config.ca, config.sq, config.sr, config.sk, config.sl, config.ka, config.si, config.cs, config.pa, config.te, config.ta, config.gu, config.ky, config.ko, config.sw, config.gl, config.de, config.hi, crane, config.lo, config.pl, config.da, config.tr, crane.config.x86_64, config.tl, config.th, config.hy, config.hu, config.lt, config.hr, config.lv, crane.config.hdpi, config.pt, config.mn, config.ur, config.mk, config.ml, config.uk, config.eu, config.ar, config.as, config.vi, config.am, config.my, config.es, config.iw, config.zh, config.et, config.en, config.is, config.it, config.af, config.in, config.mr, config.uz, config.ms, config.el, config.be, config.fi, config.ru, config.x86_64, config.ro, config.nl, config.az, config.fa, config.zu, config.nb, config.ja, config.ne, config.bs, config.hdpi, config.bn, config.fr, config.bg] want [crane]
11-10 13:30:03.359  6378  6404 D EGL_emulation: app_time_stats: avg=25.70ms min=11.28ms max=444.12ms count=47
11-10 13:30:04.366  6378  6404 D EGL_emulation: app_time_stats: avg=6.41ms min=4.10ms max=8.92ms count=61
11-10 13:30:05.367  6378  6404 D EGL_emulation: app_time_stats: avg=6.42ms min=4.32ms max=9.78ms count=60
11-10 13:30:06.138  6378  6397 D SplitCompat: NativeLibraryExtractor: synchronizing native libraries
11-10 13:30:06.139  6378  6397 D SplitCompat: NativeLibraryExtractor: split 'crane.config.x86_64' has native library 'libapp.so-77.part.so' for ABI 'x86_64'
11-10 13:30:06.139  6378  6397 D SplitCompat: NativeLibraryExtractor: there are native libraries for supported ABI x86_64; will use this ABI
11-10 13:30:06.140  6378  6397 D SplitCompat: NativeLibraryExtractor: using library libapp.so-77.part.so for ABI x86_64
11-10 13:30:06.140  6378  6397 D SplitCompat: NativeLibraryExtractor: there are no native libraries for supported ABI x86_64
11-10 13:30:06.142  6378  6397 D SplitCompat: NativeLibraryExtractor: there are no native libraries for supported ABI x86_64
11-10 13:30:06.144  6378  6397 D SplitCompat: addAssetPath completed with 14
11-10 13:30:06.144  6378  6397 D SplitCompat: addAssetPath completed with 15
11-10 13:30:06.144  6378  6397 D SplitCompat: addAssetPath completed with 16
11-10 13:30:06.144  6378  6397 D SplitCompat: Split 'crane.config.x86_64' installation emulated
11-10 13:30:06.144  6378  6397 D SplitCompat: Split 'crane' installation emulated
11-10 13:30:06.144  6378  6397 D SplitCompat: Split 'crane.config.hdpi' installation emulated
11-10 13:30:06.144  6378  6397 I SplitCompat: Splits installed.
11-10 13:30:06.205  6378  6403 E Dart    : ../../third_party/dart/runtime/vm/runtime_entry.cc: 3644: error: Not loaded
11-10 13:30:06.205  6378  6403 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6403 (1.ui), pid 6378 (er.demo.gallery)
11-10 13:30:06.247  6423  6423 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
11-10 13:30:06.248   285   285 I tombstoned: received crash request for pid 6403
11-10 13:30:06.249  6423  6423 I crash_dump64: performing dump of process 6378 (target tid = 6403)
11-10 13:30:06.518     0     0 W audit   : audit_lost=2258 audit_rate_limit=5 audit_backlog_limit=64
11-10 13:30:06.519     0     0 E audit   : rate limit exceeded
11-10 13:30:06.541     0     0 I logd    : logdr: UID=10166 GID=10166 PID=6423 n tail=0 logMask=8 pid=6378 start=0ns deadline=0ns
11-10 13:30:06.545     0     0 I logd    : logdr: UID=10166 GID=10166 PID=6423 n tail=0 logMask=1 pid=6378 start=0ns deadline=0ns
11-10 13:30:06.421  6423  6423 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-10 13:30:06.421  6423  6423 F DEBUG   : Build fingerprint: 'google/sdk_goog3_x86_64/emulator64_x86_64:13/TE1A.220922.008/9198977:userdebug/dev-keys'
11-10 13:30:06.421  6423  6423 F DEBUG   : Revision: '0'
11-10 13:30:06.421  6423  6423 F DEBUG   : ABI: 'x86_64'
11-10 13:30:06.421  6423  6423 F DEBUG   : Timestamp: 2022-11-10 13:30:06.259611733-0800
11-10 13:30:06.421  6423  6423 F DEBUG   : Process uptime: 10s
11-10 13:30:06.421  6423  6423 F DEBUG   : Cmdline: io.flutter.demo.gallery
11-10 13:30:06.421  6423  6423 F DEBUG   : pid: 6378, tid: 6403, name: 1.ui  >>> io.flutter.demo.gallery <<<
11-10 13:30:06.421  6423  6423 F DEBUG   : uid: 10166
11-10 13:30:06.421  6423  6423 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
11-10 13:30:06.421  6423  6423 F DEBUG   : Abort message: '../../third_party/dart/runtime/vm/runtime_entry.cc: 3644: error: Not loaded'
11-10 13:30:06.421  6423  6423 F DEBUG   :     rax 0000000000000000  rbx 00000000000018ea  rcx 000077601e14d6ff  rdx 0000000000000006
11-10 13:30:06.421  6423  6423 F DEBUG   :     r8  0000000000000000  r9  0000000000000000  r10 0000775d63a4f5a0  r11 0000000000000203
11-10 13:30:06.421  6423  6423 F DEBUG   :     r12 0000775c00015e41  r13 0000775c0207c400  r14 0000775d63a4f598  r15 0000000000001903
11-10 13:30:06.421  6423  6423 F DEBUG   :     rdi 00000000000018ea  rsi 0000000000001903
11-10 13:30:06.421  6423  6423 F DEBUG   :     rbp 0000775d63a4fc98  rsp 0000775d63a4f590  rip 000077601e14d6ff
11-10 13:30:06.421  6423  6423 F DEBUG   : backtrace:
11-10 13:30:06.421  6423  6423 F DEBUG   :       #00 pc 000000000005f6ff  /apex/com.android.runtime/lib64/bionic/libc.so (abort+191) (BuildId: 007cb2313464df63debf8020e631c990)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #01 pc 00000000007a5e26  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk!libflutter.so (BuildId: 199716b1bf2c94ab9e0f37373b8ac883c8bed635)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #02 pc 000000000088a2d5  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk!libflutter.so (BuildId: 199716b1bf2c94ab9e0f37373b8ac883c8bed635)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #03 pc 00000000005aebfd  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #04 pc 00000000005adadc  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #05 pc 0000000000004203  /data/data/io.flutter.demo.gallery/files/splitcompat/21000/native-libraries/crane.config.x86_64/libapp.so-77.part.so
11-10 13:30:06.421  6423  6423 F DEBUG   :       #06 pc 0000000000759a68  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #07 pc 0000000000759951  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #08 pc 000000000073a6c8  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.421  6423  6423 F DEBUG   :       #09 pc 000000000073a3e5  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
11-10 13:30:06.422  6423  6423 F DEBUG   :       #10 pc 0000000000735952  /data/app/~~i_bIj760dFycRI8jKoYk0Q==/io.flutter.demo.gallery-gi4R-i3VzUTQ2esWgVzP-g==/split_config.x86_64.apk (BuildId: c29a1f0c88da8b4648979a1af269dcaa)
@guidezpl guidezpl added the waiting for developer response The team cannot make further progress on this issue until the original reporter responds. label Jan 13, 2023
@guidezpl
Copy link
Member

#857 added a missing Crane asset, and I'm looking at fixing #755 for the homescreen images. Is there another issue or can this one be closed?

@guidezpl
Copy link
Member

closing in favor of #926 for remaining work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for developer response The team cannot make further progress on this issue until the original reporter responds.
Projects
None yet
Development

No branches or pull requests

2 participants