MixinNetwork / MixinNetwork/flutter-plugins

crash on linux

Open
#448 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

Crash on linux when close sub window

  • plugin: desktop_multi_window: 0.3.0

Reproduce Steps

Steps to reproduce the behavior:

0.35.0 (git 5c0ac3b) - Multimedia Development Kit. Copyright (c) 2016-2025 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: ubuntu/22.04 6.5.0-18-generic 4KB x86_64; glibc2.24/2.35 libc++220000; Clang22.0.0 (++20251025081749+57828a6d5de0-1~exp1~20251025201905.1249); 02:38:58 Oct 29 2025. 
2025-10-29 20:11:28.475 [I] App started with arguments: []
2025-10-29 20:11:28.543 [I] Window arguments: WindowArguments(businessId: main, data: {})
2025-10-29 20:11:28.838 [I] Windows changed event received1
Syncing files to device Linux...                                    79ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Linux is available at: http://127.0.0.1:44433/y1bSo6jHwBg=/
The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:44433/y1bSo6jHwBg=/
2025-10-29 20:11:43.043 [I] Windows changed event received1
2025-10-29 20:11:43.044 [D] Created sample window: 9790ddfa-87e5-44d0-9bfb-0c0f535d8c78 {"businessId":"sample"}
2025-10-29 20:11:43.167 [I] App started with arguments: [multi_window, 9790ddfa-87e5-44d0-9bfb-0c0f535d8c78, {"businessId":"sample"}]
2025-10-29 20:11:43.226 [I] Window arguments: WindowArguments(businessId: sample, data: {})
desktop_multi_window_example: ../src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.
Lost connection to device.

Version (please complete the following information):

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.7, on Ubuntu 22.04.4 LTS 6.5.0-18-generic, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 3 categories.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Linux crash with desktop_multi_window 0.3.0 using the provided example, then inspect src/dispatch_common.c around line 872, where the GLX/EGL assertion is reported. Trace what happens when the subwindow closes and verify that this action no longer aborts the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.