|
From: Paul F. <pj...@wa...> - 2020-01-19 13:41:45
|
> On 19 Jan 2020, at 00:31, Rhys Kidd <rhy...@gm...> wrote: > > Thanks Paul. > > Will need a big more debugging on a macOS 10.15 Catalina system to get to the bottom of this one. I've created a bug report from your debug log to track this (https://bugs.kde.org/show_bug.cgi?id=416436 <https://bugs.kde.org/show_bug.cgi?id=416436>) and marked it under our meta bug for all known macOS 10.15 issues. > > Sometimes these class of reports about illegal instructions actually have nothing to do with missing x86_64 ISA support, instead there's a system call which valgrind isn't hooking properly on new Mach kernel (the macOS kernel). I’ve debugged a bit more and it looks like a ud2 opcode is causing the error ==== SB 2822 (evchecks 301498) [tid 1] 0x1005f5ecb __pthread_init+898 /usr/lib/system/libsystem_pthread.dylib+0xecb 0x1005F5ECB: call 0x1005FD7A6 0x1005FD7A6: leaq 2759(%rip), %rcx 0x1005FD7AD: xorl %eax,%eax 0x1005FD7AF: movq %rcx,11002(%rip) 0x1005FD7B6: movq %rax,11043(%rip) 0x1005FD7BD: ud2 ==79936== valgrind: Unrecognised instruction at address 0x1005fd7bd. ==80006== at 0x1005FD7BD: __pthread_init.cold.2 (in /usr/lib/system/libsystem_pthread.dylib) Looking a bit at the disassembly of libsystem_pthread.dylib, pthread_init function 0000000000000db2 movq 0xa267(%rip), %rax ## literal pool symbol address: __os_xbs_chrooted 0000000000000db9 cmpb $0x0, (%rax) 0000000000000dbc je 0xecb This seems to be the path that gets taken (0xecb is the address of __pthread_init.cold.2) I can’t find much on _os_xbs_chrooted. A+ Paul |