Skip to content

LMDB fails to initialize due toNtMapViewOfSection returning EAccess error. #339

Description

@Raikiri

Compatibility Report

We're in the process of integrating LMDB (https://github.com/LMDB ) into our game and we're discovering that it fails to initialize under Proton.

System Information

  • Proton version: tried on multiple proton versions, including 10.0 and Experimental

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

LMDB internally calls NtMapViewOfSection which is loaded directly from ntdll, but the call reports a permission denied error (EAccess). I'm not sure if it's a proton issue or a wine issue, but I'm not sure where to report wine issues, so I decided to report it here.

Reproduction

Try to open an LMDB environment with a call:

const auto error = mdb_env_open(env.get(), location.c_str(), MDB_NOMETASYNC, 0644)

Observe that it returns permission denied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions