[Solved] FC 0.19_pre - Access Violation on Win 10

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
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

[Solved] FC 0.19_pre - Access Violation on Win 10

Post by paullee »

Hi, @leeon in Chinese Forum reported a FC Windows 10 problem https://forum.freecadweb.org/viewtopic.php?f=40&t=36923

Running the windows version below return error below, I have no Windows to test, see if anyone can help?

FC - - - FreeCAD_0.19.16886_x64_LP_12.1.2_PY3QT5-WinVS2015
Windows - - - Microsoft Windows 10 Pro 10.0.17763.503 (Win10 RS5 [1809] October 2018 Update)
深度截图_选择区域_20190608221927.png
深度截图_选择区域_20190608221927.png (54.59 KiB) Viewed 977 times
Last edited by Kunda1 on Wed Jun 19, 2019 5:18 pm, edited 1 time in total.
Reason: Added [Solved] to title
chrisb
Veteran
Posts: 54303
Joined: Tue Mar 17, 2015 9:14 am

Re: FC 0.19_pre - Access Violation on Win 10

Post by chrisb »

It may be helpful for the experts
- to see the full FreeCAD infos
- to know where FreeCAD is installed. Does the path contain any chinese characters?
- Does the user name contain any chinese characters?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: FC 0.19_pre - Access Violation on Win 10

Post by paullee »

Thanks Chrisb

Ping @leeon
leeon wrote: Sat Jun 08, 2019 2:24 pm
( Google translation for @leeon: -

- 查看完整的FreeCAD信息
- 了解FreeCAD的安装位置。路径是否包含任何中文字符?
- 用户名是否包含任何中文字符?

Please see if you can provide in English here, otherwise, post back in Chinese forum :) )
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC 0.19_pre - Access Violation on Win 10

Post by wmayer »

- to see the full FreeCAD infos
This error happens at the start-up phase of FreeCAD. So, no easy way to determine full version information.
- to know where FreeCAD is installed. Does the path contain any chinese characters?
- Does the user name contain any chinese characters?
(Theoretically) with Python3 all the issues with non-ASCII characters in path or user names should be solved now.

What I found strange is that after the message Python is searching for its files in the following directories: no directory is listed.
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: FC 0.19_pre - Access Violation on Win 10

Post by paullee »

wmayer wrote: Sun Jun 16, 2019 8:47 am
- to see the full FreeCAD infos
This error happens at the start-up phase of FreeCAD. So, no easy way to determine full version information.
- to know where FreeCAD is installed. Does the path contain any chinese characters?
- Does the user name contain any chinese characters?
(Theoretically) with Python3 all the issues with non-ASCII characters in path or user names should be solved now.

What I found strange is that after the message Python is searching for its files in the following directories: no directory is listed.
Thanks for looking into this problem.

@leeoon indicates he 'has installed latest version of Python3' (已经装了Python3最新版了) - I do not know what does it mean exactly as I do not use windows for a long while. Any help or any idea what information from @leeon can help?
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC 0.19_pre - Access Violation on Win 10

Post by wmayer »

Next thing he should try is to start FreeCAD from a terminal windows with the option --write-log. This should create the file FreeCAD.log under %APPDATA%\FreeCAD. It would be good to get the content of this file.
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: FC 0.19_pre - Access Violation on Win 10

Post by paullee »

wmayer wrote: Next thing he should try is to start FreeCAD from a terminal windows with the option --write-log. This should create the file FreeCAD.log under %APPDATA%\FreeCAD. It would be good to get the content of this file.
Thanks @wmayer

Ping @leeon
leeon wrote: Sat Jun 08, 2019 2:24 pm
(Chinese Translation:-
[English speaker please bear a moment ]

在 終端機 (視窗 的是 Command Prompt ?) 執行Freecad (大小楷不明) 加上 --write-log


%APPDATA%\FreeCAD

取得
FreeCAD.log

回覆 討論區 貼上 )
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: FC 0.19_pre - Access Violation on Win 10

Post by paullee »

@leeon indicates he copy FreeCAD to the 'root' directory (c: ?) and it becomes fine.

He guess it may be some directories contain Chinese characters.

Trying to ask him for me details if he can provided.
wmayer
Founder
Posts: 20324
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC 0.19_pre - Access Violation on Win 10

Post by wmayer »

This git commit 4e4631707 fixes the problem.
Post Reply