Found one more thing, entering the character 'ß' (Key right of '0' Key on german keyboard) crashes Lazarus, this also works from Keyboard Viewer (The App that gives you a mini virtual Keyboard on Mac).

Michael

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff2e5326bb __exceptionPreprocess + 171 1   libobjc.A.dylib                     0x00007fff55c4e942 objc_exception_throw + 48 2   CoreFoundation                      0x00007fff2e5c29a5 +[NSException raise:format:] + 197
3   AppKit                              0x00007fff2c304431 _NSRunModal + 484
4   AppKit                              0x00007fff2bce367d -[NSAlert runModal] + 240 5   lazarus                             0x00000001001e5211 COCOAINT_$$_COCOAPROMPTUSER$crcB0C4A088 + 961 6   lazarus                             0x00000001001e52e7 COCOAINT$_$TCOCOAWIDGETSET_$__$$_PROMPTUSER$crc484A2DB2 + 47 7   lazarus                             0x000000010017696f LCLINTF_$$_PROMPTUSER$crc484A2DB2 + 63 8   lazarus                             0x000000010017710b LCLINTF_$$_PROMPTUSER$crcB76EAC20 + 203 9   lazarus                             0x000000010005fa1e FORMS$_$TAPPLICATION_$__$$_SHOWEXCEPTION$EXCEPTION + 806 10  AppKit                              0x00007fff2c2ecf29 _NSViewDrawRect + 83 11  AppKit                              0x00007fff2bb8573c -[NSView _drawRect:clip:] + 1819 12  AppKit                              0x00007fff2bb84598 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4844 13  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 14  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 15  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 16  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 17  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 18  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 19  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 20  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 21  AppKit                              0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 22  AppKit                              0x00007fff2bb82ddb -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 327 23  AppKit                              0x00007fff2c2ee4e0 -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2051 24  AppKit                              0x00007fff2bb81e5d -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253 25  AppKit                              0x00007fff2bb7e0b4 -[NSView displayIfNeeded] + 1581 26  AppKit                              0x00007fff2bb7da52 -[NSWindow displayIfNeeded] + 321 27  AppKit                              0x00007fff2c31e60d ___NSWindowGetDisplayCycleObserver_block_invoke.5902 + 308 28  AppKit                              0x00007fff2bb7d55e __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 695 29  QuartzCore                          0x00007fff397fb3c3 _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 49 30  QuartzCore                          0x00007fff397f9ea5 _ZN2CA11Transaction6commitEv + 171 31  AppKit                              0x00007fff2c335a72 __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 283 32  CoreFoundation                      0x00007fff2e4cb787 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 33  CoreFoundation                      0x00007fff2e4cb6af __CFRunLoopDoObservers + 511 34  CoreFoundation                      0x00007fff2e4ae178 __CFRunLoopRun + 1240 35  CoreFoundation                      0x00007fff2e4ada07 CFRunLoopRunSpecific + 487 36  HIToolbox                           0x00007fff2d78bd96 RunCurrentEventLoopInMode + 286 37  HIToolbox                           0x00007fff2d78bb06 ReceiveNextEventCommon + 613 38  HIToolbox                           0x00007fff2d78b884 _BlockUntilNextEventMatchingListInModeWithFilter + 64 39  AppKit                              0x00007fff2ba3ea73 _DPSNextEvent + 2085 40  AppKit                              0x00007fff2c1d4e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 41  lazarus                             0x00000001001dc941 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPWAITMESSAGE + 113
42  ???                                 0x0000000000000001 0x0 + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff569b5b6e __pthread_kill + 10
1   libsystem_pthread.dylib           0x00007fff56b80080 pthread_kill + 333
2   libsystem_c.dylib                 0x00007fff569111ae abort + 127
3   libc++abi.dylib                   0x00007fff54818f8f abort_message + 245
4   libc++abi.dylib                   0x00007fff5481912b default_terminate_handler() + 265 5   libobjc.A.dylib                   0x00007fff55c50a47 _objc_terminate() + 97 6   libc++abi.dylib                   0x00007fff548347c9 std::__terminate(void (*)()) + 8
7   libc++abi.dylib                   0x00007fff5483447a __cxa_rethrow + 99
8   libobjc.A.dylib                   0x00007fff55c4ee05 objc_exception_rethrow + 40
9   com.apple.AppKit                  0x00007fff2c3044e2 _NSRunModal + 661
10  com.apple.AppKit                  0x00007fff2bce367d -[NSAlert runModal] + 240 11  lazarus.freepascal.ide            0x00000001001e5211 COCOAINT_$$_COCOAPROMPTUSER$crcB0C4A088 + 961 12  lazarus.freepascal.ide            0x00000001001e52e7 COCOAINT$_$TCOCOAWIDGETSET_$__$$_PROMPTUSER$crc484A2DB2 + 47 13  lazarus.freepascal.ide            0x000000010017696f LCLINTF_$$_PROMPTUSER$crc484A2DB2 + 63 14  lazarus.freepascal.ide            0x000000010017710b LCLINTF_$$_PROMPTUSER$crcB76EAC20 + 203 15  lazarus.freepascal.ide            0x000000010005fa1e FORMS$_$TAPPLICATION_$__$$_SHOWEXCEPTION$EXCEPTION + 806 16  com.apple.AppKit                  0x00007fff2c2ecf29 _NSViewDrawRect + 83 17  com.apple.AppKit                  0x00007fff2bb8573c -[NSView _drawRect:clip:] + 1819 18  com.apple.AppKit                  0x00007fff2bb84598 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4844 19  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 20  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 21  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 22  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 23  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 24  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 25  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 26  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 27  com.apple.AppKit                  0x00007fff2bb83ec5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3097 28  com.apple.AppKit                  0x00007fff2bb82ddb -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 327 29  com.apple.AppKit                  0x00007fff2c2ee4e0 -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2051 30  com.apple.AppKit                  0x00007fff2bb81e5d -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253 31  com.apple.AppKit                  0x00007fff2bb7e0b4 -[NSView displayIfNeeded] + 1581 32  com.apple.AppKit                  0x00007fff2bb7da52 -[NSWindow displayIfNeeded] + 321 33  com.apple.AppKit                  0x00007fff2c31e60d ___NSWindowGetDisplayCycleObserver_block_invoke.5902 + 308 34  com.apple.AppKit                  0x00007fff2bb7d55e __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 695 35  com.apple.QuartzCore              0x00007fff397fb3c3 CA::Transaction::run_commit_handlers(CATransactionPhase) + 49 36  com.apple.QuartzCore              0x00007fff397f9ea5 CA::Transaction::commit() + 171 37  com.apple.AppKit                  0x00007fff2c335a72 __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 283 38  com.apple.CoreFoundation          0x00007fff2e4cb787 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 39  com.apple.CoreFoundation          0x00007fff2e4cb6af __CFRunLoopDoObservers + 511 40  com.apple.CoreFoundation          0x00007fff2e4ae178 __CFRunLoopRun + 1240 41  com.apple.CoreFoundation          0x00007fff2e4ada07 CFRunLoopRunSpecific + 487 42  com.apple.HIToolbox               0x00007fff2d78bd96 RunCurrentEventLoopInMode + 286 43  com.apple.HIToolbox               0x00007fff2d78bb06 ReceiveNextEventCommon + 613 44  com.apple.HIToolbox               0x00007fff2d78b884 _BlockUntilNextEventMatchingListInModeWithFilter + 64 45  com.apple.AppKit                  0x00007fff2ba3ea73 _DPSNextEvent + 2085 46  com.apple.AppKit                  0x00007fff2c1d4e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 47  lazarus.freepascal.ide            0x00000001001dc941 COCOAINT$_$TCOCOAWIDGETSET_$__$$_APPWAITMESSAGE + 113

Thread 1:
0   libsystem_kernel.dylib            0x00007fff569b6292 __workq_kernreturn + 10 1   libsystem_pthread.dylib           0x00007fff56b7d20e _pthread_wqthread + 1552
2   libsystem_pthread.dylib           0x00007fff56b7cbe9 start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib            0x00007fff569b6292 __workq_kernreturn + 10 1   libsystem_pthread.dylib           0x00007fff56b7d009 _pthread_wqthread + 1035
2   libsystem_pthread.dylib           0x00007fff56b7cbe9 start_wqthread + 13

Thread 3:
0   libsystem_pthread.dylib           0x00007fff56b7cbdc start_wqthread + 0
1   ???                               0x0000000000000001 0 + 1

Thread 4:
0   libsystem_pthread.dylib           0x00007fff56b7cbdc start_wqthread + 0
1   ???                               0x0000000300000003 0 + 12884901891

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib            0x00007fff569ac20a mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fff569ab724 mach_msg + 60
2   com.apple.CoreFoundation          0x00007fff2e4af045 __CFRunLoopServiceMachPort + 341 3   com.apple.CoreFoundation          0x00007fff2e4ae397 __CFRunLoopRun + 1783 4   com.apple.CoreFoundation          0x00007fff2e4ada07 CFRunLoopRunSpecific + 487 5   com.apple.AppKit                  0x00007fff2bb7bfc4 _NSEventThread + 184
6   libsystem_pthread.dylib           0x00007fff56b7d661 _pthread_body + 340
7   libsystem_pthread.dylib           0x00007fff56b7d50d _pthread_start + 377
8   libsystem_pthread.dylib           0x00007fff56b7cbf9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff8eb64380  rcx: 0x00007ffeefbf9788  rdx: 0x0000000000000000   rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffeefbf97c0  rsp: 0x00007ffeefbf9788    r8: 0x00007ffeefbf9650   r9: 0x00007ffeefbf9820  r10: 0x0000000000000000  r11: 0x0000000000000206   r12: 0x0000000000000307  r13: 0x0000000000000030  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff569b5b6e  rfl: 0x0000000000000206  cr2: 0x00007fff8eb41168

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Am 02.05.18 um 16:06 schrieb Michael Ring via Lazarus:

I guess you will have to install the german layout as this deadkey stuff is layout specific.

Fun fact is that you also cannot enter ^ with the Keyboard overview of MacOS, when I switch to US keyboard all is fine for me.

fyi, the '^' key is left of the '1' key on a german keyboard on Macbook Pro


Michael

Am 02.05.18 um 15:24 schrieb Dmitry Boyarintsev via Lazarus:
On Wed, May 2, 2018 at 9:09 AM, Michael Ring via Lazarus <[email protected] <mailto:[email protected]>> wrote:

    As it is a dead key you first press '^' on the keyboard and then
    space. other example:  á is created by first pressing '´' and
    then 'a'

Do you know, if it's required to have German layout to be installed in the system. IIRC (away from mac right now), "^" is entered by pressing Shift+6 on Mac (ansi keyboard with US keys layout) ...and it works.

What I'm thinking is that you're trying to enter the character in SynEdit. and it might be that Cocoa doesn't report a certain key combinations properly.

I presume you didn't have this issue in Carbon, thus it's neither SynEdit bug nor macOS specific behavior, but rather LCLCocoa issue.

That's why I need to know keys combination in order to track the problem on my end.

thanks,
Dmitry






-- 
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to