Bug 27906 - Hard crash from quick fix menu
Summary: Hard crash from quick fix menu
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Cody Russell
URL:
Depends on:
Blocks:
 
Reported: 2015-03-11 14:12 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-05-10 23:55 UTC (History)
3 users (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 NOT_REPRODUCIBLE

Description Mikayla Hutchinson [MSFT] 2015-03-11 14:12:40 UTC
I saw this crash multiple times when using the quick fix menu (alt-enter, arrow down, enter):

Thread 1 (process 32737):
#0  0x9a344e16 in __wait4 ()
#1  0x97ac5b15 in waitpid$UNIX2003 ()
#2  0x0011bf3d in mono_handle_native_sigsegv (signal=11, ctx=0x727fe0) at mini-exceptions.c:2323
#3  0x0016af4b in mono_arch_handle_altstack_exception (sigctx=<value temporarily unavailable, due to optimizations>, fault_addr=<value temporarily unavailable, due to optimizations>, stack_ovf=0) at exceptions-x86.c:1106
#4  0x0006ee2d in mono_sigsegv_signal_handler (_info=<value temporarily unavailable, due to optimizations>, context=<value temporarily unavailable, due to optimizations>) at mini.c:6858
#5  <signal handler called>
#6  0x9ac9592b in _CFDoExceptionOperation ()
#7  0x9a97dcbc in _NSRemoveAltHandler2 ()
#8  0x9245d95b in -[NSFocusStack unfocusView:] ()
#9  0x924798c2 in -[NSView unlockFocus] ()
#10 0x92524bb0 in -[NSView _drawOverlayRectSet:] ()
#11 0x92452438 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#12 0x924505c4 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#13 0x9244d338 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#14 0x9242a867 in -[NSView displayIfNeeded] ()
#15 0x9244901c in -[NSWindow displayIfNeeded] ()
#16 0x92487e90 in _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints ()
#17 0x92af5e9b in __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1569 ()
#18 0x9acc7a5d in _runLoopObserverWithBlockContext ()
#19 0x9acc743e in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#20 0x9acc7380 in __CFRunLoopDoObservers ()
#21 0x9acb8ce2 in __CFRunLoopRun ()
#22 0x9acb86c6 in CFRunLoopRunSpecific ()
#23 0x9acb852b in CFRunLoopRunInMode ()
#24 0x985032d8 in RunCurrentEventLoopInMode ()
#25 0x98502ee3 in ReceiveNextEventCommon ()
#26 0x98502e0c in _BlockUntilNextEventMatchingListInModeWithFilter ()
#27 0x92318229 in _DPSNextEvent ()
#28 0x92317a71 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#29 0x0404beb7 in poll_func ()
#30 0x0384e5f2 in g_main_context_poll ()
#31 0x0384c3ad in g_main_context_iterate ()
#32 0x0384c9ba in g_main_loop_run ()
#33 0x03b2449f in gtk_main ()
#34 0x14cdea3c in ?? ()
#35 0x14cde9f4 in ?? ()
#36 0x14cde9d4 in ?? ()
#37 0x037a68b4 in ?? ()
#38 0x0068a018 in ?? ()
#39 0x00689dfc in ?? ()
#40 0x00689eb6 in ?? ()
#41 0x0007165f in mono_jit_runtime_invoke () at mini.c:6735
#42 0x002307ff in mono_runtime_invoke (method=0x7a2e9ec4, obj=0x0) at object.c:2842
#43 0x00236641 in mono_runtime_exec_main (method=0x7a2e9ec4, args=<value temporarily unavailable, due to optimizations>, exc=0x0) at object.c:4099
#44 0x002363ea in mono_runtime_run_main (method=0x7a2e9ec4, argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at object.c:3725
#45 0x000e6d9d in mono_jit_exec (domain=0x79761490, assembly=0x79763200, argc=287, argv=0x84) at driver.c:1006
#46 0x000e9070 in mono_main (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at driver.c:1065
#47 0x00063f80 in main (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at main.c:94

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 1 Sadik Ali 2015-03-25 10:44:20 UTC
I have checked this issue and unable to reproduce the given behavior with XS 5.8.2 (build 5) . When I enter on quick fix menu there is no any crash occur. Please refer the screencast:

Screencast: http://www.screencast.com/t/XmmbqpYDaV1
Ide Logs: https://gist.github.com/sunil360/fbefb204c42e27145248

Please let me know If I missed any step to reproduce this issue.

Also could you please provide build/environment info on which you are getting this issue? So that I can reproduce this issue at my end. 

Environment Info:

=== Xamarin Studio ===

Version 5.8.2 (build 5)
Installation UUID: 0b7eaebc-a0ed-4b58-81df-91e378cad28c
Runtime:
	Mono 3.12.1 ((detached/0849ec7)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010003

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.8.2.2 (Enterprise Edition)
Hash: f5d0c5e
Branch: 
Build date: 2015-03-20 06:51:49-0400

=== Xamarin.Android ===

Version: 4.20.1.0 (Enterprise Edition)
Android SDK: /Users/Admin_Mac/Desktop/Anddk/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.12.0.14 (Enterprise Edition)

=== Build Information ===

Release ID: 508020005
Git revision: 541c06a4f6c95383333375d56fd6c23ce48cb916
Build date: 2015-03-20 09:23:08-04
Xamarin addins: 02510c4990dee3475c282b3182d588975a63ff07

=== Operating System ===

Mac OS X 10.10.2
Darwin Admin-Macs-Mac-mini.local 14.1.0 Darwin Kernel Version 14.1.0
    Thu Nov 13 18:36:56 PST 2014
    root:xnu-2782.10.65~2/RELEASE_X86_64 x86_64
Comment 2 Kirill Osenkov 2017-05-10 23:55:49 UTC
Not repro, I'm assuming you haven't seen this recently.