winforms icon indicating copy to clipboard operation
winforms copied to clipboard

.NET 9.0 Error with DialogFileOpen

Open Greg66 opened this issue 4 months ago • 6 comments

.NET version

.NET 9.0

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

.NET 8.0

Issue description

I created a vb.net projekt with .NET 9.0 via project wizzard. The Project only contains a FileOpenDialog from object pallete. As soon as the dialoge is used the programm unexpectedly closes with the following text:

The program '[11668] TestNet9.exe' has exited with code 3221226505 (0xc0000409).

I changed the project to .NET 8.0 without any further modifications. Now there is no problem anymore!

Steps to reproduce

  1. Create new Project with vb.net 9.0
  2. Add a new FileOpenDialog
  3. Compile and run program
  4. Open dialog
  5. close dialog
  6. wait some seconds (+- 30 seconds)
  7. program closes with code 3221226505 (0xc0000409).

Greg66 avatar Sep 01 '25 08:09 Greg66

Additional details to bug report from Greg66

The crash only occurs under the following conditions:

  • When working from home with a VPN connection (NetExtender)
  • Only with a .NET 9 application (does not occur with .NET 8)
  • Only if the ShellExtension InPoint.Shell.ArchivedOverlayIconExtension is enabled
    → If this extension is disabled, the crash does not occur.

Problem

.NET 9 does not throw an exception. Instead, the process terminates silently without any error message or stack trace.

Additional context

The problematic Shell Extension is part of InPoint, a document management system by
Heilig & Schubert Software AG, 1120 Vienna, Austria.
https://hs-soft.com/inpoint-dms-software/

AlexSchlecht avatar Sep 01 '25 09:09 AlexSchlecht

Hi, I'm a beginner to open-source development but would like to give this a try?

Daifaizonaldridge avatar Sep 14 '25 01:09 Daifaizonaldridge

@AlexSchlecht - I'm afraid we don't have the VPN software or the shell extension you have that is causing the problem.

@LeafShi1 can you try to repro perhaps using our standard VPN and see if you can figure out where we might be open to crashing?

@Daifaizonaldridge welcome to open source development! If you have the components causing the problem or can debug and point to the issue we'd be happy to help walk you through the process of creating a pull request and getting it reviewed! I'm sure there are easier scenarios open in this repo for you though!

merriemcgaw avatar Sep 29 '25 21:09 merriemcgaw

@merriemcgaw I cannot reproduce this issue on my side, there is no the ShellExtension InPoint.Shell.ArchivedOverlayIconExtension in our standard VPN

Image

LeafShi1 avatar Sep 30 '25 01:09 LeafShi1

@LeafShi1 do you know if we've made any changes to the FileOpenDialog component between 8 and 9 that might have changed behavior somehow?

merriemcgaw avatar Nov 20 '25 23:11 merriemcgaw

There were three changes to OpenFileDialog from .NET 8.0 to .NET 9.0, but it's unclear which change caused the problem.

https://github.com/dotnet/winforms/commits/release/9.0/src/System.Windows.Forms/src/System/Windows/Forms/Dialogs/CommonDialogs/OpenFileDialog.cs

Image

LeafShi1 avatar Nov 21 '25 07:11 LeafShi1