Vector35 / Vector35/binaryninja-api

Error when saving on WSL filesystem

Open
#3,408 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Database Effort: Trivial Impact: Low State: Blocked (Dependency)
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 3.1.3469, 93650e26
  • OS: Windows 11
  • OS Version: 2009 - 21H2 (Build 22000.856 / KB5016629)
  • CPU Architecture: x64

Bug Description:
While trying to save my reverse engineering work, I tried to save it on the WSL partition.
However, Binary Ninja gave me this error: Error initializing database: database is locked.

Steps To Reproduce:

  1. Install WSL 2 on Windows 11
  2. Try to save an bndb file on the WSL partition
  3. See error

Expected Behavior:
Trying to save my work to the WSL partition, Binary Ninja should normally save it as it does when saving to Windows or Linux.

Screenshots:
image

Additional Information:
I'm using WSL 2 with Ubuntu-20.04.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with WSL 2, Ubuntu 20.04, Windows 11, and a .bndb file saved on the WSL partition. Compare that result with saving on Windows or Linux, then trace the database initialization path responsible for the “database is locked” error. Done means the work saves successfully on the WSL filesystem without regressing the other platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, ubuntu
Domain
databases, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.