Pages: [1]   Go Down
Author Topic: Mac IDE Annoyance  (Read 531 times)
0 Members and 1 Guest are viewing this topic.
San Francisco
Offline Offline
Newbie
*
Karma: 0
Posts: 41
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

So I've got what seems like a bug with the Mac IDE (using v15):  If the IDE is running and you tell the computer to restart, the Arduino IDE will quit, but the OS will put up a dialog say "The application Arduino has canceled the restart.".     This is with Mac OS X 10.5.6.

Seems like it's handling the "request restart" message, but is replying "no, stop!" when it should be replying "yes, proceed!".

-Paul

Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31470
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not just 15 that does this, I find it happens on 11 as well so it looks like it has been in a long time.
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Check the OS X system log to see if anything is being reported there.  It appears that the running JVM is not accepting the (equivalent of) HUP or INT being sent to it.  Since it cannot shut down cleanly of its own accord, the OS rightly abandons the shutdown.

Depending on how the VM is launched by the system UI server, it may be that the Arduino JVM process proper has been disconnected from the parent somehow.
Logged

I yield() for co-routines.

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

BTW, even Safari failing to shutdown cleanly will cause OS X to abandon a restart or shutdown.  I bet the arduino is throwing up a modal dialog (or the whole IDE is behaving like one.)
Logged

I yield() for co-routines.

Pages: [1]   Go Up
Jump to: