← Back to team overview

kicad-developers team mailing list archive

Re: 3D Viewer crushes whole KiCAD with this file

 

In response to a message written on 18.02.2015, 16:43, from Mark Roszko:
When the segment fault causes gdb to stop (beofre you typed continue)
Can you use the command "backtrace"? That will print more useful
information on the path it took to crash.

(gdb) backtrace
#0  0x00007ffff61006c8 in ?? () from /lib64/libgcc_s.so.1
#1  0x00007ffff6101738 in _Unwind_Backtrace () from /lib64/libgcc_s.so.1
#2  0x00007ffff5c24bd6 in backtrace () from /lib64/libc.so.6
#3  0x00007ffff5b4cb01 in ?? () from /lib64/libc.so.6
#4  0x00007ffff5ba179e in ?? () from /lib64/libc.so.6
#5  0x00007ffff5c28277 in __fortify_fail () from /lib64/libc.so.6
#6  0x00007ffff5c28240 in __stack_chk_fail () from /lib64/libc.so.6
#7 0x00007fffd914e200 in VRML2_MODEL_PARSER::Load (this=0x37c2370, aFilename=..., aVrmlunits_to_3Dunits=<optimized out>) at /usr/src/debug/kicad-sources-BZR.5430-main/3d-viewer/vrml_v2_modelparser.cpp:134
#8  0x312d2c382c392c30 in ?? ()
[Many of unresolved addresses excised…]
#373 0x0000000000000000 in ?? ()

build prompt & flags:
cd ~/rpm/BUILD/kicad-sources-BZR.5430-main/build/3d-viewer && /usr/bin/x86_64-pld-linux-g++ -DHAVE_STDINT_H -DKICAD_KEEPCASE -DKICAD_SCRIPTING -DKICAD_SCRIPTING_MODULES -DKICAD_SCRIPTING_WXPYTHON -DPCBNEW -DUSE_OPENMP -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DwxDEBUG_LEVEL=0 -Wall -fopenmp -fPIC -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -DNDEBUG -DQT_NO_DEBUG -I~/rpm/BUILD/kicad-sources-BZR.5430-main/include -I~/rpm/BUILD/kicad-sources-BZR.5430-main/3d-viewer/. -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I~/rpm/BUILD/kicad-sources-BZR.5430-main/3d-viewer/textures -I~/rpm/BUILD/kicad-sources-BZR.5430-main/3d-viewer/../pcbnew -I~/rpm/BUILD/kicad-sources-BZR.5430-main/3d-viewer/../polygon -I~/rpm/BUILD/kicad-sources-BZR.5430-main/build -I/usr/include/python2.7 -I~/rpm/BUILD/kicad-sources-BZR.5430-main/scripting -o CMakeFiles/3d-viewer.dir/vrml_v2_modelparser.cpp.o -c ~/rpm/BUILD/kicad-sources-BZR.5430-main/3d-viewer/vrml_v2_modelparser.cpp

--
Best Regards,
LordBlick


Follow ups

References