Re: Bus error on savecore
> > 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. Works now. Thanks! Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: [EMAIL PROTECTED], Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Bus error on savecore
> 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 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.c2000/05/09 22:20:14 1.33 +++ sbin/savecore/savecore.c2000/09/01 01:56:01 @@ -108,7 +108,7 @@ intdumpsize; /* 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 */ intdumpfd; /* read/write descriptor on char dev */
Re: Bus error on savecore
Blaz Zupan wrote: > > 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 /. A while ago, passwd was dumping core on a bus error, but that was prior to yesterday's make world. It was when I was su root, using passwd to change a user's password, i.e. passwd user. The core dump came just before the point where the command would have exited anyways. -Donn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Bus error on savecore
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 /. Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: [EMAIL PROTECTED], Tel: +386-2-320-6320, Fax: +386-2-320-6325 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message