Unable to eject USB stick after mount/unmounting repository with Veracrypt traveller version on W11 25H2

未关闭
#1,824 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
c
领域
desktop

调研方向

The traveller version behaves differently from the installed version on Windows. Start from the Windows-specific mount/unmount code paths for the portable edition, identify what resources (handles, threads, processes) remain open after unmounting, and ensure they are released before the traveller exits.

由索引模型根据 Issue 内容生成。

描述

bug

I have just started using this (1.26.29), the aim being place repositories on removeable USB sticks, accessible from both Windows 11 and Linux (xubuntu 26.04). In order to do this a 2GB stick has ben formatted with a 500MB ext4 partition containing a folder with the standalone Linux Veracrypt AppImage, and the rest of the space (~1.3GB partition) is formatted to FAT32. This partition has a Windows folder containing the traveller standalone version of Veracrypt, and also the Veracrypt encrypted repository (200MB) called 'data'.

This all basically works, but I find that when on Windows 11 I have run the standalone Veracrypt version and mounted 'data' using the traveller tools, when I finish what I am doing (even if I didn't actually do anything at all) and unmount 'data' again, close down Veracrypt, then try to safely eject the USB stick, it won't because it says something is using it.

Logging off and back on doesn't help, it it still 'busy', it is necessary to actually shutdown the system.

However, this only applies if I use the traveller standalone Veracrypt. If I did the mounting and unmounting from the installed version, no problem.

So it seems, once the traveller version has been run, something hangs on to it.

Once the traveller version unmounts the repository and is then shut down, safe ejection of the USB stick should be possible.

Once the repository has been opened with the traveller version, the only thing that releases the USB stick for safe ejection is actually shutting the system down.

  1. Insert USB stick on a W11 system
  2. Run the traveller version from the stick, select the repository and mount it.
  3. Do something with the files in the repository (or not, doesn't seem to matter).
  4. Unmount it, close down the traveller version.
  5. Try to safely eject the stick - it will not allow it.
Image

Please tell us more about your environment

VeraCrypt version: 1.26.29 (traveller)

Operating system and version: Windows 11 Pro 25H2 OS build 26200.8655

System type: 64 bit

主要语言
C
星标
11.7k
派生
1.4k
平均合并
1 天 1 小时
30 天内合并 PR
28

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

veracrypt/VeraCrypt 的其他 Issue

查看 veracrypt/VeraCrypt 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。