macOSX: Crash when use mouse to select item in input method candidate window
Steps to reproduce
- launch gtk3-demo
- run Assistant demo
- In GtkEntry, switch to any input method and try to let candidate window show up. (For exampe, use Chinese input method, type something and press down arrow.)
- Use mouse to select a candidate text.
- Application crash.
Version information
gtk+3.24.3
Warnings
It shows "Segmentation fault: 11" on crash.
Backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2)
frame #0: 0x0000000101006b91 libgobject-2.0.0.dylib`g_type_check_instance_cast + 38
libgobject-2.0.0.dylib`g_type_check_instance_cast:
-> 0x101006b91 <+38>: movq (%rax), %rdi
0x101006b94 <+41>: cmpq $0x3fd, %rdi ; imm = 0x3FD
0x101006b9b <+48>: jb 0x101006bd0 ; <+101>
0x101006b9d <+50>: movq %rdi, %r9
Target 0: (gtk3-demo) stopped.
(lldb)
Edited by Daniel Boles