You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
Hi, I've traced a demo app that simply displays lines of text on Android using OpenGL on Angle mode. In the session, the AGI tool made progress and after some seconds elapsed, it finished properly with a trace file it saved actually be on the output directory, but then I click a 'Open Trace' button, a window displayed with an error message just like below:
Stacktrace
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArithmeticException: / by zero)
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4345)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.google.gapid.Main$UI.show(Main.java:140)
at com.google.gapid.Main.main(Main.java:80)
Caused by: java.lang.ArithmeticException: / by zero
at com.google.gapid.widgets.TabComposite$HorizontalGroup.setChildBounds(TabComposite.java:685)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:566)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:555)
at com.google.gapid.widgets.TabComposite.layoutLayout(TabComposite.java:356)
at com.google.gapid.widgets.TabComposite$1.layout(TabComposite.java:80)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:697)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:216)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:744)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:696)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:652)
at com.google.gapid.MainWindow$MainViewContainer.updateAndGet(MainWindow.java:449)
at com.google.gapid.MainWindow$1.lambda$onCaptureLoaded$0(MainWindow.java:134)
at com.google.gapid.widgets.Widgets.ifNotDisposed(Widgets.java:141)
at com.google.gapid.widgets.Widgets.lambda$scheduleIfNotDisposed$1(Widgets.java:169)
at com.google.gapid.widgets.Widgets.lambda$schedule$0(Widgets.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
... 6 more
Screenshots
so I think it's a bug related to calculate the size of some UI components, please help me fix it. Thanks.
The text was updated successfully, but these errors were encountered:
Environment information:
If tracing on Android:
Bug description
Hi, I've traced a demo app that simply displays lines of text on Android using OpenGL on Angle mode. In the session, the AGI tool made progress and after some seconds elapsed, it finished properly with a trace file it saved actually be on the output directory, but then I click a 'Open Trace' button, a window displayed with an error message just like below:
Stacktrace
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArithmeticException: / by zero)
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4345)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.google.gapid.Main$UI.show(Main.java:140)
at com.google.gapid.Main.main(Main.java:80)
Caused by: java.lang.ArithmeticException: / by zero
at com.google.gapid.widgets.TabComposite$HorizontalGroup.setChildBounds(TabComposite.java:685)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:566)
at com.google.gapid.widgets.TabComposite$Group.setBounds(TabComposite.java:555)
at com.google.gapid.widgets.TabComposite.layoutLayout(TabComposite.java:356)
at com.google.gapid.widgets.TabComposite$1.layout(TabComposite.java:80)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:697)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.resized(Composite.java:1030)
at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3973)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6269)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:252)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3695)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:3677)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:216)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1308)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:744)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:696)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:652)
at com.google.gapid.MainWindow$MainViewContainer.updateAndGet(MainWindow.java:449)
at com.google.gapid.MainWindow$1.lambda$onCaptureLoaded$0(MainWindow.java:134)
at com.google.gapid.widgets.Widgets.ifNotDisposed(Widgets.java:141)
at com.google.gapid.widgets.Widgets.lambda$scheduleIfNotDisposed$1(Widgets.java:169)
at com.google.gapid.widgets.Widgets.lambda$schedule$0(Widgets.java:161)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
... 6 more
Screenshots
so I think it's a bug related to calculate the size of some UI components, please help me fix it. Thanks.
The text was updated successfully, but these errors were encountered: