From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.bugs Subject: bug#18995: Error: Could not reserve dynamic heap area. Date: Sat, 8 Nov 2014 19:17:55 +0100 Message-ID: References: <834mu9r47v.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c35086c8bff605075cf2f8 X-Trace: ger.gmane.org 1415470723 13986 80.91.229.3 (8 Nov 2014 18:18:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Nov 2014 18:18:43 +0000 (UTC) Cc: 18995@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 08 19:18:36 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XnAao-0007HH-Am for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Nov 2014 19:18:34 +0100 Original-Received: from localhost ([::1]:36565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnAan-0008QI-Sz for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Nov 2014 13:18:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnAaO-000811-WD for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 13:18:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnAaI-0002EQ-Q5 for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 13:18:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnAaI-0002EJ-NS for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 13:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnAaI-0003BX-DF for bug-gnu-emacs@gnu.org; Sat, 08 Nov 2014 13:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alexander Shukaev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Nov 2014 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18995-submit@debbugs.gnu.org id=B18995.141547067812231 (code B ref 18995); Sat, 08 Nov 2014 18:18:02 +0000 Original-Received: (at 18995) by debbugs.gnu.org; 8 Nov 2014 18:17:58 +0000 Original-Received: from localhost ([127.0.0.1]:53936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnAaD-0003B9-NH for submit@debbugs.gnu.org; Sat, 08 Nov 2014 13:17:58 -0500 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:33785) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnAaB-0003Az-VP for 18995@debbugs.gnu.org; Sat, 08 Nov 2014 13:17:56 -0500 Original-Received: by mail-lb0-f169.google.com with SMTP id 10so4131044lbg.14 for <18995@debbugs.gnu.org>; Sat, 08 Nov 2014 10:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qzAH0AGjiW+puKHCURbFhWZwxGDk5iz4dOm58+3d0m8=; b=sxRZUXBirXDZWe8d2SgMkh9DtcuvRID/UJ9r5cOT2DuzWClEYtVzF1cCowQzCalbK0 dU7Ew96vERYwHIb7n3Zpetv+CYNhW47GsPxgtj8ddtRofWqGIG0SB2qdycBt3iZYaUs9 ZHNxwPSqunZ0CL5+EVGXAyb42NGh1FQrKVIoAGh4vYRwPUy5iJ92W5IuZpmrj65wUIi4 9941tRIcDTkD9DPDiunaEqas1SWej5riaEgLhH6X6HAQH5IVaFFB63NN2KyAsQQekLWp OUpP5bt2Mv3bTA+o/BhAnzBWzjNVhmrv2subpmb9LnCpdPJ9tqS3GeBIVRtTRxtS6Ff8 r+lA== X-Received: by 10.152.42.172 with SMTP id p12mr18931462lal.11.1415470675178; Sat, 08 Nov 2014 10:17:55 -0800 (PST) Original-Received: by 10.112.202.106 with HTTP; Sat, 8 Nov 2014 10:17:55 -0800 (PST) In-Reply-To: <834mu9r47v.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95740 --001a11c35086c8bff605075cf2f8 Content-Type: text/plain; charset=UTF-8 > > or did you run it from inside another Emacs session? No. Also, does the same command succeed if you run it from the Bash > command line? Does it succeed if you run it from the cmd.exe command > line? No, has nothing to do with it. I've got something amazing/phenomenal here. Read carefully. With "-g -O0" it can reserve memory just fine and everything builds successfully. With "-O3" it fails with the first try, i.e. with the size of 0x68000000 and the corresponding error is: ERROR_NOT_ENOUGH_MEMORY > 8 (0x8) > Not enough storage is available to process this command. Since with "-g -O0" it succeeds, it cannot be debugged with GDB. For "-O3" I used simple `printf' testing. I can test "-O2" if you are interested. What does it smell like? A toolchain bug? --001a11c35086c8bff605075cf2f8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
or did you run it from inside another Ema= cs session?

No.

Also, does the same command succeed if you run it from the B= ash
command line?=C2=A0 Does it succeed if you run it from the cmd.exe c= ommand
line?

No, has nothing to do= with it.

I've got something amazing/phenomenal her= e. Read carefully. With "-g -O0" it can reserve memory just fine = and everything builds successfully. With "-O3" it fails with the = first try, i.e. with the size of=C2=A00x68000000 and the corresponding erro= r is:

ERROR_NOT_ENOUGH_MEMORY
8 (0x8= )
Not enough storage is available to process this command.
<= div>
=C2=A0Since with=C2=A0"-g -O0" it succeeds, it= cannot be debugged with GDB. For "-O3" I used simple `printf'= ; testing.

=C2=A0I can test "-O2" = if you are interested.

What does it smell like= ? A toolchain bug?
--001a11c35086c8bff605075cf2f8--