← 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 17.02.2015, 23:58, from Wayne Stambaugh:
Have you tested this with the latest version of KiCad?

In this moment bzr5430 ?
---
$  gdb kicad
GNU gdb (GDB) 7.8.1-1 (PLD Linux)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pld-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kicad...Reading symbols from /usr/lib/debug/usr/bin/kicad.debug...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x4341d0: file /usr/src/debug/kicad-sources-BZR.5430-main/kicad/kicad.cpp, line 300.
Starting program: /usr/bin/kicad
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdb08) at /usr/src/debug/kicad-sources-BZR.5430-main/kicad/kicad.cpp:300
300	IMPLEMENT_APP( APP_KICAD );
(gdb) continue
Continuing.
[New Thread 0x7fffdb2e5700 (LWP 18058)]
[New Thread 0x7fffdaae4700 (LWP 18059)]
[New Thread 0x7fffda2e3700 (LWP 18060)]
*** stack smashing detected ***: /usr/bin/kicad terminated

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff61006c8 in ?? () from /lib64/libgcc_s.so.1
(gdb) continue
Continuing.
[Thread 0x7fffda2e3700 (LWP 18060) exited]
[Thread 0x7fffdaae4700 (LWP 18059) exited]
[Thread 0x7fffdb2e5700 (LWP 18058) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
---
Application: kicad
Version: (after 2015-jan-16 BZR unknown)-BZR5430 Release build
wxWidgets: Version 3.0.1 (release,wchar_t,compiler with C++ ABI 1002,GCC 4.9.2,wx containers,compatible with 2.8)
Platform: Linux 3.18.5-1 x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.57.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=OFF
         KICAD_USE_WEBKIT=OFF
Some g++ run sample by PLD Linux rpm packaging tool:
cd ~/rpm/BUILD/kicad-sources-BZR.5430-main/build/utils/idftools && /usr/bin/x86_64-pld-linux-g++ -DHAVE_STDINT_H -DKICAD_KEEPCASE -DKICAD_SCRIPTING -DKICAD_SCRIPTING_MODULES -DKICAD_SCRIPTING_WXPYTHON -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 -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I~/rpm/BUILD/kicad-sources-BZR.5430-main/lib_dxf -I~/rpm/BUILD/kicad-sources-BZR.5430-main/utils/idftools -o CMakeFiles/idf3.dir/vrml_layer.cpp.o -c ~/rpm/BUILD/kicad-sources-BZR.5430-main/utils/idftools/vrml_layer.cpp

Thanks for all, past and future, suggestions.
--
Best Regards,
LordBlick


Follow ups

References