From owner-freebsd-current@FreeBSD.ORG Mon Jan 16 11:50:42 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46A5816A41F for ; Mon, 16 Jan 2006 11:50:42 +0000 (GMT) (envelope-from alastair@newmillennium.net.au) Received: from locutus.newmillennium.net.au (220-245-208-145.static.tpgi.com.au [220.245.208.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561D643D49 for ; Mon, 16 Jan 2006 11:50:38 +0000 (GMT) (envelope-from alastair@newmillennium.net.au) Received: from riker (riker.nmn.cafn [10.0.1.2]) by locutus.newmillennium.net.au (8.13.4/8.13.1) with ESMTP id k0GBoamk010563 for ; Mon, 16 Jan 2006 22:50:37 +1100 (EST) (envelope-from alastair@newmillennium.net.au) Message-Id: <200601161150.k0GBoamk010563@locutus.newmillennium.net.au> From: Sender: "Alastair D'Silva" To: Date: Mon, 16 Jan 2006 22:50:36 +1100 Organization: New Millennium Networking MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcYakxCc15PO+bQmTNuXVZQ1CdiD2Q== Cc: Subject: Malloc bugs exhibited in ports/mail/dovecot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 11:50:42 -0000 I get core dumps in Dovecot under a recent -CURRENT, Using revision 1.95 of malloc.c: (gdb) bt #0 0x0a250642 in arena_new (arena=0xa2d5140, malloced=false, recursive=true) at /usr/src/lib/libc/stdlib/malloc.c:3520 #1 0x0a2520a5 in malloc_init_hard () at /usr/src/lib/libc/stdlib/malloc.c:4444 #2 0x0a251b0e in malloc_init () at /usr/src/lib/libc/stdlib/malloc.c:4233 #3 0x0a252222 in malloc (size=32784) at /usr/src/lib/libc/stdlib/malloc.c:4528 #4 0x0805352a in mem_block_alloc (min_size=32768) at data-stack.c:190 #5 0x080538f5 in data_stack_init () at data-stack.c:360 #6 0x080575cf in lib_init () at lib.c:24 #7 0x0804d8f2 in main (argc=1, argv=0xbfbfecd4, envp=0x0) at main.c:281 Reverting malloc.c to 1.92 fixes the problem. -- Alastair D'Silva mob: 0423 762 819 Networking Consultant fax: 0413 181 661 New Millennium Networking web: http://www.newmillennium.net.au