racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
444 stars 93 forks source link

Unstable (crashing) on macOS 14.0 Public Beta (23A5301h) #632

Closed bainco closed 2 months ago

bainco commented 11 months ago

What version of Racket are you using? 8.10.0.3--2023-08-01(ff7f0493df/a) (also unstable performance on 8.9)

What program did you run? Sample RKT File from DrRacket

What should have happened? No crash!

If you got an error message, please include it here. For this particular crash I:

  1. Opened DrRacket via double clicking the .app
  2. Opened the above sample RKT via File > Open
  3. Attempted to run the sample RKT macOS Crash Report

Please include any other relevant details

Crash condition is rather inconsistent. I observed crashes while:

mflatt commented 11 months ago

Thanks for the report! I've tracked this down to an issue with version of the Cairo drawing library that DrRacket uses.

If it's useful to you to patch your installation, you can download https://users.cs.utah.edu/~mflatt/tmp/libcairo.2.dylib as a replacement for the version that is included in a distribution. After downloading, you'll need to use the command line xattr -d com.apple.quarantine libcairo.2.dylib to remove the quarantine attribute on the file. After removing that attribute, you can mover libcairo.2.dylib into the lib folder of your Racket installation to replace the one that's there.

I don't know whether there's time to get this repair into Racket v8.10, but I'll start the conversation with the release managers.