binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Error when saving on WSL filesystem

Open MorpheusH3x opened this issue 3 years ago • 1 comments

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.

MorpheusH3x avatar Aug 17 '22 06:08 MorpheusH3x

As far as we can tell, this is a WSL bug (see here) and not something we can address ourselves. We're going to leave this ticket open, but in blocked status, and will revisit after the WSL ticket is closed to see if we need to upgrade our SQLite dependency.

fuzyll avatar Sep 06 '22 18:09 fuzyll