Code Monkey home page Code Monkey logo

Comments (5)

amaitland avatar amaitland commented on June 13, 2024

Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args

Other information
When using the CEF Sample Application(cefclient) application it already crashes when opening the PDF file.

As the problem is within CEF, not directly in CefSharp. You'll need to raise an issue at https://github.com/chromiumembedded/cef/issues (Post a link back here for reference). Closing as upstream

from cefsharp.

amaitland avatar amaitland commented on June 13, 2024

Upstream issue chromiumembedded/cef#3644

I'd suggest you add any additional relevant information there.

from cefsharp.

abid76 avatar abid76 commented on June 13, 2024

In reference to your answer #4701 (comment)

The issue of crashing cef when opening the PDF form is fixed now.

But my problem still persists: the CefSharp.Wpf.Example application crashes when it's closed or when the tab containing the PDF form is closed. It's still the same like in the issue description above.

This problem does not occur when opening and closing the PDF form in the CefSharp.MinimalExample.Wpf application. The application closes normally without any Access violation message.

As this only seems to occur in a WPF tabbed application I am not sure how to report it in cef issue tracker.

Can you give me any advice? Do you need some additional information?

Output CefSharp.Wpf.Example (starting directly before the PDF form is opened). (debug.log)

"CefSharp.Wpf.Example.exe" (CLR v4.0.30319: CefSharp.Wpf.Example.exe): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.resources\v4.0_4.0.0.0_de_b77a5c561934e089\System.ServiceModel.resources.dll" geladen. Das Modul wurde ohne Symbole erstellt.
Der Thread 0x402c hat mit Code 0 (0x0) geendet.
Der Thread 0x1554 hat mit Code 0 (0x0) geendet.
Der Thread 0x3c58 hat mit Code 0 (0x0) geendet.
Der Thread 0x2fc0 hat mit Code 0 (0x0) geendet.
"CefSharp.Wpf.Example.exe" (CLR v4.0.30319: CefSharp.Wpf.Example.exe): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll" geladen. 
Der Thread 0x8620 hat mit Code 0 (0x0) geendet.
Der Thread 0x46fc hat mit Code 0 (0x0) geendet.
Das Programm "[15912] CefSharp.Wpf.Example.exe" wurde mit Code 3221225477 (0xc0000005) 'Access violation' beendet.

Output CefSharp.MinimalExample.Wpf (starting directly before the PDF form is opened). (debug.log)

"CefSharp.MinimalExample.Wpf.exe" (CLR v4.0.30319: CefSharp.MinimalExample.Wpf.exe): "C:\Windows\system32\WinMetadata\Windows.UI.winmd" geladen. Das Modul wurde ohne Symbole erstellt.
"CefSharp.MinimalExample.Wpf.exe" (CLR v4.0.30319: CefSharp.MinimalExample.Wpf.exe): "C:\Windows\system32\WinMetadata\Windows.Foundation.winmd" geladen. Das Modul wurde ohne Symbole erstellt.
"CefSharp.MinimalExample.Wpf.exe" (CLR v4.0.30319: CefSharp.MinimalExample.Wpf.exe): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.InteropServices.WindowsRuntime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.InteropServices.WindowsRuntime.dll" geladen. Das Modul wurde ohne Symbole erstellt.
"CefSharp.MinimalExample.Wpf.exe" (CLR v4.0.30319: CefSharp.MinimalExample.Wpf.exe): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.WindowsRuntime\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.WindowsRuntime.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.
[0301/104045.677:ERROR:browser_info_manager.cc(629)] Timeout of new browser info response for frame 30064771076 [7,4]
[0301/104045.840:INFO:CONSOLE(0)] "Unchecked runtime.lastError: Not implemented", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (0)
Der Thread 0x18e4 hat mit Code 0 (0x0) geendet.
"CefSharp.MinimalExample.Wpf.exe" (CLR v4.0.30319: CefSharp.MinimalExample.Wpf.exe): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll" geladen. 
Der Thread 0x6974 hat mit Code 0 (0x0) geendet.
Der Thread 0x4c0c hat mit Code 0 (0x0) geendet.
Der Thread 0x8b44 hat mit Code 0 (0x0) geendet.
Das Programm "[10656] CefSharp.MinimalExample.Wpf.exe" wurde mit Code 0 (0x0) beendet.

from cefsharp.

amaitland avatar amaitland commented on June 13, 2024

https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#unmanaged-crashes-when-the-process-dies

from cefsharp.

abid76 avatar abid76 commented on June 13, 2024

After upgrading to recent version 121.3.130 the problem disappeared :-)
Now, in CefSharp.Wpf.Example a tab containing the file https://github.com/cefsharp/CefSharp/files/14137524/Grusi.Weiterbewilligungsantrag.pdf can be closed without crashing the application.

from cefsharp.

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.