Eeschema segfault on shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
John Beard |
Bug Description
To reproduce:
* Open a blank eeschema document
* Place a component (eg 4001)
* Right click component, choose move and move it.
* Repeat this action, move again.
* Close eeschema
Sometimes, not always, this segfaults:
Core was generated by `eeschema/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f60377b7efc in DHEAD::GetCount (this=0x298) at /home/john/
126 unsigned GetCount() const { return count; }
[Current thread is 1 (Thread 0x7f603f34b940 (LWP 13057))]
(gdb) bt
#0 0x00007f60377b7efc in DHEAD::GetCount() const (this=0x298) at /home/john/
#1 0x00007f60378d6b59 in SCH_SCREEN:
at /home/john/
#2 0x00007f603784fd7c in SCH_DRAW_
at /home/john/
#3 0x00007f604084089e in wxEvtHandler:
#4 0x00007f6040840c1b in wxEvtHandler:
#5 0x00007f6040840cb1 in wxEvtHandler:
#6 0x00007f6040840d64 in wxEvtHandler:
#7 0x00007f6040840e02 in wxEvtHandler:
#8 0x00007f6040841817 in wxEvtHandler:
#9 0x00007f60406d39e8 in wxAppConsoleBas
#10 0x00007f6040ba879a in wxApp::DoIdle() () at /usr/lib/
#11 0x00007f6040ba88b4 in () at /usr/lib/
#12 0x00007f603e57b271 in g_main_
#13 0x00007f603e57cf89 in () at /usr/lib/
#14 0x00007f603e57df62 in g_main_loop_run () at /usr/lib/
#15 0x00007f603ec2bdf3 in gtk_main () at /usr/lib/
#16 0x00007f6040bc61b6 in wxGUIEventLoop:
#17 0x00007f604070dbae in wxEventLoopBase
#18 0x00007f60406d2517 in wxAppConsoleBas
#19 0x0000555790b0370f in APP_SINGLE_
at /home/john/
#20 0x00007f604075a4c8 in wxEntry(int&, wchar_t**) () at /usr/lib/
#21 0x0000555790afedc0 in main(int, char**) (argc=1, argv=0x7ffc2d97
at /home/john/
-----
Application: eeschema
Version: (6.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.34.0
Platform: Linux 4.18.16-
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.1 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
description: | updated |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Hi John,
I can't reproduce this. Couple of questions:
1) Did you discard changes or save when closing?
2) Did you run Eeschema from a project window or stand-alone?