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

WebEngine won't work if path to app dir contains cyrillic script

    XMLWordPrintable

Details

    • Windows

    Description

      Error when launching:

      13:26:26: Starting C:\Qt\Examples\Qt-5.14.1\webenginewidgets\АБВГДЕЖ\debug\simplebrowser.exe ...

      Qt WebEngine resources not found at C:/Qt/Examples/Qt-5.14.1/webenginewidgets/???????/debug/resources. Trying parent directory...

      Qt WebEngine resources not found at C:/Qt/Examples/Qt-5.14.1/webenginewidgets/???????/debug. Trying application directory...

      Qt WebEngine resources not found at C:/Qt/Examples/Qt-5.14.1/webenginewidgets/???????/debug. Trying fallback directory... The application MAY NOT work.

      Installed Qt WebEngine locales directory not found at location C:/Qt/Examples/Qt-5.14.1/webenginewidgets/???????/debug/translations\qtwebengine_locales. Trying application directory...

      Qt WebEngine locales directory not found at location C:/Qt/Examples/Qt-5.14.1/webenginewidgets/???????/debug\qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.

      [0313/132627.108:ERROR:icu_util.cc(170)] Invalid file descriptor to ICU data received.

      [0313/132627.108:FATAL:icu_util.cc(284)] Check failed: result.

      Backtrace:

      QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFD1167DD02+1143682]

      QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFD11697ACC+1249612]

      QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFD11697A83+1249539]

      QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFD11577D2E+70574]

      GetHandleVerifier [0x00007FFD11CE5954+6351236]

      CrashForExceptionInNonABICompliantCodeRange [0x00007FFD10CAC5B8+16438248]

      QtWebEngineCore::WebContentsAdapter::wasShown [0x00007FFD0D9B9A8A+40506]

      QtWebEngineCore::WebContentsAdapter::wasShown [0x00007FFD0D9BBB68+48920]

      QtWebEngineCore::ProfileAdapter::globalQObjectRoot [0x00007FFD0D946909+9]

      QWebEngineHistory::currentItemIndex [0x00007FFD653D5BE6+206988]

      QWebEngineHistory::currentItemIndex [0x00007FFD653DDF39+240607]

      main [0x00007FF757852837+247] (c:\qt\examples\qt-5.14.1\webenginewidgets\simplebrowser\main.cpp:77)

      WinMain [0x00007FF75786F815+245] (c:\users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp:97)

      invoke_main [0x00007FF75786DD9D+45] (d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:107)

      __scrt_common_main_seh [0x00007FF75786DC8E+302] (d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)

      __scrt_common_main [0x00007FF75786DB4E+14] (d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331)

      WinMainCRTStartup [0x00007FF75786DE29+9] (d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp:17)

      BaseThreadInitThunk [0x00007FFD826A4034+20]

      RtlUserThreadStart [0x00007FFD82923691+33]

       

      13:26:28: The program has unexpectedly finished.

      13:26:28: The process was ended forcefully.

      13:26:28: C:\Qt\Examples\Qt-5.14.1\webenginewidgets\АБВГДЕЖ\debug\simplebrowser.exe crashed.

       

      Steps to reproduce:

      1. Build simplebrowser example (https://doc.qt.io/qt-5/qtwebengine-webenginewidgets-simplebrowser-example.html) in a directory named with cyrillic script
      2. Run windeployqt
      3. Run the simplebrowser example

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes