Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault if menu is clicked while alert is visible #175

Open
rupertleveneucd opened this issue Jan 11, 2022 · 3 comments
Open
Labels

Comments

@rupertleveneucd
Copy link

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.

@WGandy
Copy link

WGandy commented Jan 26, 2022

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

@daredoes
Copy link
Collaborator

daredoes commented Jun 8, 2022

Are these Intel or M1 chips?

@rupertleveneucd
Copy link
Author

I'm on Intel.

@jaredks jaredks added the bug label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants