From owner-freebsd-hackers Thu Jan 28 19:11:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06763 for freebsd-hackers-outgoing; Thu, 28 Jan 1999 19:11:17 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA06752 for ; Thu, 28 Jan 1999 19:11:15 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id UAA14707; Thu, 28 Jan 1999 20:10:45 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp02.primenet.com, id smtpd014626; Thu Jan 28 20:10:38 1999 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id UAA14527; Thu, 28 Jan 1999 20:10:28 -0700 (MST) From: Terry Lambert Message-Id: <199901290310.UAA14527@usr07.primenet.com> Subject: Re: pthreads memory leak in 3.0R ? To: apg@demos.net (Paul Antonov) Date: Fri, 29 Jan 1999 03:10:20 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Paul Antonov" at Jan 23, 99 08:05:18 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > while developing some application using ACE I discovered that program > leaks memory when creating/destroying ACE tasks. I've tried to > create/delete plain threads with ACE Thread_Manager, and effect is the > same. Finally, I wrote the following program, and it consumes lots of > memory during run. Something is wrong, I suppose? You are causing it to do the stack allocation itself. You should look to see if the stack is being correctly destructed, or leaked. Sorr for the delay in reply, but it appears no one else has replied, so it's at least something obvious to try. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message