[Pkg-xen-devel] Bug#649349: Bug#649349: Bug#649349: Bug#649349: xen-hypervisor-4.1-amd64: pygrub fails due to invalid opcode trapped

Ian Campbell ijc at hellion.org.uk
Tue Nov 22 13:18:03 UTC 2011


On Mon, 2011-11-21 at 23:31 +0100, Alexandre Vaissière wrote:
> Le 21/11/2011 22:08, Bastian Blank a écrit :
> > Pleast install libc6-dbg, make sure you have an uptodate system and call
> > "disassemble" when it dies.
> >
> (gdb) info share ld-linux
> From                To                  Syms Read   Shared Object Library
> 0x00007ffff7dddaf0  0x00007ffff7df5833  Yes (*)    
> /lib64/ld-linux-x86-64.so.2
> (*): Shared library is missing debugging information.
> (gdb) add-symbol-file /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so
> 0x00007ffff7dddaf0
> add symbol table from file
> "/usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so" at
>     .text_addr = 0x7ffff7dddaf0
> (y or n) y
> Reading symbols from /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so...done.
> (gdb) bt
> #0  ?? () at ../sysdeps/x86_64/dl-trampoline.S:189 from
> /lib64/ld-linux-x86-64.so.2
> #1  0x00007ffff7de75c6 in add_dependency (flags=<optimized out>,
> map=0x0, undef_map=<optimized out>) at dl-lookup.c:621
> #2  _dl_lookup_symbol_x (undef_name=<optimized out>, undef_map=0xace5c0,
> ref=0x7fffffffdef8, symbol_scope=<optimized out>, version=0x0,
> type_class=<optimized out>, flags=1, skip_map=
>     0x0) at dl-lookup.c:824
> #3  0x00007ffff7dea742 in _dl_fixup (l=<optimized out>,
> reloc_arg=<optimized out>) at ../elf/dl-runtime.c:119
> #4  0x00007ffff7df0695 in ?? () at ../sysdeps/x86_64/dl-trampoline.S:41
> from /lib64/ld-linux-x86-64.so.2
> #5  0x00007ffff54baa24 in ext2fs_open2 () from
> /lib/x86_64-linux-gnu/libext2fs.so.2
> #6  0x00007ffff56dca15 in ?? () from
> /usr/lib/xen-4.1/lib/fs/ext2fs-lib/fsimage.so
> #7  0x00007ffff5ae28a5 in ?? () from
> /usr/lib/xen-4.1/bin/../lib/python/../libfsimage.so
> #8  0x00007ffff5ae24cc in fsi_open_fsimage () from
> /usr/lib/xen-4.1/bin/../lib/python/../libfsimage.so
> #9  0x00007ffff5ce5572 in ?? () from
> /usr/lib/xen-4.1/bin/../lib/python/fsimage.so
[...]
> (gdb) disassemble
> No function contains program counter for selected frame.

Very strange. Does "x/32i <failing IP address>" produce anything?

I can't reproduce this on my system. I've got:

$ head -n1 /usr/lib/xen-4.1/bin/pygrub
#!/usr/bin/python2.7
$ dpkg -l xen-utils-4.1 python2.7 libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                                               Description
[...]
ii  libc6                                                 2.13-11                                               Embedded GNU C Library: Shared libraries
ii  python2.7                                             2.7.2-3                                               An interactive high-level object-oriented language (version 2.7)
ii  xen-utils-4.1                                         4.1.1-3                                               XEN administrative tools

Looking at the eglibc source (2.13-21) x86_64/dl-trampoline.S:139 is:
        vmovdqa %ymm0, %fs:RTLD_SAVESPACE_SSE+0*YMM_SIZE

(I think upgraded to 2.13-21 just in case, no change)

Ian.

-- 
Ian Campbell
Current Noise: Rwake - The Finality

QOTD:
	"East is east... and let's keep it that way."






More information about the Pkg-xen-devel mailing list