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

Qt WebAssembly QNetworkReply never trigger the finished signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.1
    • Network: HTTP
    • None
    • Software
    • WebAssembly

    Description

      QObject::connect(manager,SIGNAL(finished(QNetworkReply*)),this,SLOT(HandledDataFromNetwork(QNetworkReply*)));

      After a request i never recieve the finished signal.
      Below the browser log:
      __emscripten_fetch_xhr
      http://192.168.1.67/qtloader.js line 443 > eval:12548:11
      performUncachedXhr
      http://192.168.1.67/qtloader.js line 443 > eval:12717:29
      __emscripten_fetch_load_cached_data/getRequest.onsuccess
      http://192.168.1.67/qtloader.js line 443 > eval:12625:18
      (Asinc.: EventHandlerNonNull) __emscripten_fetch_load_cached_data
      http://192.168.1.67/qtloader.js line 443 > eval:12604:7
      _emscripten_start_fetch
      http://192.168.1.67/qtloader.js line 443 > eval:12743:42
      emscripten_fetch
      http://192.168.1.67/RecoveryWasm.wasm:9986588:-2147455495
      QNetworkReplyWasmImplPrivate::doSendRequest()
      http://192.168.1.67/RecoveryWasm.wasm:7760066:-2147463235
      QNetworkReplyWasmImplPrivate::setup(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*)
      http://192.168.1.67/RecoveryWasm.wasm:7757854:-2147463237
      QNetworkAccessManager::createRequest(QNetworkAccessManager::Operation, QNetworkRequest const&, QIODevice*)
      http://192.168.1.67/RecoveryWasm.wasm:7647255:-2147463654
      QNetworkAccessManager::get(QNetworkRequest const&)
      http://192.168.1.67/RecoveryWasm.wasm:7646269:-2147463656
      HttpWebClient::getRequest()
      http://192.168.1.67/RecoveryWasm.wasm:78839:-2147483180
      HttpWebClient::RequestSystemDataToNetwork()
      http://192.168.1.67/RecoveryWasm.wasm:82492:-2147483167
      MainWindow::slotSystemInfoExecute()
      http://192.168.1.67/RecoveryWasm.wasm:247939:-2147482725
      MainWindow::slotApplyAddress()
      http://192.168.1.67/RecoveryWasm.wasm:252751:-2147482713
      MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
      http://192.168.1.67/RecoveryWasm.wasm:345638:-2147482175
      void doActivate<false>(QObject*, int, void**)
      http://192.168.1.67/RecoveryWasm.wasm:9274640:-2147458748
      QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
      http://192.168.1.67/RecoveryWasm.wasm:9296039:-2147458701
      QAbstractButtonPrivate::emitClicked()
      http://192.168.1.67/RecoveryWasm.wasm:1716398:-2147479141
      QAbstractButtonPrivate::click()
      http://192.168.1.67/RecoveryWasm.wasm:1717083:-2147479137
      QAbstractButton::mouseReleaseEvent(QMouseEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:1720320:-2147479106
      QWidget::event(QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:987643:-2147480437
      QAbstractButton::event(QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:1719499:-2147479108
      QPushButton::event(QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:2196139:-2147477500
      QApplicationPrivate::notify_helper(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:752475:-2147481117
      QApplication::notify(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:759579:-2147481105
      QCoreApplication::notifyInternal2(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:9097582:-2147459644
      QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:9100560:-2147459630
      QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
      http://192.168.1.67/RecoveryWasm.wasm:754743:-2147481111
      QWidgetWindow::handleMouseEvent(QMouseEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:1154946:-2147479905
      QWidgetWindow::event(QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:1147426:-2147479909
      QApplicationPrivate::notify_helper(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:752475:-2147481117
      QApplication::notify(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:765425:-2147481105
      QCoreApplication::notifyInternal2(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:9097582:-2147459644
      QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:9100560:-2147459630
      QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:3790120:-2147471671
      QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:3785032:-2147471672
      bool QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery>(QWindowSystemInterfacePrivate::WindowSystemEvent*)
      http://192.168.1.67/RecoveryWasm.wasm:3702240:-2147472004
      bool QWindowSystemInterface::handleMouseEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow*, unsigned long, QPointingDevice const*, QPointF const&, QPointF const&, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type, QFlags<Qt::KeyboardModifier>, Qt::MouseEventSource)
      http://192.168.1.67/RecoveryWasm.wasm:3714274:-2147471981
      bool QWindowSystemInterface::handleMouseEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow*, unsigned long, QPointF const&, QPointF const&, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type, QFlags<Qt::KeyboardModifier>, Qt::MouseEventSource)
      http://192.168.1.67/RecoveryWasm.wasm:3714372:-2147471980
      QWasmEventTranslator::processMouse(int, EmscriptenMouseEvent const*)
      http://192.168.1.67/RecoveryWasm.wasm:380117:-2147481999
      QWasmEventTranslator::mouse_cb(int, EmscriptenMouseEvent const*, void*)
      http://192.168.1.67/RecoveryWasm.wasm:376155:-2147482007
      dynCall_iiii
      http://192.168.1.67/RecoveryWasm.wasm:10013206:-2147455432
      Module.dynCall_iiii
      http://192.168.1.67/qtloader.js line 443 > eval:14247:40
      mouseEventHandlerFunc
      http://192.168.1.67/qtloader.js line 443 > eval:12156:25
      jsEventHandler
      http://192.168.1.67/qtloader.js line 443 > eval:8247:24
      (Asinc.: EventListener.handleEvent) registerOrRemoveHandler
      http://192.168.1.67/qtloader.js line 443 > eval:8256:31
      __registerMouseEventCallback
      http://192.168.1.67/qtloader.js line 443 > eval:12167:16
      _emscripten_set_mouseup_callback_on_thread
      http://192.168.1.67/qtloader.js line 443 > eval:12179:35
      QWasmEventTranslator::initEventHandlers()
      http://192.168.1.67/RecoveryWasm.wasm:375753:-2147482010
      QWasmEventTranslator::QWasmEventTranslator(QWasmScreen*)
      http://192.168.1.67/RecoveryWasm.wasm:375258:-2147482011
      QWasmScreen::QWasmScreen(emscripten::val const&)
      http://192.168.1.67/RecoveryWasm.wasm:369543:-2147482054
      QWasmIntegration::QWasmIntegration()
      http://192.168.1.67/RecoveryWasm.wasm:353423:-2147482142
      QWasmIntegrationPlugin::create(QString const&, QList<QString> const&)
      http://192.168.1.67/RecoveryWasm.wasm:349789:-2147482164
      QPlatformIntegrationPlugin::create(QString const&, QList<QString> const&, int&, char**)
      http://192.168.1.67/RecoveryWasm.wasm:3734279:-2147471866
      QPlatformIntegrationFactory::create(QString const&, QList<QString> const&, int&, char**, QString const&)
      http://192.168.1.67/RecoveryWasm.wasm:3748015:-2147471741
      QGuiApplicationPrivate::createPlatformIntegration()
      http://192.168.1.67/RecoveryWasm.wasm:3763265:-2147471718
      QGuiApplicationPrivate::createEventDispatcher()
      http://192.168.1.67/RecoveryWasm.wasm:3781382:-2147471685
      QApplicationPrivate::createEventDispatcher()
      http://192.168.1.67/RecoveryWasm.wasm:724001:-2147481181
      QCoreApplicationPrivate::init()
      http://192.168.1.67/RecoveryWasm.wasm:9094242:-2147459653
      QGuiApplicationPrivate::init()
      http://192.168.1.67/RecoveryWasm.wasm:3752178:-2147471721
      QApplicationPrivate::init()
      http://192.168.1.67/RecoveryWasm.wasm:725672:-2147481171
      QApplication::QApplication(int&, char**, int)
      http://192.168.1.67/RecoveryWasm.wasm:725659:-2147481172
      main
      http://192.168.1.67/RecoveryWasm.wasm:154851:-2147482783
      Module._main
      http://192.168.1.67/qtloader.js line 443 > eval:14025:32
      callMain
      http://192.168.1.67/qtloader.js line 443 > eval:15328:28
      doRun
      http://192.168.1.67/qtloader.js line 443 > eval:15389:31
      run/<
      http://192.168.1.67/qtloader.js line 443 > eval:15400:7
      (Asinc.: setTimeout handler) run
      http://192.168.1.67/qtloader.js line 443 > eval:15396:15
      runCaller
      http://192.168.1.67/qtloader.js line 443 > eval:15302:19
      removeRunDependency
      http://192.168.1.67/qtloader.js line 443 > eval:1640:7
      onsuccess
      http://192.168.1.67/qtloader.js line 443 > eval:12395:30
      openDatabase/openRequest.onsuccess
      http://192.168.1.67/qtloader.js line 443 > eval:12386:58
      (Asinc.: EventHandlerNonNull) openDatabase
      http://192.168.1.67/qtloader.js line 443 > eval:12386:7
      staticInit
      http://192.168.1.67/qtloader.js line 443 > eval:12405:13
      <anonimo>
      http://192.168.1.67/qtloader.js line 443 > eval:13971:7
      completeLoadEmscriptenModule
      http://192.168.1.67/qtloader.js:443:14
      loadEmscriptenModule/<
      http://192.168.1.67/qtloader.js:332:41
      (Asinc.: promise callback) loadEmscriptenModule
      http://192.168.1.67/qtloader.js:331:73
      init
      http://192.168.1.67/RecoveryWasm.html:67:20
      onload

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            army army ham
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes