[SOLVED] Windows 11 error 0x80000003 on startup

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
DickyOZ
Posts: 5
Joined: Sat Oct 23, 2021 6:41 am

[SOLVED] Windows 11 error 0x80000003 on startup

Post by DickyOZ »

I'm not normally an early adopter but when my PC motherboard died I thought it an opportune time try Windows 11. Installation was a breeze and I soon had all my APPs up and running except FreeCAD version: 0.19.0.16100 it installed OK but cant get past the splash screen on startup. There appears to be some .dll conflict.

Windows 11 application error report:

Faulting application name: FreeCAD.exe, version: 0.19.0.16100, time stamp: 0x608218f4
Faulting module name: Qt5WebEngineCore.dll, version: 5.15.2.0, time stamp: 0x5fad38ab
Exception code: 0x80000003
Fault offset: 0x000000000014baff
Faulting process id: 0x59c
Faulting application start time: 0x01d7c7c1cce279e3
Faulting application path: C:\Users\Richard\AppData\Local\Programs\FreeCAD 0.19\bin\FreeCAD.exe
Faulting module path: C:\Users\Richard\AppData\Local\Programs\FreeCAD 0.19\bin\Qt5WebEngineCore.dll
Report Id: c1bf30ca-5804-4527-9ffc-a54e469a83ec
Faulting package full name:
Faulting package-relative application ID:

Does anyone know what the problem is and how I can fix it?

Dicky.
PS. This is my first post, I hope I have followed the correct procedure.

PPS. I rather like Windows 11 :D
Last edited by DickyOZ on Sat Nov 06, 2021 11:00 am, edited 1 time in total.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Windows 11 error 0x80000003 on startup

Post by chrisb »

Hi and welcome to the forum!

Have alook at the Known OS specific issues, especially the graphics card stuff.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Windows 11 error 0x80000003 on startup

Post by wmayer »

You can try to rename the file Qt5WebEngineCore.dll to e.g. Qt5WebEngineCore.dll2 so that it cannot be loaded. You have then no start page any more but if the rest works this should be acceptable.

When searching for "Exception code: 0x80000003" in the web you will have many hits but not a clear answer of what the exact reason is.
DickyOZ
Posts: 5
Joined: Sat Oct 23, 2021 6:41 am

Re: Windows 11 error 0x80000003 on startup

Post by DickyOZ »

Thanks for that wmayer, Renaming the .dll does get me to the normal window but any attempt to open a file crashes the program:

Faulting application name: FreeCAD.exe, version: 0.19.0.16100, time stamp: 0x608218f4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x32d4
Faulting application start time: 0x01d7c930b645b55f
Faulting application path: C:\Users\Richard\AppData\Local\Programs\FreeCAD 0.19\bin\FreeCAD.exe
Faulting module path: unknown
Report Id: 21df00db-6a2a-4e4f-8a39-56caa8c2451e
Faulting package full name:
Faulting package-relative application ID:

If I try to create a new file I get the error:

Faulting application name: FreeCAD.exe, version: 0.19.0.16100, time stamp: 0x608218f4
Faulting module name: Qt5WebEngineCore.dll, version: 5.15.2.0, time stamp: 0x5fad38ab
Exception code: 0x80000003
Fault offset: 0x000000000014baff
Faulting process id: 0x1774
Faulting application start time: 0x01d7c92dd0706787
Faulting application path: C:\Users\Richard\AppData\Local\Programs\FreeCAD 0.19\bin\FreeCAD.exe
Faulting module path: C:\Users\Richard\AppData\Local\Programs\FreeCAD 0.19\bin\Qt5WebEngineCore.dll
Report Id: 2feaa60b-1d8b-4ff9-826e-8041df0dcb2c
Faulting package full name:
Faulting package-relative application ID:

But it's one step forward with the Win 11 path. Until a solution is found I can still dual boot to Win10 and use that version.
Again, thanks for your suggestion.
Dicky.
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Windows 11 error 0x80000003 on startup

Post by wmayer »

How comes that it again crashes because of Qt5WebEngineCore.dll after you have renamed it? The application shouldn't be able to load this file because it doesn't exist any more.
DickyOZ
Posts: 5
Joined: Sat Oct 23, 2021 6:41 am

Re: Windows 11 error 0x80000003 on startup

Post by DickyOZ »

I have uninstalled and deleted all references to FreeCAD (even on my old boot drive). I then re-installed and renamed the dll as you suggested. When I run FreeCAD I see the splash screen, followed by the usual window with the Report view showing:

16:26:54 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.19\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ImportError'>: DLL load failed while importing WebGui: The specified module could not be found.
16:26:54 DLL load failed while importing WebGui: The specified module could not be found.

I searched C:\Program Files\FreeCAD 0.19\ and saw:
WebGui.lib and WebGui.pyd exist in C:\Program Files\FreeCAD 0.19\lib but are hidden files.

I can't post images showing what is happening because I don't think Google Drive links will work.
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Windows 11 error 0x80000003 on startup

Post by wmayer »

16:26:54 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.19\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ImportError'>: DLL load failed while importing WebGui: The specified module could not be found.
16:26:54 DLL load failed while importing WebGui: The specified module could not be found.
This error message is expected since WebGui.pyd cannot find the dll. Now the big question is what happens when you play with the functions a bit, like creating a new document, add objects, ...

Btw, there are some further systems that have problems with Qt's webengine. What works fine for them is to enable Software OpenGL. You can do this in the preferences under Viewer > 3D Viewer > Use Software OpenGL Alternatively, you can set the environment variable:

Code: Select all

set QT_OPENGL=software
DickyOZ
Posts: 5
Joined: Sat Oct 23, 2021 6:41 am

Re: Windows 11 error 0x80000003 on startup

Post by DickyOZ »

If I try to open a document or create a new file the window goes blank and the title bar has nothing on it.

I suspect the Win 10 system disk (which is visible to Win 11 may be causing problems. So I have deleted all references to FreeCAD from both systems and purged the registry of all references to FreeCAD that I have access to. If a clean install then fails to run properly the problem will almost certainly be a Win 11 compatibility issue.

I think I will soon bite the bullet and get rid of Win 10 altogether, and format the drive it is on (But that is proving more difficult than I thought).
DickyOZ
Posts: 5
Joined: Sat Oct 23, 2021 6:41 am

Re: [SOLVED] Windows 11 error 0x80000003 on startup

Post by DickyOZ »

The problem was solved by updating the MSI motherboard and AMD supplied drivers rather than using Windows 11 default drivers. Don't ask how or why but this solved the problem but it did. I'm a happy FreeCAD user again. Many thanks to those who offered help.
Post Reply