← Back to team overview

kicad-developers team mailing list archive

Standalone pcbnew crushes at exit

 

Test condition: just simply run pcbnew in console, and then close/Ctrl+Q.
Error message about segmentation protection fault will occur…
gdb backtrace in attachment.
--
Best Regards,
LordBlick
$ gdb pcbnew
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 pcbnew...done.
(gdb) start
Temporary breakpoint 1 at 0x43fbdc: file /usr/src/debug/kicad-sources-BZR.5431-main/common/single_top.cpp, line 189.
Starting program: /usr/bin/pcbnew 
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.5431-main/common/single_top.cpp:189
189	IMPLEMENT_APP( APP_SINGLE_TOP );
(gdb) continue
Continuing.
LIB_ENV_VAR:'/usr/bin'
kiface SEARCH_STACK:
  [ 0]:/usr/share/kicad/modules
  [ 1]:/usr/share/kicad/modules/packages3d
  [ 2]:/usr/share/kicad/template
  [ 3]:/usr/local/share
player_destroy_handler: m_player[4] destroyed: PcbFrame

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65aede3 in wxEntry(int&, wchar_t**) () from /usr/lib64/libwx_baseu-3.0.so.0
(gdb) backtrace
#0  0x00007ffff65aede3 in wxEntry(int&, wchar_t**) () from /usr/lib64/libwx_baseu-3.0.so.0
#1  0x000000000043fbef in main (argc=1, argv=0x7fffffffdb08) at /usr/src/debug/kicad-sources-BZR.5431-main/common/single_top.cpp:189
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit

Follow ups