From owner-freebsd-hackers Wed Apr 3 02:27:07 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00700 for hackers-outgoing; Wed, 3 Apr 1996 02:27:07 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA00660 for ; Wed, 3 Apr 1996 02:27:00 -0800 (PST) Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by who.cdrom.com (8.6.12/8.6.11) with SMTP id BAA25177 for ; Wed, 3 Apr 1996 01:32:52 -0800 Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Wed, 3 Apr 96 11:29 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for freebsd-hackers@freebsd.org id ; Wed, 3 Apr 96 11:28 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA14346; Wed, 3 Apr 96 11:28:26 +0200 Date: Wed, 3 Apr 96 11:28:26 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9604030928.AA14346@wavehh.hanse.de> To: luigi@labinfo.iet.unipi.it Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: phkmalloc and buggy sw... References: <199604021914.VAA26438@labinfo.iet.unipi.it> Reply-To: cracauer@wavehh.hanse.de Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk luigi@labinfo.IEt.unipi.IT (Luigi Rizzo) wrote: >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. I'm running a NetBSD-1.1B/i386 with phkmalloc and would really appreciate it when you could send me a test program that fails on your machine. Looks like a bug in libc for me, not in phkmalloc. I would be interested to see how the normal malloc could get around without dumping core. Thanks in advance Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer - BSD User Group Hamburg BSD, Lisp and other programming info http://www.bik-gmbh.de/~cracauer