From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70224 invoked by alias); 9 Aug 2018 06:27:52 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 70204 invoked by uid 89); 9 Aug 2018 06:27:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:403 X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Aug 2018 06:27:49 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 859CA40241C3; Thu, 9 Aug 2018 06:27:48 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-116-98.ams2.redhat.com [10.36.116.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F3D361C5BB; Thu, 9 Aug 2018 06:27:47 +0000 (UTC) Subject: Re: Old Python binary eats all mem after upgrade to 2.28 To: Michael Brunnbauer Cc: libc-help@sourceware.org References: <20180808135439.GA2177@netestate.de> <20180808140305.GA2306@netestate.de> <0021a68e-80ab-31fd-1869-941dfca35a10@redhat.com> <20180808202301.GA22704@netestate.de> From: Florian Weimer Message-ID: Date: Thu, 09 Aug 2018 06:27:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180808202301.GA22704@netestate.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00023.txt.bz2 On 08/08/2018 10:23 PM, Michael Brunnbauer wrote: > #6 0x0806fb2f in posix_listdir (self=0x0, args=0x80d542c) > at ./Modules/posixmodule.c:1028 I would expect that posix_listdir is looping for some reason. Perhaps you can single-step through it and confirm this hypothesis? Do you have a copy the source code (posixmodule.c)? Thanks, Florian