Library editor crash on pin edit

Bug #1571771 reported by Bernhard Stegmaier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

How to reproduce (always issue for me):
Create a new part, place one pin with some pin name and no pin number.
Open the pin properties dialog (using "e"), select pin name, and replace it with "~" (by pressing "Alt+n" on OS X).
Immediately press "Tab" to switch to pin number text box without pressing any key in between.
Library editor will crash on pressing "Tab".

Note:
With "Alt+n" the "~" will show up highlighted, so that you can enter a second character (I guess for typing a combined character if your locale supports that, probably/maybe similar to a dead key on Linux).
If you press "Alt+n" and, e.g., "Space" the highlight will go away ("~" stays there).
If you now press Tab to jump to next text box it doesn't crash.

Version information:
<<<
Application: kicad
Version: (2016-02-20 BZR 6576, Git a32dfb1)-product release build
wxWidgets: Version 3.1.0 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers)
Platform: OS X El Capitan Version 10.11.4 (Build 15E65), 64 bit, Little endian, wxMac
Boost version: 1.59.0
         USE_WX_GRAPHICS_CONTEXT=ON
         USE_WX_OVERLAY=ON
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON
>>>

Backtrace:
<<<
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9181ff06 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff909984ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff862a86e7 abort + 129
3 libwx_baseu-3.1.0.dylib 0x00000001066d7259 wxAbort() + 9
4 libwx_baseu-3.1.0.dylib 0x00000001068240e4 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 212
5 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106081489 wxWindow::OSXHandleKeyEvent(wxKeyEvent&) + 409
6 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106158c54 wxWidgetCocoaImpl::DoHandleCharEvent(NSEvent*, NSString*) + 788
7 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106149eee -[wxNSTextFieldEditor insertText:] + 174
8 com.apple.AppKit 0x00007fff8657591f -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 394
9 com.apple.AppKit 0x00007fff86575787 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2250 + 127
10 com.apple.AppKit 0x00007fff865756f9 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 181
11 com.apple.AppKit 0x00007fff86c81ccf -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 428
12 com.apple.AppKit 0x00007fff86575157 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke176 + 4253
13 com.apple.AppKit 0x00007fff86573fcc __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
14 com.apple.AppKit 0x00007fff86573f3f -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
15 com.apple.AppKit 0x00007fff86573c2f -[NSTextInputContext handleTSMEvent:completionHandler:] + 3173
16 com.apple.AppKit 0x00007fff86572f5e _NSTSMEventHandler + 324
17 com.apple.HIToolbox 0x00007fff93db87be DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231
18 com.apple.HIToolbox 0x00007fff93db7c48 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404
19 com.apple.HIToolbox 0x00007fff93db7aab SendEventToEventTargetWithOptions + 43
20 com.apple.HIToolbox 0x00007fff93e0cf7d SendTSMEvent_WithCompletionHandler + 417
21 com.apple.HIToolbox 0x00007fff93fc042b __SendUpdateActiveInputAreaForDeadKey_WithCompletionHandler_block_invoke + 1300
22 com.apple.HIToolbox 0x00007fff93e0d2bf __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
23 com.apple.HIToolbox 0x00007fff93e0cfcd SendTSMEvent_WithCompletionHandler + 497
24 com.apple.HIToolbox 0x00007fff93e0cdaf SendFilterTextEvent_WithCompletionHandler + 236
25 com.apple.HIToolbox 0x00007fff93fbc19d SendUpdateActiveInputAreaForDeadKey_WithCompletionHandler + 298
26 com.apple.HIToolbox 0x00007fff93fbf6f9 ProcessDeadKeyInlineSession_WithCompletionHandler + 717
27 com.apple.HIToolbox 0x00007fff93e0c6c6 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 415
28 com.apple.HIToolbox 0x00007fff93e0c4cf TSMKeyEvent_WithCompletionHandler + 721
29 com.apple.HIToolbox 0x00007fff93e0c1c5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
30 com.apple.HIToolbox 0x00007fff93e0c033 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 325
31 com.apple.HIToolbox 0x00007fff93e0bd71 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 261
32 com.apple.HIToolbox 0x00007fff93e0bb3a __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 253
33 com.apple.HIToolbox 0x00007fff93e0b1f0 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3199
34 com.apple.AppKit 0x00007fff86572e0f __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke955 + 131
35 com.apple.AppKit 0x00007fff86571af1 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 131
36 com.apple.AppKit 0x00007fff865717eb -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
37 com.apple.AppKit 0x00007fff865712be -[NSTextInputContext handleEvent:] + 109
38 com.apple.AppKit 0x00007fff865711c7 -[NSView interpretKeyEvents:] + 204
39 com.apple.AppKit 0x00007fff86570ff2 -[NSTextView keyDown:] + 658
40 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106149d1d -[wxNSTextFieldEditor keyDown:] + 109
41 com.apple.AppKit 0x00007fff86b9abb5 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
42 com.apple.AppKit 0x00007fff865d963d -[NSWindow sendEvent:] + 517
43 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106142885 -[wxNSPanel sendEvent:] + 117
44 com.apple.AppKit 0x00007fff8655a26e -[NSApplication sendEvent:] + 4382
45 libwx_osx_cocoau_core-3.1.0.dylib 0x000000010606cd52 -[wxNSApplication sendEvent:] + 98
46 com.apple.AppKit 0x00007fff8663bbb0 -[NSApplication _doModalLoop:peek:] + 751
47 com.apple.AppKit 0x00007fff8681d5d0 __33-[NSApplication runModalSession:]_block_invoke + 80
48 com.apple.AppKit 0x00007fff8681d490 -[NSApplication runModalSession:] + 148
49 libwx_osx_cocoau_core-3.1.0.dylib 0x00000001061372e0 wxGUIEventLoop::DoDispatchTimeout(unsigned long) + 64
50 libwx_baseu-3.1.0.dylib 0x00000001067f2416 wxCFEventLoop::DispatchTimeout(unsigned long) + 38
51 libwx_baseu-3.1.0.dylib 0x00000001067f2587 wxCFEventLoop::OSXDoRun() + 183
52 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106137911 wxModalEventLoop::OSXDoRun() + 193
53 libwx_baseu-3.1.0.dylib 0x00000001067f26a4 wxCFEventLoop::DoRun() + 52
54 libwx_baseu-3.1.0.dylib 0x000000010671c221 wxEventLoopBase::Run() + 161
55 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106070ad6 wxDialog::ShowModal() + 102
56 _eeschema.kiface 0x000000010fbafcbe LIB_EDIT_FRAME::OnEditPin(wxCommandEvent&) + 1358
57 libwx_baseu-3.1.0.dylib 0x000000010682250f wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
58 libwx_baseu-3.1.0.dylib 0x0000000106823b61 wxEvtHandler::ProcessEvent(wxEvent&) + 273
59 _eeschema.kiface 0x000000010fc85c6c EDA_BASE_FRAME::ProcessEvent(wxEvent&) + 28
60 libwx_baseu-3.1.0.dylib 0x0000000106823c54 wxEvtHandler::ProcessEventLocally(wxEvent&) + 164
61 libwx_baseu-3.1.0.dylib 0x0000000106823b07 wxEvtHandler::ProcessEvent(wxEvent&) + 183
62 _eeschema.kiface 0x000000010fb3e1b2 LIB_EDIT_FRAME::OnHotKey(wxDC*, int, wxPoint const&, EDA_ITEM*) + 1522
63 _eeschema.kiface 0x000000010fa671eb LIB_EDIT_FRAME::GeneralControl(wxDC*, wxPoint const&, unsigned int) + 251
64 _eeschema.kiface 0x000000010fcaf5a9 EDA_DRAW_PANEL::OnKeyEvent(wxKeyEvent&) + 553
65 libwx_baseu-3.1.0.dylib 0x000000010682250f wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
66 libwx_baseu-3.1.0.dylib 0x0000000106823c0a wxEvtHandler::ProcessEventLocally(wxEvent&) + 90
67 libwx_baseu-3.1.0.dylib 0x0000000106823b07 wxEvtHandler::ProcessEvent(wxEvent&) + 183
68 libwx_osx_cocoau_core-3.1.0.dylib 0x00000001062c94d3 wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) + 35
69 libwx_baseu-3.1.0.dylib 0x0000000106824020 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 16
70 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106081489 wxWindow::OSXHandleKeyEvent(wxKeyEvent&) + 409
71 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106158c54 wxWidgetCocoaImpl::DoHandleCharEvent(NSEvent*, NSString*) + 788
72 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106155543 wxWidgetCocoaImpl::insertText(NSString*, NSView*, void*) + 259
73 com.apple.AppKit 0x00007fff865757e4 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 79
74 com.apple.AppKit 0x00007fff86575787 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2250 + 127
75 com.apple.AppKit 0x00007fff865756f9 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 181
76 com.apple.AppKit 0x00007fff86c81ccf -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 428
77 com.apple.AppKit 0x00007fff86575157 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke176 + 4253
78 com.apple.AppKit 0x00007fff86573fcc __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 95
79 com.apple.AppKit 0x00007fff86573f3f -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 101
80 com.apple.AppKit 0x00007fff86573c2f -[NSTextInputContext handleTSMEvent:completionHandler:] + 3173
81 com.apple.AppKit 0x00007fff86572f5e _NSTSMEventHandler + 324
82 com.apple.HIToolbox 0x00007fff93db87be DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231
83 com.apple.HIToolbox 0x00007fff93db7c48 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404
84 com.apple.HIToolbox 0x00007fff93db7aab SendEventToEventTargetWithOptions + 43
85 com.apple.HIToolbox 0x00007fff93e0cf7d SendTSMEvent_WithCompletionHandler + 417
86 com.apple.HIToolbox 0x00007fff93e0d46c __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400
87 com.apple.HIToolbox 0x00007fff93e0d2bf __SendFilterTextEvent_WithCompletionHandler_block_invoke + 189
88 com.apple.HIToolbox 0x00007fff93e0cfcd SendTSMEvent_WithCompletionHandler + 497
89 com.apple.HIToolbox 0x00007fff93e0cdaf SendFilterTextEvent_WithCompletionHandler + 236
90 com.apple.HIToolbox 0x00007fff93e0ca88 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 284
91 com.apple.HIToolbox 0x00007fff93e0c838 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296
92 com.apple.HIToolbox 0x00007fff93e0c6dc __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 437
93 com.apple.HIToolbox 0x00007fff93e0c4cf TSMKeyEvent_WithCompletionHandler + 721
94 com.apple.HIToolbox 0x00007fff93e0c1c5 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251
95 com.apple.HIToolbox 0x00007fff93e0c033 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 325
96 com.apple.HIToolbox 0x00007fff93e0bd71 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 261
97 com.apple.HIToolbox 0x00007fff93e0bb3a __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 253
98 com.apple.HIToolbox 0x00007fff93e0b1f0 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3199
99 com.apple.AppKit 0x00007fff86572e0f __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke955 + 131
100 com.apple.AppKit 0x00007fff86571af1 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 131
101 com.apple.AppKit 0x00007fff865717eb -[NSTextInputContext _handleEvent:options:completionHandler:] + 1266
102 com.apple.AppKit 0x00007fff865712be -[NSTextInputContext handleEvent:] + 109
103 com.apple.AppKit 0x00007fff865711c7 -[NSView interpretKeyEvents:] + 204
104 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106158ff2 wxWidgetCocoaImpl::DoHandleKeyEvent(NSEvent*) + 466
105 libwx_osx_cocoau_core-3.1.0.dylib 0x00000001061553f0 wxWidgetCocoaImpl::keyEvent(NSEvent*, NSView*, void*) + 176
106 com.apple.AppKit 0x00007fff86b9abb5 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2108
107 com.apple.AppKit 0x00007fff865d963d -[NSWindow sendEvent:] + 517
108 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106142435 -[wxNSWindow sendEvent:] + 117
109 com.apple.AppKit 0x00007fff8655a26e -[NSApplication sendEvent:] + 4382
110 libwx_osx_cocoau_core-3.1.0.dylib 0x000000010606cd52 -[wxNSApplication sendEvent:] + 98
111 com.apple.AppKit 0x00007fff863c0ef6 -[NSApplication run] + 796
112 libwx_osx_cocoau_core-3.1.0.dylib 0x000000010613749e wxGUIEventLoop::OSXDoRun() + 110
113 libwx_baseu-3.1.0.dylib 0x00000001067f26a4 wxCFEventLoop::DoRun() + 52
114 libwx_baseu-3.1.0.dylib 0x000000010671c221 wxEventLoopBase::Run() + 161
115 libwx_baseu-3.1.0.dylib 0x00000001066d4e2a wxAppConsoleBase::MainLoop() + 202
116 libwx_osx_cocoau_core-3.1.0.dylib 0x00000001060c16fa wxApp::OnRun() + 26
117 org.kicad-pcb.kicad 0x0000000105beac29 APP_KICAD::OnRun() + 25
118 libwx_baseu-3.1.0.dylib 0x000000010675de71 wxEntry(int&, wchar_t**) + 145
119 org.kicad-pcb.kicad 0x0000000105be9f80 main + 48
120 libdyld.dylib 0x00007fff9b9ba5ad start + 1
>>>

Revision history for this message
Nick Østergaard (nickoe) wrote :

I tried to reproduce this on linux, I could not reproduce. The tilde was not shown when I tried to enter it, I hit tab, I got a system beep, then I hit tab again and it jumped to the pin number field. No crash.

Application: kicad
Version: (2016-04-05 BZR 6664)-kicad, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 libssh2/1.7.0
Platform: Linux 4.4.5-1-ARCH x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
Curl: 7.47.1
KiCad - Compiler: GCC 5.3.0 with C++ ABI 1009
        Settings: 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=ON

Revision history for this message
xzcvczx (xzcvczx) wrote :

i can't reproduce on product.... May i ask why you are using alt+n?

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1571771] Re: Library editor crash on pin edit

On windows I get no beep and hitting the tab key after entering ~ in the
pin name text control immediately moves the cursor to the pin number
text control without crashing so it looks like yet another platform
behavioral difference in wxWidgets. What's odd is I don't see any
wxWidgets calls in the stack trace between the dialog modal event loop
being run:

52 libwx_osx_cocoau_core-3.1.0.dylib 0x0000000106137911
wxModalEventLoop::OSXDoRun() + 193

and the call to:

4 libwx_baseu-3.1.0.dylib 0x00000001068240e4
wxEvtHandler::SafelyProcessEvent(wxEvent&) + 212

which calls wxAbort(). The wxDialog modal event loop is obviously not
happy about something.

On 4/18/2016 3:04 PM, Nick Østergaard wrote:
> I tried to reproduce this on linux, I could not reproduce. The tilde was
> not shown when I tried to enter it, I hit tab, I got a system beep, then
> I hit tab again and it jumped to the pin number field. No crash.
>
> Application: kicad
> Version: (2016-04-05 BZR 6664)-kicad, release build
> Libraries: wxWidgets 3.0.2
> libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 libssh2/1.7.0
> Platform: Linux 4.4.5-1-ARCH x86_64, 64 bit, Little endian, wxGTK
> - Build Info -
> wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.60.0
> Curl: 7.47.1
> KiCad - Compiler: GCC 5.3.0 with C++ ABI 1009
> Settings: 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=ON
>

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

I just tried with latest OS X nightly built by Adam and it also doesn't crash.
So, either my build is too old, or maybe it is my 3.1 wxWidgets (Adam is still using 3.0.2)?
I'll try a new build with new/old wxWidgets these days.

@Simon:
Why alt+n? AFAIK it is the way to go to get a tilde.

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

I just played a bit and I can reproduce this with any text box in any dialog.
If I enter a tilde using Alt+n in a text box and press enter, it crashes right away.

