solved: DLL load failed: Invalid access to memory (V.19)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
byakk0
Posts: 83
Joined: Fri Sep 04, 2020 7:38 pm

solved: DLL load failed: Invalid access to memory (V.19)

Post by byakk0 »

Ack...
I recently installed Freecad on my home pc. I've been using it at work and until recently haven't had a use for it at home...
Anyway, it was working just fine, and then my system crashed. Now I get a blank loading screen and the following errors.
FCfailed.png
FCfailed.png (22.24 KiB) Viewed 1709 times
I've restarted my PC a couple times, but nothing has helped.
Any ideas?

Thanks!

OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +99 (Git)
Build type: Release
Branch: Branch_0.19.3
Hash: 6530e364184ce05ccff39501e175cf2237e6ee4b
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
Last edited by byakk0 on Thu Jan 20, 2022 3:05 pm, edited 1 time in total.
~~Hazen
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: DLL load failed: Invalid access to memory

Post by chrisb »

First guess is a (silent) update of your operating system, which is worth a look at the Known OS specific issues, especially the graphics card related stuff.

Next would be a test of 0.20. With its different libraries it is well possible, that the problem disappears all by itself.

Third could be to reset the configuration with the button in the preferences. Another possibility is to delete your config files or to move them in case you want to restore them.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: DLL load failed: Invalid access to memory

Post by wmayer »

and then my system crashed.
Do you have some more information what exactly crashed and why?

From the menu you see can you still switch to another workbench or does it also give you an invalid access? In case it works then try to create a new document and create a simple shape.
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: DLL load failed: Invalid access to memory

Post by TheMarkster »

byakk0 wrote: Wed Jan 12, 2022 5:58 am
OS: Windows 10 Version 2004
This looks like an older version of Windows 10. Mine says Version 2009.

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26858 (Git)
Build type: Release
Branch: master
Hash: e209bc706d35121098f9bac779bc6b09c24ddd95
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)

It could be some DLL's get updated or something when you do the update. You should be getting automatic updates anyway for security purposes.
byakk0
Posts: 83
Joined: Fri Sep 04, 2020 7:38 pm

Re: DLL load failed: Invalid access to memory

Post by byakk0 »

I thought I answered earlier...

Anyway, It's a GFX card issue. I need a new one but finding a decent one that won't break the bank is tough. Other rendering programs (blender, film editing) will crash my system quickly. I got a couple hours out of freecad.

I'm thinking just reinstall freecad and see where that takes me.
Which button in preferences?
Third could be to reset the configuration with the button in the preferences. Another possibility is to delete your config files or to move them in case you want to restore them.
On that note, I just started freecad again and get the above mentioned window.
I can load a workbench and the do File>New and get the workspace to load.
~~Hazen
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: DLL load failed: Invalid access to memory

Post by chrisb »

byakk0 wrote: Thu Jan 13, 2022 12:03 am Which button in preferences?
At the bottom of the Preferences dialog is a "Reset" button.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
byakk0
Posts: 83
Joined: Fri Sep 04, 2020 7:38 pm

Re: DLL load failed: Invalid access to memory

Post by byakk0 »

reset didn't work. I'll see if uninstall/reinstall does anything.
~~Hazen
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: DLL load failed: Invalid access to memory

Post by chrisb »

byakk0 wrote: Fri Jan 14, 2022 5:38 am reset didn't work. I'll see if uninstall/reinstall does anything.
Most probably not with 0.19. But you can try current 0.20.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
byakk0
Posts: 83
Joined: Fri Sep 04, 2020 7:38 pm

Re: DLL load failed: Invalid access to memory

Post by byakk0 »

Finally got around to fixing it. Uninstalled and reinstalled .19 and the error went away.
~~Hazen
Post Reply