All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
To: kvm list <kvm@vger.kernel.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Marcelo Tosatti <mtosatti@redhat.com>
Cc: "Huangweidong \(C\)" <weidong.huang@huawei.com>,
	Zanghongyong <zanghongyong@huawei.com>,
	Luonengjun <luonengjun@huawei.com>,
	Zhanghuanzhong <zhanghuanzhong@huawei.com>
Subject: qemu crashed when starting vm(kvm) with vnc connect
Date: Tue, 2 Apr 2013 09:02:02 +0000	[thread overview]
Message-ID: <D3E216785288A145B7BC975F83A2ED103FE154C1@szxeml556-mbx.china.huawei.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

I start a kvm VM with vnc(using the zrle protocol) connect, sometimes qemu program crashed during starting period, received signal SIGABRT.
Trying about 20 times, this crash may be reproduced.
I guess the cause memory corruption or double free.

The backtrace shown as below:

0x00007f32eda3dd95 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f32eda3dd95 in raise () from /lib64/libc.so.6
#1  0x00007f32eda3f2ab in abort () from /lib64/libc.so.6
#2  0x00007f32eda77ece in __libc_message () from /lib64/libc.so.6
#3  0x00007f32eda7dc06 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007f32eda7ecda in _int_free () from /lib64/libc.so.6
#5  0x00007f32efd3452c in free_and_trace (mem=0x7f3290000cd0) at vl.c:2880
#6  0x00007f32efd251a1 in buffer_free (buffer=0x7f32f0c82890) at ui/vnc.c:505
#7  0x00007f32efd20c56 in vnc_zrle_clear (vs=0x7f32f0c762d0)
    at ui/vnc-enc-zrle.c:364
#8  0x00007f32efd26d07 in vnc_disconnect_finish (vs=0x7f32f0c762d0)
    at ui/vnc.c:1050
#9  0x00007f32efd275c5 in vnc_client_read (opaque=0x7f32f0c762d0)
    at ui/vnc.c:1349
#10 0x00007f32efcb397c in qemu_iohandler_poll (readfds=0x7f32f074d020,
    writefds=0x7f32f074d0a0, xfds=0x7f32f074d120, ret=1) at iohandler.c:124
#11 0x00007f32efcb46e8 in main_loop_wait (nonblocking=0) at main-loop.c:417
#12 0x00007f32efd31159 in main_loop () at vl.c:2133
#13 0x00007f32efd38070 in main (argc=46, argv=0x7fff7f5df178,
    envp=0x7fff7f5df2f0) at vl.c:4481

[-- Attachment #2: Type: text/html, Size: 5108 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
To: kvm list <kvm@vger.kernel.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Marcelo Tosatti <mtosatti@redhat.com>
Cc: "Huangweidong (C)" <weidong.huang@huawei.com>,
	Zanghongyong <zanghongyong@huawei.com>,
	Luonengjun <luonengjun@huawei.com>,
	Zhanghuanzhong <zhanghuanzhong@huawei.com>
Subject: [Qemu-devel] qemu crashed when starting vm(kvm) with vnc connect
Date: Tue, 2 Apr 2013 09:02:02 +0000	[thread overview]
Message-ID: <D3E216785288A145B7BC975F83A2ED103FE154C1@szxeml556-mbx.china.huawei.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

I start a kvm VM with vnc(using the zrle protocol) connect, sometimes qemu program crashed during starting period, received signal SIGABRT.
Trying about 20 times, this crash may be reproduced.
I guess the cause memory corruption or double free.

The backtrace shown as below:

0x00007f32eda3dd95 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f32eda3dd95 in raise () from /lib64/libc.so.6
#1  0x00007f32eda3f2ab in abort () from /lib64/libc.so.6
#2  0x00007f32eda77ece in __libc_message () from /lib64/libc.so.6
#3  0x00007f32eda7dc06 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007f32eda7ecda in _int_free () from /lib64/libc.so.6
#5  0x00007f32efd3452c in free_and_trace (mem=0x7f3290000cd0) at vl.c:2880
#6  0x00007f32efd251a1 in buffer_free (buffer=0x7f32f0c82890) at ui/vnc.c:505
#7  0x00007f32efd20c56 in vnc_zrle_clear (vs=0x7f32f0c762d0)
    at ui/vnc-enc-zrle.c:364
#8  0x00007f32efd26d07 in vnc_disconnect_finish (vs=0x7f32f0c762d0)
    at ui/vnc.c:1050
#9  0x00007f32efd275c5 in vnc_client_read (opaque=0x7f32f0c762d0)
    at ui/vnc.c:1349
#10 0x00007f32efcb397c in qemu_iohandler_poll (readfds=0x7f32f074d020,
    writefds=0x7f32f074d0a0, xfds=0x7f32f074d120, ret=1) at iohandler.c:124
#11 0x00007f32efcb46e8 in main_loop_wait (nonblocking=0) at main-loop.c:417
#12 0x00007f32efd31159 in main_loop () at vl.c:2133
#13 0x00007f32efd38070 in main (argc=46, argv=0x7fff7f5df178,
    envp=0x7fff7f5df2f0) at vl.c:4481

[-- Attachment #2: Type: text/html, Size: 5108 bytes --]

             reply	other threads:[~2013-04-02  9:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02  9:02 Zhanghaoyu (A) [this message]
2013-04-02  9:02 ` [Qemu-devel] qemu crashed when starting vm(kvm) with vnc connect Zhanghaoyu (A)
2013-04-05  6:34 ` Stefan Hajnoczi
2013-04-05  6:34   ` Stefan Hajnoczi
2013-04-07  4:58   ` 答复: " Zhanghaoyu (A)
2013-04-07  4:58     ` [Qemu-devel] " Zhanghaoyu (A)
2013-04-08 10:50     ` 答复: [Qemu-devel] " Stefan Hajnoczi
2013-04-08 10:50       ` [Qemu-devel] 答复: " Stefan Hajnoczi
2013-04-08 12:27       ` reply: reply: [Qemu-devel] " Zhanghaoyu (A)
2013-04-08 12:27         ` [Qemu-devel] reply: reply: " Zhanghaoyu (A)
2013-04-11  9:29         ` Stefan Hajnoczi
2013-04-11  9:29           ` Stefan Hajnoczi
2013-04-18  9:25           ` [Qemu-devel] " Gerd Hoffmann
2013-04-18  9:25             ` Gerd Hoffmann
2013-04-18  9:25             ` Gerd Hoffmann
2013-04-18 11:19             ` reply: [Qemu-devel] " Zhanghaoyu (A)
2013-04-18 11:19               ` [Qemu-devel] reply: " Zhanghaoyu (A)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D3E216785288A145B7BC975F83A2ED103FE154C1@szxeml556-mbx.china.huawei.com \
    --to=haoyu.zhang@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luonengjun@huawei.com \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weidong.huang@huawei.com \
    --cc=zanghongyong@huawei.com \
    --cc=zhanghuanzhong@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.