From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs on QNX Date: Thu, 09 Nov 2017 19:23:17 +0200 Message-ID: <83inejqsca.fsf@gnu.org> References: <1508710435.8718.6.camel@blackberry.com> <1508758075.3923.6.camel@blackberry.com> <1508809949.3465.3.camel@blackberry.com> <611f69c3-4e4d-1a04-2621-ffa3eeb7ebf3@cs.ucla.edu> <1508898467.11201.5.camel@blackberry.com> <4efa84fc-de6a-74dd-b2a7-71b4a536b5da@cs.ucla.edu> <1510247863.20595.19.camel@blackberry.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510248194 32601 195.159.176.226 (9 Nov 2017 17:23:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2017 17:23:14 +0000 (UTC) Cc: eggert@cs.ucla.edu, Emacs-devel@gnu.org To: Elad Lahav Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 09 18:23:10 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 1eCqXi-0008Aj-VF for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2017 18:23:07 +0100 Original-Received: from localhost ([::1]:38070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCqXp-0001ug-Vm for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2017 12:23:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCqXi-0001uQ-OP for Emacs-devel@gnu.org; Thu, 09 Nov 2017 12:23:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCqXf-00028X-Jm for Emacs-devel@gnu.org; Thu, 09 Nov 2017 12:23:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCqXf-00028T-Fs; Thu, 09 Nov 2017 12:23:03 -0500 Original-Received: from [176.228.60.248] (port=3088 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCqXe-0003f9-PW; Thu, 09 Nov 2017 12:23:03 -0500 In-reply-to: <1510247863.20595.19.camel@blackberry.com> (message from Elad Lahav on Thu, 9 Nov 2017 17:17:43 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:219998 Archived-At: > From: Elad Lahav > Date: Thu, 9 Nov 2017 17:17:43 +0000 > Cc: "Emacs-devel@gnu.org" > > I forgot to mention that I did investigate the problem. The recursion > is not infinite, just very deep. In QNX all stack sizes are fixed, > including that of the main thread. The default size for the main thread > is 512K, but some elisp modules (e.g., verilog) require more in version > 26 to compile. There is no such problem in the 25.x code. I wonder if > the modules themselves have changed, or something else is causing more > stack space to be used. > I can work around the problem by increasing the stack size of the main > thread, but it would be nice to understand the increase in stack usage. I think you definitely need to increase the stack. Emacs needs at least 2MB of stack space; on MS-Windows we use 8MB, and for a good reason. So 512K is definitely too little.