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

Running any program with the SDL 2 framework linked causes Xcode 5 to crash #1435

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.3
Reported for operating system, platform: Mac OS X 10.8, x86_64

Comments on the original bug report:

On 2014-04-09 16:54:05 +0000, wrote:

Created attachment 1613
Dump of the crash

I just added SDL to one of my projects and added a SDL_Init() call to the main function and suddenly Xcode 5 crashes. It seems I'm not the only one http://stackoverflow.com/questions/22368202/xcode-5-crashes-when-running-an-app-with-sdl-2

On 2014-04-09 17:01:43 +0000, wrote:

It seems SDL 2.0.3 and 2.0.2 causes the crash. SDL 2.0.1 doesn't crash.

On 2014-04-18 05:48:17 +0000, Sam Lantinga wrote:

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?

On 2014-04-24 13:24:58 +0000, Asbjørn Sporaland wrote:

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.

On 2014-07-03 17:34:26 +0000, wrote:

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.

On 2014-08-18 01:59:36 +0000, Robotic-Brain wrote:

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.

On 2015-02-19 06:32:15 +0000, Ryan C. Gordon wrote:

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!

On 2015-05-15 09:12:55 +0000, Mark Callow wrote:

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.

On 2015-05-26 13:37:48 +0000, Sam Lantinga wrote:

This is fixed for the next release, thanks!

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

1 participant