a failure of executing rr on ubuntu14.04

Zhang Yang w90p710 at gmail.com
Wed Feb 3 05:34:48 UTC 2016

Hi Guys,

I am not sure whether its suitable to ask the question, if not , please
tell me. :-)
I tried to use rr to debug my qemu on ubuntu14.04, but rr touches a assert.
my kernel version is 3.16.0-30-generic. Any idea on it?

➜  qemu-build git:(hotplug) ✗ rr record  x86_64-softmmu/qemu-system-x86_64
-name test,process=qemu:test -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off
-cpu host -m 512 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1
-uuid 374dd56c-883e-46ce-9303-19c23c7bfaf8 -no-user-config -nodefaults
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
-no-kvm-pit-reinjection -no-shutdown -drive
-serial pty
rr: Saving the execution of `x86_64-softmmu/qemu-system-x86_64' to trace
directory `/home/wyang/.local/share/rr/qemu-system-x86_64-2'.
Warning: option deprecated, use lost_tick_policy property of kvm-pit
errno: 0 'Success']
 (task 31200 (rec:31200) at time 1137)
 ->  Assertion `t->regs().syscall_result_signed() ==
-syscall_state.expect_errno' failed to hold. Expected EINVAL for 'ioctl'
but got result -7; Unknown ioctl(0xc004ae02): type:0xae nr:0x2 dir:0x3
size:4 addr:0x7fffadd2fb90
Launch gdb with
and attach to the rr debug server with:
  target remote :31200
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20160203/a6b19ece/attachment.html>

More information about the rr-dev mailing list