-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ExternalPumpBrowser Lazarus demo crashes after navigation in macOS 15.1.1 on an M4 CPU. #538
Comments
I don't have a mac computer and I can't test CEF4Delphi. Read about the notarization requirements in newer macOS versions. If you initialize CEF inside a DLL then the browsers must be created in the DLL's code too. See the DLLBrowser demo. |
hello Maybe there's something wrong with the way I said it. Let me rephrase the problem. CEF 130.1.16 Problem: When the program is started, the The ExternalPumpBrowser example works fine on MacOS 12 |
I just received a confirmation that CEF4Delphi works fine in macOS 15.1 for x86. The """closest""" (notice the quotes) thing I can personally test is a RaspberryPi 5 with an arm64 processor and it also works fine. I can only suggest that you enable the debug log and also read the GlobalCEFApp.LastErrorMessage value. Post the log and the GlobalCEFApp.LastErrorMessage value here. Try running the official CEF sample application on MacOS 15.1 in a M4 processor. |
Okay, thank you, The cefclient example works properly. CEF4Delphi It does not work properly in a lazarus environment. Which is the problem I described above |
In the environment of macOS 15.1.1 and Lazarus 3.6, I've discovered several problems:
Explanation:
Resolved:
Problem 3:
|
I just updated CEF4Delphi with a possible fix for this issue. Please, download CEF4Delphi again and test demos\Lazarus_Mac\ExternalPumpBrowser in macOS 15.1 with the M4 CPU. |
Hello,
When I was doing the encapsulation of the energy framework on MacOS M4 and conducting tests, I found that in the TCefApplicationCore.LoadCEFlibrary function, the loading of the CEF library failed during the startup initialization. The value returned by FLibHandle := LoadLibrary(LibCefPath); is 0.
System environment:
MacOS ARM64
Version: 15.1.1
Sample program: ExternalPumpBrowser
No errors were found on MacOS Intel x86, M1, and lower-version M2 systems.
In addition, there are other issues.
I encapsulated CEF4Delphi as a dynamic link library. Since the return value of loading the lib library is 0, I pre-loaded the CEF Lib library in the calling language of the library and then passed the handle to FLibHandle through the API.
In this way, the APIs related to initializing the CEF lib can be initialized normally. However, there are some problems. After running, when opening certain websites or right-clicking on the program, it will crash.
The text was updated successfully, but these errors were encountered: