From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYEWP-000687-89 for qemu-devel@nongnu.org; Thu, 10 Apr 2014 08:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYEWH-0002FS-MD for qemu-devel@nongnu.org; Thu, 10 Apr 2014 08:56:01 -0400 Received: from mx.beyond.pl ([92.43.117.49]:47683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYEWH-0002Eu-DO for qemu-devel@nongnu.org; Thu, 10 Apr 2014 08:55:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mx.beyond.pl (Postfix) with ESMTP id A67B926FF for ; Thu, 10 Apr 2014 14:55:51 +0200 (CEST) Received: from mx.beyond.pl ([127.0.0.1]) by localhost (mw.beyond.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id haqeYrgYJheM for ; Thu, 10 Apr 2014 14:55:50 +0200 (CEST) Received: from [10.113.190.133] (ip-91-102-114-166.beyond.pl [91.102.114.166]) (Authenticated sender: m.gibula@beyond.pl) by mx.beyond.pl (Postfix) with ESMTPSA id AC11D26F9 for ; Thu, 10 Apr 2014 14:55:50 +0200 (CEST) Message-ID: <534694D3.9040504@beyond.pl> Date: Thu, 10 Apr 2014 14:55:47 +0200 From: =?UTF-8?B?TWFyY2luIEdpYnXFgmE=?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu 2.0.0-rc2 crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I've been playing with QEMU 2.0-rc2 and found a crash that isn't there in 1.7.1. Virtual machine is created via libvirt and when I query it with 'dommemstat' it crashes with following backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007f5883655c0a in object_class_dynamic_cast (class=0x7f588618fbb0, typename=typename@entry=0x7f58837ebe54 "object") at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c:525 525 /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c: No such file or directory. (gdb) bt #0 0x00007f5883655c0a in object_class_dynamic_cast (class=0x7f588618fbb0, typename=typename@entry=0x7f58837ebe54 "object") at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c:525 #1 0x00007f5883655da5 in object_dynamic_cast (obj=0x7f58861604c0, typename=typename@entry=0x7f58837ebe54 "object") at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c:456 #2 0x00007f5883657d6e in object_resolve_abs_path (parent=, parts=parts@entry=0x7f5886352ad0, typename=typename@entry=0x7f58837ebe54 "object", index=index@entry=1) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c:1244 #3 0x00007f5883657f20 in object_resolve_path_type (path=, typename=0x7f58837ebe54 "object", ambiguous=0x7fff1ccab257) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qom/object.c:1312 #4 0x00007f5883652d7f in qmp_qom_list (path=0x7f588615c9a0 "//machine/i440fx/pci.0/child[9]", errp=errp@entry=0x7fff1ccab290) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qmp.c:201 #5 0x00007f588364dd55 in qmp_marshal_input_qom_list (mon=, qdict=, ret=0x7fff1ccab310) at qmp-marshal.c:2490 #6 0x00007f58836ef4e8 in qmp_call_cmd (params=0x7f58893626b0, mon=0x7f5885c9ec90, cmd=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/monitor.c:4760 #7 handle_qmp_command (parser=, tokens=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/monitor.c:4826 #8 0x00007f588378289a in json_message_process_token (lexer=0x7f5885ca00a0, token=0x7f58861a0500, type=JSON_OPERATOR, x=95, y=20) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qobject/json-streamer.c:87 #9 0x00007f5883797c4f in json_lexer_feed_char (lexer=lexer@entry=0x7f5885ca00a0, ch=125 '}', flush=flush@entry=false) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qobject/json-lexer.c:303 #10 0x00007f5883797d96 in json_lexer_feed (lexer=0x7f5885ca00a0, buffer=, size=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qobject/json-lexer.c:356 #11 0x00007f5883782ab1 in json_message_parser_feed (parser=, buffer=, size=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qobject/json-streamer.c:110 #12 0x00007f58836ed593 in monitor_control_read (opaque=, buf=, size=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/monitor.c:4847 #13 0x00007f588363d4e1 in qemu_chr_be_write (len=, buf=0x7fff1ccab4f0 "}", s=0x7f5885caf0b0) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qemu-char.c:165 #14 tcp_chr_read (chan=, cond=, opaque=0x7f5885caf0b0) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/qemu-char.c:2487 #15 0x00007f58814d0b75 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #16 0x00007f588360b0e8 in glib_pollfds_poll () at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/main-loop.c:190 #17 os_host_main_loop_wait (timeout=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/main-loop.c:235 #18 main_loop_wait (nonblocking=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/main-loop.c:484 #19 0x00007f58834dbb6e in main_loop () at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/vl.c:2051 #20 main (argc=, argv=, envp=) at /var/tmp/portage/app-emulation/qemu-2.0.0_rc2/work/qemu-2.0.0-rc2/vl.c:4507 Virtual machine options command line: LC_ALL=C PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin HOME=/ USER=root QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -name f1b3b8b7-7b0e-4eab-afef-06d577d6544d -S -machine pc-i440fx-2.0,accel=kvm,usb=off -cpu SandyBridge,-kvmclock -m 4096 -realtime mlock=on -smp 4,sockets=2,cores=10,threads=1 -uuid f1b3b8b7-7b0e-4eab-afef-06d577d6544d -smbios type=0,vendor=HAL 9000 -smbios type=1,manufacturer=cloud -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/f1b3b8b7-7b0e-4eab-afef-06d577d6544d.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,clock=vm,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-shutdown -boot menu=off,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/mnt/nfs/volumes/16162d6c-88c9-4052-9ae0-dccdd914a891/active.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,aio=threads,bps_rd=68157440,bps_wr=68157440,iops_rd=325,iops_wr=325 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -drive if=none,id=drive-ide0-0-0,readonly=on,format=raw -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:46:0d:c9,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/f1b3b8b7-7b0e-4eab-afef-06d577d6544d.agent,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/f1b3b8b7-7b0e-4eab-afef-06d577d6544d.cloud.agent,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.cloud.guest_agent.1 -device usb-tablet,id=input0 -vnc 0.0.0.0:3,password -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -sandbox on -device pvpanic -- mg