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

Crash on using PCB workbench #301

Closed
jmdevy opened this issue Jun 18, 2020 · 1 comment
Closed

Crash on using PCB workbench #301

jmdevy opened this issue Jun 18, 2020 · 1 comment
Labels

Comments

@jmdevy
Copy link

jmdevy commented Jun 18, 2020

Hello,

I use the PCB workbench to build boards quickly.

When using the build 0.11 2020.06.12 I don't get a crash but when building a board on 0.11 2020.06.15 I do.

The process when using the workbench is to use FreeCAD to open an Eagle PCB board file, and then a PCB and parts are generated and placed. In PCB design there are 'layers' and this workbench allows you to choose to build up certain ones. Choosing to build up more layers would be a more complex task, but even choosing to not build up other layers than the base PCB results in a crash in 0.11 2020.06.15.

INFO of my machine and crashing version
OS: Ubuntu 20.04 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21300 +2358 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: e320e2176549a14d074cf1031115cf71f22fa322
Python version: 3.7.6
Qt version: 5.12.1
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Console output `./FreeCAD-asm3-Conda-Py3-Qt5-20200615-glibc2.12-x86_64.AppImage -l /tmp/.mount_FreeCAtvD2AQ FreeCAD 0.19, Libs: 0.19R21300 +2358 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020 FreeCAD is free and open-source software licensed under the terms of LGPL2+ license. FreeCAD wouldn't be possible without FreeCAD community. ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ##

Sheet Metal workbench loaded
The file was created in Eagle 6.3.
Read database
free(): double free detected in tcache 2
Received signal 6
#0 0x7f36e46c194e
#1 0x7f36e46c1dfa
#2 0x7f36e46c2345
#3 0x7f36fed5f210
#4 0x7f36fed5f18b gsignal
#5 0x7f36fed3e859 abort
#6 0x7f36feda93ee
#7 0x7f36fedb147c
#8 0x7f36fedb30ed
#9 0x7f3700d5e566 App::PropertyFloatConstraint::~PropertyFloatConstraint()
#10 0x7f3700d5e57a App::PropertyFloatConstraint::~PropertyFloatConstraint()
#11 0x7f3700cf70b8 App::Property::hasSetValue()
#12 0x7f3700d66952 App::PropertyFloatConstraint::setPyObject()
#13 0x7f3700d0e214 App::PropertyContainerPy::setCustomAttributes()
#14 0x7f3700d11243 App::PropertyContainerPy::_setattr()
#15 0x7f36fa9b4a22 App::FeaturePythonPyT<>::_setattr()
#16 0x7f36fa9a8ae6 App::FeaturePythonPyT<>::__setattro()
#17 0x7f370110d3d0 PyObject_SetAttr
#18 0x7f3700f880ef _PyEval_EvalFrameDefault
realthunder/FreeCAD#460 0x7f3700f8c380 function_code_fastcall
#20 0x7f3700f8d116 call_function.lto_priv.1542
#21 0x7f3700f86cb9 _PyEval_EvalFrameDefault
#22 0x7f3700f8c380 function_code_fastcall
#23 0x7f370106448f _PyFunction_FastCallDict
#24 0x7f370106630e _PyObject_Call_Prepend
#25 0x7f3701064898 PyObject_Call
#26 0x7f3700c76e28 App::FeaturePythonImp::onChanged()
#27 0x7f36fa9b44fd App::FeaturePythonT<>::onChanged()
#28 0x7f3700cfb64b App::Property::touch()
#29 0x7f3700d66952 App::PropertyFloatConstraint::setPyObject()
#30 0x7f3700d0e214 App::PropertyContainerPy::setCustomAttributes()
#31 0x7f3700d11243 App::PropertyContainerPy::_setattr()
#32 0x7f36fa9b4a22 App::FeaturePythonPyT<>::_setattr()
#33 0x7f36fa9a8ae6 App::FeaturePythonPyT<>::__setattro()
#34 0x7f370110d3d0 PyObject_SetAttr
#35 0x7f3700f880ef _PyEval_EvalFrameDefault
#36 0x7f3700f8c380 function_code_fastcall
#37 0x7f3700f8d116 call_function.lto_priv.1542
#38 0x7f3700f86cb9 _PyEval_EvalFrameDefault
#39 0x7f3700f8c380 function_code_fastcall
#40 0x7f3700f8d116 call_function.lto_priv.1542
#41 0x7f3700f86cb9 _PyEval_EvalFrameDefault
#42 0x7f3700f8c380 function_code_fastcall
#43 0x7f3700f8d116 call_function.lto_priv.1542
#44 0x7f3700f88808 _PyEval_EvalFrameDefault
#45 0x7f3700f8c380 function_code_fastcall
#46 0x7f3700f8d116 call_function.lto_priv.1542
#47 0x7f3700f8b10a _PyEval_EvalFrameDefault
#48 0x7f370113e00f _PyEval_EvalCodeWithName
#49 0x7f370113e0ff PyEval_EvalCodeEx
#50 0x7f370102d1bc PyEval_EvalCode
#51 0x7f370101ca14 PyRun_StringFlags
#52 0x7f370086a49a _ZN4Base20InterpreterSingleton9runStringB5cxx11EPKc
#53 0x7f3701705b08 Gui::Command::_runCommand()
#54 0x7f3701705cf2 Gui::Command::_doCommand()
#55 0x7f370161a1d1 Gui::Application::open()
#56 0x7f3701644a8f Gui::Application::sLoadFile()
#57 0x7f3701063a64 _PyMethodDef_RawFastCallKeywords
#58 0x7f3701064606 _PyCFunction_FastCallKeywords
#59 0x7f3700f8d3ff call_function.lto_priv.1542
#60 0x7f3700f8b10a _PyEval_EvalFrameDefault
#61 0x7f370113e00f _PyEval_EvalCodeWithName
r8: 0000000000000000 r9: 00007fff2d7bd640 r10: 0000000000000008 r11: 0000000000000246
r12: 00007fff2d7bd8b0 r13: 0000000000000010 r14: 00007f36eb5de000 r15: 0000000000000001
di: 0000000000000002 si: 00007fff2d7bd640 bp: 00007fff2d7bd990 bx: 00007f36fbb6f800
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f36fed5f18b sp: 00007fff2d7bd640
ip: 00007f36fed5f18b efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.`

Log file output `Msg: FreeCAD 0.19, Libs: 0.19R21300 +2358 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020 FreeCAD is free and open-source software licensed under the terms of LGPL2+ license. FreeCAD wouldn't be possible without FreeCAD community. ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ##

Log: Time = Wed Jun 17 20:56:57 2020
Log: AppDataSkipVendor = true
Log: AppHomePath = /tmp/.mount_FreeCAtvD2AQ/usr/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /tmp/.mount_FreeCAtvD2AQ/usr/bin/
Log: BuildRepositoryURL = git://github.com/realthunder/FreeCAD.git LinkStage3
Log: BuildRevision = 21300 +2358 (Git)
Log: BuildRevisionBranch = LinkStage3
Log: BuildRevisionDate = 2020/06/15 12:57:36
Log: BuildRevisionHash = e320e2176549a14d074cf1031115cf71f22fa322
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 19
Log: Console = 0
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.

#### ###

# # # #

## #### #### # # # #

# # # # # # # ##### #

# #### #### # # # #

# # # # # # # # ## ##

# #### #### ### # # #### ## ##

Log: Debug = 0
Log: DocPath = /tmp/.mount_FreeCAtvD2AQ/usr/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.19
Log: LoggingConsole = 1
Log: LoggingFile = 1
Log: LoggingFileName = /home/devy/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page
Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Log: PYTHONHOME = /tmp/.mount_FreeCAtvD2AQ/usr
Log: PYTHONPATH =
Log: PythonSearchPath = /tmp/.mount_FreeCAtvD2AQ/usr/lib/python37.zip:/tmp/.mount_FreeCAtvD2AQ/usr/lib/python3.7:/tmp/.mount_FreeCAtvD2AQ/usr/lib/python3.7/lib-dynload
Log: RunMode = Gui
Log: SplashAlignment = Bottom|Left
Log: SplashInfoColor = #c8c8c8
Log: SplashScreen = freecadsplash
Log: SplashTextColor = #ffffff
Log: StartWorkbench = StartWorkbench
Log: SystemParameter = /home/devy/.FreeCAD/system.cfg
Log: UserAppData = /home/devy/.FreeCAD/
Log: UserHomePath = /home/devy
Log: UserParameter = /home/devy/.FreeCAD/user.cfg
Log: Verbose =
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Init: Searching for modules...
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/AddonManager... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Arch... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Complete... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Draft... done
Log: Drawing became obsolete in 0.17; consider using TechDraw instead.
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Drawing... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Fem... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Idf... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Image... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Import... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Inspection... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Material... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Measure... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Mesh... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/MeshPart... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/OpenSCAD... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Part... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/PartDesign... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Path... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Points... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Raytracing... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/ReverseEngineering... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Robot... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Show(Init.py not found)... ignore
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Sketcher... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Spreadsheet... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Start... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Surface... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/TechDraw... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Test... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Tux(Init.py not found)... ignore
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Web... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/asm3(Init.py not found)... ignore
Log: Init: Initializing /home/devy/.FreeCAD/Mod/fasteners... done
Log: Init: Initializing /home/devy/.FreeCAD/Mod/pcb... done
Log: Init: Initializing /home/devy/.FreeCAD/Mod/dxf_library(Init.py not found)... ignore
Log: Init: Initializing /home/devy/.FreeCAD/Mod/sheetmetal... done
Log: Init: Initializing freecad.asm3
Log: Init: No init module found in freecad.asm3, skipping
Log: Init: Initializing freecad.fc_cadquery
Log: Module: Part
Log: Loading Part module... done
Log: Loading Drawing module... done
Log: Init: No init module found in freecad.fc_cadquery, skipping
Log: Init: Initializing freecad.pip
Log: Init: No init module found in freecad.pip, skipping
Log: Using /tmp/.mount_FreeCAtvD2AQ/usr/Mod as module path!
Log: System path after init:
Log: /tmp/.mount_FreeCAtvD2AQ/usr/bin
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/AddonManager
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Arch
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Complete
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Draft
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Drawing
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Fem
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Idf
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Image
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Import
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Inspection
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Material
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Measure
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Mesh
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/MeshPart
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/OpenSCAD
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Part
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/PartDesign
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Path
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Points
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Raytracing
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/ReverseEngineering
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Robot
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Show
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Sketcher
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Spreadsheet
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Start
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Surface
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/TechDraw
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Test
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Tux
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Web
Log: /tmp/.mount_FreeCAtvD2AQ/usr/Mod/asm3
Log: /home/devy/.FreeCAD/Mod/fasteners
Log: /home/devy/.FreeCAD/Mod/pcb
Log: /home/devy/.FreeCAD/Mod/dxf_library
Log: /home/devy/.FreeCAD/Mod/sheetmetal
Log: /usr/local/sbin
Log: /usr/local/bin
Log: /usr/sbin
Log: /usr/bin
Log: /sbin
Log: /bin
Log: /usr/games
Log: /usr/local/games
Log: /snap/bin
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: Local server 'FreeCAD' started
Log: OpenGL version is: 4.6 (4.6.0 NVIDIA 440.64)
Log: Run Gui init script
Log: Init: Running FreeCADGuiInit.py start script...
Log: Init: Searching modules...
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/AddonManager... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Arch... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Complete... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Draft... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Drawing... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Fem... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Idf(InitGui.py not found)... ignore
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Image... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Import... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Inspection... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Material... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Measure(InitGui.py not found)... ignore
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Mesh... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/MeshPart... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/OpenSCAD... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Part... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/PartDesign... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Path... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Points... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Raytracing... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/ReverseEngineering... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Robot... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Show(InitGui.py not found)... ignore
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Sketcher... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Spreadsheet... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Start... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Surface... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/TechDraw... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Test... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Tux... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/Web... done
Log: Init: Initializing /tmp/.mount_FreeCAtvD2AQ/usr/Mod/asm3(InitGui.py not found)... ignore
Log: Init: Initializing /home/devy/.FreeCAD/Mod/fasteners... done
Log: Init: Initializing /home/devy/.FreeCAD/Mod/pcb... done
Log: Init: Initializing /home/devy/.FreeCAD/Mod/dxf_library(InitGui.py not found)... ignore
Log: Init: Initializing /home/devy/.FreeCAD/Mod/sheetmetal... done
Log: Init: Initializing freecad.asm3
Log: Init: Initializing freecad.asm3... done
Log: Init: Initializing freecad.fc_cadquery
Log: Init: No init_gui module found in freecad.fc_cadquery, skipping
Log: Init: Initializing freecad.pip
Log: Init: Initializing freecad.pip... done
Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Init: Showing main window
Log: Main window restored
Log: Show main window
Log: Toolbars restored
Log: Couldn't connect to spacenav daemon
Log: Init: Entering event loop
Log: Init: Processing command line files
Log: Loading GUI of Part module... done
Log: Loading GUI of Import module... done
Msg: The file was created in Eagle 6.3.
Log: Unknown property cursor
Wrn: Read database
Log: Unknown property cursor
Log: Unknown property cursor
Log: Loading Sketcher module... done
Log: Loading GUI of Sketcher module... done`

I don't think this is a problem with the workbench. If anymore information is needed let me know.

@realthunder
Copy link
Owner

Thanks for reporting. I'll make a new release soon.

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

No branches or pull requests

2 participants