\[Bug\] VeraCrypt silently crashes immediately after clicking Select File button (latest official version)

Open
#1,836 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
desktop, security

Research direction

Start by reproducing the crash on Windows 10 or 11 by clicking Select File in VeraCrypt 1.26.29, then inspect the main UI's file-picker entry point and relevant Windows-specific code; the issue does not name files or tests. Identify why the picker closes the application and verify that it opens normally and the volume can be selected.

Written by the indexing model from the issue text.

Description

bug
Describe the bug

VeraCrypt closes abruptly with zero pop-up errors, no warning prompts and no crash log window pops up every time I click the Select File button on the main UI. I have updated to the newest official release from SourceForge, but the crash problem still persists completely.

Environment Info
  • Operating System: Windows 11 24H2 and Windows 10 22H2
  • VeraCrypt Version: 1.26.29 x64
  • Installer source: Official SourceForge installation package
  • Running mode: Tested both normal launch & Run as administrator
Steps to reproduce
  1. Launch VeraCrypt normally, also tried right-click → Run as administrator
  2. On the main window, click the Select File button to load encrypted volume file
  3. VeraCrypt quits instantly without any notification
  4. This crash occurs 100% reproducibly with every click
Expected behavior

After clicking Select File, the system file picker window should pop up normally for selecting the VeraCrypt container file.

Actual behavior

Program disappears directly, silent crash, no error information at all.

Troubleshooting I have already performed
  1. Fully uninstall old VeraCrypt, manually delete residual configuration folders in AppData, download and reinstall the latest official version → crash remains
  2. Run software with administrator privileges, restart computer multiple times → no improvement
  3. Temporarily disable third-party antivirus, firewall and system cleanup/optimization software for test → problem still exists
  4. Cannot mount my encrypted volume due to this file selector crash
Additional context

I cannot access my important encrypted files now because of this bug. Hope the team can look into this abnormal crash issue.

Dominant language
C
Stars
11.7k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
28

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from veracrypt/VeraCrypt

All issues in veracrypt/VeraCrypt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.