Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-userlevel
Date: 06/21/2005 12:52:32
On Jun 21, 2005, at 12:48 PM, Bill Studenmund wrote:

> If the program is trying to printf() something, it's trying to say
> something. Whether or not it's in unrecoverable error land or not, my
> experience is it's easier to figure out what's wrong if you see
> "client=(null)" or some such in an output file rather than getting  
> a core
> dump. Yes, you can figure it out from the core dump, but the printf  
> says
> it quicker.

In the case of "client=(null)", maybe.  But consider cases where you  
would not be able to distinguish the magic from user-provided input.

-- thorpej