From owner-freebsd-threads@FreeBSD.ORG Wed May 28 07:59:08 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF72537B401; Wed, 28 May 2003 07:59:08 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FD4043FB1; Wed, 28 May 2003 07:59:07 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (h81.vuokselantie10.fi [193.64.42.129]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h4SEx6k8078047; Wed, 28 May 2003 17:59:06 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <00b501c32529$ab429460$812a40c1@PETEX31> From: "Petri Helenius" To: "David Xu" , "Daniel Eischen" References: <3ED4644A.6050401@he.iki.fi> <00ff01c324f7$7571cc20$f001a8c0@davidw2k> Date: Wed, 28 May 2003 17:58:58 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: Daniel Eischen cc: freebsd-threads@freebsd.org Subject: Re: malloc(): error: recursive call X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 14:59:09 -0000 > >Unfortunatly I have run your test program for five minutes without problem. > I think we?re getting close. I suspect you didn?t link the binary static? With same object file and othervise same link line, if I remove -static it runs fine, if I link the binary with -static it fails within a first few seconds. Now, thread guru?s, what happens differently when running statically linked binary? It?s compiled and linked and run on the same box than the non-static one. Pete