Skip to content

Linux: Crash when WebKitGTK is already loaded in the same process #8

Description

@dongfengweixiao
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0   _HtmlViewerState._generateHtml (package:enough_mail_flutter/src/mime_message_viewer.dart:192:27)
│ #1   <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ 🐛 generated html: <html><head><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=0.5" <="" meta=""><style> * {word-wrap: break-word; word-break: break-word;}</style><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">* {word-wrap: break-word; word-break: break-word;}</style></head><body><p>Test mail from maily</p></body></html>
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
** Message: 22:26:20.033: [flutter_inappwebview] flutter_inappwebview_linux/linux/in_app_webview/in_app_webview.cc(179): InAppWebView: Using WPEPlatform API (modern)
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: g_object_new_is_valid_property: object class 'WebKitWebView' has no property named 'display'
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: cannot register existing type 'WebKitWebsiteDataManager'
(maily:545027): GLib-CRITICAL **: 22:26:20.045: g_once_init_leave: assertion 'result != 0' failed
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: g_param_spec_object: assertion 'g_type_is_a (object_type, G_TYPE_OBJECT)' failed
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: validate_pspec_to_install: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: g_param_spec_ref_sink: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(maily:545027): GLib-GObject-CRITICAL **: 22:26:20.045: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed
Lost connection to device.
  maily
    │
    ├─── enough_mail_app
    │      └── enough_mail_flutter
    │             └── flutter_inappwebview
    │                    └── flutter_inappwebview_linux  →  libwpe-webkit-2.0  (WPE WebKit)
    │
    └─── flutter_web_auth_2
           └── desktop_webview_window                   →  libwebkit2gtk-4.1  (WebKitGTK)

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