Skip to content
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

Crash during app startup (Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1525cae0) #55147

Closed
nioncode opened this issue Apr 19, 2020 · 3 comments

Comments

@nioncode
Copy link
Contributor

App crashed while starting up on the emulator.

Backtrace:

F/libc    ( 7402): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1525cae0 in tid 7430 (1.ui), pid 7402 (example.app)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android/sdk_phone_x86/generic_x86:10/QPP6.190730.005.B1/5775370:userdebug/test-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-04-18 23:34:55+0200
pid: 7402, tid: 7430, name: 1.ui  >>> com.example.app <<<
uid: 10110
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1525cae0
    eax 00000000  ebx ffffffff  ecx f525cac0  edx 07ffffff
    edi 000002ec  esi 00000000
    ebp 807c81d8  esp 807c8170  eip f0a9c1e6
backtrace:
      #00 pc 000581e6  /apex/com.android.runtime/lib/bionic/libc.so (arena_bin_malloc_hard+1734) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #01 pc 0005783c  /apex/com.android.runtime/lib/bionic/libc.so (je_arena_tcache_fill_small+364) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #02 pc 00086006  /apex/com.android.runtime/lib/bionic/libc.so (je_tcache_alloc_small_hard+54) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #03 pc 0004aeb2  /apex/com.android.runtime/lib/bionic/libc.so (je_malloc+1234) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #04 pc 00046489  /apex/com.android.runtime/lib/bionic/libc.so (malloc+41) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #05 pc 012ca352  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #06 pc 0160f744  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #07 pc 015d6158  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #08 pc 016848cf  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #09 pc 01668dd5  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #10 pc 0163fd62  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #11 pc 0163eaa9  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #12 pc 0163cb5e  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #13 pc 0163c3ea  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #14 pc 0193a465  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #15 pc 0118e9c0  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #16 pc 0118eabd  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #17 pc 0119cb8f  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #18 pc 0119c8c3  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #19 pc 0119b24f  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #20 pc 0119aeec  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #21 pc 011a91fa  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #22 pc 01158efd  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #23 pc 0115b549  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #24 pc 0115b48e  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #25 pc 01161b40  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #26 pc 01161b6e  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #27 pc 00018487  /system/lib/libutils.so (android::SimpleLooperCallback::handleEvent(int, int, void*)+39) (BuildId: 288ba3aff5b46dbd7e74be954af88b83)
      #28 pc 00019414  /system/lib/libutils.so (android::Looper::pollInner(int)+1044) (BuildId: 288ba3aff5b46dbd7e74be954af88b83)
      #29 pc 00018f4e  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+62) (BuildId: 288ba3aff5b46dbd7e74be954af88b83)
      #30 pc 00013780  /system/lib/libandroid.so (ALooper_pollOnce+96) (BuildId: 2b4362d3e0db6d6e8fbea7ad8414fbae)
      #31 pc 01161a7d  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #32 pc 0115b43c  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #33 pc 0115af9c  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #34 pc 0115f151  /data/app/com.example.app-Ta141eNVM_88nGeQAk5Xgg==/lib/x86/libflutter.so (BuildId: d94d72de3ac0ee06)
      #35 pc 0011a8e5  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+53) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #36 pc 000af6a7  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
Lost connection to device.

flutter doctor -v

