Skip to content

ExternalPumpBrowser Lazarus demo crashes after navigation in macOS 15.1.1 on an M4 CPU. #538

@sxmxta

Description

@sxmxta

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions