Date: Sat, 02 Sep 2000 17:42:30 +0200 From: Tor.Egge@fast.no To: blaz@amis.net Cc: freebsd-current@FreeBSD.ORG Subject: Re: Bus error on savecore Message-ID: <200009021542.RAA70148@midten.fast.no> In-Reply-To: Your message of "Sat, 2 Sep 2000 14:18:57 %2B0200 (CEST)" References: <Pine.BSF.4.21.0009021418060.65370-100000@titanic.medinet.si>
next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Sep__2_17:40:49_2000)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Has anyone else noticed savecore core dumping on a bus error? I think it > started on my yesterday's make world. Redid the make world today with the > latest sources and it's still doing it. Leaves a nice savecore.core in /. Try the enclosed patch. - Tor Egge ----Next_Part(Sat_Sep__2_17:40:49_2000)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Index: sbin/savecore/savecore.c =================================================================== RCS file: /home/ncvs/src/sbin/savecore/savecore.c,v retrieving revision 1.33 diff -u -r1.33 savecore.c --- sbin/savecore/savecore.c 2000/05/09 22:20:14 1.33 +++ sbin/savecore/savecore.c 2000/09/01 01:56:01 @@ -108,7 +108,7 @@ int dumpsize; /* amount of memory dumped */ char *kernel; -char *dirname; /* directory to save dumps in */ +static char *dirname; /* directory to save dumps in */ char *ddname; /* name of dump device */ dev_t dumpdev; /* dump device */ int dumpfd; /* read/write descriptor on char dev */ ----Next_Part(Sat_Sep__2_17:40:49_2000)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009021542.RAA70148>