FC freezes when editing export STEP preferences

Post here for help on using FreeCAD's graphical user interface (GUI).
User avatar
uwestoehr
Posts: 118
Joined: Sun Jan 27, 2019 3:21 am

FC freezes when editing export STEP preferences

Postby uwestoehr » Wed Feb 13, 2019 10:44 am

- 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
Posts: 17779
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FC freezes when editing export STEP preferences

Postby NormandC » Thu Feb 14, 2019 5:45 am

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
Posts: 244
Joined: Fri Nov 09, 2018 5:38 pm

Re: FC freezes when editing export STEP preferences

Postby openBrain » Thu Feb 14, 2019 9:26 am

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
Site Admin
Posts: 13597
Joined: Thu Feb 19, 2009 10:32 am

Re: FC freezes when editing export STEP preferences

Postby wmayer » Thu Feb 14, 2019 10:08 am

wmayer
Site Admin
Posts: 13597
Joined: Thu Feb 19, 2009 10:32 am

Re: FC freezes when editing export STEP preferences

Postby wmayer » Thu Feb 14, 2019 11:07 am

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

Re: FC freezes when editing export STEP preferences

Postby uwestoehr » Thu Feb 14, 2019 11:35 am

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
Posts: 118
Joined: Sun Jan 27, 2019 3:21 am

Re: FC freezes when editing export STEP preferences

Postby uwestoehr » Thu Feb 14, 2019 11:36 am

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.