So, really smells a bit like a wxWidgets issue.

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

Sorry, of course I meant tab, not enter in the previous post.
But, it also crashes when pressing enter after alt+n... :)
Curiously, shift-tab and esc after alt+n do not crash it.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Bernhard, thanks for looking into this.

On 4/18/2016 3:46 PM, Bernhard Stegmaier wrote:
> I just tried with latest OS X nightly built by Adam and it also doesn't crash.
> So, either my build is too old, or maybe it is my 3.1 wxWidgets (Adam is still using 3.0.2)?
> I'll try a new build with new/old wxWidgets these days.
>
> @Simon:
> Why alt+n? AFAIK it is the way to go to get a tilde.

The 'alt-n' is the dialog mnemonic control selection feature. If you
first tap the alt key, you will see the mnemonic letters underscored in
the text description for each control. This is an alternative method to
tabbing and left mouse button clicking to select controls in a dialog.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Does this happen using any other mnemonic in the pin edit dialog? If so
please test one of the dialogs that do not call EndModal() or
EndQuasiModal() directly. I know the Eeschema options dialog no longer
does this although there is no alt-n in this dialog there are other
dialog mnemonics that you could try. I'm curious if this is the problem.

On 4/18/2016 3:55 PM, Bernhard Stegmaier wrote:
> I just played a bit and I can reproduce this with any text box in any dialog.
> If I enter a tilde using Alt+n in a text box and press enter, it crashes right away.
>
> So, really smells a bit like a wxWidgets issue.
>

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

Hmm... I think the Mac alt-key (or, option-key) works different.
I don't see any mnemonics appear when pressing alt alone.

There are some other keys that you can use to compose two keys into one character, e.g.,
  alt-n + n => ñ
  ^ + o => ô
  alt-u + u => ü
  ´ + e => é
  ` + e => è
For all, after pressing first ^, alt-u, ´, or ` key leaves the diacritical character in the yellow marked "compositing" state.
if I press tab after ^ or alt-u, it doesn't crash like it does for alt-n.
It also does crash if I press tab after ´ or `.

As I said, I also tried some different dialogs in eeschema and even pcbnew. It seems to be the same for all.

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

I could also reproduce this with current KiCad (rev. 6710) and current wxWidgets master.
I created the wxWIdgets ticket #17507
  http://trac.wxwidgets.org/ticket/17507
for this issue.

Revision history for this message
Jeff Young (jeyjey) wrote :

@Bernhard, can you reproduce this in a current build? I tried a bit, but can't.

Revision history for this message
Bernhard Stegmaier (stegmaier) wrote :

I just tried and I can't reproduce.
I tried with a KiCad from 2017-12-14 (using wxWidgets 3.1.x) and my current version from 2018-01-15 (using wxWidgets 3.0.x from our branch).

I think this bug can be closed, whatever did fix it.

Revision history for this message
Jeff Young (jeyjey) wrote :

That's what I like to hear. ;)

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.