-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SDLView resetCursorRects crash with (FFmpeg 7) ffplay #9745
Comments
If I comment out the call to resetCursorRects ffplay is good (SDL2 branch) ./src/video/cocoa/SDL_cocoawindow |
Could be Apple's bug Sonoma 14.4.1 (23E224) |
What's your ffplay command line? |
I found it didn't matter so I didn't provide an example Anything that would cause a window to show, which is pretty much anything, image, video, lavfi test source it doesn't matter |
Heya @kevleyski - could you capture a sysdiagnose soon after this happens and post here or send to natbro@apple.com, or file a feedback (https://feedbackassistant.apple.com) soon after (this will automagically grab system traces). Neither Sam nor I are able to reproduce this from just the direct API calls, so there may be something more to the window and circumstance which a full trace would help us uncover. |
@kevleyski Do you have Here's a test app to show the crash: test.c.txt 👋 @natbro I filed FB13800881 |
I'm my case I'm running vanilla Homebrew install of FFmpeg (on an Intel MacBook running latest patches of Sonoma, for me it's a recent issue) I tried a few versions of FFmpeg including latest greatest from their git, it's not FFmpeg as far as I can tell causing this but I can try setting the dynamic library path for the other libs The call stack doesn't seem to show problems from PNG etc but agree it's good to eliminate any cause/effect |
Yeah
If you run |
Hi this looks to be a recent issue I have latest greatest macOS Sonoma, brew install ffmpeg, I'm consistency hitting this
(I'll double check with latest SDL lib, but putting it here sos others find it)
0 ??? 0xbad4007 ???
1 ImageIO 0x7ff825e66a5a 0x7ff825d3c000 + 1223258
2 ImageIO 0x7ff825d49a71 0x7ff825d3c000 + 55921
3 ImageIO 0x7ff825d52bd2 0x7ff825d3c000 + 93138
4 AppKit 0x7ff81e7ed28b 0x7ff81e696000 + 1405579
5 AppKit 0x7ff81e931f7e 0x7ff81e696000 + 2735998
6 AppKit 0x7ff81e93177b 0x7ff81e696000 + 2733947
7 libSDL2-2.0.0.dylib 0x10b4d66a4 +[NSCursor(InvisibleCursor) invisibleCursor] + 104
8 libSDL2-2.0.0.dylib 0x10b4dde1b Cocoa_GetDesiredCursor + 59
9 libSDL2-2.0.0.dylib 0x10b4dea2e -[SDLView resetCursorRects] + 73
zsh: segmentation fault
The text was updated successfully, but these errors were encountered: