Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

で最後の候補ページがめぐったあとは登録モードにならない #273

Open
waynezhang opened this issue Jan 6, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@waynezhang
Copy link
Contributor

(連続ですいません。。。)

で最後の候補をめぐったときは登録モードになりますが、 でページごとでめぐった場合は登録モードにならないです。

@waynezhang
Copy link
Contributor Author

クラッシュだったらしいです

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               macSKK [27870]
Path:                  /Users/USER/Library/Input Methods/macSKK.app/Contents/MacOS/macSKK
Identifier:            net.mtgto.inputmethod.macSKK
Version:               1.6.1 (53)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2025-01-06 18:29:13.6230 +0900
OS Version:            macOS 15.1.1 (24B91)
Report Version:        12
Anonymous UUID:        74BC436C-F086-472F-E352-61510145646A


Time Awake Since Boot: 4600 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000019e21f568

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [27870]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	       0x19e21f568 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 240
1   libswiftCore.dylib            	       0x19e21f430 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 344
2   libswiftCore.dylib            	       0x19e21ed8c _assertionFailure(_:_:file:line:flags:) + 188
3   macSKK                        	       0x10291e338 StateMachine.updateCandidates(selecting:) + 1968 (StateMachine.swift:1291)
4   macSKK                        	       0x1029243b0 StateMachine.handleSelectingPrevious(diff:selecting:) + 220 (StateMachine.swift:1196)
5   macSKK                        	       0x10291b978 StateMachine.handleSelecting(_:selecting:specialState:) + 7724 (StateMachine.swift:1112)
6   macSKK                        	       0x10290fb6c StateMachine.handle(_:) + 660 (StateMachine.swift:59)
7   macSKK                        	       0x1028bdd90 InputController.handle(_:client:) + 2816 (InputController.swift:225)
8   macSKK                        	       0x1028bde7c @objc InputController.handle(_:client:) + 168
9   InputMethodKit                	       0x1c2bdce9c -[_IMKServerLegacy handleEvent_Common:characterIndex:edge:clientWrapper:controller:] + 3128
10  InputMethodKit                	       0x1c2bd2878 __70-[_IMKServerLegacy handleEvent:characterIndex:edge:asyncClient:reply:]_block_invoke_2 + 596
11  ViewBridge                    	       0x1966580f0 +[NSServiceViewController withHostAppAuditToken:invoke:] + 96
12  InputMethodKit                	       0x1c2bd2614 __70-[_IMKServerLegacy handleEvent:characterIndex:edge:asyncClient:reply:]_block_invoke + 192
13  InputMethodKit                	       0x1c2bddb74 __IMKXPCPerformBlockOnMainThread_block_invoke + 44
14  InputMethodKit                	       0x1c2bddbb8 __IMKRunLoopPerformBlock_block_invoke + 36
15  CoreFoundation                	       0x18d6718c0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
16  CoreFoundation                	       0x18d6717d0 __CFRunLoopDoBlocks + 356
17  CoreFoundation                	       0x18d670c00 __CFRunLoopRun + 2432
18  CoreFoundation                	       0x18d66fbc4 CFRunLoopRunSpecific + 588
19  HIToolbox                     	       0x198adff64 RunCurrentEventLoopInMode + 292
20  HIToolbox                     	       0x198ae5d54 ReceiveNextEventCommon + 636
21  HIToolbox                     	       0x198ae5eb8 _BlockUntilNextEventMatchingListInModeWithFilter + 76
22  AppKit                        	       0x19119ba08 _DPSNextEvent + 660
23  AppKit                        	       0x191adbe0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
24  AppKit                        	       0x19118eae0 -[NSApplication run] + 480
25  AppKit                        	       0x191165364 NSApplicationMain + 888
26  SwiftUI                       	       0x1bb815340 specialized runApp(_:) + 160
27  SwiftUI                       	       0x1bbc85ee4 runApp<A>(_:) + 84
28  SwiftUI                       	       0x1bbffef24 static App.main() + 224
29  macSKK                        	       0x102939280 static macSKKApp.$main() + 40
30  macSKK                        	       0x1029392c0 main + 12 (macSKKApp.swift:31)
31  dyld                          	       0x18d208274 start + 2840

Thread 1:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18d549e34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18d55c5d0 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18d5529d8 mach_msg_overwrite + 480
3   libsystem_kernel.dylib        	       0x18d54a17c mach_msg + 24
4   CoreFoundation                	       0x18d671edc __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18d67073c __CFRunLoopRun + 1212
6   CoreFoundation                	       0x18d66fbc4 CFRunLoopRunSpecific + 588
7   AppKit                        	       0x1912c0b8c _NSEventThread + 148
8   libsystem_pthread.dylib       	       0x18d58b2e4 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18d5860fc thread_start + 8

Thread 5:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	       0x18d5860e8 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000060000194edd0   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x000060000194ee00
    x4: 0x0000000000000000   x5: 0x000000016d597a80   x6: 0x0000000000000064   x7: 0x0000000000000000
    x8: 0x0000000000000100   x9: 0x00000000f2c228ae  x10: 0x00000000000000ff  x11: 0x0000000000002dc0
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000f2e230b8  x15: 0x00000000f2c228ae
   x16: 0x00000000f2e00000  x17: 0x00000000000000b8  x18: 0x0000000000000000  x19: 0x000000016d59d6c0
   x20: 0x000000014ca35290  x21: 0x00006000002684b0  x22: 0x0000000000000075  x23: 0x000060000393dbc0
   x24: 0x0000600000e6e680  x25: 0x0000000000000075  x26: 0x00006000010e22c0  x27: 0x0000000000000074
   x28: 0x0000000000000001   fp: 0x000000016d597b30   lr: 0x000000019e21f568
    sp: 0x000000016d597b10   pc: 0x000000019e21f568 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x102860000 -        0x102a47fff net.mtgto.inputmethod.macSKK (1.6.1) <b7d5de01-e278-350f-9d21-cf54c311949c> /Users/USER/Library/Input Methods/macSKK.app/Contents/MacOS/macSKK
       0x104e8c000 -        0x104e97fff libobjc-trampolines.dylib (*) <f1242604-dcb7-30a9-a19a-182991e6e645> /usr/lib/libobjc-trampolines.dylib
       0x119e8c000 -        0x11a52bfff com.apple.AGXMetalG13X (322.10) <e863b7d4-d308-3f26-a59f-9dc04134c15e> /System/Library/Extensions/AGXMetalG13X.bundle/Contents/MacOS/AGXMetalG13X
       0x19e1e6000 -        0x19e78cfff libswiftCore.dylib (*) <53497bdd-8c93-3dc1-9ae9-82f27e47fb0a> /usr/lib/swift/libswiftCore.dylib
       0x1c2b3c000 -        0x1c2c98fff com.apple.InputMethodKit (1.2) <dbfa11ab-730e-3b0f-a165-3c1c3ba2cc2f> /System/Library/Frameworks/InputMethodKit.framework/Versions/A/InputMethodKit
       0x19663b000 -        0x196758fff com.apple.ViewBridge (766.1) <2bdf5d72-30c4-36ef-81b6-7e32749dbdda> /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge
       0x18d5f4000 -        0x18dae8fff com.apple.CoreFoundation (6.9) <ae4610f8-7c5c-3484-858e-cae7457d206e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1989d4000 -        0x198cdbfff com.apple.HIToolbox (2.1.1) <738685cb-aca1-3dfe-91c5-192bab97a042> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x191161000 -        0x19255cfff com.apple.AppKit (6.9) <49d8b1b6-0ea8-36ad-89fd-a41acf00a742> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1bb7c9000 -        0x1bcf8bfff com.apple.SwiftUI (6.1.19.2) <766fb524-278b-3c0c-9c63-2386ec6b2bfd> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x18d202000 -        0x18d2847b3 dyld (*) <6beafde4-b011-3e47-8aae-4d7b6e4bb7e8> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18d584000 -        0x18d590fff libsystem_pthread.dylib (*) <3b8268be-4e02-3b4a-8b41-baed2bbaacff> /usr/lib/system/libsystem_pthread.dylib
       0x18d549000 -        0x18d583ff7 libsystem_kernel.dylib (*) <9fea25a4-e8ca-3f3d-901c-a53ff2bc7217> /usr/lib/system/libsystem_kernel.dylib

@mtgto mtgto added the bug Something isn't working label Jan 6, 2025
@mtgto
Copy link
Owner

mtgto commented Jan 6, 2025

報告ありがとうございます。
スペースキーでのページ遷移では境界値チェックしてたんですが キーはチェックしていませんでした。
対応します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants