-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
c: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.20Found to occur in 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work on
Description
Steps to Reproduce
I make a drawing application, on debug version everything works fine, but on the release, sometimes the crash happens, e.g there're a lot of objects on my drawing, I try to save it over 10 times, it happens.
The strange thing is on the debug, crash does not happen.
I tried to remove the R8, R8 cause crashes in release mode. But that doesn't help.
Does flutter have problem on memory-allocation?
Device crash log:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Redmi/joyeuse_global/joyeuse:10/QKQ1.176215.002/V11.0.1.0.QJHFSM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2020-08-12 21:28:34+0700
pid: 6718, tid: 6746, name: 1.ui >>> app.thinkso.drawing <<<
uid: 10349
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
x0 00000071e4e980a8 x1 000000727277d4a0 x2 000000007fffffff x3 0000000000000000
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 00000000035810cc
x8 0000007189118000 x9 0000000000000000 x10 0000000000000001 x11 0000000000000000
x12 0000004b7427ccee x13 0000000000000000 x14 0000000000000058 x15 0000004b7419d1bb
x16 000000718903b1d8 x17 000000727277e1c0 x18 000000714b08ec94 x19 00000071e4ec8c00
x20 0000000000000000 x21 0000007189022440 x22 0000007189022460 x23 00000071607ba9a0
x24 0000000000b65268 x25 00000071e5337000 x26 00000071e4ec8c00 x27 0000007177b87ec0
x28 0000000000000004 x29 00000071e540fc60
sp 00000071e540fae0 lr 0000007188fa7574 pc 0000007188fa75f0
backtrace:
#00 pc 00000000006dd5f0 /data/app/app.thinkso.drawing-NAbHYAhOoz5NExIv1BSPPQ==/lib/arm64/libflutter.so (BuildId: b57a4557f090fa1289c835f596bfba88439338c8)
#01 pc 000000000072219c [anon:libc_malloc]
flutter doctor -v
Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.2 19C57, locale en-US)
• Flutter version 1.20.1 at /Users/magicman/Workspace/flutter
• Framework revision 2ae34518b8 (7 days ago), 2020-08-05 19:53:19 -0700
• Engine revision c8e3b94853
• Dart version 2.9.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /Users/magicman/Library/Android/sdk
• Platform android-29, build-tools 30.0.1
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.9.3
[!] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.47.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[✓] Connected device (1 available)
• Redmi Note 9 Pro (mobile) • 279538ee • android-arm64 • Android 10 (API 29)
</details>
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.20Found to occur in 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work on