nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
5.34k stars 87 forks source link

Runtime error when executing macos-native-fullscreen (CLI & keymap) #329

Closed brettfeltmate closed 1 month ago

brettfeltmate commented 1 month ago

Calling macos-native-fullscreen mode causes Aerospace to crash with the attached log message.

When called via a keymapping (alt-enter = 'macos-native-fullscreen'), or via the CLI, aerospace successfully enters fullscreen mode. However, doing the same to exit fullscreen throws a runtime error.

I don't have much experience filing bug reports, so feel free to ask for additional details.

Below is the console output when called via the CLI, and attached is the log file created when using a keymap.

$ aerospace macos-native-fullscreen                                                                                                                                                           Common/commonUtil.swift:42: Fatal error:
Please report to:
    https://github.com/nikitabobko/AeroSpace/issues/new

Message: The data couldn’t be read because it isn’t in the correct format.
Version: 0.12.0-Beta
Git hash: 9cf82feb0c85bea77fedcdc6b8cdba75b5bbf1f8
Coordinate: /Users/bobko/a/AeroSpace/Sources/Cli/main.swift:61:91 run(_:stdin:)
recursionDetectorDuringFailure: false
cli: true

Stacktrace:
0   aerospace                           0x00000001047ff8cc $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlFs5NeverO_Tg5 + 740
1   aerospace                           0x0000000104818584 $ss6ResultO6CommonE10getOrThrow_4file4line6column8functionxSS_SSS2iSStF + 360
2   aerospace                           0x00000001046b63a4 $s3Cli3run_5stdin6Common12ServerAnswerVSaySSG_SStF + 1252
3   aerospace                           0x00000001046b568c main + 2208
4   dyld                                0x00000001982760e0 start + 2360
zsh: trace trap  aerospace macos-native-fullscreen

$ aerospace macos-native-fullscreen on                                                                                                                                                        Common/commonUtil.swift:42: Fatal error:
Please report to:
    https://github.com/nikitabobko/AeroSpace/issues/new

Message: The data couldn’t be read because it isn’t in the correct format.
Version: 0.12.0-Beta
Git hash: 9cf82feb0c85bea77fedcdc6b8cdba75b5bbf1f8
Coordinate: /Users/bobko/a/AeroSpace/Sources/Cli/main.swift:61:91 run(_:stdin:)
recursionDetectorDuringFailure: false
cli: true

Stacktrace:
0   aerospace                           0x00000001006bb8cc $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlFs5NeverO_Tg5 + 740
1   aerospace                           0x00000001006d4584 $ss6ResultO6CommonE10getOrThrow_4file4line6column8functionxSS_SSS2iSStF + 360
2   aerospace                           0x00000001005723a4 $s3Cli3run_5stdin6Common12ServerAnswerVSaySSG_SStF + 1252
3   aerospace                           0x000000010057168c main + 2208
4   dyld                                0x00000001982760e0 start + 2360
zsh: trace trap  aerospace macos-native-fullscreen off 

aerospace-runtime-error.txt

agenttank commented 1 month ago

duplicate of https://github.com/nikitabobko/AeroSpace/issues/288