[libvirt] libvirtd(0.9.10) crashed with Segmentation fault, Is someone ever come up against this problem , thanks

Osier Yang jyang at redhat.com
Thu Mar 21 04:00:31 UTC 2013


On 2013年03月21日 10:14, Caizhifeng wrote:
> HI all,
>
> Libvirtd of version 0.9.10, when several VMs migrate intercurrently,
> there comes up with the follow problem.
>
> Has anyone come up against this problem? How can I fix it, Any
> suggestions appreciated.
>
> thank you very much.
>
> (gdb) c
>
> Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
>
> 0x00007fce7b332fde in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>
> (gdb) bt
>
> #0 0x00007fce7b332fde in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>
> #1 0x00007fce7b335a45 in malloc () from /lib/x86_64-linux-gnu/libc.so.6

Hum, this looks like we have memory corruption somewhere prior to this
crash. Just like:

https://bugzilla.redhat.com/show_bug.cgi?id=910422

Could you try to see if it can be produced with setting MALLOC_CHECK_
to 1 when starting libvirtd (follow comment 15 of 910422?)

https://bugzilla.redhat.com/show_bug.cgi?id=910422#c15).

We have to find out the corruption anyway if it's the same cause with
#BZ 910422, otherwise it can bite us from time to time.

>
> #2 0x00007fce7b330314 in _IO_str_overflow () from
> /lib/x86_64-linux-gnu/libc.so.6
>
> #3 0x00007fce7b32ebcd in _IO_default_xsputn () from
> /lib/x86_64-linux-gnu/libc.so.6
>
> #4 0x00007fce7b2fcbee in vfprintf () from /lib/x86_64-linux-gnu/libc.so.6
>
> #5 0x00007fce7b325b64 in vasprintf () from /lib/x86_64-linux-gnu/libc.so.6
>
> #6 0x0000000000504abc in virVasprintf (strp=0x7fce780b3bc0,
> fmt=0x7fce7ccbf8d1 "%d: %s : %s:%lld : %s\n", list=0x7fce780b3a20)
>
> at util/util.c:1809
>
> #7 0x0000000000504ba1 in virAsprintf (strp=0x7fce780b3bc0,
> fmt=0x7fce7ccbf8d1 "%d: %s : %s:%lld : %s\n") at util/util.c:1827
>
> #8 0x00007fce7cba52a7 in virLogFormatString (msg=0x7fce780b3bc0,
> funcname=0x7fce7cce7320 "virNetServerHandleJob", linenr=138,
>
> priority=1, str=0x7fce60011440 "server=0x252acf0 client=0x252f020
> message=0x25363c0 prog=0x25361b0") at util/logging.c:640
>
> #9 0x00007fce7cba5505 in virLogMessage (category=0x7fce7cce6f17
> "file.rpc/virnetserver.c", priority=1,
>
> funcname=0x7fce7cce7320 "virNetServerHandleJob", linenr=138, flags=0,
>
> fmt=0x7fce7cce6ef0 "server=%p client=%p message=%p prog=%p") at
> util/logging.c:725
>
> #10 0x00007fce7cc8ca7e in virNetServerHandleJob (jobOpaque=0x2531ca0,
> opaque=0x252acf0) at rpc/virnetserver.c:137
>
> #11 0x00007fce7cbb52c6 in virThreadPoolWorker (opaque=0x25107b0) at
> util/threadpool.c:144
>
> #12 0x00007fce7cbb4ccf in virThreadHelper (data=0x2510720) at
> util/threads-pthread.c:165
>
> #13 0x00007fce7b87ae9a in start_thread () from
> /lib/x86_64-linux-gnu/libpthread.so.0
>
> #14 0x00007fce7b3a54bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
>
> #15 0x0000000000000000 in ?? ()
>
> (gdb) c
>
> Continuing.
>
> [Thread 0x7fce790b6700 (LWP 37763) exited]
>
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地
> 址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄
> 露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人
> 并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from
> H3C, which is
> intended only for the person or entity whose address is listed above.
> Any use of the
> information contained herein in any way (including, but not limited to,
> total or partial
> disclosure, reproduction, or dissemination) by persons other than the
> intended
> recipient(s) is prohibited. If you receive this e-mail in error, please
> notify the sender
> by phone or email immediately and delete it!
>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list