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

オープン
#1,824 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
28

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

veracrypt/VeraCrypt のほかの issue

veracrypt/VeraCrypt の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。