Bug 10848 - GetIdealSize can lock up the gui thread
Summary: GetIdealSize can lock up the gui thread
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Linux
: High major
Target Milestone: ---
Assignee: Jason Smith [MSFT]
URL:
: 11019 11066 11441 ()
Depends on:
Blocks:
 
Reported: 2013-03-03 05:37 UTC by Mike Krüger
Modified: 2013-08-29 03:25 UTC (History)
4 users (show)

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


Attachments
Freeze (11.10 KB, text/plain)
2013-08-28 09:27 UTC, David Roth
Details


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 Mike Krüger 2013-03-03 05:37:40 UTC
It may be a linux only issue, but sometimes the search popup blocks the gui thread and monodevelop becomes unresponsive. I made some thread dumps of it:

https://gist.github.com/mkrueger/5075579

I think that it looks like an infinite resize request loop.
Comment 1 Mikayla Hutchinson [MSFT] 2013-03-09 15:47:06 UTC
*** Bug 11019 has been marked as a duplicate of this bug. ***
Comment 2 Mikayla Hutchinson [MSFT] 2013-03-12 18:43:46 UTC
*** Bug 11066 has been marked as a duplicate of this bug. ***
Comment 3 Mikayla Hutchinson [MSFT] 2013-03-28 20:51:21 UTC
*** Bug 11441 has been marked as a duplicate of this bug. ***
Comment 4 Mike Krüger 2013-08-28 07:56:13 UTC
should be fixed.
Comment 5 David Roth 2013-08-28 08:27:58 UTC
Nope, still freezing with latest fetch from github.
It freezes almost always If I enter a comma ',' following by a space ' '. Sometimes I have to repeat this a couple of times and then I run into the freeze.
Comment 6 Mike Krüger 2013-08-28 08:44:50 UTC
May be a different problem - can you give me a kill -QUIT output ?

Which mono version are you using ?
Comment 7 David Roth 2013-08-28 09:27:01 UTC
Created attachment 4732 [details]
Freeze

Sure, for the kill output see the attached file.
My mono version:

[mono-master] ~ @ mono --version
Mono JIT compiler version 3.3.0 (master/b5188e8 Mon Aug 12 12:15:04 CEST 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen
Comment 8 Mike Krüger 2013-08-28 10:23:52 UTC
That's a mono 3.3 issue I think - I've problems with anything newer than 3.0.x on linux as well.

Can you try to go to 'main/build/bin' and start monodevelop with:

mono --gc=boehm MonoDevelop.exe

(but that's unrelated to the GetIdealSize fix - that's why it doesn't really help you :/)
Comment 9 David Roth 2013-08-29 02:35:00 UTC
with "mono --gc=boehm MonoDevelop.exe", MD also freezes, so no s-gen problem I think.
Do you know which part of mono is responsible then, so that i could fill up a proper bug?
Comment 10 Mike Krüger 2013-08-29 03:25:19 UTC
I think that's releated to an library - maybe gtk/gtk#

That's really hard to track down for us :/