Comments (5)
Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line argsOther 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.
Upstream issue chromiumembedded/cef#3644
I'd suggest you add any additional relevant information there.
from cefsharp.
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.
https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#unmanaged-crashes-when-the-process-dies
from cefsharp.
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)
- After updating to v122.1.120, disabling User Agent Client Hints using command line settings has stopped working HOT 1
- Nuget - Add repository to packages HOT 4
- Release Notification - 123.0.x
- CefSharp.BrowserSubprocess.exe crash when navigate to another url when I open CefSharp.Wpf.NetCore Demo HOT 1
- Can we have NetStandard compiled version of CefSharp.OffScreen ?
- when i enable "ChromeRuntime", the ChromiumWebBrowser layouts incorrect
- WinForm - 123.0.60 disable-gpu-compositing HOT 1
- Unable to get PostData from IRequest
- Release Notification - 124.3.x HOT 3
- OnRenderProcessTerminated add errorCode and errorMessage params
- IRenderWebBrowser.OnAcceleratedPaint pass in AcceleratedPaintInfo
- Remove Alloy Bootstrap HOT 1
- 124.3.20 Dying on a specific URL HOT 1
- Cef.Initialize fails when another process is using the same CachePath setting HOT 1
- WPF - JavaScript DragEnd event not emitted HOT 1
- After upgrading cefsharp, the program cannot run two instances at the same time. HOT 1
- No longer works on 7.0 or above - Giving up
- Browser shows gray screen although PDF file exists HOT 1
- > CefSharp ver 65 support drag and drop with out having to write any separate function for it. But it is not supporting Google Map API anymore for which I have to migrate to ver 98 or above. But with ver 98 drag and drop does not work.
- NETCore - Move Runtime Files to custom Subfolder doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cefsharp.