Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344546 - UI freezes on layout request, stuck in OS._gtk_widget_size_request method
Summary: UI freezes on layout request, stuck in OS._gtk_widget_size_request method
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5.2   Edit
Hardware: Sun Solaris-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 06:06 EDT by Pawel Pogorzelski CLA
Modified: 2017-06-20 02:33 EDT (History)
2 users (show)

See Also:


Attachments
GUI freezes (122.20 KB, patch)
2016-07-27 03:54 EDT, heena tanu.heena383gmail.com CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pogorzelski CLA 2011-05-03 06:06:51 EDT
Environment details:

OS: Solaris 10 10/09 s10s_u8wos_08a SPARC
GTK: 2.4.9
Java: 1.5.0_24, HotSpot VM


UI freezes for about a minute trying to layout the content of the view. Problem only surfaces when a combo box included in the view contains a large numer of items (6k in this case). Most of this time is spend in native code, CPU usage is high.

This is similar to what's reported on bug 293560.

Pointer to the place where execution freezes:

Thread [main] (Suspended)	
	OS._gtk_widget_size_request(int, GtkRequisition) line: not available [native method]	
	OS.gtk_widget_size_request(int, GtkRequisition) line: 12469	
	ListCombo<T>(Control).gtk_widget_size_request(int, GtkRequisition) line: 2988	
	ListCombo<T>(Control).computeNativeSize(int, int, int, boolean) line: 592	
	ListCombo<T>(Combo).computeSize(int, int, boolean) line: 366	
	GridData.computeSize(Control, int, int, boolean) line: 483	
	GridLayout.layout(Composite, boolean, int, int, int, int, boolean) line: 217	
	GridLayout.layout(Composite, boolean) line: 193	
	LayoutComposite(Composite).updateLayout(boolean) line: 1428	
	LayoutComposite(Composite).layout(boolean, boolean) line: 920	
	LayoutComposite(Composite).layout(boolean) line: 878	
	Section.reflow() line: 133	
	Section.internalSetExpanded(boolean) line: 115	
	Section(ExpandableComposite).toggleState() line: 1042	
	ExpandableComposite.access$5(ExpandableComposite) line: 1039	
	ExpandableComposite$2.linkActivated(HyperlinkEvent) line: 562	
	Twistie(AbstractHyperlink).handleActivate(Event) line: 233	
	Twistie(AbstractHyperlink).handleMouseUp(Event) line: 327	
	AbstractHyperlink.access$2(AbstractHyperlink, Event) line: 311	
	AbstractHyperlink$4.handleEvent(Event) line: 125	
	EventTable.sendEvent(Event) line: 84	
	Twistie(Widget).sendEvent(Event) line: 1176	
	Display.runDeferredEvents() line: 3493	
	Display.readAndDispatch() line: 3112	
	Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2405	
	Workbench.runUI() line: 2369	
	Workbench.access$4(Workbench) line: 2221	
	Workbench$5.run() line: 500	
	Realm.runWithDefault(Realm, Runnable) line: 332	
	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 493	
	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149	
	Application.start(IApplicationContext) line: not available	
	EclipseAppHandle.run(Object) line: 194	
	EclipseAppLauncher.runApplication(Object) line: 110	
	EclipseAppLauncher.start(Object) line: 79	
	EclipseStarter.run(Object) line: 368	
	EclipseStarter.run(String[], Runnable) line: 179	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available	
	Method.invoke(Object, Object...) line: not available	
	Main.invokeFramework(String[], URL[]) line: 559	
	Main.basicRun(String[]) line: 514	
	Main.run(String[]) line: 1311
Comment 1 heena tanu.heena383gmail.com CLA 2016-07-27 03:54:10 EDT
Created attachment 263326 [details]
GUI freezes

Please help me

GUI freezes for 2-20mins
Comment 2 heena tanu.heena383gmail.com CLA 2016-07-27 03:55:35 EDT
Comment on attachment 263326 [details]
GUI freezes

GUI freezes fro 2-20mins
Comment 3 Lakshmi P Shanmugam CLA 2017-06-20 02:33:23 EDT
Solaris is no longer a supported platform.