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