Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

GUI crash on squish testing

未关闭
#8,978 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
java
领域
desktop, testing

调研方向

首先检查 GUI 依赖项更新 PR 1842 和 Squish 启动路径,然后检查 org.eclipse.swt.widgets.Display.readAndDispatch 处的故障,以及通过 PlatformUI.createDisplay 和 Application.start 进行的调用。通过 Squish 重现客户端启动,并将其与手动启动进行比较;完成标准是 Squish 测试能够在不发生 stackmap 崩溃的情况下启动客户端。

由索引模型根据 Issue 内容生成。

描述

Squish tests failing as unable to launch ibex client - client launched OK by hand, so issue only when client started via squish framework. Seems to have been happening since 27th May when GUI dependency update was merged https://github.com/ISISComputingGroup/ibex_gui/pull/1842

*2026-06-19 17:47:50.816 [Start Level: Equinox Container: 999586b2-e5e5-4837-ac89-a6a1bf1176fb] INFO  uk.ac.stfc.isis.ibex.logger.IsisLog - Starting uk.ac.stfc.isis.ibex.logger
*2026-06-19 17:47:50.857 [Start Level: Equinox Container: 999586b2-e5e5-4837-ac89-a6a1bf1176fb] INFO  uk.ac.stfc.isis.ibex.logger.IsisLog - java.util.logging.Logger logger global hooked successfully (message from log4j).
*2026-06-19 17:47:50.857 [Start Level: Equinox Container: 999586b2-e5e5-4837-ac89-a6a1bf1176fb] INFO  uk.ac.stfc.isis.ibex.logger.IsisLog - java.util.logging.Logger logger global hooked successfully (message from java logger).
*2026-06-19 17:47:51.139 [main] INFO  uk.ac.stfc.isis.ibex.epics.pvmanager.PVManagerSettings - Setting diirt.home env var to %s/C:/Instrument/Apps/Client_E4/plugins/uk.ac.stfc.isis.ibex.epics_1.0.0.6562/diirt/
*2026-06-19 17:47:51.213 [main] ERROR org.eclipse.osgi - StackMapTable error: bad offset
Exception Details:
  Location:
    org/eclipse/swt/widgets/Display.readAndDispatch()Z @0: aload_0
  Reason:
    Invalid stackmap specification.
  Current Frame:
    bci: @68
    flags: { }
    locals: { 'org/eclipse/swt/widgets/Display' }
    stack: { }
  Bytecode:
    0000000: 2ab6 0274 01b3 0157 2ab6 0950 2ab6 0952
    0000010: 572a b609 5557 2ab6 0958 572a b401 e809
    0000020: 0303 04b8 0878 9900 4a2a 2ab4 01e8 b404
    0000030: 932a b401 e8b4 0490 2ab4 01e8 b406 b62a
    0000040: b401 e8b4 0bb3 b80b b799 0005 04ac 2a2a
    0000050: b401 e8b6 0876 9a00 132a b401 e8b8 0458
    0000060: 572a b401 e8b8 045c 582a b609 5b57 04ac
    0000070: 2ab6 02b3 9a00 0d2a 03b6 0864 9a00 0503
    0000080: ac04 ac                                
  Stackmap Table:
    same_frame_extended(@68)
    same_frame(@75)
    same_frame(@92)

	org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:766)
	org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:185)
	uk.ac.stfc.isis.ibex.e4.product.Application.start(Application.java:63)
	org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219)
	org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149)
	org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115)
	org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467)
	org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298)
	java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	java.base/java.lang.reflect.Method.invoke(Method.java:565)
	org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615)
	org.eclipse.equinox.launcher.Main.basicRun(Main.java:563)
	org.eclipse.equinox.launcher.Main.run(Main.java:1415)
主要语言
没有语言数据
星标
6
派生
2
平均合并
12 天 19 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ISISComputingGroup/IBEX 的其他 Issue

查看 ISISComputingGroup/IBEX 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。