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

OSX on Mac Pro IDE version 1.8.12 crash #9817

Closed
anoracknophobia opened this issue Feb 29, 2020 · 23 comments · Fixed by #10357
Closed

OSX on Mac Pro IDE version 1.8.12 crash #9817

anoracknophobia opened this issue Feb 29, 2020 · 23 comments · Fixed by #10357
Labels
Component: IDE The Arduino IDE OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Type: Bug

Comments

@anoracknophobia
Copy link

crashed while dragging from one screen to a second screen on a dual screen system.

… also had crashed earlier after being left unattended (after opening a file) for approximately
30 minutes i.e. no other editing of the file had occurred.

@svenfong
Copy link

svenfong commented Mar 1, 2020

I have the same issue, and my Mac version is Catalina 10.15.3 Arduino version is 1.8.12 too.

@per1234
Copy link
Collaborator

per1234 commented Mar 2, 2020

crashed while dragging from one screen to a second screen on a dual screen system

That sounds like #9764

crashed earlier after being left unattended (after opening a file) for approximately 30 minutes

That sounds like #9747

@per1234 per1234 added Component: IDE The Arduino IDE OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Type: Bug labels Mar 2, 2020
@schreinerman
Copy link

same at my Mac with Catalina... Arduino IDE crashes randomly, so it is impossible to work with it

@golfredom
Copy link

It crashes, Chen trying to dragón an IDE window or serial monitor window to the extended monitor.

@AlanTwigg
Copy link

I have the same issue IDE 1.8.12. Mac OS 10.15.3, dual monitor system

@loganduffield
Copy link

same issue. Mac OS 10.15.3, IDE 1.8.12. Happens when dragging to extended monitor. Reverted to IDE 1.8.10 and no issue

@StefanoSGI
Copy link

StefanoSGI commented Mar 11, 2020

Same issue, works well if I disconnect the 2nd display but that's no solution.
It seems something in the logics that instantiate a new window crashes. I can reproduce with File>New or Tools > Serial Monitor.
I'm on macOS Catalina 10.15.3, I confirmed the issue on 1.8.11, 1.8.12 and hourly (9 March 2020 3:34:57 GMT). Version 1.8.10 is not affected.

@jeffreyspaceboy
Copy link

Same issue. Mac OS 10.15.4. IDE 1.8.12. Any time the window is moved or resized.

@Vandewaetere
Copy link

Confirmed here as well. IDE 1.8.10 does not have the issue.
Can be downloaded here: https://www.arduino.cc/download_handler.php?f=/arduino-1.8.10-macosx.zip

@facchinm facchinm added the OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented label Mar 30, 2020
@facchinm
Copy link
Member

facchinm commented Mar 30, 2020

We are aware of all the issues related with OpenJDK being bundled with 1.8.12 on OSX, but there are only two ways to tackle this (unless Apple reverts its notarization policy):

  • fixing AdoptJDK builds (not really our expertise)
  • switching to Java14 (which is notarized by Oracle, and should be ok to redistribute )

Said that, 1.8.10 will stop working as soon as Apple enforces notarization so it's not a valid long term solution. Any idea is appreciated 🙂

@anoracknophobia
Copy link
Author

anoracknophobia commented Mar 30, 2020 via email

@StefanoSGI
Copy link

@facchinm Just an idea... maintain a single code base: go all in with https://www.arduino.cc/pro/arduino-pro-ide and add a "hobby" persona for the original IDE audience.

@RyuuzakiJulio
Copy link

unless Apple reverts its notarization policy?
So Arduino for Mac is dead? Crashes all over the place. Why can't you guys do just a normal app that we can download on the App Store? Or at least not with so many funky frameworks that are not compatible with Mac.

@cmaglie
Copy link
Member

cmaglie commented Apr 3, 2020

Wait wait wait:

Said that, 1.8.10 will stop working as soon as Apple enforces notarization so it's not a valid long term solution.

This is not true. Apple has already enforced strict notarization policy, but this is for applications not yet released. Since IDE 1.8.10 has been already notarized it will continue to work also in the future.

So, for now, using IDE 1.8.10 it's the best workaround available.

@mctong8664
Copy link

Hi,

Found a workaround. Go to System Preference -> Display -> Arrangement. Move the white horizontal bar to secondary display. This basically swap the secondary display become primary when 2nd monitor is connected.

Look like Arduino 1.8.12 can only work in primary screen. I just want my Arduino display to work properly on larger monitor. I don't move Arduino display to another screen. So this workaround is fine with me.

Hope this help.

@anoracknophobia
Copy link
Author

anoracknophobia commented Apr 26, 2020 via email

@obdevel
Copy link

obdevel commented Apr 26, 2020

It's getting worse for me. macOS 10.13.6, Arduino IDE 1.8.12. I'm not using a secondary display.

The latest High Sierra update breaks the 1.18.12 IDE in a similar fashion to Catalina, e.g.

  • frequent multi-second hangs in the editor
  • often results in a corrupted or 'torn' editor window
  • sometimes results in a complete hang of the Mac desktop, requiring a hard power-off

This is in addition to the ongoing issues:

  • Library Manager and Boards Manager takes several minutes to process an updated library or boards
  • 10-20 second hangs on Tools and File menu

Given the popularity and size of the Arduino user base, not mention the bad publicity, why aren't Apple and Oracle taking more of an interest in this ?

1.8.10 seems more stable.

@ghost
Copy link

ghost commented Apr 30, 2020

Another work around is selecting the option 'Displays have separate Spaces' in System Preferences -> Mission Control.

@obdevel
Copy link

obdevel commented May 2, 2020

Having hard rebooted my Mac for the tenth time today, I feel like a rant. Even 1.8.10 causes screen corruption frequent and hard lockups. I can sometimes start a terminal and type the reboot command blind. fwiw my Mac is otherwise typically bulletproof. Only the Arduino IDE causes this behaviour.

I'm more than willing to help with any debugging. Just provide details and I will test and feedback.

High Sierra macOS 10.13.6.

@BillyGriffiths
Copy link

BillyGriffiths commented May 18, 2020

Hi,

Found a workaround. Go to System Preference -> Display -> Arrangement. Move the white horizontal bar to secondary display. This basically swap the secondary display become primary when 2nd monitor is connected.

Good find, thanks! This was driving me nuts!!

@BillyGriffiths
Copy link

BillyGriffiths commented May 18, 2020

Another work around is selecting the option 'Displays have separate Spaces' in System Preferences -> Mission Control.

This did not work for me on Catalina 10.15.4. IDE crashes the moment I drag any window to secondary.

@anoracknophobia
Copy link
Author

anoracknophobia commented Jun 17, 2020 via email

@cmaglie
Copy link
Member

cmaglie commented Jun 17, 2020

We released IDE 1.8.13 with the fix -> https://www.arduino.cc/en/Main/Software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Type: Bug
Projects
None yet