From owner-freebsd-hackers Tue Apr 2 11:17:54 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA17318 for hackers-outgoing; Tue, 2 Apr 1996 11:17:54 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA17307 for ; Tue, 2 Apr 1996 11:17:46 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA26438 for hackers@freebsd.org; Tue, 2 Apr 1996 21:14:42 +0200 From: Luigi Rizzo Message-Id: <199604021914.VAA26438@labinfo.iet.unipi.it> Subject: phkmalloc and buggy sw... To: hackers@freebsd.org Date: Tue, 2 Apr 1996 21:14:41 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It happened to me twice now... I have some software which intermixes printf() and putchar(), and since the switch to phkmalloc it coredumps at times on the putchar() call. Just for the records... I can't tell if there is something terribly wrong in my program or it is putchar which must be fixed. I solve the problem by replacing putchar('\n') with printf("\n"), and it doesn't coredump anymore. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================