Code Monkey home page Code Monkey logo

Comments (3)

joaompneves avatar joaompneves commented on August 19, 2024 1

Hi,
Looking at the log, its a problem creating an Avalonia Window. I'm wondering why the window is being created on a chrome IO thread. In order to you get more information you need to use CEF debug symbols do cedode the stacks (https://www.chromium.org/developers/decoding-crash-dumps/).

from webview.

query-wow avatar query-wow commented on August 19, 2024

Been trying to debug this using the latest version but i'm getting issues with the DLLs on the mac M1

System.TypeInitializationException: "The type initializer for 'Xilium.CefGlue.Avalonia.AvaloniaCefBrowser' threw an exception." ---> System.DllNotFoundException: "Unable to load shared library 'libcef' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibcef, 0x0001): tried: 'liblibcef' (no such file), '/usr/local/lib/liblibcef' (no such file), '/usr/lib/liblibcef' (no such file), '/Users/mobileapps/Documents/GIT/sync-tool/synctool/bin/Debug/net6.0/liblibcef' (no such file)"
  at at Xilium.CefGlue.Interop.libcef.api_hash(Int32 entry)\n   at Xilium.CefGlue.CefRuntime.CheckVersionByApiHash()\n   at Xilium.CefGlue.CefRuntime.Load(String path)\n   at Xilium.CefGlue.Common.CefRuntimeLoader.InternalInitialize(CefSettings settings, KeyValuePair`2[] flags, CustomScheme[] customSchemes, BrowserProcessHandler browserProcessHandler)\n   at Xilium.CefGlue.Common.CefRuntimeLoader.Load(BrowserProcessHandler browserProcessHandler)\n   at Xilium.CefGlue.Avalonia.AvaloniaCefBrowser..cctor()
  --- End of inner exception stack trace ---
  at WebViewControl.WebView.Initialize()\n   at SyncTool.MainWindow.!XamlIlPopulate(IServiceProvider , MainWindow ) in SyncTool.MainWindow.xaml:line 409\n   at SyncTool.MainWindow.!XamlIlPopulateTrampoline(MainWindow )\n   at SyncTool.MainWindow..ctor() in /Users/mobileapps/Documents/GIT/sync-tool/synctool/MainWindow.xaml.cs:line 28\n   at SyncTool.App.OnFrameworkInitializationCompleted() in /Users/mobileapps/Documents/GIT/sync-tool/IdealistaExport/App.xaml.cs:line 53\n   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 208\n   at SyncTool.Program.Main(String[] args) in /Users/mobileapps/Documents/GIT/sync-tool/synctool/Program.cs:8

from webview.

query-wow avatar query-wow commented on August 19, 2024

Found the crash issue, i was getting a resource to respond using the resource handler without using the IAssetLoader

from webview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.