From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Charles A. Roelli" Newsgroups: gmane.emacs.bugs Subject: bug#25265: make-thread crashes in OS X 10.6 Date: Mon, 19 Jun 2017 20:34:00 +0200 Message-ID: References: <20170502204935.GA79100@breton.holly.idiocy.org> <20170613204643.GA98084@breton.holly.idiocy.org> <20170615190432.GA12317@breton.holly.idiocy.org> <20170616194531.GA27453@breton.holly.idiocy.org> <20170616205139.GA27574@breton.holly.idiocy.org> <20170618140118.GA33083@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1497897323 11491 195.159.176.226 (19 Jun 2017 18:35:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Jun 2017 18:35:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: Noam Postavsky , 25265@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 19 20:35:09 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 1dN1W0-0002Fl-Ck for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jun 2017 20:35:08 +0200 Original-Received: from localhost ([::1]:43879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN1W5-0000vY-MN for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jun 2017 14:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN1Vz-0000rq-EG for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2017 14:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dN1Vu-00020z-IK for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2017 14:35:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dN1Vu-000209-65 for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2017 14:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dN1Vt-0007OB-S9 for bug-gnu-emacs@gnu.org; Mon, 19 Jun 2017 14:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Charles A. Roelli" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Jun 2017 18:35: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.149789724728337 (code B ref 25265); Mon, 19 Jun 2017 18:35:01 +0000 Original-Received: (at 25265) by debbugs.gnu.org; 19 Jun 2017 18:34:07 +0000 Original-Received: from localhost ([127.0.0.1]:56509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN1V0-0007Mz-Nl for submit@debbugs.gnu.org; Mon, 19 Jun 2017 14:34:06 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:45182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN1Uz-0007MV-2W for 25265@debbugs.gnu.org; Mon, 19 Jun 2017 14:34:05 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id C54BF2247E for <25265@debbugs.gnu.org>; Mon, 19 Jun 2017 18:29:08 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1497896947; x= 1498760948; bh=bUBchvcgptJWdymqMFqT2o1SH1MvCSl40npvYJ7Lw44=; b=S o588k44dIKp4lvQLyEuXif4DbBw+ASXtSKBa+87XyydVfS5c8yk/w8bjBEcDCZDq mJPnXac+Flqi58suJajgFYDPcE8+7eZ4hBSofU70AVGROPhfKjZwjJVvuPNRnh97 CFfOFIdkiEdsmLa3nhPSNxwsvaG1+sXaCgBTkxrwPg= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u-sG_FR9xAuw for <25265@debbugs.gnu.org>; Mon, 19 Jun 2017 18:29:07 +0000 (UTC) Original-Received: from [192.168.1.121] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id E487122457; Mon, 19 Jun 2017 18:29:04 +0000 (UTC) In-Reply-To: <20170618140118.GA33083@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:133765 Archived-At: On 18/06/2017 16:01, Alan Third wrote: > On Sun, Jun 18, 2017 at 03:05:04PM +0200, Charles A. Roelli wrote: >> The tests sometimes all pass with the updated patch, but then I got >> this once (the errors you've seen previously, I think): >> > > > Yeah, they look the same. I’m not sure what I can do to fix them if > they’re still happening. Wish I could help here. Thanks for getting this far! > >> I also tried this way of running the tests in batch mode: >> >> cd test && rm -rf src/thread-tests.log && make src/thread-tests.log >> >> but got a segfault: >> >> GEN src/thread-tests.log >> /bin/sh: line 1: 87214 Segmentation fault HOME=/nonexistent >> EMACSLOADPATH= LC_ALL=C >> EMACS_TEST_DIRECTORY=/Volumes/Toblerone/Code/emacs-devel/test "../src/emacs" >> -batch --no-site-file --no-site-lisp -L ":." -l ert -l src/thread-tests.el >> --eval "(ert-run-tests-batch-and-exit nil)" > src/thread-tests.log 2>&1 >> Running 28 tests (2017-06-18 15:00:03+0200) >> make: *** [src/thread-tests.log] Error 139 >> >> I'm not sure where the problem is happening (or if it's specific to >> NS). The file 'src/thread-tests.log' also doesn't give any extra >> information (besides 'Running 28 tests (2017-06-18 15:00:03+0200)'). > Yeah, I think that’s because I, accidentally, have the non‐GUI version > trying to run some GUI stuff. I noticed this myself yesterday. > > Running NS Emacs without a GUI has always worked with threads because > it just bypasses the NS run loop which is the problem. > > I’ve attached a new patch that actually checks whether we’re running > the NS GUI. Thanks, the new patch fixes the issue.