From owner-freebsd-ports@freebsd.org Sun Jan 21 03:05:54 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C7A2EB3E79 for ; Sun, 21 Jan 2018 03:05:54 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 43F987810B for ; Sun, 21 Jan 2018 03:05:54 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4358EEB3E76; Sun, 21 Jan 2018 03:05:54 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43099EB3E75 for ; Sun, 21 Jan 2018 03:05:54 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-5.antispamcloud.com (out1-5.antispamcloud.com [185.201.16.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8F4378105 for ; Sun, 21 Jan 2018 03:05:53 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx36.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ed3ko-0005ca-3N for ports@FreeBSD.org; Sun, 21 Jan 2018 01:44:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sHJbEePAdLyRKygl1+Bx+Kvmaz/xKelSvfZeihtE7B8=; b=bzA15cDCbKIF/m3ASJB3akIn+D 7PKd95HCVgl9FmdVLSvuSMyX2O9VN6rMnE/VAtCAUPQK42iG5UsVIAEhZbm8mMkK1L7zWx6PHLRSK 52XB1jCr1mFTiBCFApFSgw8R+zNSjV19LiBQXx+/QY4wIJBQ/eeqEGxI2uhbs+pLdMaD0htaYZLZ5 9wPLRl2eAWPK52aAc0pczFscW+vXv9uhKPbGf1VD14CNykm4Nc+E9BpU0S2ZJJSW34ujJPAQDUquF 4+VMww7kxSOuZauEwyTPZL76qnltG51gLIMnp78TI+VrtI4oYu0rCPaa6cyhSI0pH+NGFZFv+lcyF 88XMzbZw==; Received: from [114.125.86.159] (port=18903 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ed3k3-0003Ju-8M; Sun, 21 Jan 2018 07:44:11 +0700 Date: Sun, 21 Jan 2018 08:44:00 +0800 From: Erich Dollansky To: Guido Falsi Cc: "'ports@FreeBSD.org'" Subject: Re: mousepad memory leak Message-ID: <20180121084315.7f3696a7.freebsd.ed.lists@sumeritec.com> In-Reply-To: <5e86f329-5bda-2494-c6e7-01482b685f20@madpilot.net> References: <20180119140623.3a8116cc.freebsd.ed.lists@sumeritec.com> <5e86f329-5bda-2494-c6e7-01482b685f20@madpilot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.42) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5qwIa4LqWM3XETe8GNEhNJMXv9krsgRhBn0ayn6qsUc7I5ZqWWdJz7N9 akKGbGS0o+uU1BmoHjMBQ3n6s1gbXgyNMFJAGzyB46YOKeij0tSmzWklAAjrby83HqYGW2NKQ2pJ qmRxoq516XRnFFB5q4GnG+eTs8kbKBy2XcsLzqKfOtR4tWDzNDnQFaD8d4+NGMYgHCJIwuGa4wHu gME1sRS0TELXlsHmbQud29jV/a+DpiRGJYe7hjeOeS20uBa0Ht+yaoSwa57PcuqfCGlvO5egsseA 5eHMmH97Mx9OFBI5RgudzGUUerEAVH/t0RiO6pxfwYHYuG/6nWZTso9YzDzsj5xBssn0tIIHA3aH QzCqWIPa7gCjqD58JsuMBvF7SallWDcUuJsrtYMZxyQZ5rrHJLAog+xhoE1SNtiS0/scR64dodD7 udB+zcx8OjSt1WC/I78nlgPRLEb1egqo3jwSjoXDm2V1p5BMPuhfQhsmI5iSiV2fpzn1SBcNY9eT PjYqB6D2RmuDPoFaEW17o3ko+qWjHO9kxCVU6ivMSZAdB5hQ6nsDvccjqgmDvD9Wh0RmhkQ6rae1 T+oDW89lCVVWA+dUn9dXN5gVyYb8Xop7du6wRhs3xkdsDZoNCg+zXnSl7QKP5pmxQPEqAkoWF/Ic SyO1Wl59p9ZTVufmcETTctgzcDoFd+96Xw4QUNtTnTJh2GnMLWppjS2Jv8fq72Sg8jVgnxj8ihgx 8NFJ5YvRwsj2KGN+cJhYZzXnyvl3ARiXYpmGRqLoqCVipDGlRxqgU66xIU04MR5oAYbB/7jfK/kC Taq+75E4A7X8JDq81eRp5+Ss4q7+2PHchLPerbAZzoOjXjsSkBAXI76FjEzk3mGyjSnaoQr28ssf ojBfD2FgYQviufKbvaomkka1MBg= X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2018 03:05:54 -0000 Hi, On Fri, 19 Jan 2018 10:46:41 +0100 Guido Falsi wrote: > On 01/19/2018 08:41, Erich Dollansky wrote: > > Hi, > > > > when I open more than nine or ten mousepads in parallel, I can still > > use one or two of the open windows but the other mousepad windows > > start to allocate memory until it is exhausted. > > It's not easy to diagnose such a problem for people not knowing the > details of mousepad sources and the libraries it uses. I know, it looks so easy but it needs a very good knowledge of what is going on inside. > > The people who are most able to help you are the XFCE guys (mousepad > being part of the xfce desktop). Is this issue FreeBSD specific? If > not you should definitely report this to the upstream developers. > We are a FreeBSD-only shop. > I'll make a pair of tests in virtual machines to see what happens. > > Can you confirm simple steps to reproduce as follows: > > - Open 2 mousepad windows and open documents in them No, you have to open only one document in one windows. On a machine with only 4GB or RAM, it happens around 10 windows with 10 documents. The documents are small. Not more than 4KB, plain text, no > - do some work in one or both Do nothing but continue to open new windows and then open a single document in them. I change also workspace between. > - wait, the leak happens in idle windows It just happens when the next window is opened. The text never appears and the text in most other windows disappears. The windows with text still visible in them are fully usable. I did not notice any limitations in them. When I tried the same thing on a machine with 8GB RAM, nothing happened. It might will happen too when much more windows are opened. Most important, on the machine with only 4GB, I can reproduce it 100%. Erich