(solved) 0.18.15248 do not open files correct

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
user1234
Veteran
Posts: 3483
Joined: Mon Jul 11, 2016 5:08 pm

(solved) 0.18.15248 do not open files correct

Post by user1234 »

Hello!

I made a compile now and i can not open files (assemblies). Smaller files seems to work, but larger files not. They worked 0.18.15240 (also i do not changed them). The CPU drives with all cores with 100% and the RAM goes up till FreeCAD dies. I think that a type of element will not load anymore.

Code: Select all

OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15248 (Git)
Build type: Release
Branch: master
Hash: 608d42d3cdce307b585534adfdae9c9af7304436
Python version: 2.7.15+
Qt version: 5.11.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: C/Default (C)
Greetings
user1234
Last edited by user1234 on Wed Nov 21, 2018 6:05 pm, edited 1 time in total.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: 0.18.15248 do not open files correct

Post by triplus »

Hi @user1234

If possible could you narrow the issue down a bit further? As you compile FreeCAD yourself. Could you compile at:

Code: Select all

git checkout fc5b6288c6eb4fe89192f63f1fbdf4a43c0fad27
To see if the issue still persist. If not likely a regression was introduced in one of the Sketcher related commits (after Nov 16, 2018).
user1234
Veteran
Posts: 3483
Joined: Mon Jul 11, 2016 5:08 pm

Re: 0.18.15248 do not open files correct

Post by user1234 »

this is 018.15221. But i know that worked before. Must a be one of the last 8 commits or one of my dependencies that i updated today. I will compile through the last. The funny thing, that the compiling today gave my new warnings. But i did not save the logs.

edit: i must stop today, will test this tomorrow
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: 0.18.15248 do not open files correct

Post by abdullah »

If this is confirmed, we will need an offending file, the smallest the better. ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: 0.18.15248 do not open files correct

Post by Kunda1 »

PrzemoF wrote: Wed Nov 21, 2018 1:21 pm @user1234: did you try git bisect to get the offending commit?

https://www.preining.info/blog/2015/04/ ... made-easy/
https://www.metaltoad.com/blog/beginner ... limination
An aside:
probably a good idea to mention this in a dedicated section on the Github wikipage.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: 0.18.15248 do not open files correct

Post by abdullah »

Maybe:

ddfa51056559c70bf8698c79af69eb74a339ba81 works

ddb20468ad438f05c77b02be9b048ace92e8ad6d does not work

In those commits the XML reader was modified to throw an exception is a non-existing attribute is tried to be restored. This should be a feature in the sense that it should help discover problems that were being ignored.

If that is the case, I would really need an offending file to figure out which kind of object/attribute is the one making the mess...
user1234
Veteran
Posts: 3483
Joined: Mon Jul 11, 2016 5:08 pm

Re: 0.18.15248 do not open files correct

Post by user1234 »

Hello!

That thing also thought yesterday because, XML and file loading, that could me a match (whithout a spark of experience from my side). I am compiling (at first ddfa51056559c70bf8698c79af69eb74a339ba81 release mode to test if that works) now, please wait approx 1h. Then i can say more.

Greetings
user1234
Veteran
Posts: 3483
Joined: Mon Jul 11, 2016 5:08 pm

Re: 0.18.15248 do not open files correct

Post by user1234 »

So, thats funny. I compiled one, do not work. So just in case, deleted the userfiles, that assemlies files loads again. I know, i should do that before, i have not. But i did not set up anything since the preselecting uncheck (that slowsdown FreeCAD on assemblies extreme).

Sorry for the noise i made.

Greetings
user1234
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: (solved) 0.18.15248 do not open files correct

Post by DeepSOIC »

You have a perfect signature of tessellation settings being screwed up. Did your slowdown on large assemblies with preselection "on" go away?
Post Reply