rumps icon indicating copy to clipboard operation
rumps copied to clipboard

Segmentation fault if menu is clicked while alert is visible

Open rupertleveneucd opened this issue 3 years ago • 3 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.

rupertleveneucd avatar Jan 11 '22 12:01 rupertleveneucd

I'm getting a segmentation fault 11 just by importing rumps. Macos Mojave Python 3.9 installed via homebrew

WGandy avatar Jan 26 '22 18:01 WGandy

Are these Intel or M1 chips?

daredoes avatar Jun 08 '22 21:06 daredoes

I'm on Intel.

rupertleveneucd avatar Jun 09 '22 08:06 rupertleveneucd