[GH-ISSUE #84] [BUG] GTK Crash #76

Closed
opened 2026-03-01 14:38:40 +03:00 by kerem · 13 comments
Owner

Originally created by @GamePlayer-8 on GitHub (Apr 24, 2025).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/84

Describe the bug 描述你遇到的BUG
I'm getting an error:

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

upon starting the traceroute.

To Reproduce 复现方法

  1. Start traceroute
  2. At some point it crashes.

Environment 使用环境

  • OS 操作系统:Alpine Linux 3.23 / Flatpak 1.14.10 Wayland compositior
  • Version 程序版本:1.4.3.0
Originally created by @GamePlayer-8 on GitHub (Apr 24, 2025). Original GitHub issue: https://github.com/Archeb/opentrace/issues/84 **Describe the bug 描述你遇到的BUG** I'm getting an error: ```bash Process terminated. A callback was made on a garbage collected delegate of type 'Eto.Gtk!Eto.GtkSharp.Forms.Controls.WebViewHandler+FinishScriptExecutionDelegate::Invoke'. at Gtk.Application.Run() at Eto.GtkSharp.Forms.ApplicationHandler.Run() at Eto.Forms.Application.Run(Eto.Forms.Form) at OpenTrace.Program.Main(System.String[]) ``` upon starting the traceroute. **To Reproduce 复现方法** 1. Start traceroute 2. At some point it crashes. **Environment 使用环境** - OS 操作系统:`Alpine Linux 3.23 / Flatpak 1.14.10` Wayland compositior - Version 程序版本:1.4.3.0
kerem 2026-03-01 14:38:40 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fakeboboliu commented on GitHub (Apr 25, 2025):

Seems like #17, an issue that rarely reproduces. Could you provide a coredump / strace result, so we can dig into it without reproducing?

<!-- gh-comment-id:2829618575 --> @fakeboboliu commented on GitHub (Apr 25, 2025): Seems like #17, an issue that rarely reproduces. Could you provide a coredump / strace result, so we can dig into it without reproducing?
Author
Owner

@GamePlayer-8 commented on GitHub (Apr 25, 2025):

Could you tell me which environment variable should I enable to do the coredump for flatpak build?

<!-- gh-comment-id:2830378336 --> @GamePlayer-8 commented on GitHub (Apr 25, 2025): Could you tell me which environment variable should I enable to do the coredump for flatpak build?
Author
Owner

@fakeboboliu commented on GitHub (Apr 25, 2025):

Could you tell me which environment variable should I enable to do the coredump for flatpak build?

Well, I'm not sure since I've never used a flatpak before.

But I tried to fix the issue with your statement. Please try this build and see if it works: try-fix-wv.zip (I have to use gofile since GitHub refuses me from uploading any content to this issue, maybe some repo permission issue which we'll face later)

BTW, you can stop trying to get a coredump now, the log itself already has enough information for me.

<!-- gh-comment-id:2830462273 --> @fakeboboliu commented on GitHub (Apr 25, 2025): > Could you tell me which environment variable should I enable to do the coredump for flatpak build? Well, I'm not sure since I've never used a flatpak before. But I tried to fix the issue with your statement. Please try this build and see if it works: [try-fix-wv.zip](https://gofile.io/d/rPExIB) (I have to use gofile since GitHub refuses me from uploading any content to this issue, maybe some repo permission issue which we'll face later) BTW, you can stop trying to get a coredump now, the log itself already has enough information for me.
Author
Owner

@GamePlayer-8 commented on GitHub (Apr 25, 2025):

I've captured the debug-log.txt - https://github.com/user-attachments/files/19911769/debug-log.txt

I've enabled variables as follows for flatpak:

export GTK_DEBUG=all
export G_DEBUG=gc-friendly
export G_SLICE=debug-blocks
export MONO_DEBUG=gc-debug
export MONO_ENV_OPTIONS="--debug"
<!-- gh-comment-id:2830754646 --> @GamePlayer-8 commented on GitHub (Apr 25, 2025): I've captured the [debug-log.txt](https://github.com/user-attachments/files/19911769/debug-log.txt) - https://github.com/user-attachments/files/19911769/debug-log.txt I've enabled variables as follows for flatpak: ```bash export GTK_DEBUG=all export G_DEBUG=gc-friendly export G_SLICE=debug-blocks export MONO_DEBUG=gc-debug export MONO_ENV_OPTIONS="--debug" ```
Author
Owner

@GamePlayer-8 commented on GitHub (Apr 25, 2025):

will try to rebuild

<!-- gh-comment-id:2830765108 --> @GamePlayer-8 commented on GitHub (Apr 25, 2025): will try to rebuild
Author
Owner

@GamePlayer-8 commented on GitHub (Apr 25, 2025):

Seems to be working under your try-fix-wv.zip:

Image

<!-- gh-comment-id:2830867537 --> @GamePlayer-8 commented on GitHub (Apr 25, 2025): Seems to be working under your `try-fix-wv.zip`: ![Image](https://github.com/user-attachments/assets/af9deeb6-5b30-4dff-aeac-2caf5d456179)
Author
Owner

@GamePlayer-8 commented on GitHub (Apr 25, 2025):

though, I couldn't press on the last entry in the list.

<!-- gh-comment-id:2830877474 --> @GamePlayer-8 commented on GitHub (Apr 25, 2025): though, I couldn't press on the last entry in the list.
Author
Owner

@Archeb commented on GitHub (Apr 26, 2025):

though, I couldn't press on the last entry in the list.

I noticed this behaviour and I think it's a upstream (Eto.Form) issue too.

<!-- gh-comment-id:2831713387 --> @Archeb commented on GitHub (Apr 26, 2025): > though, I couldn't press on the last entry in the list. I noticed this behaviour and I think it's a upstream (Eto.Form) issue too.
Author
Owner

@Archeb commented on GitHub (Dec 24, 2025):

Dependencies upgraded in a553abbd35, should be fixed now.

<!-- gh-comment-id:3688368033 --> @Archeb commented on GitHub (Dec 24, 2025): Dependencies upgraded in a553abbd35b82b902e0df77974dd26c1ac75b1c0, should be fixed now.
Author
Owner

@GamePlayer-8 commented on GitHub (Dec 24, 2025):

how much time does it take to have the new version available on flathub?

<!-- gh-comment-id:3690087902 --> @GamePlayer-8 commented on GitHub (Dec 24, 2025): how much time does it take to have the new version available on flathub?
Author
Owner

@Archeb commented on GitHub (Dec 24, 2025):

Flathub version is maintained by @leohearts

<!-- gh-comment-id:3690095463 --> @Archeb commented on GitHub (Dec 24, 2025): Flathub version is maintained by @leohearts
Author
Owner

@leohearts commented on GitHub (Dec 24, 2025):

Got your call. will update soon.

<!-- gh-comment-id:3690098637 --> @leohearts commented on GitHub (Dec 24, 2025): Got your call. will update soon.
Author
Owner

@leohearts commented on GitHub (Dec 25, 2025):

https://github.com/flathub/io.github.Archeb.opentrace/pull/33
Done! You can try if this version works for you :3

flatpak install io.github.Archeb.opentrace
or use test branch in the pull request above if update has not been built for release

Image
<!-- gh-comment-id:3691795246 --> @leohearts commented on GitHub (Dec 25, 2025): https://github.com/flathub/io.github.Archeb.opentrace/pull/33 Done! You can try if this version works for you :3 `flatpak install io.github.Archeb.opentrace` or use test branch in the pull request above if update has not been built for release <img width="828" height="750" alt="Image" src="https://github.com/user-attachments/assets/0928e123-b49b-4f55-b878-f7b541d28d74" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentrace#76
No description provided.