FC freezes when editing export STEP preferences

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
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

FC freezes when editing export STEP preferences

Post by uwestoehr »

- start FC
- use the Part WB
- use menu Edit -> Preferences -> Import-Export -> STEP
- there write into the 'author' field text with an umlaut, e.g. 'stöhr"
- press Apply

result: FC freezes. There is no output in the message panel. Finally one has to kill FC because it is not responding and unusable, no matter how long you wait. It seems to be an unfinished loop because the FC uses the full CPU power of one CPU core as soon as you press Apply.
There is no but if there is no umlaut in the author field. Interestingly other non-ASCII characters don't trigger the freeze, e.g. using 'µ' or '³' work. However since my name contains an umlaut I want to use it of course. If this is not possible FC must tell me about and prevent the input of not allowed character.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FC freezes when editing export STEP preferences

Post by NormandC »

I confirm on

OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: FC freezes when editing export STEP preferences

Post by openBrain »

Here also. I get the same result using an 'ä'. So despite I didn't try all possible letters, I would suspect the umlaut/trema to be the culprit. :)
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC freezes when editing export STEP preferences

Post by wmayer »

wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC freezes when editing export STEP preferences

Post by wmayer »

git commit 7d0e06c96 makes sure that only 7-bit ASCII can be entered.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: FC freezes when editing export STEP preferences

Post by uwestoehr »

NormandC wrote: Thu Feb 14, 2019 5:45 am I confirm on
Thanks for having a look. I reported this now as issue #3835.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: FC freezes when editing export STEP preferences

Post by uwestoehr »

wmayer wrote: Thu Feb 14, 2019 11:07 am git commit 7d0e06c96 makes sure that only 7-bit ASCII can be entered.
Wow, you are fast! Many thanks.
Post Reply