From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos O'Donell Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks Date: Thu, 19 Nov 2020 11:03:27 -0500 Organization: Red Hat Message-ID: References: <83ft57raog.fsf@gnu.org> <871rgrk9g5.fsf@oldenburg2.str.redhat.com> <83d00br9xk.fsf@gnu.org> <87tutnitta.fsf@oldenburg2.str.redhat.com> <83a6vfr8p0.fsf@gnu.org> <87sg96uykt.fsf@gnus.jao.io> <837dqhpho8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25806"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 Cc: 43389@debbugs.gnu.org, fweimer@redhat.com, "Jose A. Ortega Ruiz" , dj@redhat.com To: Jean Louis , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 17:04:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfmPu-0006WX-Es for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 17:04:14 +0100 Original-Received: from localhost ([::1]:53630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfmPt-000845-A1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 11:04:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfmPk-00080x-7r for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:04:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfmPi-0001W1-0t for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfmPh-00017c-Sg for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Carlos O'Donell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs Original-Received: via spool by 43389-submit@debbugs.gnu.org id=B43389.16058018304286 (code B ref 43389); Thu, 19 Nov 2020 16:04:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 19 Nov 2020 16:03:50 +0000 Original-Received: from localhost ([127.0.0.1]:40724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfmPN-00016q-Jz for submit@debbugs.gnu.org; Thu, 19 Nov 2020 11:03:49 -0500 Original-Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:44325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfmPJ-00016d-6J for 43389@debbugs.gnu.org; Thu, 19 Nov 2020 11:03:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605801817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpvAr6HSGIpr94nx3UIddmz3701V66++0bx8xX6LtaY=; b=KstETR2p+UhHbFQC/KKRRj68ntfcdkf8qsI8WjFmo9gYGSg70BgjEAtWN1dAwPw35ycnwC O47j0braDVvJFP3X65htwCIKLkz8gNrx0jjbTcuKIdef2xqAjORDp3398Z9BYYBHF6I0U5 G0TB21kL3ERQfAgnIRtRSc1AU2C1A1U= Original-Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-282-R40pEMaqNwCmgeR_nz7N1Q-1; Thu, 19 Nov 2020 11:03:30 -0500 X-MC-Unique: R40pEMaqNwCmgeR_nz7N1Q-1 Original-Received: by mail-qt1-f199.google.com with SMTP id l67so5013448qte.6 for <43389@debbugs.gnu.org>; Thu, 19 Nov 2020 08:03:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=fpvAr6HSGIpr94nx3UIddmz3701V66++0bx8xX6LtaY=; b=NNeVr75bGYrNRw2BKjVRKzWCqppJPVHxmG77QsNZydrQNQobWkBMYn8cYNVHMcmWH1 sZIOTeeA97D14DUdmO63BdlTrRJvnkExLXaZG0O9G4gMg2UM6pbNsSO19qPoz6ZNcoWH Z/ijuwu2GTUjiFvy2jzBMmixAfWeYXI0xW4PANBANKWIaKGcqHtPxglHM0AbRzh+lPEI CONGEBeapRZ9vUHMc02dzkGUinYLvlb9CsK5wjfb/Hq8XSgc+kJRTSv9ObVUGuxbl3VV KfEpSHEroDaSxprVul30PTa2AvPWl7uV3dLPir0b4XVgPGABC43HPWhSVPsaSBT9kLKf Vttw== X-Gm-Message-State: AOAM5301jWvvLVQNNcMRLHlLvGgOcpB3+J26HDhHIRLgmV/oKZSwT4Dc 36co7ugrIOQhCIOcwq0F64VV6RH1jNrZv+XAeMNirfI387zpHlG6gc6kKxyWiK35jLedILvY6xz XR0Nfb2Zjsxv97Vk= X-Received: by 2002:aed:22c5:: with SMTP id q5mr11457143qtc.247.1605801809791; Thu, 19 Nov 2020 08:03:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6OCTlsR99oVqchPj+EgV18AW+2KiSfRKiJEkDCDdE2P89wzmGrNm25nvHmSa3dyE0R4eeOw== X-Received: by 2002:aed:22c5:: with SMTP id q5mr11457122qtc.247.1605801809569; Thu, 19 Nov 2020 08:03:29 -0800 (PST) Original-Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id p73sm115274qka.79.2020.11.19.08.03.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Nov 2020 08:03:28 -0800 (PST) In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=carlos@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193726 Archived-At: On 11/19/20 9:34 AM, Jean Louis wrote: > * Eli Zaretskii [2020-11-19 17:05]: >> Thanks. If you can afford it, would you please try using the malloc >> tracing tools pointed to here: >> >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43389#158 > > I have built it. Slight problem is that I do not get any output as > written that I should get, something like this: > > mtrace: writing to /tmp/mtrace.mtr.706 This was changed recently in commit 4594db1defd40289192a0ea641c50278277f1737 because output to stdout interferes with the application output so it is disabled by default. The docs show that MTRACE_CTL_FILE will dictate where the trace is written to and that MTRACE_CTL_VERBOSE will output verbose information to stdout. I've pushed a doc update to indicate that in the example. > I do not see here: > > LD_PRELOAD=./libmtrace.so ls > block_size_rss.c INSTALL mtrace.c trace2wl.c trace_hist.sh > config.log libmtrace.so mtrace.h trace_allocs trace_plot.m > config.status LICENSES README.md trace_allocs.c trace_run > configure MAINTAINERS sample.c trace_analysis.sh trace_run.c > configure.ac Makefile statistics.c trace_block_size_rss trace_sample > COPYING Makefile.in tests trace_dump trace_statistics > COPYING.LIB malloc.h trace2wl trace_dump.c util.h > > But I did get something in /tmp/mtrace.mtr.XXX > > So I will run Emacs that way. That should work. -- Cheers, Carlos.