zsh: segmentation fault
Moderator: GZDoom Developers
Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
zsh: segmentation fault
When attempting to launch GZDoom on macOS [10.15.5, 2019 MacBook Air base model] it crashes instantly without an error message. When opening the package and launching it directly as a Terminal app, this is what it spits out [my name has been censored for obvious reasons]
[begin terminal log - i have confirmed this is the console log via another machine that doesn't crash]
MacBookAir8,2 running macOS Catalina 10.15.5 (19F101) 64-bit Intel
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /Users/#^$@@/Desktop/GZDoom.app/Contents/MacOS/gzdoom.pk3, 615 lumps
adding /Users/#%$@#/Desktop/GZDoom.app/Contents/MacOS/game_support.pk3, 2512 lumps
adding /Library/Application Support/GZDoom/DOOM.WAD, 2306 lumps
I_Init: Setting up machine state.
CPU speed: 1608 MHz
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Family 6, Model 142, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading
V_Init: allocate screen.
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device CoreAudio Default
EFX enabled
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 278.05 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Resolution: 1680 x 1050
zsh: segmentation fault /Users/$%@%$/Desktop/GZDoom.app/Contents/MacOS/gzdoom
[Process completed]
[end terminal log]
[begin terminal log - i have confirmed this is the console log via another machine that doesn't crash]
MacBookAir8,2 running macOS Catalina 10.15.5 (19F101) 64-bit Intel
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /Users/#^$@@/Desktop/GZDoom.app/Contents/MacOS/gzdoom.pk3, 615 lumps
adding /Users/#%$@#/Desktop/GZDoom.app/Contents/MacOS/game_support.pk3, 2512 lumps
adding /Library/Application Support/GZDoom/DOOM.WAD, 2306 lumps
I_Init: Setting up machine state.
CPU speed: 1608 MHz
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Family 6, Model 142, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading
V_Init: allocate screen.
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device CoreAudio Default
EFX enabled
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 278.05 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Resolution: 1680 x 1050
zsh: segmentation fault /Users/$%@%$/Desktop/GZDoom.app/Contents/MacOS/gzdoom
[Process completed]
[end terminal log]
Re: zsh: segmentation fault
When launching from Finder, it should open the usual crash report dialogue. It can take some time when its window pops up.
Re: zsh: segmentation fault
Except it doesn't, no matter how long I wait.
I've launched it from the Launchpad [F4 on my computer], from /Applications/, and from the desktop and there isn't any error.
I've launched it from the Launchpad [F4 on my computer], from /Applications/, and from the desktop and there isn't any error.
Re: zsh: segmentation fault
I have no other ideas except to install Xcode, and to start GZDoom under lldb in order to get a callstack.
EDIT: On the second thought, crash logs should be saved regardless of reporter window. Open Console app, and choose Crash Reports on the left.
EDIT: On the second thought, crash logs should be saved regardless of reporter window. Open Console app, and choose Crash Reports on the left.
Re: zsh: segmentation fault
There is no other option except to run GZDoom under debugger then.
Re: zsh: segmentation fault
Install Xcode, and open it at least once to finish installation.
After that, execute the following command in Terminal, adjusting path to the bundle if needed.
When it loads, type r and Enter. When it crashes, type bt and Enter.
Please post output of the last command.
After that, execute the following command in Terminal, adjusting path to the bundle if needed.
Code: Select all
lldb GZDoom.app/Contents/MacOS/gzdoom
Please post output of the last command.
- axredneck
- Posts: 433
- Joined: Mon Dec 11, 2017 2:09 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Russia
- Contact:
Re: zsh: segmentation fault
https://apps.apple.com/ru/app/xcode/id497799835?mt=12Doris Fanningherk wrote:i have no idea what xcode is