jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault if menu is clicked while alert is visible

rupertleveneucd opened this issue · comments

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:

  1. Select BarApp -> Test on the BarApp menu.
  2. 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.
  3. 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.