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: x86-64 VT crash backtrace

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] BUG: x86-64 VT crash backtrace
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Tue, 25 Jul 2006 14:42:04 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, jun.nakajima@xxxxxxxxx
Delivery-date: Tue, 25 Jul 2006 11:42:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <3decfd6f4148bb14adb9e7cf3dfca634@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>
Organization: Red Hat, Inc
References: <44C6408E.4070700@xxxxxxxxxx> <db0800e5f2f7d9a13682b1a1ef9899cc@xxxxxxxxxxxx> <44C65031.4090203@xxxxxxxxxx> <3decfd6f4148bb14adb9e7cf3dfca634@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
Keir Fraser wrote:

But you're running a debug build, so you have a 4kB stack.

That seems wrong.  The debug build enables extra code, so if anything
it would need more stack space than the standard build. Simply running
the extra code in the same stack space should be enough...

Does the attached patch look remotely sane?

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--- ./xen/include/asm-x86/config.h.stackstack   2006-07-25 14:38:28.000000000 
-0400
+++ ./xen/include/asm-x86/config.h      2006-07-25 14:38:31.000000000 -0400
@@ -67,10 +67,10 @@
 
 #ifndef NDEBUG
 #define MEMORY_GUARD
+#endif
 #ifdef __x86_64__
 #define STACK_ORDER 2
 #endif
-#endif
 
 #ifndef STACK_ORDER
 #define STACK_ORDER 1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel