Skip to content
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 crash on window switch from full screen #5

Closed
nzyuzin opened this issue Jun 26, 2020 · 2 comments
Closed

macOS crash on window switch from full screen #5

nzyuzin opened this issue Jun 26, 2020 · 2 comments

Comments

@nzyuzin
Copy link

nzyuzin commented Jun 26, 2020

Crashes if one switches to another desktop from fullscreen f-client. Does not occur on vanilla. Does not occur in windowed mode either.
Top of the crash log:

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6abb7756 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff6ab3aeea nanosleep + 196
2   libsystem_c.dylib             	0x00007fff6ab3ade4 usleep + 53
3   com.TeeworldsClient.app       	0x0000000103ab2b8e CClient::Run() + 3326
4   com.TeeworldsClient.app       	0x0000000103ab42a2 TWMain + 1330
5   com.TeeworldsClient.app       	0x0000000103aa6f04 start + 52

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff6abb7756 __semwait_signal + 10
1   libsystem_c.dylib             	0x00007fff6ab3aeea nanosleep + 196
2   libsystem_c.dylib             	0x00007fff6ab3ade4 usleep + 53
3   com.TeeworldsClient.app       	0x0000000103b93ce6 CJobPool::WorkerThread(void*) + 70
4   com.TeeworldsClient.app       	0x0000000103ba726d thread_run + 29
5   libsystem_pthread.dylib       	0x00007fff6ac78109 _pthread_start + 148
6   libsystem_pthread.dylib       	0x00007fff6ac73b8b thread_start + 15

Thread 2:
0   libsystem_pthread.dylib       	0x00007fff6ac73b68 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00007fff6ac73b68 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	0x00007fff6ac73b68 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	0x00007fff6ac73b68 start_wqthread + 0

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff6abb4dfa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6abb5170 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff30a78f85 __CFRunLoopServiceMachPort + 247
3   com.apple.CoreFoundation      	0x00007fff30a77a52 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation      	0x00007fff30a76ece CFRunLoopRunSpecific + 462
5   com.apple.AppKit              	0x00007fff2de8f144 _NSEventThread + 132
6   libsystem_pthread.dylib       	0x00007fff6ac78109 _pthread_start + 148
7   libsystem_pthread.dylib       	0x00007fff6ac73b8b thread_start + 15

Thread 7 Crashed:
0   com.apple.AppKit              	0x00007fff2e09886d -[NSOpenGLContext update] + 525
1   libSDL2-2.0.0.dylib           	0x0000000103f1e282 -[SDLOpenGLContext updateIfNeeded] + 63
2   libSDL2-2.0.0.dylib           	0x0000000103f1ec31 Cocoa_GL_SwapWindow + 79
3   com.TeeworldsClient.app       	0x0000000103aa8f21 CCommandProcessorFragment_SDL::RunCommand(CCommandBuffer::CCommand const*) + 225
4   com.TeeworldsClient.app       	0x0000000103aa8fc3 CCommandProcessor_SDL_OpenGL::RunBuffer(CCommandBuffer*) + 131
5   com.TeeworldsClient.app       	0x0000000103aa70ef CGraphicsBackend_Threaded::ThreadFunc(void*) + 175
6   com.TeeworldsClient.app       	0x0000000103ba726d thread_run + 29
7   libsystem_pthread.dylib       	0x00007fff6ac78109 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff6ac73b8b thread_start + 15
@fokkonaut
Copy link
Owner

Compile the program yourself, maybe that fixes it. I didnt change anything in that direction, maybe the GitHub Artifacts arent the best builds

@nzyuzin
Copy link
Author

nzyuzin commented Jun 30, 2020

Apparently the same issue as in teeworlds/teeworlds#2624.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants