[Solved] FreeCAD O.19 crashes while opening a file.

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
plgarcia
Posts: 310
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

[Solved] FreeCAD O.19 crashes while opening a file.

Post by plgarcia »

Dear all,
Here is my problem.
Versions:
version.png
version.png (168.98 KiB) Viewed 2143 times
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23463 (Git)
Build type: Release
Branch: master
Hash: adc6db8f32c17e9f67cb82aa7962d1e42ce061c6
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

The problem:
While clicking on a folder in the right pane, and sometimes in the path, FreeCAD crashes with the error reported here after.
FileOpenWindow.png
FileOpenWindow.png (192.33 KiB) Viewed 2143 times
Log: Cannot mix incompatible Qt library (version 0x50d02) with this library (version 0x50c01)
LogExtract.png
LogExtract.png (9.97 KiB) Viewed 2143 times
This is the last log by FreeCAD before it closes.
Note the version of Windows that is old.
I am not sure this did not exists in previous build!

Find the full log if can help.
FreeCAD.log.txt
(36.71 KiB) Downloaded 51 times
Regards
Pascal Garcia
Last edited by plgarcia on Thu Jan 28, 2021 7:50 am, edited 1 time in total.
wmayer
Founder
Posts: 20241
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD O.19 crashes while opening a file.

Post by wmayer »

Log: Cannot mix incompatible Qt library (version 0x50d02) with this library (version 0x50c01)
Something pulls in dlls of Qt 5.13.2 while your FreeCAD version is built with Qt 5.12.1. Maybe you have a PySide version that is linked against the newer Qt version?

In order to find out what happens you can start FreeCAD.exe from within the debugger of VS. Then in the Output panel of VS you can see where these wrong Qt dlls come from and it may give you a clue why they are used at all.
plgarcia
Posts: 310
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

Re: FreeCAD O.19 crashes while opening a file.

Post by plgarcia »

OK thank you.
I did not do strange things.
I recently updated and installed modules.
I uninstalled all modules, and I emptied the folder mod for the modules installed manually.
I removed the FreeCAD installation folder and decompressed the archive to have a fresh installation and remove potential faulty .pyd files.
I checked there is no QT installed on my PC that could have been on the PATH.

The problem is still present.

But if I manage not to browse in Google Drive tree then the problem does not occur.
I don't see what can be the link with GoogleDrive!

I investigate further as you suggested and keep you informed.
Last edited by plgarcia on Sat Dec 26, 2020 11:26 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD O.19 crashes while opening a file.

Post by chrisb »

There were some reports that in %APPDATA% can be a Python folder creating such problems. Have a look at the Known OS specific issues, I think it is described there.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
plgarcia
Posts: 310
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

Re: FreeCAD O.19 crashes while opening a file.

Post by plgarcia »

Hello,
The problem does not exist any longer, whatever the build of FreeCAD I use.
I believe the installation of the latest version of VS has changed something on my system that solves the problem.
Therefore, I cannot investigate any further.
Thank you for your help and the time spent.
Regards
plgarcia
Posts: 310
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

Re: FreeCAD O.19 crashes while opening a file.

Post by plgarcia »

Th problem is back!
Here is what says VS
CaptureVS.PNG
CaptureVS.PNG (50.42 KiB) Viewed 1802 times
I do not understand how CHITUBOX can be involved, there is no reference in any Windows environment variable to its path.

Any idea?

Regards
plgarcia
Posts: 310
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

Re: FreeCAD O.19 crashes while opening a file.

Post by plgarcia »

For some other reasons I have had to reformat the PC and install Windows 10.
Chitubox is also installed and everything works fine.

Unfortunately I will never know what was going wrong.
User avatar
mpetrasinovic
Posts: 106
Joined: Sat Feb 22, 2020 10:19 am
Location: Belgrade, Serbia
Contact:

Re: [Solved] FreeCAD O.19 crashes while opening a file.

Post by mpetrasinovic »

I had the same problem with CHITUBOX, every time open dialog open a folder that has a file for which CHITUBOX is default program it crashes FreeCAD. There is some problem with used versions of Qt.
Post Reply