WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [BUG] double fault for sale ;)

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [BUG] double fault for sale ;)
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Mon, 29 May 2006 18:03:13 +0200
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 May 2006 09:03:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6a7498fb08ad39210bd11832f3c32287@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <447B0C8D.2060005@xxxxxxx> <6a7498fb08ad39210bd11832f3c32287@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060411)
> Looks like a stack overflow, since the stack pointer is in an "even"
> page which is guard page when running a debug build of Xen. Maybe you
> could hack up some code to get a rough back trace (round the crashing
> stack pointer up to a page boundary then scan a whole page for text
> addresses)?

Done, see attachments for results if someone wants have a quick look,
I'll continue debugging tomorrow.

Nice guess btw, it really is a debug build ;)

cheers,

  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg
(XEN) CPU:    1
(XEN) EIP:    e008:[<ff137512>] get_page_type+0x12/0x63d
(XEN) EFLAGS: 00010296
(XEN) CR3:    00000000
(XEN) eax: 33030001   ebx: ff1c1080   ecx: ff1d4080   edx: ff1d4080
(XEN) esi: 0000001a   edi: ffbf5fac   ebp: ffbf502c   esp: ffbf4f84
(XEN) ds: e010   es: e010   fs: 0000   gs: 0000   ss: e010
(XEN) Xen stack trace from esp=ffbf4f84:
(XEN)   stack overflow fixup
(XEN) Xen stack trace from esp=ffbf5000:
(XEN)    00000001 00000000 00000000 8000000b 8000000c 8000000b ff1d4080 ff1d4080
(XEN)    ff1c1080 0000001a ffbf5fac ffbf504c ff135035 fc418ca8 e0000000 ffbf50ac
(XEN)    00000286 00000000 00000001 ffbf509c ff135a93 fc418ca8 ff1d4080 e0000000
(XEN)    00000096 00000096 00000097 00000286 00000096 00000000 ff1c1080 ffbf50dc
(XEN)    ff183b28 00001087 fc418ca8 00000000 ff1c1080 0000001a ffbf5fac ffbf50dc
(XEN)    ff13c80e 01087063 ff1d4080 ffbf50dc 00000000 ff1c1080 ff1d4480 ff1d4698
(XEN)    01087063 00000000 00000001 00000347 00000000 3d016000 ff1c1080 ffbf511c
(XEN)    ff13cb13 ff1d4080 fec0a000 ff1c3000 00000000 00000000 012b3061 c0007d1d
(XEN)    fec0a000 fe30001c 00000000 00000000 00000000 00000000 ff1c1080 ffbf512c
(XEN)    ff13d89f ff1d4080 00000000 ffbf51dc ff137766 ff1d4080 00000000 00000000
(XEN)    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)    00000000 00000000 00000000 00000000 00000000 00000000 00000000 33030002
(XEN)    33030001 33030001 00000000 00000001 00000000 00000000 00000000 00000000
(XEN)    00000000 00000000 00000000 00000001 00000000 00000000 8000000a
(XEN)    ff135035 fc418ca8 e0000000 ffbf525c 00000282 00000000 00000001 ffbf524c
(XEN)    ff135a93 fc418ca8 ff1d4080 e0000000 00000095 00000095 00000096 00000282
(XEN)    00000095 00000000 ff1c1080 ffbf528c ff183b28 00001087 fc418ca8 00000000
(XEN)    ff1c1080 0000001a ffbf5fac ffbf528c ff13c80e 01087063 ff1d4080 ffbf528c
(XEN)    00000000 ff1c1080 ff1d4480 ff1d4698 01087063 00000000 00000001 00000347
(XEN) ************************************
(XEN) CPU1 DOUBLE FAULT -- system shutdown
(XEN) System needs manual reset.
(XEN) ************************************
+ xm destroy ttylinux
ff135001 <get_page_and_type>:
ff135035:       85 c0                   test   %eax,%eax
--
ff135917 <get_page_from_l1e>:
ff135a93:       89 45 e0                mov    %eax,0xffffffe0(%ebp)
--
ff137500 <get_page_type>:
ff137766:       8b 45 08                mov    0x8(%ebp),%eax
--
ff13c75c <revalidate_l1>:
ff13c80e:       85 c0                   test   %eax,%eax
ff13c8db <ptwr_flush>:
ff13cb13:       89 45 f0                mov    %eax,0xfffffff0(%ebp)
--
ff13d83b <cleanup_writable_pagetable>:
ff13d88a:       74 13                   je     ff13d89f 
<cleanup_writable_pagetable+0x64>
ff13d89f:       8b 45 08                mov    0x8(%ebp),%eax
--
ff183ac0 <map_domain_page>:
ff183b28:       89 45 d8                mov    %eax,0xffffffd8(%ebp)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel