Hi. I compiled Slicer from source following the instructions here on debug mode.
When I run these lines Slicer crashes:
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:
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.