Upgrade from VS2019 to VS2022 throws Access violation except

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Upgrade from VS2019 to VS2022 throws Access violation except

Postby jtomczyk » Thu Sep 21, 2023 1:55 pm

Hello,

I've been successfully using CEF 97.1.9 in an application for over 2 years and need to upgrade to version 116.0.24.

My first step in this process was to build a version of my application using VS2022.

When I attempted to run my application in debug mode, I noticed that I was getting an access violation error for the first 2 calls to CefDoMessageLoopWork().

"Exception thrown at 0x00007FFE5466F100 (ctiuser.dll) in App.exe: 0xC0000005: Access violation reading location 0x0000000000000113"

If I disabled breaking on this type of interrupt while debugging in VS2022, my application run fine!

The above access violation error occurs minimally after the first 2 calls to CefDoMessageLoopWork().

I get the same issues when I ran my application using 116.0.24.

I followed the advice given in a previous topic on this forum and downloaded the PDB file for libcef.lib and placed it in the folder that contains my application.

https://magpcss.org/ceforum/viewtopic.php?f=6&t=17168&sid=48092746c7c93bbfec4f82215cfb9dfb

However, I was unable to step into CefDoMessageLoopWork().

Any suggestions?
jtomczyk
Newbie
 
Posts: 8
Joined: Fri Sep 20, 2019 3:26 pm

Re: Upgrade from VS2019 to VS2022 throws Access violation ex

Postby jtomczyk » Tue Sep 26, 2023 2:19 pm

This turned out to be a Carbon Black issue.
jtomczyk
Newbie
 
Posts: 8
Joined: Fri Sep 20, 2019 3:26 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 216 guests