| Summary: | Running any program with the SDL 2 framework linked causes Xcode 5 to crash | ||
|---|---|---|---|
| Product: | SDL | Reporter: | jemc44 |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | jasoncrowder, libsdl.org, max.kaufmann, sdlbug, sporaland |
| Version: | 2.0.3 | Keywords: | triage-2.0.4 |
| Hardware: | x86_64 | ||
| OS: | Mac OS X 10.8 | ||
| Attachments: | Dump of the crash | ||
|
Description
jemc44
2014-04-09 16:54:05 UTC
It seems SDL 2.0.3 and 2.0.2 causes the crash. SDL 2.0.1 doesn't crash. Crazy! Ryan, looking at the diff for the Xcode project between 2.0.1 and 2.0.2, the only thing that changed was the addition of the dynamic API stuff. Is that somehow crashing Xcode? I had the same issue using the 2.0.3 version. Xcode crashes only when the debugger is attached, running without the debugger attached or running the created executable separately works fine. I fixed the issue by downloading the 2.0.3 source code and compiling the framework. I believe this is a symptom of the SDL2 binaries not being properly signed. This problem is noted at https://bugzilla.libsdl.org/show_bug.cgi?id=2058, and a more detailed write-up is at http://stackoverflow.com/a/24559954/332946. Is Xcode still crashing with the latest HG version? If not, this was fixed by https://bugzilla.libsdl.org/show_bug.cgi?id=2058 and can be closed. Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! Re comment #5, Please note that this problem occurs *only* with the .dmg binary linked from libsdl.org. If you build libsdl yourself there is no problem. Asking people to test the latest HG version is therefore meaningless. This problem makes the binary completely useless. I do not know if this problem happens only with the .dmg or if it will happen anytime person B tries to use a framework built by person A. If the former, it is most likely a problem with the environment of the person/bot that builds the binary. If the latter then it may be an issue with the SDL xcode projects. This is fixed for the next release, thanks! |