From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#22526: 25.0.90; Crash starting gnus Date: Mon, 15 Feb 2016 09:09:09 +0100 Message-ID: References: <56AFD88B.5040904@gmail.com> <87pow9cc0c.fsf@gnus.org> <83h9hkse78.fsf@gnu.org> <864mdk44q6.fsf@gmail.com> <83mvrcqli1.fsf@gnu.org> <86twlg2e69.fsf@gmail.com> <8360xv9ems.fsf@gnu.org> <8637sz7xmh.fsf@gmail.com> <83io1v7xcd.fsf@gnu.org> <83fuwx7vkv.fsf@gnu.org> <86fuwxk1l1.fsf@gmail.com> <837fi96mkq.fsf@gnu.org> <83vb5s6gas.fsf@gnu.org> <83d1s05zov.fsf@gnu.org> <83r3ggz2dt.fsf@gnu.org> <83povzzw5d.fsf@gnu.org> <86egcfs7f4.fsf@gmail.com> <83a8n3z0yb.fsf@gnu.org> <837fi7yyce.fsf@gnu.org> <83twlbx9gp.fsf@gnu.org> <83si0uy7gg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d38ce359f94052bca89c1 X-Trace: ger.gmane.org 1455523822 25614 80.91.229.3 (15 Feb 2016 08:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 08:10:22 +0000 (UTC) Cc: 22526@debbugs.gnu.org, andrewjmoreton@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 15 09:10:13 2016 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 1aVEET-0005Uu-NB for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 09:10:10 +0100 Original-Received: from localhost ([::1]:57634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVEES-0006JC-Np for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 03:10:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVEEP-0006Hh-4P for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:10:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVEEL-0006S1-Ua for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:10:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVEEL-0006Rt-RZ for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:10:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVEEL-00039O-IJ for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Feb 2016 08:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22526-submit@debbugs.gnu.org id=B22526.145552377612077 (code B ref 22526); Mon, 15 Feb 2016 08:10:01 +0000 Original-Received: (at 22526) by debbugs.gnu.org; 15 Feb 2016 08:09:36 +0000 Original-Received: from localhost ([127.0.0.1]:39316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVEDw-00038i-C5 for submit@debbugs.gnu.org; Mon, 15 Feb 2016 03:09:36 -0500 Original-Received: from mail-ob0-f170.google.com ([209.85.214.170]:33256) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVEDu-00038U-Ea for 22526@debbugs.gnu.org; Mon, 15 Feb 2016 03:09:34 -0500 Original-Received: by mail-ob0-f170.google.com with SMTP id jq7so17230261obb.0 for <22526@debbugs.gnu.org>; Mon, 15 Feb 2016 00:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Svj1Sn0AJ1pZ6L+9tsm6aOv8bbQJbq3lyL5mRAXVFM8=; b=sdiXXlWZKQUj/WkZv259BSch3Z1qLiYiNtgqO6Plzj/YrEbOCTeefq9Bti/YFjCIAw hHE8ripXBtfUBEBsSmQua2Grs3DFMqUMB3diDm0Zea0A7jfLKN141N7Mez0QQwCj+EiJ JT9s55vQFHzMAd8CuXbidg2rW2as6JrD+VEPc0Wjowx0Cwn1aspLrA4PTfx/a5oQcOkG ciEjiK3QD/rW1Gf1rnAMAd0BF5/hFR1CT5xdNqWqsWMT0lNef2HHaleD4bBuEuASxwuE 4IfJNdXqQX5T3YZ95iXIXeyq70WQwlUL8EEQzWy81NvFv8zhi622Xjbyy2DkMrVLzItl J3fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Svj1Sn0AJ1pZ6L+9tsm6aOv8bbQJbq3lyL5mRAXVFM8=; b=T1Z5jvMkDV5Jm1VPQmrGtZ/SfXRLz0GKToqPGA+LwUlErNL0lHx4p5Au70Hs0spsLc GmXBJ6GVnftxuKzPFWphv6tn9H4UVdO1lyRMNVgQb2UIfkRCRwEF1r5DrZZTkwL3H50g LBBfBq8sBJ6OM9cOZroFw5vq7L2WzbrCcy22+j9jLS3q1l30uW0YSWX7IwQfTy+hC4wx pmiwYW3whWr2WD/LuXhj/L8XMqVfEDl+s94OrGkVurVtiNWko0hL7uo31Yzxfa9IUXH2 4LoXn9FnIZdekEhh4B+eeYaSRUlyrElV2TGB9zfDpP9rHMOReqWVF03Xe1+tN/w4St8R +2rg== X-Gm-Message-State: AG10YOT5u9oXJNPdvryRTzwSvgZ1dxODAV0ha2w2kTR3C9jZf6U5wO5H+dpviMSNHI1gVW36RLU76NAFIckyyw== X-Received: by 10.202.223.84 with SMTP id w81mr10853860oig.8.1455523768932; Mon, 15 Feb 2016 00:09:28 -0800 (PST) Original-Received: by 10.202.78.131 with HTTP; Mon, 15 Feb 2016 00:09:09 -0800 (PST) In-Reply-To: <83si0uy7gg.fsf@gnu.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113058 Archived-At: --001a113d38ce359f94052bca89c1 Content-Type: text/plain; charset=UTF-8 2016-02-15 4:32 GMT+01:00 Eli Zaretskii : > > From: Fabrice Popineau > > Date: Sun, 14 Feb 2016 22:41:43 +0100 > > Cc: andrewjmoreton@gmail.com, 22526@debbugs.gnu.org > > > > As vmmap shows it, the next region is unusable. > > The reserved region is 4k and the 60k after are lost. > > But we only asked for 800 bytes, which could have been satisfied by > those 4KB that were reserved there, no? So why dod the commit fail? > > As I read it, the first bloc has been reserved and committed for 4k = 0x10000 starting at 0x1f0000, and then 800 bytes have been asked for at 0x1f0000+0x10000 = 0x200000, but we failedl to extend the block (mmap_realloc failed to commit further pages to accommodate the 800 bytes). Am I wrong ? Fabrice --001a113d38ce359f94052bca89c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-02-15 4:32 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
=
> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Sun, 14 Feb 2016 22:41:43 +0100
> Cc: andrewjmoreton@gmail.c= om, 22526@debbugs.gnu.org<= br> >
> As vmmap shows it, the next region is unusable.
> The reserved region is 4k and the 60k after are lost.

But we only asked for 800 bytes, which could have been satisfied by<= br> those 4KB that were reserved there, no?=C2=A0 So why dod the commit fail?

As I read it, = the first bloc has been reserved and committed for 4k =3D 0x10000 starting = at 0x1f0000, and then 800 bytes
have been asked for at 0x1f0000+0= x10000 =3D 0x200000, but we failedl to extend the block (mmap_realloc faile= d
to commit further pages to accommodate the 800 bytes).

Am I wrong ?

Fabrice
--001a113d38ce359f94052bca89c1--