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
-chardev
socket,id=charmonitor,path=/home/wyang/work/tmp/test.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
-no-kvm-pit-reinjection -no-shutdown -drive
file=/home/wyang/images/centos7-for-test.qcow2,if=none,id=drive-virtio-disk0,format=qcow2
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0
-chardev
socket,id=charchannel0,path=/home/wyang/work/tmp/test.agent,server,nowait
-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
instead.
[FATAL
/home/roc/rr/rr/src/record_syscall.cc:3071:rec_process_syscall_arch()
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
  gdb
/home/wyang/work/source-code/ucloud/uqemu-kvm-1.5.3-60.x/qemu-build/x86_64-softmmu/qemu-system-x86_64
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