tildearrow / furnace

a multi-system chiptune tracker compatible with DefleMask modules
GNU General Public License v2.0
2.07k stars 186 forks source link

Furnace built on macOS 14 crashes when using previous versions of macOS (especially in old processors) #1952

Open rhythmparker opened 2 weeks ago

rhythmparker commented 2 weeks ago

Furnace version 0.6.4 is crashing on MacOS Big Sur (11.7.9) immediately upon loading. I deleted the configs, but that didn't fix the issue. I have attached a copy of the error message. The last version of Furnace that seems to work for me is 0.6.2... furnace_crash_log.txt

tildearrow commented 2 weeks ago

Oh no... this is the second time I get a crash on the very startup...

Mac and CPU model?

rhythmparker commented 2 weeks ago

Mac Pro early 2009, Xeon CPU (X5690, i think). GPU is a Radeon VII.

tildearrow commented 2 weeks ago

Try using latest artifact. This one in particular.

rhythmparker commented 1 week ago

I get the same result with the latest artifact. It still crashes. The Furnace icon appears for a second, vanishes, and the MacOS Problem Report dialogue appears.

tildearrow commented 1 week ago

Try with this one: https://github.com/tildearrow/furnace/actions/runs/9587807739

It is built in macOS 12 (which was used by builds before 0.6.3).

rhythmparker commented 1 week ago

That works! Thank you.

mmontag commented 1 week ago

hm. versions 0.6.4, 0.6.3, 0.6.2 are crashing with segfault 11 for me. and I keep digging other versions but they have the old "File is damaged."

macOS 10.15.7 Catalina 🥹 MacBook Pro 2017, Intel Core i7

here is output of 0.6.3:

$ /Applications/Furnace.app/Contents/MacOS/Furnace
[debug] registering systems...
[debug] config path: /Users/montag/Library/Application Support/Furnace
[info] Furnace version 0.6.3.
[debug] opening config for read: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.1
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.2
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.3
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] fopen(): No such file or directory
[debug] config does not exist
[info] creating default config.
[debug] rotating config files...
[trace] remove /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.3 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.2 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.3
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.1 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.2
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg to /Users/montag/Library/Application Support/Furnace/furnace.cfg.1
[debug] opening config for write: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[debug] config file written successfully.
[debug] setting default preset
[debug] trying to load old preset
[debug] preset size 0
[info] initializing audio.
[trace] listing audio devices
[trace] setting callback
[trace] calling init
[debug] SDL audio driver: coreaudio
[trace] opening audio device...
[trace] got info: 2 channels, 1024 bufsize
[trace] allocating oscBuf...
[info] initializing MIDI.
[debug] listing devices.
[debug] got port count.
[trace] no MIDI input device selected.
[trace] no MIDI output device selected.
[trace] initAudioBackend done
[trace] creating blip_buf
[trace] setting blip rate of samp_bb (44100.000000)
[trace] initializing dispatch...
[debug] rendering samples...
[info] initializing GUI.
[trace] setting window type to NORMAL.
[debug] initializing video...
[trace] video backend: cocoa
[trace] scaling managed by system.
[debug] auto-detecting UI scale factor.
[debug] scale factor: 1.000000
[trace] portrait: 0 (1280x800)
[debug] bounds check: display 0 is at 25x48x3815x1505:
[trace] window size: 1280x800
[trace] requested backend: Metal
[info] render backend: Metal
[debug] creating window...
[trace] available render drivers:
[trace] - metal
[trace] - opengl
[trace] - software
[debug] starting render backend...
[info] retrieving context...
[trace] render backend started
[trace] canvas size: 1280x800
[debug] preparing user interface...
[debug] opening user presets: /Users/montag/Library/Application Support/Furnace/presets.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.1
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.2
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.3
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.4
[trace] fopen(): No such file or directory
[debug] presets file does not exist
[debug] auto-detecting UI scale factor.
[debug] scale factor: 1.000000
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
Segmentation fault: 11
tildearrow commented 1 week ago

hm. versions 0.6.4, 0.6.3, 0.6.2 are crashing with segfault 11 for me. and I keep digging other versions but they have the old "File is damaged."

macOS 10.15.7 Catalina 🥹 MacBook Pro 2017, Intel Core i7

here is output of 0.6.3:

$ /Applications/Furnace.app/Contents/MacOS/Furnace
[debug] registering systems...
[debug] config path: /Users/montag/Library/Application Support/Furnace
[info] Furnace version 0.6.3.
[debug] opening config for read: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.1
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.2
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.3
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] fopen(): No such file or directory
[debug] config does not exist
[info] creating default config.
[debug] rotating config files...
[trace] remove /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.3 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.4
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.2 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.3
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg.1 to /Users/montag/Library/Application Support/Furnace/furnace.cfg.2
[trace] move /Users/montag/Library/Application Support/Furnace/furnace.cfg to /Users/montag/Library/Application Support/Furnace/furnace.cfg.1
[debug] opening config for write: /Users/montag/Library/Application Support/Furnace/furnace.cfg
[debug] config file written successfully.
[debug] setting default preset
[debug] trying to load old preset
[debug] preset size 0
[info] initializing audio.
[trace] listing audio devices
[trace] setting callback
[trace] calling init
[debug] SDL audio driver: coreaudio
[trace] opening audio device...
[trace] got info: 2 channels, 1024 bufsize
[trace] allocating oscBuf...
[info] initializing MIDI.
[debug] listing devices.
[debug] got port count.
[trace] no MIDI input device selected.
[trace] no MIDI output device selected.
[trace] initAudioBackend done
[trace] creating blip_buf
[trace] setting blip rate of samp_bb (44100.000000)
[trace] initializing dispatch...
[debug] rendering samples...
[info] initializing GUI.
[trace] setting window type to NORMAL.
[debug] initializing video...
[trace] video backend: cocoa
[trace] scaling managed by system.
[debug] auto-detecting UI scale factor.
[debug] scale factor: 1.000000
[trace] portrait: 0 (1280x800)
[debug] bounds check: display 0 is at 25x48x3815x1505:
[trace] window size: 1280x800
[trace] requested backend: Metal
[info] render backend: Metal
[debug] creating window...
[trace] available render drivers:
[trace] - metal
[trace] - opengl
[trace] - software
[debug] starting render backend...
[info] retrieving context...
[trace] render backend started
[trace] canvas size: 1280x800
[debug] preparing user interface...
[debug] opening user presets: /Users/montag/Library/Application Support/Furnace/presets.cfg
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.1
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.2
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.3
[trace] fopen(): No such file or directory
[trace] trying: /Users/montag/Library/Application Support/Furnace/presets.cfg.4
[trace] fopen(): No such file or directory
[debug] presets file does not exist
[debug] auto-detecting UI scale factor.
[debug] scale factor: 1.000000
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
[trace] addFontZlib...
Segmentation fault: 11

Reset your configuration file. The Metal backend is experimental and no longer the default in 0.6.4.

mmontag commented 1 week ago

Thanks. The build you linked yesterday in this thread works for me.

tildearrow commented 6 days ago

Dropping Critical priority since macOS 12 is being used for the builds. The issue remains with macOS 14 though.