Skip to content

Intrusive and frequent popup windows, about verifying python framework #2826

@HMERog

Description

@HMERog

Describe the problem

Frequent "verifying" popups appear, referring to python.framework or various other python objects, during every compilation. These appear for a small fraction of a second only, about 2 seconds apart. Unfortunately the popup steals the focus, so the Mac becomes almost unusable (lost keystrokes, menus collapse etc). The compilation is also very slow (about 10 mins for a modest .ino file for ESP32).

I do appreciate that this is probably a MacOS system issue, not an Arduino IDE issue as such. The popup appears to be from CoreServicesUIAgent, reporting xProtect activity. The puzzle is that the python framework is apparently being verified repeatedly (and interminably). However, AFAIK it only occurs with the IDE (not with other apps, although I probably don't have any other apps that invoke python). Since this is on a clean install of Sequoia, it's possible that it affects all IDE users (there are plenty of questions about it on other forums).

Interestingly, a very similar popup symptom has been reported for Erlang/OTP, where a contributor comments that "x86 macs lack a certain feature that lets us safely toggle pages between being writable and executable". They go on to explain that it indeed may be a MacOS problem, but there may be a workaround accessible to the app developers.

Would someone please be so kind as to have a look at this, in case it is avoidable for Arduino IDE?

To reproduce

Open the IDE; load and compile Blink. Popups appear (to read them you need to invoke screen recording - and then quit the IDE while examining the recording, otherwise it's hard to scroll through the recording). Re-compile - more popups appear.

Also compilation is extremely slow. The problem appears worse (or just goes on much longer) for ESP32 projects.

Expected behavior

Only one set of verifying popups when the app is newly installed, not for every compilation.

Arduino IDE version

2.3.6

Operating system

macOS

Operating system version

15.7.2

Additional context

Not solved by: OS reboot, clean OS re-install, IDE re-install.

The only python installed is via Xcode tools.

Which python > python not found; which python3 > /usr/bin/python3; python3 -V > Python 3.9.6

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions