protonscr

LMDB fails to initialize due to`NtMapViewOfSection` returning `EAccess` error.

protonclosed
ValveSoftware/Proton#9954 · opened 2026-07-08 by Raikiri · updated 2026-07-08 · 2 comments · github
RRaikiri 2026-07-08 github

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:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] 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.

RRaikiri 2026-07-08 · hidden on GitHub github

Oh yeah that .exe coming from a person who registered 11 hours ago doesn't look suspicious at all

RRaikiri 2026-07-08 github

It probably suits the wine issue tracker better, so I moved it there https://github.com/ValveSoftware/wine/issues/339

Upstream links