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
[macos]EXC_BAD_ACCESS GrGLGpu::deleteSync #109032
Comments
This crash occurs multiple times on different versions of the Mac。 flutter doctor -v
|
Hi @cuishijie1991, are you able to reproduce this locally? Labeling for further investigation |
I'm sorry I can't reproduce it locally, but it's there. Now hopefully, people with the same problem will see more information about the bug |
@iskakaushik do you know why OpenGL would be used here? I was under the impression Metal is the default for macOS. This is a bug that likely would not exist in the Metal backend and is GL specific. I think we're on a path to getting rid of GL support entirely from macOS. |
FWIW, this is a crash happening at engine shutdown. We shouldn't let this happen but it's likely not severely impacting your users. |
Just checked, Metal is the default on macOS versions >= 10.14, see: https://github.com/flutter/engine/blob/main/shell/platform/darwin/macos/framework/Source/FlutterRenderingBackend.mm#L14. Seems like this is an issue on:
|
@dnfield I think the direction we should head towards is to delete the support of OpenGL on macOS. I am not sure what the timeline for it should be though. |
Yes, @cbracken has an RFC somewhere to drop support for macOS 10.13. Although perhaps this is an example of why we can't do that? I'm not familiar enough with Metal on macOS to know why/whether we could lower support there, although if we're dropping support for 10.13 it won't make sense to... @jmagman might have good thoughts on this too. |
go/flutter-deprecating-old-platforms would be the RFC template for dropping 10.13, which I'm guessing is what @cbracken is working on. Dropping macOS 10.11-10.12 had no such process, I believe decision was entirely driven by updating libcxx flutter/buildroot#588, and I only became aware of it after coming back from vacation and seeing some old chat messages about it, so I filed #107741 to track the work more closely. See more thoughts re dropping macOS 10.13 at flutter/engine#34919 (comment) |
Yep - I am indeed working on an RFC for bumping the supported minimum macOS to 10.14, which would then permit us to drop GL support while still supporting hardware back to 2012. Based on the numbers, it looks like pre-10.14 users make up between 2.5-5% of machines. In terms of tool telemetry, which admittedly only covers developers and not end users, I found zero hits from 10.14 machines since January. |
this is a crash info from sentry with my app production
The text was updated successfully, but these errors were encountered: