-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Similar to #57318, I'm experiencing a crash only in release mode that may be memory corruption related. But it appears to be different to that issue as per @mraleph who fixed that problem.
The crash happens the moment I try to expand my app's Drawer. It started happening since version 1.17.0 and also happens on the latest dev channel release (1.19.0-1.0.pre).
I would guess it could be an issue with the Navigator or routes. A few weeks ago when I tested my app on an earlier dev build in release mode, I would get a crash every time I popped a route off the Navigator. These crashes no longer happen in the latest dev build but I'm still getting this crash with the Drawer (which uses the Navigator/routing) and it seems to have made its way into the stable build.
Logcat:
05-16 15:21:07.331 8654 8690 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3 in tid 8690 (1.ui), pid 8654 (ltherat.example)
05-16 15:21:07.492 8747 8747 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-16 15:21:07.492 8747 8747 F DEBUG : Build fingerprint: 'OnePlus/OnePlus6T/OnePlus6T:10/QKQ1.190716.003/2003192042:user/release-keys'
05-16 15:21:07.492 8747 8747 F DEBUG : Revision: '0'
05-16 15:21:07.492 8747 8747 F DEBUG : ABI: 'arm64'
05-16 15:21:07.493 8747 8747 F DEBUG : Timestamp: 2020-05-16 15:21:07-0500
05-16 15:21:07.493 8747 8747 F DEBUG : pid: 8654, tid: 8690, name: 1.ui >>> com.altherat.example <<<
05-16 15:21:07.493 8747 8747 F DEBUG : uid: 10422
05-16 15:21:07.493 8747 8747 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3
05-16 15:21:07.493 8747 8747 F DEBUG : Cause: null pointer dereference
05-16 15:21:07.493 8747 8747 F DEBUG : x0 000000784a67c101 x1 000000784a67c161 x2 0000000000000002 x3 0000000000000002
05-16 15:21:07.493 8747 8747 F DEBUG : x4 000000784d093a60 x5 000000784d093a70 x6 00000079547dd7d8 x7 000000784d093a90
05-16 15:21:07.493 8747 8747 F DEBUG : x8 000000785006b9a1 x9 0000000000000000 x10 0000000000000007 x11 0000000000000a00
05-16 15:21:07.493 8747 8747 F DEBUG : x12 000000000327ee30 x13 0000000100000000 x14 0000000000000002 x15 00000078603785d8
05-16 15:21:07.493 8747 8747 F DEBUG : x16 0000007950c018f0 x17 0000007950bf3070 x18 000000786008a000 x19 0000007851880041
05-16 15:21:07.493 8747 8747 F DEBUG : x20 0000007851880041 x21 000000784f82f600 x22 0000007851880041 x23 0000007851880041
05-16 15:21:07.493 8747 8747 F DEBUG : x24 0000007851888011 x25 00000078602a3000 x26 00000078b4d18800 x27 0000007850106f40
05-16 15:21:07.493 8747 8747 F DEBUG : x28 0000000000000004 x29 00000078603785e0
05-16 15:21:07.493 8747 8747 F DEBUG : sp 00000078602a3000 lr 000000785b63663c pc 000000785b636660
05-16 15:21:07.493 8747 8747 F DEBUG :
05-16 15:21:07.493 8747 8747 F DEBUG : backtrace:
05-16 15:21:07.493 8747 8747 F DEBUG : #00 pc 0000000000436660 /data/app/com.altherat.example-_Dk9CPM9M9240vH0Ij4TaA==/lib/arm64/libapp.so (offset 0x2000) (_kDartIsolateSnapshotInstructions+4388448)
flutter doctor --verbose:
[√] Flutter (Channel stable, v1.17.1, on Microsoft Windows [Version 10.0.18362.836], locale en-CA)
• Flutter version 1.17.1 at C:\Flutter
• Framework revision f7a6a7906b (4 days ago), 2020-05-12 18:39:00 -0700
• Engine revision 6bc433c6b6
• Dart version 2.8.2
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Matt\AppData\Local\Android\sdk
• Platform android-29, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio Canary\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b01)
• All Android licenses accepted.
[!] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[!] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio Canary
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b01)
[!] IntelliJ IDEA Community Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.2
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[√] VS Code (version 1.45.1)
• VS Code at C:\Users\Matt\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.10.1
[√] Connected device (1 available)
• ONEPLUS A6013 • 9e76e20e • android-arm64 • Android 10 (API 29)