-
-
Notifications
You must be signed in to change notification settings - Fork 172
Crash in vc4_dri.so #135
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
Comments
Btw, this is latest master mesa (it's recommended to test against latest master before submitting bug reports to mesa). I also have mesa 20.2.X available if you want. Though it's also pretty easy to compile yourself. The only real gotcha is that you must include the Otherwise, you can also send me the asset bundle / app source so I can reproduce it. I have run flutter apps using flutter-pi overnight in the past, and I didn't get the error, so it's likely not reproducible by any app just running a long time |
Ok I unzipped that link in ~/temp, renamed the .so to .so.debug, and ran the following command to launch the app under gdb. I'll report back when/if it crashes! Let me know if I did anything wrong (I'm not 100% sure how to check that I got the env variables right).
|
Interesting, I'm getting a bunch of these followed by it not drawing everything on the screen:
...hasn't crashed yet, but could be related; maybe in the non-debug build we don't check if we're running out of memory and just crash? (We're working on making debugging memory issues easier over in Flutter land, so that should help debug why I'm running out of memory here.) |
I actually just fixed a bug 10 hours ago that could cause an OpenGL OOM (see issue #133). Can you check you're on latest master? Maybe it's fixed already. Though the issue that was fixed manifested itself a bit differently. There was no segmentation fault inside the graphics driver, the program was just killed by the linux OOM killer.
Looks good to me. If you want to be absolutely certain, you can try to list some source code inside gdb, or see if the function declarations look complete.
That's possible. If you want to debug it, your best bet is asan. Sadly valgrind doesn't work that well on raspberry pi or ARM in general. Many uncommon ARM instructions are unsupported and valgrind will inevitably terminate on the first unknown instruction. |
That does seem to have fixed it! I'll reopen if I see it break again! |
Just filing this here FYI, I'll investigate more thoroughly myself when I have time. I made a basic animated Flutter app and left it running overnight, when I came back it had crashed. I ran it under gdb and this is what I found. If there's any commands you'd like me to run before I get around to debugging it myself, let me know and I can run them.
The text was updated successfully, but these errors were encountered: