Comments (9)
Does this only happen on macOS 11 in particular, for you? I just tried running that code with love 11.5 on macOS 14 and didn't crash.
from love.
Does this only happen on macOS 11 in particular, for you? I just tried running that code with love 11.5 on macOS 14 and didn't crash.
Yes. It works on Ventura and Sonoma, at the very least, but I know for a fact that Big Sur and Catalina (at least) have this problem.
from love.
In that case I wonder if it's an Apple bug where app references to the system zlib
library APIs aren't compatible with an older deployment target version when a newer SDK is used to compile, or something.
from love.
I can add that the segfault trace looks like this (thanks to MacOS's really remarkably good error tracing):
Thread 22 Crashed:: @engine/save_manager.lua
0 ??? 000000000000000000 0 + 0
1 love2d.love 0x00000001047b8e8d love::data::zlibCompressor::compress(love::data::Compressor::Format, char const*, unsigned long, int, unsigned long&) + 429
2 love2d.love 0x000000010474dc16 love::data::compress(love::data::Compressor::Format, char const*, unsigned long, int) + 70
With the following error flags set:
Crashed Thread: 22 @engine/save_manager.lua
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [36532]
from love.
Update: when compiling 11.5 from scratch on 11.7.10 (20G1427) and attempting to reproduce the program functions completely normally. So it appears to be yet another compiler bug.
from love.
I wonder if this Xcode update fixes it: https://developer.apple.com/documentation/xcode-release-notes/xcode-15_1-release-notes#Linking
I can try uploading a rebuilt version of 11.5 using Xcode 15.2 later, if you want to try.
from love.
I wonder if this Xcode update fixes it: https://developer.apple.com/documentation/xcode-release-notes/xcode-15_1-release-notes#Linking
I can try uploading a rebuilt version of 11.5 using Xcode 15.2 later, if you want to try.
Seems like the issue. I can't get to compiling LOVE today but if a build was made I can certainly report if the issue's been resolved.
from love.
@slime73 I'm not sure if it was upgrading to Xcode 15.2, or building with MACOSX_DEPLOYMENT_TARGET=10.13
(I got a warning about 10.11 not being valid anymore), but I was able to build a version of LOVE that works correctly on Big Sur.
from love.
I've updated the 11.5 macOS build in the releases section after recompiling with Xcode 15.2. That should fix it, but let me know if you still run into issues.
from love.
Related Issues (20)
- Regression 11.5: key events not triggered when an IME language is active (windows) HOT 12
- [12.0] C++ exception with newShader() and Vulkan renderer
- (Android/IOS) Display rotation control HOT 1
- [Linux] Add better packaging/distribution options HOT 20
- Brew install fails on macOS with: Error : SHA256 mismatch HOT 1
- Mouse is not updating on right / bottom screen edge (DPI scale > 100%) HOT 7
- Add a way to get Video duration
- Android Depth Buffer HOT 2
- remove the arbitrary 10x near/far plane scaling in the default projection matrix HOT 12
- Improve documentation about the window's depth buffer HOT 2
- Feature request: more performant anti-aliasing. Like FXAA or TAA. HOT 3
- Depth writes not writing to set mipmap HOT 2
- t.window.resizble = false doesn't work on android with LOVE 12 HOT 5
- Documentation: optional didactic "Implementation Details" section HOT 12
- symbol not found in flat namespace (___PHYSFS_platformCalcBaseDir) HOT 3
- allow for vectors in positions and sizes HOT 5
- error: call to member function 'WriteNumber' is ambiguous HOT 4
- Undefined symbols linking for macOS building with CMake
- [12.0] EXR encode/export produces swizzled image content (ABGR instead of RGBA) HOT 7
- love.keyboard.isDown is incorrect after dragging the game window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from love.