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

first responder error on window creation (since macOS Sierra) #908

Closed
RyanDoesCG opened this issue Nov 29, 2016 · 10 comments
Closed

first responder error on window creation (since macOS Sierra) #908

RyanDoesCG opened this issue Nov 29, 2016 · 10 comments
Assignees
Labels
duplicate Issues duplicating another issue macOS
Milestone

Comments

@RyanDoesCG
Copy link

2016-11-29 12:03:03.040681 Tribes[12757:699578] [General] ERROR: Setting <GLFWContentView: 0x101422470> as the first responder for window <GLFWWindow: 0x10400ec10>, but it is in a different window ((null))! This would eventually crash when the view is freed. The first responder will be set to nil.
(
0 AppKit 0x00007fffa58f29a4 -[NSWindow _validateFirstResponder:] + 566
1 AppKit 0x00007fffa50e39eb -[NSWindow _setFirstResponder:] + 31
2 AppKit 0x00007fffa518b66a -[NSWindow _realMakeFirstResponder:] + 406
3 AppKit 0x00007fffa518b480 -[NSWindow makeFirstResponder:] + 123
4 Tribes 0x000000010003392e createNativeWindow + 1230
5 Tribes 0x000000010003320f _glfwPlatformCreateWindow + 63
6 Tribes 0x000000010003d947 glfwCreateWindow + 887
7 Tribes 0x000000010000cee0 _ZN4Game8initGLFWEv + 192
8 Tribes 0x000000010000ccc1 _ZN4GameC2Ev + 129
9 Tribes 0x000000010000cfd5 _ZN4GameC1Ev + 21
10 Tribes 0x0000000100015226 main + 38
11 libdyld.dylib 0x00007fffbc514255 start + 1
12 ??? 0x0000000000000001 0x0 + 1
)

@elmindreda
Copy link
Member

elmindreda commented Nov 29, 2016

This should be fixed with #883. See if the problem persists with current master.

@elmindreda elmindreda added duplicate Issues duplicating another issue macOS labels Nov 29, 2016
@elmindreda elmindreda self-assigned this Nov 29, 2016
@RyanDoesCG
Copy link
Author

Built from master just now, still throws the exact same error.

@jhauberg
Copy link

jhauberg commented Nov 30, 2016

I experience the same issue. MacOS Sierra 10.12.1.

Thought it doesn't cause anything to "not work", or eventually crash- as the error suggests. It's just mildly disturbing seeing this on every run :)

@elmindreda
Copy link
Member

@MyForteIsTimeTravel What does glfwGetVersionString return?

@RyanDoesCG
Copy link
Author

"Version: 3.2.1 Cocoa NSGL chdir menubar retina"

As Jhauberg says it isn't a crash error or anything, but it does throw this error consistently on 10.12.

@elmindreda
Copy link
Member

@MyForteIsTimeTravel The version in master is 3.3, so you are linking against an older version.

@RyanDoesCG
Copy link
Author

Okay, i must have copied the wrong one after i built. Sorry, my bad!

@elmindreda
Copy link
Member

@MyForteIsTimeTravel No worries! Happens to us all. Does the library built from master work better?

@RyanDoesCG
Copy link
Author

Yeah it does, i got 3.3.0 and the errors gone. Many thanks

@kesperado
Copy link

I have the same problem now, even though I downloaded the latest version from GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues duplicating another issue macOS
Projects
None yet
Development

No branches or pull requests

4 participants