Closed Zazo032 closed 3 months ago
Do you remember what exactly you were changing in your application when it crashed? e.g. adding fields, removing fields, changing signatures of a function, etc.
/cc @mkustermann @rmacnak-google
Two times I was adding/modifying a print
statement (which seems weird), the other time I was creating an object using data from a json (Map<String, dynamic>
).
This is the last one I had, also performing a hot reload after removing an if condition to build a widget:
I crashed with it too
E/Dart (10233): ../../third_party/dart/runtime/vm/object.h: 3277: error: Handle check failed: saw 228214893309165826 expected Function
E/DartVM (10233): version=2.7.0 (Fri Dec 6 16:26:51 2019 +0100) on "android_arm64"
E/DartVM (10233): thread=10298, isolate=main(0x72fbc61800)
E/DartVM (10233): pc 0x000000729cf49d78 fp 0x000000729a8bf570 /data/app/com.neocorporate.neoapp-WXXyljEGxIophg6BoPcwoA==/lib/arm64/libflutter.so+0x1684d78
E/DartVM (10233): -- End of DumpStackTrace
E/DartVM (10233): [exit : sp(0) fp(0x729a8bf798) pc(0)]
E/DartVM (10233): [stub : sp(0x729a8bf7a8) fp(0x729a8bf7e0) pc(0x728ac04020)]
E/DartVM (10233): [dart : sp(0x729a8bf7f0) fp(0x729a8bf838) pc(0x726ee85bdc) package:neoapp/main.dart_MyAppbuild
Build fingerprint: 'samsung/a50dd/a50:10/QP1A.190711.020/A505FDDU4BTC9:user/release-keys' Revision: '6' ABI: 'arm64' Timestamp: 2020-04-14 16:00:12+0700 pid: 10233, tid: 10298, name: Thread-6 >>> com.neocorporate.neoapp <<< uid: 10416 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- x0 0000000000000000 x1 000000000000283a x2 0000000000000006 x3 000000729a8bf4d0 x4 0000000000800000 x5 0000000000800000 x6 0000000000800000 x7 0000800000000000 x8 00000000000000f0 x9 9e95fc012e8ad7fb x10 0000000000000001 x11 0000000000000000 x12 fffffff0fffffbdf x13 0000000000000003 x14 0000000000000000 x15 000000738e287412 x16 000000738e28d8c0 x17 000000738e26a920 x18 000000729899e000 x19 00000000000027f9 x20 000000000000283a x21 00000000ffffffff x22 fffffffffffffff0 x23 000000729a7e7000 x24 ffffffffffffffe8 x25 000000729d2aac00 x26 000000729a8bf7c8 x27 000000728ac86850 x28 0000000000000004 x29 000000729a8bf570 sp 000000729a8bf4b0 lr 000000738e21f108 pc 000000738e21f134 backtrace:
#01 pc 0000000001580138 /data/app/com.neocorporate.neoapp-WXXyljEGxIophg6BoPcwoA==/lib/arm64/libflutter.so!libflutter.so (offset 0x1210000) (BuildId: 5e16c902c0b78d7b)
#02 pc 00000000015a9be8 /data/app/com.neocorporate.neoapp-WXXyljEGxIophg6BoPcwoA==/lib/arm64/libflutter.so!libflutter.so (offset 0x1210000) (BuildId: 5e16c902c0b78d7b)
#03 pc 00000000016c190c /data/app/com.neocorporate.neoapp-WXXyljEGxIophg6BoPcwoA==/lib/arm64/libflutter.so!libflutter.so (offset 0x1210000) (BuildId: 5e16c902c0b78d7b)
#04 pc 0000000000001450 <anonymous:728ac00000>
I think this might be caused by old closures in the heap which, when invoked, use old code calling convention even if new code got loaded. I made a small repro which I think this is an instance of: https://github.com/dart-lang/sdk/issues/41482
Closing this issue as https://github.com/dart-lang/sdk/issues/41482 is a more natural place to discuss this.
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.
This happened a few times while writing a simple widget, after doing a hot reload, it crashes the app.
Logs
``` E/Dart ( 1403): ../../third_party/dart/runtime/vm/object.h: 3491: error: Handle check failed: saw 1759351226591740162 expected Function E/DartVM ( 1403): version=2.8.0-dev.7.0.flutter-c8ed304e97 (Sun Feb 2 02:23:13 2020 +0000) on "android_arm64" E/DartVM ( 1403): thread=1640, isolate=main(0x71acd15000) E/DartVM ( 1403): isolate_instructions=71af452940, vm_instructions=71af452940 E/DartVM ( 1403): pc 0x00000071af55a434 fp 0x00000071bad75610 /data/app/com.airhopping.app-vgDWUHaRMehEJLDne4ASjA==/lib/arm64/libflutter.so+0x16ba434 E/DartVM ( 1403): -- End of DumpStackTrace E/DartVM ( 1403): [exit : sp(0) fp(0x71bad75830) pc(0)] E/DartVM ( 1403): [stub : sp(0x71bad75840) fp(0x71bad75878) pc(0x719ed04490)] E/DartVM ( 1403): [dart : sp(0x71bad75888) fp(0x71bad758d8) pc(0x7215ed32d4) package:airhopping/screens/booking_detail/booking_detail_screen.dart__BookingScreenState@121509702_build_