From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Emacs-26 threads problem [win64] Date: Tue, 10 Oct 2017 21:58:35 +0200 Message-ID: References: <83h8v7r02e.fsf@gnu.org> <83vajnotik.fsf@gnu.org> <83r2ubosnd.fsf@gnu.org> <83fuaqpzaq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c048e7cbcf1dd055b36bcfe" X-Trace: blaine.gmane.org 1507665559 30640 195.159.176.226 (10 Oct 2017 19:59:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 19:59:19 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 10 21:59:14 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e20gE-0006e4-AD for ged-emacs-devel@m.gmane.org; Tue, 10 Oct 2017 21:59:06 +0200 Original-Received: from localhost ([::1]:36926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e20gL-0001FE-QQ for ged-emacs-devel@m.gmane.org; Tue, 10 Oct 2017 15:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e20g8-0001Br-Sm for emacs-devel@gnu.org; Tue, 10 Oct 2017 15:59:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e20g7-0002qQ-SJ for emacs-devel@gnu.org; Tue, 10 Oct 2017 15:59:00 -0400 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:55469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e20g6-0002ny-Jb; Tue, 10 Oct 2017 15:58:58 -0400 Original-Received: by mail-qt0-x229.google.com with SMTP id x54so54849109qth.12; Tue, 10 Oct 2017 12:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Gog1ZuV1stsT1q5LFEv+DmVc1Tb5Q7vduz4ezIspPFg=; b=mBxKDyKp8Q4wkHT/lOrIIoSK9FNn0kryv1Diraf6LKnLDx6CusCgK3T5AUz1LLoNXP Lc1GI5NFm4LZ9zmNFfVPwyceMrkIkCKKsU8x2Rf7jKj+sAiwJD3ZRBCg9jGPDeLLVAPf EKUtMInW9uA+BtbNt64/6EGnnJZZHnohOthDrMLMd0U7a146vzHlpx4lmtfAcFYCiufB rYcjV+9WNkiRYXRQmItrPmjx+G2cAqblQ/FUeI1tlbqKTBpGdiQSiM/he/t6pL00aoiZ bL4AqLCn/aOwCWD41MSXDQtk4vQNADzZt+9zDGdjSx4kdr1sthXuHRwJ84sfzs3jMsqz afTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Gog1ZuV1stsT1q5LFEv+DmVc1Tb5Q7vduz4ezIspPFg=; b=eaC7B7BXURak7N/+ISGyrfEGULs9nsZ3Rytxt54rb1ZMmPOHpdlynea50QA7gefDN7 rcQCSkK5Y5VkIk0duIuzu1ao0fz3OUesxZyQ5iimzU80SA0gDJ20ue0yCGRPkF+RUl9F fU+GzkZlzcsU3ybkIiHNuql5prWR0hr+gUu9HcIU0p0sWPiNBGISqimRgPT7nLXCzSw0 KKRT7wsJyXL1gSYruH0Jp47Un4mWsE/04a17YwRV4BnAPiSnPdKD7wP1gBZ79q3LafzT MSbae7eo8F5UobhlSqRfVxcyIGxraC15gP2Gy0RNExm5lJ5RqLjDTwY56Ibc45Tidw6q gzoQ== X-Gm-Message-State: AMCzsaXGxyLeP5065wiHwZGW6s01/U3OBTQlr+8PYT3+V59lyOIHZyN8 /H+WY93NS55YshZADGQpuZP3kEOAfpXXNOKGrS8= X-Google-Smtp-Source: AOwi7QBJHwfJ4bC2exF4736BAWT5egYRQki3q18wTSsPSh33UBWDjr37+al4lKp/6GPY6ksswqsIhVRnbdKVARGZWj0= X-Received: by 10.55.187.133 with SMTP id l127mr14800876qkf.94.1507665536412; Tue, 10 Oct 2017 12:58:56 -0700 (PDT) Original-Received: by 10.140.94.2 with HTTP; Tue, 10 Oct 2017 12:58:35 -0700 (PDT) In-Reply-To: <83fuaqpzaq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219359 Archived-At: --94eb2c048e7cbcf1dd055b36bcfe Content-Type: text/plain; charset="UTF-8" 2017-10-10 21:39 GMT+02:00 Eli Zaretskii : > > > The value of stack_pos keeps increasing. Isn't there some limit that is > reached here ? > > Maybe. I don't see anything like that, the stack_pos address remains > almost fixed here. I think what you see means the threads created by > the tests don't exit, so the following tests create threads with stack > space higher and higher in the address space. > > Does the problem go away if you insert at the beginning of each test a > loop like this: > > (while (> (length (all-threads)) 1) > (sleep-for 0.1)) > This makes all the 28 tests pass. A bit scary though. Fabrice --94eb2c048e7cbcf1dd055b36bcfe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-10-10 21:39 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
=

> The value of stack_pos keeps increasing. Isn't there some limit th= at is reached here ?

Maybe.=C2=A0 I don't see anything like that, the stack_pos addre= ss remains
almost fixed here.=C2=A0 I think what you see means the threads created by<= br> the tests don't exit, so the following tests create threads with stack<= br> space higher and higher in the address space.

Does the problem go away if you insert at the beginning of each test a
loop like this:

=C2=A0 (while (> (length (all-threads)) 1)
=C2=A0 =C2=A0 (sleep-for 0.1))

This mak= es all the 28 tests pass. A bit scary though.

Fabr= ice

--94eb2c048e7cbcf1dd055b36bcfe--