I found a minor bug in uslurp(int pid, const char* name). It doesn't append a NUL character. MapsBuilder.construct then throws an exception: Exception in thread "Thread-1" java.lang.RuntimeException: missing NUL at frysk.sys.proc.MapsBuilder.construct(fltrace) at frysk.sys.proc.MapsBuilder.construct(fltrace) at fltrace.updateAttached(fltrace) at frysk.proc.Task.notifyAttached(fltrace) at frysk.proc.LinuxPtraceTaskState$Attached.transitionToRunningState(fltrace) at frysk.proc.LinuxPtraceTaskState$StartMainTask$6.blockOrAttachContinue(fltrace) at frysk.proc.LinuxPtraceTaskState$StartMainTask$6.handleTrappedEvent(fltrace) at frysk.proc.Task.processTrappedEvent(fltrace) at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.stopped(fltrace) at frysk.sys.Wait.waitAllNoHang(fltrace) at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(fltrace) at frysk.event.EventLoop.runEventLoop(fltrace) at frysk.event.EventLoop.run(fltrace)
Created attachment 1670 [details] fix for this problem Tested on clean today's checkout, no regressions.
Not sure if I assigned it to right tracker bug.
Fix commited.