From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: crash in trace.c with large extra_data Date: Mon, 11 Jul 2011 16:44:05 +0200 Message-ID: <20110711144404.GA17475@aepfle.de> References: <20110711140256.GA23061@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Jul 11, George Dunlap wrote: > The general idea is that callers of trace_var() *shouldn't* be calling > with extra_words > TRACE_EXTRA_MAX. It's an assert so that it breaks > on debug builds, allowing programmers to fix the mistake (obviously > mine in this case), but not on production builds. > > I suppose it could be changed into a warning of some kind instead. George, a simple printk() would do it I think. In this unfortunate case the system does not even reboot, need to find someone to power cycle the box.. Olaf