-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Closed
flutter/engine
#21258Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: 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.20found in release: 1.21Found to occur in 1.21Found to occur in 1.21has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.The Image Picker plugin.p: local_authPlugin for local authentificationPlugin for local authentificationp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Milestone
Description
Usage
PickedFile imageFile = await _imagePicker.getImage(source: ImageSource.camera, maxHeight: 1024, maxWidth: 1024, imageQuality: 100);
Expected results:
i can work completely with emulator like before.
Actual results:
very short time after i confirmed the taken photo, the app crashes. between confirm and crash i see black screen.
the crash thrown with image_picker: ^0.6.3+1 and image_picker: ^0.6.7+4.
it crashes because a null pointer. possible reason is the Skia Gr context. i tested Pixel 2 , Pixel 3 and Nexus 5X with API 29 as emulator.
for some weeks, i haven't any issue to take photo. i think it was before Flutter 1.20.1.
Crash Log
E/Surface (18727): getSlotFromBufferLocked: unknown buffer: 0x200
D/EGL_emulation(18727): eglMakeCurrent: 0xe67075c0: ver 2 0 (tinfo 0xde70fb80)
E/flutter (18727): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(71)] Failed to setup Skia Gr context.
D/EGL_emulation(18727): eglMakeCurrent: 0xc6b05fa0: ver 1 0 (tinfo 0xba419150)
D/EGL_emulation(18727): eglMakeCurrent: 0xde71a0c0: ver 2 0 (tinfo 0xbfe04970)
F/libc (18727): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 18770 (1.raster), pid 18727 (myAppPackageName)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-08-12 13:22:04+0000
pid: 18727, tid: 18770, name: 1.raster >>> myAppPackageName <<<
uid: 10134
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
Cause: null pointer dereference
eax 00000000 ebx c5cc1c78 ecx fffffff9 edx 00000000
edi c4286978 esi 00000004
ebp c42866f8 esp c42866f8 eip c5618b85
backtrace:
#00 pc 0138cb85 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#01 pc 0138b55d /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#02 pc 0142dd20 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#03 pc 015ff502 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#04 pc 015ff3d9 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#05 pc 015ff8c3 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#06 pc 015ff6af /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#07 pc 011c6518 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#08 pc 011c7104 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#09 pc 011c7eca /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#10 pc 01175e8b /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#11 pc 011c6a22 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#12 pc 011c6792 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
#13 pc 011d47b1 /data/app/myAppPackageName-SupAUHBNoMiZ77FdjBL-dw==/lib/x86/libflutter.so (BuildId: 7c10268101450e4033959b201ce27d4c3845c232)
Lost connection to device.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: 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.20found in release: 1.21Found to occur in 1.21Found to occur in 1.21has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.The Image Picker plugin.p: local_authPlugin for local authentificationPlugin for local authentificationp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight