QWebEngine crash in Windows



  • We load our login page using QtWebEngine in PyQt5. We create the exe using cx_freeze and when we try to run our exe, our app crashes and fails to start. We found the following trace in qt debug log

    [1126/190232:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
    [1126/190232:FATAL:icu_util.cc(297)] Check failed: result. 
    Backtrace:
    	QtWebEngineCore::BrowserContextAdapter::customUrlSchemeHandlers [0x03542AA7+430215]
    	QtWebEngineCore::BrowserContextAdapter::customUrlSchemeHandlers [0x03506257+182327]
    	QWebEngineUrlRequestInfo::d_func [0x0448FD9D+2072781]
    	QtWebEngineCore::UserScript::validUserScriptSchemes [0x0412F028+4075320]
    	QtWebEngineCore::WebContentsAdapter::webContents [0x0331D2F6+14294]
    	QtWebEngineCore::WebContentsAdapter::webContents [0x0331D585+14949]
    	QtWebEngineCore::WebContentsAdapter::WebContentsAdapter [0x033153BA+106]
    	QWebEngineHistoryItem::url [0x0674302B+1147]
    	PyCFunction_FastCallKeywords [0x1DBE4F1E+62]
    	PyEval_GetFuncDesc [0x1DC4AFF7+311]
    	PyEval_EvalFrameDefault [0x1DC468F0+2816]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyFunction_FastCallDict [0x1DC4B406+470]
    	PyObject_FastCallDict [0x1DBA8681+97]
    	PyObject_Call_Prepend [0x1DBA87D9+137]
    	PyMethod_New [0x1DBBA85D+1517]
    	PyObject_Call [0x1DBA858D+109]
    	PyType_Ready [0x1DC00CAA+14106]
    	PyType_Modified [0x1DBF795E+3838]
    	PyObject_FastCallDict [0x1DBA86E7+199]
    	PyObject_FastCallKeywords [0x1DBA8AB0+128]
    	PyEval_GetFuncDesc [0x1DC4B063+419]
    	PyEval_EvalFrameDefault [0x1DC484B9+9929]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyFunction_FastCallDict [0x1DC4B406+470]
    	PyObject_FastCallDict [0x1DBA8681+97]
    	PyObject_Call_Prepend [0x1DBA87D9+137]
    	PyMethod_New [0x1DBBA85D+1517]
    	PyObject_Call [0x1DBA858D+109]
    	PyType_Ready [0x1DC00CAA+14106]
    	PyType_Modified [0x1DBF795E+3838]
    	PyObject_FastCallDict [0x1DBA86E7+199]
    	PyObject_FastCallKeywords [0x1DBA8AB0+128]
    	PyEval_GetFuncDesc [0x1DC4B063+419]
    	PyEval_EvalFrameDefault [0x1DC484B9+9929]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyEval_GetFuncDesc [0x1DC4B204+836]
    	PyEval_GetFuncDesc [0x1DC4B057+407]
    	PyEval_EvalFrameDefault [0x1DC468F0+2816]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyFunction_FastCallDict [0x1DC4B406+470]
    	PyObject_FastCallDict [0x1DBA8681+97]
    	PyObject_Call_Prepend [0x1DBA87D9+137]
    	PyMethod_New [0x1DBBA85D+1517]
    	PyObject_Call [0x1DBA858D+109]
    	PyType_Ready [0x1DC00CAA+14106]
    	PyType_Modified [0x1DBF795E+3838]
    	PyObject_FastCallDict [0x1DBA86E7+199]
    	PyObject_FastCallKeywords [0x1DBA8AB0+128]
    	PyEval_GetFuncDesc [0x1DC4B063+419]
    	PyEval_EvalFrameDefault [0x1DC468F0+2816]
    	PyEval_GetFuncDesc [0x1DC4B10A+586]
    	PyEval_GetFuncDesc [0x1DC4B181+705]
    	PyEval_GetFuncDesc [0x1DC4B057+407]
    	PyEval_EvalFrameDefault [0x1DC468F0+2816]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyEval_GetFuncDesc [0x1DC4B204+836]
    	PyEval_GetFuncDesc [0x1DC4B057+407]
    	PyEval_EvalFrameDefault [0x1DC468F0+2816]
    	PyEval_EvalFrameDefault [0x1DC4A195+17317]
    	PyEval_EvalCode [0x1DC45D99+41]
    	PyAST_FromNode [0x1DC42AB6+32182]
    

    Note: We provide qt.conf file in the exe path with
    [paths]
    prefix= ./Qt in the exe path. Do we miss anything here? Your help is appreciated


  • Moderators

    This seems to be the same as https://bugreports.qt.io/browse/QTBUG-72228.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.