FreeCAD closes on startup

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
gwlindberg
Posts: 7
Joined: Fri Dec 23, 2022 4:19 pm

FreeCAD closes on startup

Post by gwlindberg »

I have downloaded the FreeCAD-0.20.1-WIN-x64-installer-1.exe, to install on a Windows 10 Pro system with 16GB on Ram, unknown graphics card. The installation completed successfully. When I try to start FreeCAD I see the startup splash screen for a bit with the initializing messages across the bottom and then the splash screen goes away and I get nothing else. I've tried starting FreeCAD from a command prompt to see if there are any error messages, but it forks quickly and there are no messages. I also can't find a log file with any output.

Is there any way to get more debugging output so I can trace what is happening?

Regards,
Greg
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD closes on startup

Post by chrisb »

gwlindberg wrote: Fri Dec 23, 2022 4:36 pm Is there any way to get more debugging output so I can trace what is happening?
Start FreeCAD with the additional commandline parameter --write-log and find a logfile in your local FreeCAD folder %APPDATA%\FreeCAD.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
gwlindberg
Posts: 7
Joined: Fri Dec 23, 2022 4:19 pm

Re: FreeCAD closes on startup

Post by gwlindberg »

I'm getting a bunch of errors like this:
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE81E6BAFF)
Log: Id: 10556: 00007FFE81E6BAFF (Qt5WebEngineCore): (filename not available): QtWebEngineCore::URLRequestCustomJobDelegate::url
Log: Id: 12736: C:\WINDOWS\system32\MFCaptureEngine.dll:MFCaptureEngine.dll (00007FFEA9C10000), size: 679936 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\MFCaptureEngine.dll', fileVersion: 6.2.19041.906
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE840581DC)
Log: Id: 10556: 00007FFE840581DC (Qt5WebEngineCore): (filename not available): GetHandleVerifier
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE824A33F4)
Log: Id: 10556: 00007FFE824A33F4 (Qt5WebEngineCore): (filename not available): QWebEngineUrlRequestInfo::QWebEngineUrlRequestInfo
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE824A4F29)
Log: Id: 10556: 00007FFE824A4F29 (Qt5WebEngineCore): (filename not available): QWebEngineUrlRequestInfo::QWebEngineUrlRequestInfo
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE84520BA6)
Log: Id: 10556: 00007FFE84520BA6 (Qt5WebEngineCore): (filename not available): GetHandleVerifier
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE84FFC5E7)
Log: Id: 10556: 00007FFE84FFC5E7 (Qt5WebEngineCore): (filename not available): GetHandleVerifier
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE83788342)
Log: Id: 10556: 00007FFE83788342 (Qt5WebEngineCore): (filename not available): QWebEngineUrlSchemeHandler::qt_metacast
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE837506A5)
Log: Id: 10556: 00007FFE837506A5 (Qt5WebEngineCore): (filename not available): QWebEngineUrlSchemeHandler::qt_metacast
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFED56E7614)
Log: Id: 10556: 00007FFED56E7614 (KERNEL32): (filename not available): BaseThreadInitThunk
Log: Id: 10556: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFED75C26A1)
Log: Id: 10556: 00007FFED75C26A1 (ntdll): (filename not available): RtlUserThreadStart
Log: *** Unhandled Exception!
Log: ExpCode: 0x80000003
Log: ExpFlags: 0
Log: ExpAddress: 0x81E6BAFF
This looks like at least some of the problem is that I am missing some libraries. Are there some things that should be installed before FreeCAD?

Greg
hamster20017
Posts: 1
Joined: Fri Dec 30, 2022 12:21 am

Re: FreeCAD closes on startup

Post by hamster20017 »

I have a similar problem. I click on the FreeCAD icon, computer thinks for a second or 2, and then the program shuts down. When I go to task manager I don't see the program. I don't know if it matters but I had the same problem when I tried to use Fusion 360. I tried installing Python. I did a sfc scan, whatever that is. I reinstalled windows c++ redistribute. Nothing worked. I'm attaching my log file.

Thanks
Attachments
FreeCAD.log
This is my FreeCAD log file
(56.75 KiB) Downloaded 38 times
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD closes on startup

Post by wmayer »

I'm getting a bunch of errors like this:
For some reason the QtWebEngine module doesn't work correctly. It's hard to say why this happens.

A workaround is to remove the folder StartPage from the Mod directory. If this still doesn't work then also remove the AddonManager directory.
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD closes on startup

Post by wmayer »

I have a similar problem. I click on the FreeCAD icon, computer thinks for a second or 2, and then the program shuts down.
The log output is too unspecific and just lists a lot of dlls but doesn't really give a clue about the underlying problem. At the very end then it reports an access violation (ExpCode: 0xC0000005). You can try the tips from above but I don't expect it to work here since you have the same problem with other CAD software.

Another often seen problem on Windows is the graphic driver. So try to update it to a newer version.
Reynard1066
Posts: 29
Joined: Sun May 10, 2020 7:27 am
Location: Scotland

Re: FreeCAD closes on startup

Post by Reynard1066 »

I had similar problems when upgrading to a newer Windows version some weeks ago.
I turned out to be not having the splash screen enabled.
I installed (unzipped) an older version I knew was working OK, enabled the splash screen in preferences. Newer version have run OK ever since.
Some rescent version has broken the flash screen when disabled.

Reynard
Mooney542
Posts: 36
Joined: Sun Jan 09, 2022 2:59 am

Re: FreeCAD closes on startup

Post by Mooney542 »

I'm running Windows 10 with 16GB memory. Mine crashes as well after downloading 0.20.2. It worked fine on 0.20.1

THEN.... I reinstalled 0.20.1 and 0.20.1 started to crash when starting. Now I can't get either running.

Apparently, something 0.20.2 installed is not coming off the computer and hanging around to affect 0.20.1... I can't get any other debug info, as it doesn't stay running long enough to capture anything useful. Just sayin'
Last edited by Mooney542 on Thu Jan 05, 2023 12:01 am, edited 1 time in total.
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD closes on startup

Post by chrisb »

Mooney542 wrote: Wed Jan 04, 2023 11:29 pm I can't get any other debug info, as it doesn't stay running long enough to capture anything useful.
Start with the additional commanline parameter --write-log. It creates a log file in %APPDATA%\FreeCAD\
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Mooney542
Posts: 36
Joined: Sun Jan 09, 2022 2:59 am

Re: FreeCAD closes on startup

Post by Mooney542 »

I sorta figured the CLI out and how to get the APPDATA folder. Lemme see if I can figure it out. I have alzheimers and it is very difficult to do the simple things these days.
Post Reply