From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30364: 26.0.91; thread crash on macos Date: Mon, 19 Feb 2018 05:29:17 +0200 Message-ID: <83eflhac8i.fsf@gnu.org> References: <87bmgs9y8y.fsf@users.sourceforge.net> <871shj7k0n.fsf@gmail.com> <83k1vbbhvv.fsf@gnu.org> <83inavbg3p.fsf@gnu.org> <83eflic32p.fsf@gnu.org> <83zi469rge.fsf@gnu.org> <83vaeu9mtn.fsf@gnu.org> <83o9km9jr5.fsf@gnu.org> <83inau9hqa.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519010903 12561 195.159.176.226 (19 Feb 2018 03:28:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 03:28:23 +0000 (UTC) Cc: 30364@debbugs.gnu.org, alan@idiocy.org, npostavs@gmail.com, npostavs@users.sourceforge.net To: Aaron Jensen , Paul Eggert , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 19 04:28:17 2018 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 1enc7a-0002Jr-VH for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 04:28:07 +0100 Original-Received: from localhost ([::1]:47351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enc9d-0001P7-4D for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Feb 2018 22:30:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enc9X-0001Oy-Ay for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 22:30:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enc9U-0007Iq-88 for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 22:30:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42483) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enc9U-0007Ie-4n for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 22:30:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enc9T-0007TY-SA for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2018 22:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2018 03:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30364-submit@debbugs.gnu.org id=B30364.151901098328677 (code B ref 30364); Mon, 19 Feb 2018 03:30:03 +0000 Original-Received: (at 30364) by debbugs.gnu.org; 19 Feb 2018 03:29:43 +0000 Original-Received: from localhost ([127.0.0.1]:50380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enc98-0007ST-SR for submit@debbugs.gnu.org; Sun, 18 Feb 2018 22:29:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enc96-0007SE-RK for 30364@debbugs.gnu.org; Sun, 18 Feb 2018 22:29:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enc90-00074R-9c for 30364@debbugs.gnu.org; Sun, 18 Feb 2018 22:29:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enc8e-0006wx-E7; Sun, 18 Feb 2018 22:29:12 -0500 Original-Received: from [176.228.60.248] (port=1870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1enc8d-0007MB-PB; Sun, 18 Feb 2018 22:29:12 -0500 In-reply-to: (message from Aaron Jensen on Sun, 18 Feb 2018 13:12:24 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:143448 Archived-At: > From: Aaron Jensen > Date: Sun, 18 Feb 2018 13:12:24 -0800 > Cc: Noam Postavsky , 30364@debbugs.gnu.org, > Noam Postavsky , Alan Third > > On Sun, Feb 18, 2018 at 12:15 PM, Eli Zaretskii wrote: > > I think for 32-bit Emacs 3MB will do, but 64-bit build might need > > more, like 4 or 5. The MS-Windows build gives each thread the same > > amount of stack as for the main program, which means 8MB. > > Would you like me to vary it based on 32-bit vs 64-bit? I think so, but I'd like to hear from others about this. Paul, Andreas, could you please comment? One thing that bothers me is whether giving threads more stack space could adversely affect the memory available to the main thread. > > I hope someone who is familiar with pthreads will chime in regarding > > the portability issues. > > Looks like it's part of POSIX.1-2001, so I'm guessing that means we > can assume it's there, yeah? > > https://www.systutorials.com/docs/linux/man/3-pthread_attr_setstacksize/ I think so, yes. Still, I'd like to hear more opinions.