tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LLDB/NetBSD May



On 02.05.2017 22:04, Kamil Rytarowski wrote:
> 
> There are two bugs:
>  1. kernel crashes with threads in the local copy of Process Plugin.
>  2. PT_SUSPEND, PT_RESUME unreliable http://gnats.netbsd.org/51995
> 
> I'm working on (1.) now.
> 
> If possible please help with (2.) as there are ATF tests ready and no
> need to setup LLVM+Clang+LLDB.
> 

A.
I had to downgrade llvm/clang/lldb to pkgsrc-wip r. cf22065aaf016 to
reproduce the crash again (LLVM SVN r.300853). It was hidden with recent
failures for 400 tests for some other unknown reason.

The crash has been fixed with src/sys/kern/sys_ptrace_common.c r1.22

B.
I'm still verifying single stepping of LWPs in processes with multiple
threads. I have an impression that something is fragile there.

C.
LLDB tests trigger dmesg errors (default GENERIC kernel), there are
entries like:
fill_vmentry: vp 0xfffffe87288967e8 error 2
fill_vmentry: vp 0xfffffe86e1a15930 error 2
fill_vmentry: vp 0xfffffe87047f8bd8 error 2
fill_vmentry: vp 0xfffffe87051af7e0 error 2
fill_vmentry: vp 0xfffffe86ef0b63f0 error 2

D.
Once the above points will be so sorted out, I will move to the recent
failure that broke tests in LLDB on NetBSD. And next I will work on
watchpoint misbehavior (they are reported like PT_STEP).

Additionally something (related?) recently keeps ejecting the NetBSD
builder in the farm node as it timeouts (?).

We need to sort out all that before pushing forwards the NetBSD Process
Plugin with threads in LLDB.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index