Bug 4038 - MonoDevelop fails to reopen after crash
Summary: MonoDevelop fails to reopen after crash
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-03-22 14:53 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-05-24 14:39 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2012-03-22 14:53:47 UTC
MonoDevelop fails to reopen after clicking the "reopen" button on the Apple crash reporter. This seems to be because the OS is passing a -psn_SOME_NUMBER argument to MD, confusing MD's commandline options parser. We should special-case to ignore that - or maybe GTK+ should be passing it through to AppKit.
Comment 1 Mikayla Hutchinson [MSFT] 2012-04-26 20:40:24 UTC
Doesn't look like it's the commandline arg. Must be something else that's happening when it's reopened.
Comment 2 Mikayla Hutchinson [MSFT] 2012-05-03 20:26:45 UTC
Okay, this is weird. The argument is coming from Mono, not from MD. It looks like MacOS is trying to re-launch the entrypoint executable, not the app bundle.

5/3/12 8:23:38.584 PM [0x0-0x260260].mono: Unknown command line option: '-psn_0_2490976'
5/3/12 8:23:38.585 PM com.apple.launchd.peruser.502: ([0x0-0x260260].mono[33369]) Exited with code: 1

This should get fixed automatically when we use a shim entrypoint executable for MD.
Comment 3 Mikayla Hutchinson [MSFT] 2012-05-24 14:39:11 UTC
Confirmed that the shim entrypoint fixes this.