# qSlicerWebWidget crash on Slicer built on Win 10 Pro x64

**URL:** <https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852>\
**Category:** Development\
**Created:** [July 21, 2021, 12:07pm UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852 "2021-07-21T12:07:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [July 21, 2021, 12:07pm UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/1 "2021-07-21T12:07:26Z")

</div>

Hi. I compiled Slicer from source following the instructions [here](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/windows.html) on debug mode.

When I run these lines Slicer crashes:

```auto
ww = slicer.qSlicerWebWidget()
ww.url = 'http://www.google.com'

```

Does this mean that the compilation failed at some point? why this happens?  
I tried the same code on yesterday’s nightly release and it works fine.

This is the terminal output of the compiled Slicer:

```auto
C:\D\S4D\Slicer-build>Slicer.exe
Switch to module: "Welcome"
Python console user input: ww = slicer.qSlicerWebWidget()

DevTools listening on ws://127.0.0.1:1337/devtools/browser/a863dc15-a302-4012-b699-e365eb7c133d
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:1337
Python console user input: ww.url = 'http://www.google.com'
[19120:18372:0721/091624.512:FATAL:visitedlink_writer.h(496)] Check failed: used_count == used_items_ (80 vs. 68)
Backtrace:
        QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFBD06424D2+994866]
        QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFBD05D76CC+557100]
        QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFBD05D7683+557027]
        QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFBD054FFAE+2318]
        GetHandleVerifier [0x00007FFBD06D66E1+383121]
        GetHandleVerifier [0x00007FFBD06D8753+391427]
        GetHandleVerifier [0x00007FFBD06D41DE+373646]
        GetHandleVerifier [0x00007FFBD06D4452+374274]
        GetHandleVerifier [0x00007FFBD06D46DF+374927]
        GetHandleVerifier [0x00007FFBD06D99B6+396134]
        GetHandleVerifier [0x00007FFBD06D97F7+395687]
        GetHandleVerifier [0x00007FFBD06D42E4+373908]
        GetHandleVerifier [0x00007FFBD06D44B3+374371]
        GetHandleVerifier [0x00007FFBD06D4763+375059]
        GetHandleVerifier [0x00007FFBD06D9A0D+396221]
        QtWebEngineCore::WebEngineSettings::setWebContentsAdapter [0x00007FFBCC90E1B0+4096]
        QWebEngineUrlSchemeHandler::qt_static_metacall [0x00007FFBD057D40E+187758]
        GetHandleVerifier [0x00007FFBD069283B+104939]
        GetHandleVerifier [0x00007FFBD0691FC0+102768]
        QWebEngineMessagePumpScheduler::~QWebEngineMessagePumpScheduler [0x00007FFBCC90F120+2448]
        QWebEngineMessagePumpScheduler::~QWebEngineMessagePumpScheduler [0x00007FFBCC90E856+198]
        QtWebEngineCore::WebEngineSettings::setWebContentsAdapter [0x00007FFBCC90E48B+4827]
        QtWebEngineCore::WebEngineSettings::setWebContentsAdapter [0x00007FFBCC90E53B+5003]
        QtWebEngineCore::WebEngineSettings::setWebContentsAdapter [0x00007FFBCC90E4AB+4859]
        QWebEngineMessagePumpScheduler::~QWebEngineMessagePumpScheduler [0x00007FFBCC90EEBA+1834]
        TargetGetStockObject [0x00007FFBCCECA39E+4100990]
        QWebEngineMessagePumpScheduler::timerEvent [0x00007FFBD054AFBC+124]
        QTextStream::realNumberPrecision [0x00007FFC18E44F07+5260042]
        QStyleAnimation::frameRate [0x00007FFC2140F9C7+310563]
        QStyleAnimation::frameRate [0x00007FFC21409C68+286660]
        qSlicerApplication::notify [0x00007FFC22C279CC+76] (C:\D\S4\Base\QTGUI\qSlicerApplication.cxx:412)
        QTextStream::realNumberPrecision [0x00007FFC18DE4AAF+4865714]
        QTextStream::realNumberPrecision [0x00007FFC18DE2B92+4857749]
        QTextStream::realNumberPrecision [0x00007FFC18DE69B3+4873654]
        QTextStream::realNumberPrecision [0x00007FFC18EB9092+5735573]
        qt_plugin_instance [0x00007FFBF41D47F4+1033355]
        QTextStream::realNumberPrecision [0x00007FFC18EB70B2+5727413]
        qt_plugin_instance [0x00007FFBF41D47B4+1033291]
        QTextStream::realNumberPrecision [0x00007FFC18DDF39B+4843422]
        QTextStream::realNumberPrecision [0x00007FFC18DDF604+4844039]
        QTextStream::realNumberPrecision [0x00007FFC18DE2919+4857116]
        QOpenGLFunctions_4_3_Compatibility::glLightModeli [0x00007FFC1E36D648+790560]
        QStyleAnimation::frameRate [0x00007FFC2140972A+285318]
        qSlicerCoreApplication::exec [0x00007FFC2544871B+27] (C:\D\S4\Base\QTCore\qSlicerCoreApplication.cxx:861)
        `anonymous namespace'::SlicerAppMain [0x00007FF7AB4D35A0+896] (C:\D\S4\Applications\SlicerApp\Main.cxx:62)
        main [0x00007FF7AB4D362F+47] (C:\D\S4\Base\QTApp\qSlicerApplicationMainWrapper.cxx:57)
        invoke_main [0x00007FF7AB4DB539+57] (D:\agent\_work\10\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79)
        __scrt_common_main_seh [0x00007FF7AB4DB41E+302] (D:\agent\_work\10\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
        __scrt_common_main [0x00007FF7AB4DB2DE+14] (D:\agent\_work\10\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331)
        mainCRTStartup [0x00007FF7AB4DB5CE+14] (D:\agent\_work\10\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17)
        BaseThreadInitThunk [0x00007FFC5FE17034+20]
        RtlUserThreadStart [0x00007FFC61502651+33]
Task trace:
Backtrace:
        GetHandleVerifier [0x00007FFBD06D7E0D+389053]
        GetHandleVerifier [0x00007FFBD06D79CB+387963]

error: [C:/D/S4D/Slicer-build/bin/Debug/SlicerApp-real.exe] exit abnormally - Report the problem.

```

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 21, 2021, 12:27pm UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/2 "2021-07-21T12:27:32Z")

</div>

It could be that the WebEngine code picks up a slightly different set of shared libraries than the main Slicer build because on mac there’s a similar issue where an internationalization library gets the wrong version for a local build while a packaged build works fine. You could try [depends](https://www.dependencywalker.com/) to see if this is the case. The WebEngine is basically Chrome and it has a big complex build system that’s nicely wrapped in Qt but there are probably some loose ends.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 21, 2021, 12:58pm UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/3 "2021-07-21T12:58:22Z")

</div>

It might be just a harmless debug exception (Chromium has a number of these). You may be able to choose to continue the execution if Visual Studio displays the exception popup. These exceptions do not occur if you build in release mode.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Bennett](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/benjamin_bennett/32/80742_2.png) [@Benjamin\_Bennett](https://discourse.slicer.org/u/Benjamin_Bennett)\
**Post date:** [November 3, 2025, 5:10am UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/4 "2025-11-03T05:10:26Z")

</div>

delete the QtWebEngine folder , under C:\Users\USERNAME\AppData\Local\slicer.org\Slicer

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 3, 2025, 5:19am UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/5 "2025-11-03T05:19:41Z")

</div>

Have you built Slicer in debug mode?  
Or is it an official release that you have downloaded from [download.slicer.org](http://download.slicer.org)?

---

<div class="post-metadata">

**Author:** ![Benjamin\_Bennett](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/benjamin_bennett/32/80742_2.png) [@Benjamin\_Bennett](https://discourse.slicer.org/u/Benjamin_Bennett)\
**Post date:** [November 3, 2025, 6:17am UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852/6 "2025-11-03T06:17:35Z")

</div>

yes I just ran it to this randomly .
