rr debbugger

Aurélien Aptel aaptel at suse.com
Tue Apr 11 15:59:48 UTC 2017


There is a group of people at mozilla working on a very interesting
project, the rr debugger. It allows you to record the non-deterministic
parts of a program run (syscall results) and replay them
deterministicly. This means you can finally use breakpoints without
trigerring timeouts on the client side. You can also reverse-debug:
start from the crash and go backward.

It wasn't working on smbd but after opening a couple of issues and
working on one I was able to use it. Other syscall might have to be
implemented depending on what you try to run.


You might want to pull from here to get an extra quotactl syscall

https://github.com/aaptel/rr.git on the branch quotactl-xgetqstat


Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

More information about the samba-technical mailing list