rumps
rumps copied to clipboard
Segmentation fault if menu is clicked while alert is visible
On OS X 10.13, the following gives me a segfault.
import rumps
class BarApp(rumps.App):
@rumps.clicked("Test")
def test(self, _):
rumps.alert("Now click BarApp twice, then click OK.\nResult: segfault")
BarApp("BarApp").run()
To reproduce:
- Select BarApp -> Test on the BarApp menu.
- An alert box appears. Without dismissing the alert, click BarApp twice in the menu bar. The menu appears after the first click (with all menu items disabled, strangely), and is then dismissed after the second click.
- Click OK in the alert box to get
Segmentation fault: 11.
Changing rumps.alert to rumps.window gives the same behaviour.
I'm getting a segmentation fault 11 just by importing rumps. Macos Mojave Python 3.9 installed via homebrew
Are these Intel or M1 chips?
I'm on Intel.