Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-933

QtWebEngine crashes (QWebEngineUrlScheme)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.11.2, 5.12.0, 5.12.1
    • PySide
    • Windows

    Description

      How do I even debug this? All I get is this:

      [11808:8756:0211/133834.395:FATAL:sequenced_task_runner_handle.cc(33)] Check failed: ThreadTaskRunnerHandle::IsSet(). Error: This caller requires a sequenced context (i.e. the current task needs to run from a SequencedTaskRunner).
      Backtrace:
              QWebEngineUrlScheme::QWebEngineUrlScheme [0x00007FFD0C133435+329989]
              QWebEngineUrlScheme::QWebEngineUrlScheme [0x00007FFD0C1439A3+396915]
              base::RefCountedThreadSafe<QtWebEngineCore::CookieMonsterDelegateQt,base::DefaultRefCountedThreadSafeTraits<QtWebEngineCore::CookieMonsterDelegateQt> >::RefCountedThreadSafe<QtWebEngineCore::CookieMonsterDelegateQt,base::DefaultRefCountedThreadSafeTraits< [0x00007FFD0C0C7D0B+80171]
              QWebEngineUrlScheme::QWebEngineUrlScheme [0x00007FFD0C0F9A47+93975]
              QtWebEngineCore::FilePickerController::mode [0x00007FFD0C3141FA+1760394]
              QtWebEngineCore::FilePickerController::mode [0x00007FFD0C3107F0+1745536]
              QtWebEngineCore::PdfiumDocumentWrapperQt::pageAsQImage [0x00007FFD0AD15A7A+19258]
              QtWebEngineCore::PdfiumDocumentWrapperQt::pageAsQImage [0x00007FFD0AD17618+26328]
              QtWebEngineCore::PdfiumDocumentWrapperQt::pageAsQImage [0x00007FFD0AD16669+22313]
              QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter [0x00007FFD0ACF03A4+116]
              QWebEngineView::`default constructor closure' [0x00007FFD4BAF5E6F+1039]
              QWebEnginePage::~QWebEnginePage [0x00007FFD4BAF413B+443]
              QWebEnginePage::~QWebEnginePage [0x00007FFD4BAF5A2F+6831]
              QObjectPrivate::deleteChildren [0x00007FFD1676CE93+147]
              QWidget::~QWidget [0x00007FFD33CD8025+1557]
              (No symbol) [0x00007FFD4ACB79D8]
              QObjectPrivate::deleteChildren [0x00007FFD1676CE93+147]
              QWidget::~QWidget [0x00007FFD33CD8025+1557]
              (No symbol) [0x00007FFD187FF8F8]
              QObjectPrivate::deleteChildren [0x00007FFD1676CE93+147]
              QWidget::~QWidget [0x00007FFD33CD8025+1557]
              (No symbol) [0x00007FFD18667BD8]
              SbkDeallocWrapper [0x00007FFD5AB27D1E+670]
              PyObject_CallFunctionObjArgs [0x00000000700E312F+1167]
              PyObject_IsSubclass [0x00000000700DDB58+1520]
              PyMethod_ClearFreeList [0x00000000700A1A20+1732]
              PyMethod_ClearFreeList [0x00000000700A1648+748]
              PyMethod_ClearFreeList [0x00000000700A1567+523]
              PyObject_GC_Malloc [0x00000000700B1F1A+202]
              PyTuple_New [0x00000000700DF2A0+256]
              PyEval_EvalFrameDefault [0x00000000700E9129+2185]
              PyObject_Free [0x00000000700E5728+1000]
              PyCompile_OpcodeStackEffect [0x00000000700D2DF5+1257]
              PyObject_IsSubclass [0x00000000700DD7B0+584]
              PyEval_EvalFrameDefault [0x00000000700E9955+4277]
              PyObject_GetAttr [0x00000000700E82E0+1376]
              PyEval_EvalFrameDefault [0x00000000700E8B4E+686]
              PyObject_Free [0x00000000700E5728+1000]
              PyCompile_OpcodeStackEffect [0x00000000700D2DF5+1257]
              PyObject_IsSubclass [0x00000000700DD7B0+584]
              PyEval_EvalFrameDefault [0x00000000700E9955+4277]
              PyObject_GetAttr [0x00000000700E82E0+1376]
              PyEval_EvalFrameDefault [0x00000000700E8B4E+686]
              PyObject_GetAttr [0x00000000700E82E0+1376]
              PyEval_EvalFrameDefault [0x00000000700E8B4E+686]
              PyFunction_FastCallDict [0x00000000700E3B53+211]
              PyObject_ClearWeakRefs [0x00000000700E3A06+2010]
              PyObject_Call [0x00000000700DF99C+92]
              PyOS_SigintEvent [0x00000000701A227C+5204]
              PyThread_start_new_thread [0x0000000070240CFA+390]
              o_exp [0x00007FFD727F03BA+90]
              BaseThreadInitThunk [0x00007FFD750181F4+20]
              RtlUserThreadStart [0x00007FFD7674A251+33]
      

      The best part is that this crash only occurs in a frozen windows exe and not from source. And only sometimes.

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              berserker berserker
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes