OCE 0.18.2 segfaults with IGES model
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Seth Hillbrand |
Bug Description
This is with oce 0.18.2-2 on archlinux. I can make it render some models, but I think this single model makes it crash. Attached is a test project which should segfault when opening any 3D view that loads that model. The big 3d-viewer or the previewer or 3D properties viewer.
Snipper of backtrace, full backtrace in the attached zip file.
#0 0x00007f9a3481e65e in BRepGProp_
#1 0x00007f9a348255c6 in BRepGProp_
at /opt/oce/
#2 0x00007f9a34826e05 in BRepGProp_
#3 0x00007f9a3481bdc5 in BRepGProp:
#4 0x00007f9a34c0c34d in ShapeAnalysis_
#5 0x00007f9a34c399cb in ShapeFix_
#6 0x00007f9a34c4840b in ShapeFix_
#7 0x00007f9a34c6da9e in ShapeFix_
#8 0x00007f9a34c6de90 in ShapeFix_
#9 0x00007f9a34d019c6 in () at /opt/oce/
#10 0x00007f9a34cfe8aa in ShapeProcess:
#11 0x00007f9a35101a86 in XSAlgo_
#12 0x00007f9a3869b221 in IGESToBRep_
at /opt/oce/
#13 0x00007f9a3502873f in Transfer_
#14 0x00007f9a3503a5a2 in Transfer_
#15 0x00007f9a3503bcff in Transfer_
#16 0x00007f9a3503c498 in Transfer_
#17 0x00007f9a350bebd6 in XSControl_
#18 0x00007f9a350b9650 in XSControl_
#19 0x00007f9a3e33c729 in IGESCAFControl_
#20 0x00007f9a3ebf46f0 in readIGES(
#21 0x00007f9a3ebf49d8 in LoadModel(char const*) (filename=
Application: kicad
Version: (2017-12-18 revision 3c6d17026)-master, debug build
Libraries:
wxWidgets 3.0.3
libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.28.0
Platform: Linux 4.14.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.65.1
Curl: 7.57.0
Compiler: GCC 7.2.1 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
milestone: | none → 5.0.0-rc1 |
Changed in kicad: | |
status: | New → Confirmed |
Changed in kicad: | |
milestone: | none → 5.0.0-rc2 |
Changed in kicad: | |
assignee: | nobody → Seth Hillbrand (sethh) |
status: | Confirmed → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I loaded up the project in KiCad built from git master and I was not able to reproduce the problem. In case it makes a different I should point out I only have oce 0.17.1 installed on my machine.