eeschema crashes on changing default field names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Preferences -> Schematic Editor Options -> Template Field Names
Edit the name of an existing field
Close dialog by pressing Alt+O (&OK hotkey)
Segfault. Works fine if you *click* OK.
Application: kicad
Version: (2015-12-16 BZR 6380, Git a3491a6)-product debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Linux 4.2.5-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.59.0
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff36f9959 in _int_malloc () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff36f9959 in _int_malloc () from /usr/lib/libc.so.6
#1 0x00007ffff36fb3d4 in malloc () from /usr/lib/libc.so.6
#2 0x00007ffff449b0e8 in operator new (sz=56294912345
#3 0x00007ffff454078f in std::__
at /build/
#4 0x00007ffff6ca1de3 in wxGenericListCt
#5 0x00007fffe484b644 in DIALOG_
#6 0x00007fffe484ae99 in DIALOG_
#7 0x00007ffff634c43e in wxAppConsoleBas
#8 0x00007ffff64d2a77 in wxEvtHandler:
#9 0x00007ffff64d2e5e in wxEvtHandler:
#10 0x00007ffff64d2eee in wxEvtHandler:
#11 0x00007ffff64d2fb3 in wxEvtHandler:
#12 0x00007ffff64d3015 in wxEvtHandler:
#13 0x00007ffff64d2d77 in wxEvtHandler:
#14 0x00007ffff6d09941 in wxTextCtrl:
#15 0x00007ffff6c78682 in wxWindow:
#16 0x00007ffff6c78c00 in wxWindow:
#17 0x00007ffff6c7901c in ?? () from /usr/lib/
#18 0x00007ffff316fbbc in ?? () from /usr/lib/
#19 0x00007ffff2b46015 in g_closure_invoke () from /usr/lib/
#20 0x00007ffff2b58304 in ?? () from /usr/lib/
#21 0x00007ffff2b60899 in g_signal_
#22 0x00007ffff2b6112f in g_signal_emit () from /usr/lib/
#23 0x00007ffff328752c in ?? () from /usr/lib/
#24 0x00007ffff3293571 in gtk_widget_
#25 0x00007ffff3293803 in ?? () from /usr/lib/
#26 0x00007ffff32939aa in ?? () from /usr/lib/
#27 0x00007ffff2b49117 in g_cclosure_
#28 0x00007ffff2b46244 in ?? () from /usr/lib/
#29 0x00007ffff2b60a46 in g_signal_
#30 0x00007ffff2b6112f in g_signal_emit () from /usr/lib/
#31 0x00007ffff6c669d5 in wxTopLevelWindo
#32 0x00007fffe4a4ab66 in DIALOG_
#33 0x00007fffe4849355 in DIALOG_
#34 0x00007fffe484cdca in DIALOG_
#35 0x00007fffe48a67fe in SCH_EDIT_
#36 0x00007ffff634c43e in wxAppConsoleBas
#37 0x00007ffff64d2a77 in wxEvtHandler:
#38 0x00007ffff64d2b6b in wxEventHashTabl
#39 0x00007ffff64d2f28 in wxEvtHandler:
#40 0x00007fffe4a1f26d in EDA_BASE_
#41 0x00007ffff64d2d23 in wxEvtHandler:
#42 0x00007ffff64d3015 in wxEvtHandler:
#43 0x00007ffff6e5bdc8 in wxWindowBase:
#44 0x00007ffff64d2d77 in wxEvtHandler:
#45 0x00007ffff6e00c2f in wxMenuBase:
#46 0x00007ffff6ce394b in ?? () from /usr/lib/
#47 0x00007ffff2b46015 in g_closure_invoke () from /usr/lib/
#48 0x00007ffff2b58061 in ?? () from /usr/lib/
#49 0x00007ffff2b60dfc in g_signal_
#50 0x00007ffff2b6112f in g_signal_emit () from /usr/lib/
#51 0x00007ffff32862be in gtk_widget_activate () from /usr/lib/
#52 0x00007ffff318194d in gtk_menu_
#53 0x00007ffff3181cae in ?? () from /usr/lib/
#54 0x00007ffff316fbbc in ?? () from /usr/lib/
#55 0x00007ffff2b46015 in g_closure_invoke () from /usr/lib/
#56 0x00007ffff2b5860e in ?? () from /usr/lib/
#57 0x00007ffff2b60899 in g_signal_
#58 0x00007ffff2b6112f in g_signal_emit () from /usr/lib/
#59 0x00007ffff328752c in ?? () from /usr/lib/
#60 0x00007ffff316e354 in gtk_propagate_event () from /usr/lib/
#61 0x00007ffff316e70b in gtk_main_do_event () from /usr/lib/
#62 0x00007ffff2de348c in ?? () from /usr/lib/
#63 0x00007ffff1e26dc7 in g_main_
#64 0x00007ffff1e27020 in ?? () from /usr/lib/
#65 0x00007ffff1e27342 in g_main_loop_run () from /usr/lib/
#66 0x00007ffff316d787 in gtk_main () from /usr/lib/
#67 0x00007ffff6c46165 in wxGUIEventLoop:
#68 0x00007ffff638e223 in wxEventLoopBase
#69 0x00007ffff6353306 in wxAppConsoleBas
#70 0x0000000000443604 in APP_KICAD::OnRun (this=0x7e47e0) at /home/cmp/
---Type <return> to continue, or q <return> to quit---
#71 0x00007ffff63e01e0 in wxEntry(int&, wchar_t**) () from /usr/lib/
#72 0x0000000000441836 in main (argc=1, argv=0x7fffffff
(gdb)
Changed in kicad: | |
status: | New → In Progress |
Changed in kicad: | |
status: | In Progress → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Side note: pressing Enter doesn't "OK" the dialog, because somebody decided that should switch between the Name and Value fields instead, and wrote special code to achieve this. Why??! That's what Tab is for. Can we please rip that out?