Modify

Opened 5 years ago

Closed 5 years ago

#20033 closed defect (othersoftware)

MacOS app doesn't launch on first run

Reported by: Stereo Owned by: Stereo
Priority: normal Milestone:
Component: Installer MacOS Version: latest
Keywords: macos javabug othersoftware Cc:

Description (last modified by Stereo)

When opening a quarantined app for the first time, macOS 10.15 and earlier passes an extra -psn_0_XXX argument, where XXX is the process serial number. This is a legacy behaviour from the days of the Carbon framework and collaborative multitasking.

This means that with the new builds, JOSM.app will close on its first run, and run fine on every subsequent run.

This has been reported as a java bug (https://bugs.openjdk.java.net/browse/JDK-8240877). In the meanwhile, you might have to open JOSM twice after installing it.

A workaround could be to ignore the -p argument.

The problem doesn't happen in macOS Big Sur (11.0.1).

Attachments (0)

Change History (7)

comment:1 by Stereo, 5 years ago

An example argument is -psn_0_10615327. JOSM then dies with JOSM: unrecognised option '-p'

This was, as you can imagine, a lot of fun to debug :). Thomas Skowron and Vincent Privat helped me out a lot.

comment:2 by Stereo, 5 years ago

Owner: changed from team to Stereo
Status: assignednew

comment:3 by Stereo, 5 years ago

I've received a report that this doesn't happen in Big Sur anymore.

comment:4 by Stereo, 5 years ago

Description: modified (diff)

comment:6 by Stereo, 5 years ago

Description: modified (diff)

comment:7 by Don-vip, 5 years ago

Resolution: othersoftware
Status: newclosed

We just have to wait for Java 16 then.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Stereo.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.