crash when changing reference .sch in eeschema
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Wayne Stambaugh |
Bug Description
Please see attached video
It's a pretty rare case, but should probably still be fixed.
Application: Eeschema
Version: 5.1.2-br-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/
Platform: Linux 5.0.0-20-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Stacktrace:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007ffff7133de0 in __dynamic_cast () from /usr/lib/
(gdb) bt
#0 0x00007ffff7133de0 in __dynamic_cast () at /usr/lib/
#1 0x00007fffc78444d9 in () at /usr/bin/
#2 0x00007fffc7834a7b in () at /usr/bin/
#3 0x00007fffc7870136 in () at /usr/bin/
#4 0x00007fffc785be16 in () at /usr/bin/
#5 0x00007ffff74e5a8e in wxEvtHandler:
#6 0x00007ffff74e5b93 in wxEventHashTabl
#7 0x00007ffff74e5ecc in wxEvtHandler:
#8 0x00007fffc799d9fc in () at /usr/bin/
#9 0x00007ffff74e5d53 in wxEvtHandler:
#10 0x00007ffff74e5ff1 in wxEvtHandler:
#11 0x00007fffc77a0241 in () at /usr/bin/
#12 0x00007fffc7765877 in () at /usr/bin/
#13 0x00007fffc77e5c6d in () at /usr/bin/
#14 0x00007ffff74e5a8e in wxEvtHandler:
#15 0x00007ffff74e5e0a in wxEvtHandler:
#16 0x00007ffff74e5ea0 in wxEvtHandler:
#17 0x00007ffff74e5f53 in wxEvtHandler:
#18 0x00007ffff74e5ff1 in wxEvtHandler:
#19 0x00007ffff7a83f6d in wxScrollHelperE
#20 0x00007ffff74e5d97 in wxEvtHandler:
#21 0x00007ffff788f386 in wxWindow:
#22 0x00007ffff64e5b97 in g_cclosure_
#23 0x00007ffff64e30c6 in () at /usr/lib/
#24 0x00007ffff64ff57d in g_signal_
#25 0x00007ffff6500046 in g_signal_
#26 0x00007ffff64e5b97 in g_cclosure_
#27 0x00007ffff64e30c6 in () at /usr/lib/
#28 0x00007ffff64ff57d in g_signal_
#29 0x00007ffff64ffb6f in g_signal_emit () at /usr/lib/
#30 0x00007ffff04fdb33 in () at /usr/lib/
#31 0x00007ffff6843833 in () at /usr/lib/
#32 0x00007ffff7892aac in () at /usr/lib/
#33 0x00007ffff69f344b in () at /usr/lib/
#34 0x00007ffff64e2e8d in g_closure_invoke () at /usr/lib/
#35 0x00007ffff64f6555 in () at /usr/lib/
#36 0x00007ffff64feb9b in g_signal_
#37 0x00007ffff64ffb6f in g_signal_emit () at /usr/lib/
#38 0x00007ffff69a01f4 in () at /usr/lib/
#39 0x00007ffff69c149b in gtk_window_
#40 0x00007ffff787fc18 in () at /usr/lib/
#41 0x00007ffff69f344b in () at /usr/lib/
#42 0x00007ffff64e2e8d in g_closure_invoke () at /usr/lib/
#43 0x00007ffff64f6555 in () at /usr/lib/
#44 0x00007ffff64feb9b in g_signal_
#45 0x00007ffff64ffb6f in g_signal_emit () at /usr/lib/
#46 0x00007ffff69a01f4 in () at /usr/lib/
#47 0x00007ffff6860d9f in () at /usr/lib/
#48 0x00007ffff6862dfb in gtk_main_do_event () at /usr/lib/
#49 0x00007ffff65645e5 in () at /usr/lib/
#50 0x00007ffff6595292 in () at /usr/lib/
#51 0x00007ffff62699ee in g_main_
#52 0x00007ffff6269c88 in () at /usr/lib/
#53 0x00007ffff6269f82 in g_main_loop_run () at /usr/lib/
#54 0x00007ffff6861e75 in gtk_main () at /usr/lib/
--Type <RET> for more, q to quit, c to continue without paging--
#55 0x00007ffff786dc95 in wxGUIEventLoop:
#56 0x00007ffff73bb76d in wxEventLoopBase
#57 0x00007ffff73848f6 in wxAppConsoleBas
#58 0x00005555555f09d9 in ()
#59 0x00007ffff7405fd9 in wxEntry(int&, wchar_t**) () at /usr/lib/
#60 0x00005555555d6788 in ()
#61 0x00007ffff6d42b6b in __libc_start_main (main=0x5555555
at ../csu/
#62 0x00005555555daeda in _start ()
Changed in kicad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
Changed in kicad: | |
milestone: | none → 5.1.3 |
tags: | added: eeschema |
Changed in kicad: | |
milestone: | 5.1.3 → 5.1.4 |
Changed in kicad: | |
status: | Triaged → In Progress |
Changed in kicad: | |
milestone: | 5.1.4 → 5.1.5 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Frank,
Thanks for the backtrace, but it appears to be missing the symbol information from KiCad (so while it appears to be because of a type casting, it doesn't say where it was casting it). Are you running an Ubuntu mightly build? If so, I believe you can install the package kicad-dbg to get the debug symbols, which should make the backtrace better?
I am also trying to deduce the steps you used to create this, are these correct?
1) Append schematic from another project to the current project
2) Change the subsheet to be a new sheet (not in the original project)