Draft Workbench Crashing with file containing imports from SVG

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!
falviani
Posts: 123
Joined: Tue May 07, 2019 8:49 pm

Draft Workbench Crashing with file containing imports from SVG

Postby falviani » Wed Sep 16, 2020 6:30 pm

Hi,

I created a design in the web app Makercase and downloaded the SVG file. Following instructions in the forum, I went into InkScape 1.0, ungrouped it, set the stroke style to 0 points and saved the file as plain SVG. I then imported the svg file as geometry. Following the forum instructions, I then went to the draft workbench. Each time I switch to the draft workbench FreeCAD crashed with an uncaught exception. The log file, the freecad file, and both svg files are attached. Setting the style to 1 point makes no difference.

I have the same problem trying to import a DXF file of the same design; that raw file is also attached.

I have previously used a downloaded SVG from this application successfully with my Laser Engraver via LightBurn.

This seems to me to be a bug.

-Frank Alviani
Attachments
box.dxf
(89.68 KiB) Downloaded 5 times
box.svg
(22.8 KiB) Downloaded 8 times
box_freecad.svg
(22.01 KiB) Downloaded 6 times
FreeCad_crash.log
(70.11 KiB) Downloaded 6 times
TileBox_v1.FCStd
(145.78 KiB) Downloaded 4 times
User avatar
Roy_043
Posts: 2079
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft Workbench Crashing with file containing imports from SVG

Postby Roy_043 » Wed Sep 16, 2020 6:50 pm

I experience no issues either importing box_freecad.svg or box.dxf and then switching to Draft.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22366 (Git)
Build type: Release
Branch: master
Hash: 34c11fcc63efa2fc72cbc74c75c76e9f19d5c84c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
chrisb
Posts: 29009
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft Workbench Crashing with file containing imports from SVG

Postby chrisb » Wed Sep 16, 2020 7:15 pm

falviani wrote:
Wed Sep 16, 2020 6:30 pm
This seems to me to be a bug.
Please attach your full FreeCAD info as described in the IMPORTANT forum rules linked above.
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
falviani
Posts: 123
Joined: Tue May 07, 2019 8:49 pm

Re: Draft Workbench Crashing with file containing imports from SVG

Postby falviani » Wed Sep 16, 2020 7:48 pm

sorry - my setup:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22452 (Git)
Build type: Release
Branch: master
Hash: 5abb45f7cfc68eda94568ef92b2cb1d83acd1cb4
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
TheMarkster
Posts: 2048
Joined: Thu Apr 05, 2018 1:53 am

Re: Draft Workbench Crashing with file containing imports from SVG

Postby TheMarkster » Wed Sep 16, 2020 8:50 pm

You compiled yourself? Have you tried using one of the development release builds instead of your own build? This would eliminate the possibility it is a problem with your build if you can reproduce with one of those.
My FreeCAD video series on youtube: https://www.youtube.com/c/mwganson
falviani
Posts: 123
Joined: Tue May 07, 2019 8:49 pm

Re: Draft Workbench Crashing with file containing imports from SVG

Postby falviani » Wed Sep 16, 2020 11:14 pm

Just downloaded the latest dev release build. That setup is:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22411 (Git)
Build type: Release
Branch: master
Hash: d4519d5aec15bc08f029da5ed15410a494b57b2c
Python version: 3.8.5
Qt version: 5.12.6
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Opened a new project, remained on the start page and imported the unmodified svg file. After agreeing to use 96DPI, it imported as geometry. Switched to the draft workbench, uncaught exception:
Gui::MainWindowUnhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
18:09:27 The event type 12 was sent to QOpenGLWidget
Object tree:
QOpenGLWidget is child of
SIM::Coin3D::Quarter::QuarterWidget is child of
QStackedWidget is child of
Gui::View3DInventor is child of
QMdiSubWindow is child of
QWidget is child of
QMdiArea is child of
Gui::MainWindowUnhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
18:09:46 The event type 12 was sent to QOpenGLWidget
Object tree:
QOpenGLWidget is child of
SIM::Coin3D::Quarter::QuarterWidget is child of
QStackedWidget is child of
Gui::View3DInventor is child of
QMdiSubWindow is child of
QWidget is child of
QMdiArea is child of
Gui::MainWindow
But it didn't crash at least.
chrisb
Posts: 29009
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft Workbench Crashing with file containing imports from SVG

Postby chrisb » Wed Sep 16, 2020 11:19 pm

falviani wrote:
Wed Sep 16, 2020 11:14 pm
The error message is: Access violation
This message occurred before in connection with graphcs card/driver issues. You may have a look at the Known OS specific issues.
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
falviani
Posts: 123
Joined: Tue May 07, 2019 8:49 pm

Re: Draft Workbench Crashing with file containing imports from SVG

Postby falviani » Wed Sep 16, 2020 11:45 pm

Thanks for the reference. None of the issues listed seems to be relevant to this problem. I'm going to try another approach for a little while to see if there's a workaround.
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Re: Draft Workbench Crashing with file containing imports from SVG

Postby Kunda1 » Thu Sep 17, 2020 12:33 am

Can't recreate on
OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22411 (Git) AppImage
Build type: Release
Branch: master
Hash: d4519d5aec15bc08f029da5ed15410a494b57b2c
Python version: 3.8.5
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features