Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeCAD Crash when starting render workbench #450

Open
ebrahimraeyat opened this issue Sep 5, 2024 · 3 comments
Open

FreeCAD Crash when starting render workbench #450

ebrahimraeyat opened this issue Sep 5, 2024 · 3 comments

Comments

@ebrahimraeyat
Copy link
Contributor

As dicaused here, when I select render workbech FreeCAD crashes. the output for my FreeCAD 0.21 :

[code]
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 1.0.0.1234
Build type: Release
Branch: master
Hash: 161e7aca989ce15ee3cbcbb1d4b3ff47812ac899
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * BIM_Workbench 2021.12.0
  * CET_SteelConnDesign
  * civilTools
  * civilTools_steel_connections
  * CurvedShapesWorkbench 1.0.9
  * CurvesWB 0.6.42
  * etabs_api
  * ExtremeProDark 2.9.0
  * fcapi
  * fcVM-workbench
  * FreeCAD-Reinforcement
  * FreeCAD-render 2024.8.4
  * IconThemes
  * OpenDark 2023.10.1
  * OpenTheme 2024.4.20
  * OSAFE 2022.5.29
  * ProDarkThemePreferencePack 1.0.0
  * SteelColumn
[/code]
Msg: [Render][Init] Checking dependencies...
Log: [Render][Init] Checking Render virtual environment
Log: [Render][Init] >>> Environment folder exists: OK
Log: [Render][Init] >>> Environment provides Python: OK
Log: [Render][Init] >>> Environment provides Pip: OK
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse PyQt6
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse PyQt6-WebEngine
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse -I renderplugin
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse QtPy
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse
Log: [Render][Init] >>> Requirement already satisfied: QtPy in c:\users\ebrahim\appdata\roaming\freecad\.rendervenv\lib\site-packages (2.4.1)
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\.\wheelhouse
Log: [Render][Init] >>> Requirement already satisfied: packaging in c:\users\ebrahim\appdata\roaming\freecad\.rendervenv\lib\site-packages (from QtPy) (24.1)
Log: [Render][Init] >>> 
Log: [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
Log: [Render][Init] >>> [notice] To update, run: C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -m pip install --upgrade pip
Msg: [Render][Init] Checking package 'QtPy' - OK
Wrn: QObject::killTimer: Timers cannot be stopped from another thread
Wrn: QObject::~QObject: Timers cannot be stopped from another thread
Log: [Render][Init] >>> Processing c:\users\ebrahim\appdata\roaming\freecad\mod\freecad-render\wheelhouse\renderplugin-0.0.1-py2.py3-none-any.whl
Log: [Render][Init] >>> Installing collected packages: renderplugin
Log: [Render][Init] >>> Successfully installed renderplugin-0.0.1
Log: [Render][Init] >>> 
Log: [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
Log: [Render][Init] >>> [notice] To update, run: C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -m pip install --upgrade pip
Msg: [Render][Init] Checking package 'renderplugin' - OK
Wrn: QObject::killTimer: Timers cannot be stopped from another thread
Wrn: QObject::~QObject: Timers cannot be stopped from another thread
Log: [Render][Init] >>> Collecting PyQt6-WebEngine
Log: [Render][Init] >>>   Using cached PyQt6_WebEngine-6.7.0-cp38-abi3-win_amd64.whl.metadata (1.9 kB)
Log: [Render][Init] >>> Collecting PyQt6
Log: [Render][Init] >>>   Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
Log: [Render][Init] >>> Collecting PyQt6-sip<14,>=13.6 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_sip-13.8.0-cp38-cp38-win_amd64.whl.metadata (439 bytes)
Log: [Render][Init] >>> Collecting PyQt6-sip<14,>=13.8 (from PyQt6)
Log: [Render][Init] >>>   Using cached PyQt6_sip-13.8.0-cp38-cp38-win_amd64.whl.metadata (439 bytes)
Log: [Render][Init] >>> Collecting PyQt6-WebEngine-Qt6<6.8.0,>=6.7.0 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_WebEngine_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (645 bytes)
Log: [Render][Init] >>> Collecting PyQt6-Qt6<6.8.0,>=6.7.0 (from PyQt6)
Log: [Render][Init] >>>   Using cached PyQt6_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (551 bytes)
Log: [Render][Init] >>> Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl (6.6 MB)
Log: [Render][Init] >>> Collecting PyQt6>=6.2.0 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
Log: [Render][Init] >>> Collecting PyQt6-Qt6<6.8.0,>=6.7.0 (from PyQt6>=6.2.0->PyQt6-WebEngine)
Err: Illegal storage access...
Wrn: Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

Err: Abnormal program termination...
Err: Terminating...

in FreeCAD 0.19:

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Log: [Render][Init] Starting Render initialization
Log: [Render][Init] Importing 'Assembly3'
Log: Loading MeshPart module... done
Log: Loading Mesh module... done
Msg: [Render][Init] Checking dependencies...
Log: [Render][Init] Checking Render virtual environment
Log: [Render][Init] >>> Environment folder exists: OK
Log: [Render][Init] >>> Environment provides Python: OK
Log: [Render][Init] >>> Environment provides Pip: OK
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse PyQt6
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse PyQt6-WebEngine
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse -I renderplugin
Log: [Render][Init] >>> C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=C:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse QtPy
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse
Log: [Render][Init] >>> Looking in links: c:\Users\ebrahim\AppData\Roaming\FreeCAD\Mod\FreeCAD-render\wheelhouse
Log: [Render][Init] >>> Requirement already satisfied: QtPy in c:\users\ebrahim\appdata\roaming\freecad\.rendervenv\lib\site-packages (2.4.1)
Log: [Render][Init] >>> Requirement already satisfied: packaging in c:\users\ebrahim\appdata\roaming\freecad\.rendervenv\lib\site-packages (from QtPy) (24.1)
Log: [Render][Init] >>> 
Log: [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
Log: [Render][Init] >>> [notice] To update, run: C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -m pip install --upgrade pip
Msg: [Render][Init] Checking package 'QtPy' - OK
Log: QObject::killTimer: Timers cannot be stopped from another thread
Log: QObject::~QObject: Timers cannot be stopped from another thread
Log: [Render][Init] >>> Collecting PyQt6
Log: [Render][Init] >>>   Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
Log: [Render][Init] >>> Collecting PyQt6-WebEngine
Log: [Render][Init] >>>   Using cached PyQt6_WebEngine-6.7.0-cp38-abi3-win_amd64.whl.metadata (1.9 kB)
Log: [Render][Init] >>> Processing c:\users\ebrahim\appdata\roaming\freecad\mod\freecad-render\wheelhouse\renderplugin-0.0.1-py2.py3-none-any.whl
Log: [Render][Init] >>> Installing collected packages: renderplugin
Log: [Render][Init] >>> Successfully installed renderplugin-0.0.1
Log: [Render][Init] >>> 
Log: [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
Log: [Render][Init] >>> [notice] To update, run: C:\Users\ebrahim\AppData\Roaming\FreeCAD\.rendervenv\Scripts\pythonw.exe -m pip install --upgrade pip
Msg: [Render][Init] Checking package 'renderplugin' - OK
Log: QObject::killTimer: Timers cannot be stopped from another thread
Log: QObject::~QObject: Timers cannot be stopped from another thread
Log: [Render][Init] >>> Collecting PyQt6-sip<14,>=13.8 (from PyQt6)
Log: [Render][Init] >>>   Using cached PyQt6_sip-13.8.0-cp38-cp38-win_amd64.whl.metadata (439 bytes)
Log: [Render][Init] >>> Collecting PyQt6-sip<14,>=13.6 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_sip-13.8.0-cp38-cp38-win_amd64.whl.metadata (439 bytes)
Log: [Render][Init] >>> Collecting PyQt6-Qt6<6.8.0,>=6.7.0 (from PyQt6)
Log: [Render][Init] >>>   Using cached PyQt6_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (551 bytes)
Log: [Render][Init] >>> Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl (6.6 MB)
Log: [Render][Init] >>> Collecting PyQt6-WebEngine-Qt6<6.8.0,>=6.7.0 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_WebEngine_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (645 bytes)
Log: [Render][Init] >>> Collecting PyQt6>=6.2.0 (from PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl.metadata (2.1 kB)
Log: [Render][Init] >>> Collecting PyQt6-Qt6<6.8.0,>=6.7.0 (from PyQt6>=6.2.0->PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (551 bytes)
Log: [Render][Init] >>> Downloading PyQt6_Qt6-6.7.2-py3-none-win_amd64.whl (66.4 MB)
Log: [Render][Init] >>> Collecting PyQt6-WebEngineSubwheel-Qt6==6.7.2 (from PyQt6-WebEngine-Qt6<6.8.0,>=6.7.0->PyQt6-WebEngine)
Log: [Render][Init] >>>   Using cached PyQt6_WebEngineSubwheel_Qt6-6.7.2-py3-none-win_amd64.whl.metadata (599 bytes)
Log: [Render][Init] >>> Using cached PyQt6_WebEngine-6.7.0-cp38-abi3-win_amd64.whl (215 kB)
Log: [Render][Init] >>> Using cached PyQt6-6.7.1-cp38-abi3-win_amd64.whl (6.6 MB)
Log: [Render][Init] >>> Using cached PyQt6_sip-13.8.0-cp38-cp38-win_amd64.whl (53 kB)
Log: [Render][Init] >>> Using cached PyQt6_WebEngine_Qt6-6.7.2-py3-none-win_amd64.whl (26.9 MB)
Log: [Render][Init] >>> Downloading PyQt6_WebEngineSubwheel_Qt6-6.7.2-py3-none-win_amd64.whl (66.3 MB)
Err: Illegal storage access...
Log: Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

Err: Abnormal program termination...
Err: Terminating...

Thanks.

@howetuft
Copy link
Collaborator

howetuft commented Sep 5, 2024

Hello,
Did you check "Illegal storage access" in forum? There are a few threads about that:
https://forum.freecad.org/viewtopic.php?t=51705
https://forum.freecad.org/viewtopic.php?style=5&t=77847

Please note Render imports Asm3 (in order to be able to render such assemblies), so there may be an interference?

@luzpaz
Copy link
Contributor

luzpaz commented Nov 7, 2024

@ebrahimraeyat 👆

@luzpaz
Copy link
Contributor

luzpaz commented Nov 11, 2024

@ebrahimraeyat ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants