Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74120

WSL Corruption with QFileDialog and usual functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.11.2
    • Windows 10 (10.0.17134), WinSDK 10.0.17763.0 or 10.0.17134.0
    • Windows

    Description

      WSL (Windows Subsystem for Linux) may be corrupted if using an implementation of functions in Wslapi.h after requesting a QFileDialog window (directory or file). For testing, I used an example provided by microsoft at https://github.com/Microsoft/WSL-DistroLauncher . Firstly I tested it without any Qt installation, it worked (I just tested WslIsDistributionRegistered). After, I tested it with a simple QApp and a QWidget without any widget inside, It worked. But when I add a QFileDialog (before function calling but the function address loading's position has no importance), the result of the function is wrong and my debian WSL is corrupted (Error 0x800700b7). I tried some tricks to restore it but the only thing that worked for me is the total reinstallation.  

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kilianj kilian jugie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes