fjolnir / xnomad

A tiling window manager for OS X, written in tranquil.
484 stars 28 forks source link

Xnomad (or Tranquil?) broken on Mavericks #53

Closed tazjin closed 10 years ago

tazjin commented 10 years ago

Hej!

Apple just released the Golden Master for OS X Mavericks, trying to use Xnomad on it results in this. ("script" is the filename of my xnomad script)

./script fish: Job 1, './script ' terminated by signal SIGSEGV (Address boundary error)

And trying to compile it first results in:

tqc script -framework Carbon -u framework AppKit -framework ApplicationServices -o xnomad.bin Error! Compilation failed

Compiling with -d results in this output: https://gist.github.com/tazjin/6823127

//V

fjolnir commented 10 years ago

Try running tranquil -aot -o test.llvm -d -arch x86_64 xnomad in the xnomad dir and send me the output

(I don't have mavericks yet)

fjolnir commented 10 years ago

There was an issue with the parser that only surfaced on 10.9 (triggered by changes in the runtime I think); that prevented compilation. On top of that, most libraries, and all headers have been moved into Xcode/.../SDKs so that broke linking meaning the existing compiled binaries didn't run. Please update using the new installer over at the tranquil repo. Should compile a binary that doesn't crash.

But the accessibility api appears to behave differently on mav, so things are pretty wonky. (Other window managers appear to be having trouble with it as well)

I don't have time to look into that part right now (just spent quite a while tracking down the crasher) so I'd love it if someone could check out the changes in the accessibility api and submit a patch or at least tell me what's up.

fjolnir commented 10 years ago

Actually, it only seems to be an issue when multiple monitors are connected

gitfoxi commented 10 years ago

Yes. It's a bad experience with multiple monitors. Remind me to never upgrade OSX again.

vespakoen commented 10 years ago

Hey, had the same error here, what I did is this:

// install homebrew
brew tap homebrew/versions
brew install gcc48

I think that is what fixed it, I have installed XCode after running that, which could also have been the problem, anyways, hope this helps, I am happily running xnomad now on the latest Mavericks!