From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#25265: make-thread crashes in OS X 10.6 Date: Fri, 16 Jun 2017 20:45:31 +0100 Message-ID: <20170616194531.GA27453@breton.holly.idiocy.org> References: <20170502204935.GA79100@breton.holly.idiocy.org> <20170613204643.GA98084@breton.holly.idiocy.org> <20170615190432.GA12317@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1497642372 25392 195.159.176.226 (16 Jun 2017 19:46:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2017 19:46:12 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 25265@debbugs.gnu.org To: "Charles A. Roelli" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 16 21:46:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dLxC2-0006Hb-29 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 21:46:06 +0200 Original-Received: from localhost ([::1]:60575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLxC7-0008Gn-8Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 15:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLxC1-0008GR-IZ for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 15:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLxBy-00033a-D3 for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 15:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLxBy-00032r-8E for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 15:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLxBx-0003VN-Vf for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 15:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jun 2017 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25265 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25265-submit@debbugs.gnu.org id=B25265.149764233913441 (code B ref 25265); Fri, 16 Jun 2017 19:46:01 +0000 Original-Received: (at 25265) by debbugs.gnu.org; 16 Jun 2017 19:45:39 +0000 Original-Received: from localhost ([127.0.0.1]:51720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLxBa-0003Uj-Nu for submit@debbugs.gnu.org; Fri, 16 Jun 2017 15:45:38 -0400 Original-Received: from mail-wr0-f182.google.com ([209.85.128.182]:33182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLxBZ-0003UX-Ao for 25265@debbugs.gnu.org; Fri, 16 Jun 2017 15:45:37 -0400 Original-Received: by mail-wr0-f182.google.com with SMTP id r103so43635856wrb.0 for <25265@debbugs.gnu.org>; Fri, 16 Jun 2017 12:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+3wgXYTHieP2HxUMwHwtt3g1E66QoVkhK4bpY3ov3Ic=; b=CdrMn45dsasXeneJNBGxYz2UI93fvwnY0nFWtuQefbO5AvmervratAE/yxiDapiWP8 pDGda/hnEUyoy5q1c19l3MAVvRv/Qyjy9yIEmBFq9sNZgRnWYcHHkySRzH3HB8Vm+UdN pXBNiZty4oZQOriUIHr31y2OBzyE1LXfyZ5Jh9LKqlWtcEh4d1U533cVoCzLNjGScgNn yAUH8B5r7Z652/pvnEk+oEz0BOD9a8Tbuy1VnC42Hbng3iGn2e7IPNZKAyMoeWi7mqr2 jG42w0985zp0cUPzoHF+41aVoxgDGLRAjIYLJ6IkC8GCG3dK0A03AVBvYiuHrArGFbE8 QMUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+3wgXYTHieP2HxUMwHwtt3g1E66QoVkhK4bpY3ov3Ic=; b=nse9Ssv905+UBs4ChwBF5Lts395i6tRjw5uT7MCDB3HqrRUuSfOyoyBkvRp+bUsLJr 6bfnc8TLmC6gK1AbfL6LPm84h8O+dJFL8UAjCUGKItxWfvbvR9ceEBfT0jHZ195TlgJi wOTDAF4qW14nF/7INzaOW9/2Ugq8GMOJF672NUuzoeLXm05dI01+xCrPi2knbxEhA/Hf yyOmB4bzNO9rB/fIeaIPrSFALhf0JKgiIhUpddFFQQvUHVOF6HvVgfGY5KdIa+g2WthG lk3rJ6QgCazM9Lbh7gNTrGw53R6r4YWgnoY2lnUW0clz+m8v23Fgxeg2LW/PCXt5f9za Z9CQ== X-Gm-Message-State: AKS2vOy1yrL5jXEoxBuY0heyuWztAWBlQdaoNPZRuHr5B3dob54P4lLP GLHkAz1ATC7QeuJZTr0= X-Received: by 10.223.162.151 with SMTP id s23mr7947586wra.68.1497642331272; Fri, 16 Jun 2017 12:45:31 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-ac7d-b00e-c9b8-6bdc.holly.idiocy.org. [2001:8b0:3f8:8129:ac7d:b00e:c9b8:6bdc]) by smtp.gmail.com with ESMTPSA id e77sm2178090wma.32.2017.06.16.12.45.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 12:45:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20170615190432.GA12317@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133665 Archived-At: On Thu, Jun 15, 2017 at 08:04:32PM +0100, Alan Third wrote: > Last time I tried I couldn’t get two tests to fail, so I don’t know > what the second one was. The other test fails more often than not > here. I got two to fail this time: Selector: t Passed: 26 Failed: 2 (2 unexpected) Skipped: 0 Total: 28/28 Started at: 2017-06-16 20:36:24+0100 Finished. Finished at: 2017-06-16 20:36:29+0100 .F........F................. F thread-signal-early Test signaling a thread as soon as it is started by the OS. (ert-test-failed ((should-not (thread-alive-p thread)) :form (thread-alive-p #) :value t)) F threads-condvar-wait test waiting on conditional variable (ert-test-failed ((should (= (length (all-threads)) 1)) :form (= 2 1) :value nil)) Anyone got any bright ideas where to start with debugging these? The first one looks like the thread’s starting too quick? The second looks like the thread’s not dying quick enough? Is this possibly just an artifact of the way that ns_select calls thread_select then afterwards does its actual pselect/NS Event stuff? -- Alan Third