flutter doctor -v
[  +56 ms] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +70 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 0b8abb4724aa590dd0f429683339b1e045a1594d
[        ] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git
describe --match v*.*.* --first-parent --long --tags
[  +12 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.8-0-g0b8abb472
[   +7 ms] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git
rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +47 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +34 ms] executing:
/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped/jre/bin/jav
a -version
[ +130 ms] Exit code 0 from:
/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped/jre/bin/jav
a -version
[   +4 ms] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[  +29 ms] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git
rev-parse --abbrev-ref --symbolic @{u}
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git
ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +28 ms] executing:
[/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped/] git -c
log.showSignature=false log -n 1 --pretty=format:%ar
[  +10 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar
[        ] 10 weeks ago
[  +24 ms] executing:
/home/nion/.cache/flutter/artifacts/engine/android-arm-profile/linux-x64/gen_snapshot
[  +17 ms] Exit code 255 from:
/home/nion/.cache/flutter/artifacts/engine/android-arm-profile/linux-x64/gen_snapshot
[        ] At least one input is required
           Usage: gen_snapshot [<vm-flags>] [<options>] <dart-kernel-file>             

           Common options:                                                             
           --help                                                                      
             Display this message (add --verbose for information about all VM options).
           --version                                                                   
             Print the VM version.                                                     

           To create a core snapshot:                                                  
           --snapshot_kind=core                                                        
           --vm_snapshot_data=<output-file>                                            
           --isolate_snapshot_data=<output-file>                                       
           <dart-kernel-file>                                                          

           To create an AOT application snapshot as assembly suitable for compilation  
           as a static or dynamic library:                                             
           --snapshot_kind=app-aot-assembly                                            
           --assembly=<output-file>                                                    
           [--obfuscate]                                                               
           [--save-obfuscation-map=<map-filename>]                                     
           <dart-kernel-file>                                                          

           To create an AOT application snapshot as an ELF shared library:             
           --snapshot_kind=app-aot-elf                                                 
           --elf=<output-file>                                                         
           [--strip]                                                                   
           [--obfuscate]                                                               
           [--save-obfuscation-map=<map-filename>]                                     
           <dart-kernel-file>                                                          

           AOT snapshots can be obfuscated: that is all identifiers will be renamed    
           during compilation. This mode is enabled with --obfuscate flag. Mapping     
           between original and obfuscated names can be serialized as a JSON array     
           using --save-obfuscation-map=<filename> option. See dartbug.com/30524       
           for implementation details and limitations of the obfuscation pass.
[  +16 ms] executing:
/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped/jre/bin/jav
a -version
[  +71 ms] Exit code 0 from:
/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped/jre/bin/jav
a -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +3 ms] java -version
⣽[ +182 ms] executing: /home/nion/opt/android-sdk/platform-tools/adb devices -l
[   +9 ms] Exit code 0 from: /home/nion/opt/android-sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86
           device:generic_x86 transport_id:10                                                 [  +11 ms] [✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)
[   +3 ms]     • Flutter version 1.12.13+hotfix.8 at

/nix/store/bxyz9r12vvlg2n37kmpk2rqjxi4s70gj-flutter-stable-1.12.13+hotfix.8-unwrapped
[        ]     • Framework revision 0b8abb4724 (10 weeks ago), 2020-02-11 11:44:36 -0800
[        ]     • Engine revision e1e6ced81d
[        ]     • Dart version 2.7.0
⣽[  +17 ms] /home/nion/opt/android-sdk/platform-tools/adb -s emulator-5554 shell getprop      ⣻[ +117 ms] ro.hardware = ranchu
[   +7 ms] executing: /home/nion/opt/android-sdk/tools/bin/sdkmanager --licenses               
[+4110 ms] [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[   +1 ms]     • Android SDK at /home/nion/opt/android-sdk
[        ]     • Android NDK location not configured (optional; useful for native profiling
support)
[   +1 ms]     • Platform android-29, build-tools 29.0.3
[        ]     • ANDROID_HOME = /home/nion/opt/android-sdk
[   +1 ms]     • Java binary at:

/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped/jre/b
                 in/java
[   +2 ms]     • Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[   +1 ms]     • All Android licenses accepted.
[   +1 ms] [✓] Android Studio (version 3.6)
[        ]     • Android Studio at

/nix/store/3b7qf6qz9wxn74fwzrs04srsi227m3hv-android-studio-stable-3.6.1.0-unwrapped
[   +1 ms]     • Flutter plugin version 45.0.1
[        ]     • Dart plugin version 192.7761
[        ]     • Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[   +2 ms] [✓] Connected device (1 available)
[        ]     • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29)
(emulator)
[   +1 ms] • No issues found!
[  +24 ms] "flutter doctor" took 5,050ms.
@iapicca
Copy link
Contributor

iapicca commented Apr 20, 2020

Hi @nioncode
I see you opened another issue seemingly identical.

Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

@iapicca iapicca closed this as completed Apr 20, 2020
@nioncode
Copy link
Contributor Author

The backtraces are different, that's why I opened separate issues. Why do you think they are caused by the same thing and should not be treated as separate issues?

@lock
Copy link

lock bot commented May 6, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants