Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 无法运行 #17

Open
12189108 opened this issue Jun 7, 2023 · 15 comments
Open

[BUG] 无法运行 #17

12189108 opened this issue Jun 7, 2023 · 15 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@12189108
Copy link

12189108 commented Jun 7, 2023

Describe the bug 描述你遇到的BUG
运行后输入地址,直接闪退

To Reproduce 复现方法
运行后输入地址,只把ICMP改成TCP

Screenshots (If applicable) 截图(如果有)

Environment 使用环境

  • OS 操作系统:Ubuntu 22
  • Version 程序版本:1.2.3.0

Additional context 补充说明
日志:

Process terminated. A callback was made on a garbage collected delegate of type 'Eto.Gtk!Eto.GtkSharp.Forms.Controls.WebViewHandler+FinishScriptExecutionDelegate::Invoke'.
   at Eto.GtkSharp.Forms.ApplicationHandler.Run()
   at Eto.Forms.Application.Run(Eto.Forms.Form)
   at OpenTrace.Program.Main(System.String[])
已放弃 (核心已转储)

@Archeb
Copy link
Owner

Archeb commented Jun 7, 2023

很抱歉我暂时无法复现这个问题,我待会装一个 Ubuntu 再试一下。

不过在此之前,我想确认一下程序里的地图是否正常工作?

@12189108
Copy link
Author

12189108 commented Jun 7, 2023

很抱歉我暂时无法复现这个问题,我待会装一个 Ubuntu 再试一下。

不过在此之前,我想确认一下程序里的地图是否正常工作?

能看到百度地图或者谷歌地图

@Archeb
Copy link
Owner

Archeb commented Jun 7, 2023

我在 Ubuntu 22.04.2 LTS 上也无法复现这个问题
image

这个问题看起来像是 NextTrace 没有正常执行,你直接在命令行里用 nexttrace IP -T 进行追踪的话,能正常启动吗?

@12189108
Copy link
Author

12189108 commented Jun 7, 2023

我在 Ubuntu 22.04.2 LTS 上也无法复现这个问题 image

这个问题看起来像是 NextTrace 没有正常执行,你直接在命令行里用 nexttrace IP -T 进行追踪的话,能正常启动吗?

截图 2023-06-07 21-14-47

可以,如上

@Archeb
Copy link
Owner

Archeb commented Jun 7, 2023

是只有当把协议从ICMP改成TCP,然后点击开始才会闪退,还是改不改协议都会闪退?

@12189108
Copy link
Author

12189108 commented Jun 7, 2023

是只有当把协议从ICMP改成TCP,然后点击开始才会闪退,还是改不改协议都会闪退?

经测试都会

@Archeb
Copy link
Owner

Archeb commented Jun 7, 2023

我在 c6495c5 中给涉及到 ExecuteScriptAsync 的调用都加了错误处理

可以试一下下载最新 build 然后看一下报错信息 https://github.com/Archeb/opentrace/actions/runs/5200655075

@12189108
Copy link
Author

12189108 commented Jun 7, 2023

我在 c6495c5 中给涉及到 ExecuteScriptAsync 的调用都加了错误处理

可以试一下下载最新 build 然后看一下报错信息 https://github.com/Archeb/opentrace/actions/runs/5200655075

录屏 2023年06月07日 21时47分43秒.webm
以上是我的操作录屏,使用的是你提供链接的版本

@Archeb
Copy link
Owner

Archeb commented Jun 7, 2023

这个问题似乎已经超出了OpenTrace代码的范围,因为OpenTrace的try catch也抓不到这个异常,可能是Eto框架的Linux WebView兼容性有问题。
你能在/var/crash/找到程序的core dump吗?
如果没有,可能需要设置ulimit
ulimit -S -c unlimited

@12189108
Copy link
Author

12189108 commented Jun 7, 2023

ulimit -S -c unlimited

2023.06.07.22.04.04.webm

还是没有

@Archeb Archeb added bug Something isn't working help wanted Extra attention is needed labels Jun 7, 2023
@fakeboboliu
Copy link
Collaborator

还是没有

因为 Ubuntu 特色崩溃收集,你可能需要在 /var/lib/apport/coredump 找到对应的转储。

@fcying
Copy link

fcying commented Nov 24, 2023

我在debian xfce4上 跑了几次 tcp+mtr, 有时候能正常工作, 有时候也出同样的crash.
debian的crash记录要在哪找?
image

@Archeb
Copy link
Owner

Archeb commented Nov 24, 2023

我在debian xfce4上 跑了几次 tcp+mtr, 有时候能正常工作, 有时候也出同样的crash. debian的crash记录要在哪找? image

把代码里的ExecuteScript都换成Async的了,你再看看这个版本呢 https://github.com/Archeb/opentrace/actions/runs/6975611799

@fcying
Copy link

fcying commented Nov 24, 2023

我在debian xfce4上 跑了几次 tcp+mtr, 有时候能正常工作, 有时候也出同样的crash. debian的crash记录要在哪找? image

把代码里的ExecuteScript都换成Async的了,你再看看这个版本呢 https://github.com/Archeb/opentrace/actions/runs/6975611799

这版本crash的更快了, 一点开始直接就crash

@Archeb
Copy link
Owner

Archeb commented Nov 24, 2023

我在debian xfce4上 跑了几次 tcp+mtr, 有时候能正常工作, 有时候也出同样的crash. debian的crash记录要在哪找? image

把代码里的ExecuteScript都换成Async的了,你再看看这个版本呢 https://github.com/Archeb/opentrace/actions/runs/6975611799

这版本crash的更快了, 一点开始直接就crash

我在Arch+KDE上没办法复现,这个问题有点棘手,我会再看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants