qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] kvm segfaulting


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] kvm segfaulting
Date: Mon, 11 Feb 2013 10:40:29 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Feb 11, 2013 at 08:46:03AM +0100, Stefan Priebe - Profihost AG wrote:
> i've seen segfaults of the kvm process. Sadly i've no core dumps just
> the line from dmesg:
> kvm[26268]: segfault at c050 ip 00007fcfc3465eac sp 00007fffe85a0d00
> error 4 in kvm[7fcfc3223000+3ba000]
> 
> Is it possible to get the function and some more details out of this
> line? I've symbol files and debugging files of the kvm binary.

Accessed address: c050
Address of the instruction that segfaulted: 00007fcfc3465eac
Base memory address where kvm code was mmapped: 7fcfc3223000
Length of mmap: 3ba000

Try the following:

  $ printf '%x' $((0x7fcfc3465eac - 0x7fcfc3223000))
  242eac
  $ addr2line -e path/to/qemu-kvm-symbols -f 242eac

I also suggest posting about 10 lines before/after 0x242eac from the
objdump -d path/to/kvm output.  That way we can sanity check that the
instruction accesses memory and see what the surrounding instructions
are doing.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]