Skip to content

crash on linuxΒ #448

@huxiaoluder

Description

@huxiaoluder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions