unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 22526@debbugs.gnu.org
Subject: bug#22526: 25.0.90; Crash starting gnus
Date: Sun, 14 Feb 2016 14:17:19 +0000	[thread overview]
Message-ID: <86egcfs7f4.fsf@gmail.com> (raw)
In-Reply-To: <56AFD88B.5040904@gmail.com>

On Sun 14 Feb 2016, Eli Zaretskii wrote:

>> Date: Sun, 14 Feb 2016 00:11:58 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 22526@debbugs.gnu.org, andrewjmoreton@gmail.com
>> 
>> > From: Fabrice Popineau <fabrice.popineau@gmail.com>
>> > Date: Sat, 13 Feb 2016 22:35:57 +0100
>> > Cc: andrewjmoreton@gmail.com, 22526@debbugs.gnu.org
>> > 
>> > I think we need the DebPrint() trace of the problem to conclude.
>> 
>> I think the patch I propose below will help in that.
>
> Fabrice didn't like my goto, so here's a version without that:

For some reason "git apply" did not like this patch, so I had to apply
it by hand (on top of commit cc6d9064905). Running that under gdb and
opening a group in gnus showed:

warning: realloc enlarge: VirtualAlloc (00000000001f0000 + 10000, 807) error 87

Emacs kept working normally at this point, so the latest patch improves things.

Looking at the running emacs with vmmap (a Microsoft Sysinternals tool),
I see that the region it was trying to expand the block into was already
occupied:

Address            Type          Size   Committed  Private  Blocks  Protection  Details
00000000001F0000   Private Data  4      4          4        1       Read/Write
  00000000001F0000 Private Data  4      4          4                Read/Write
0000000000200000   Private Data  2,048  44         44       9       Read/Write  Thread Environment Block ID: 1112
  0000000000200000 Private Data  1,008                              Reserved    Thread Environment Block ID: 1112
  00000000002FC000 Private Data  12     12         12               Read/Write  Thread Environment Block ID: 1112
  00000000002FF000 Private Data  24                                 Reserved    Thread Environment Block ID: 1112
  0000000000305000 Private Data  16     16         16               Read/Write  Thread Environment Block ID: 1112
  0000000000309000 Private Data  88                                 Reserved    Thread Environment Block ID: 1112
  000000000031F000 Private Data  8      8          8                Read/Write  Thread Environment Block ID: 1112
  0000000000321000 Private Data  24                                 Reserved    Thread Environment Block ID: 1112
  0000000000327000 Private Data  8      8          8                Read/Write  Thread Environment Block ID: 1112
  0000000000329000 Private Data  860                                Reserved    Thread Environment Block ID: 1112







  reply	other threads:[~2016-02-14 14:17 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 22:13 bug#22526: 25.0.90; Crash starting gnus Andy Moreton
2016-02-07  5:42 ` Lars Ingebrigtsen
2016-02-07 16:00   ` Eli Zaretskii
2016-02-07 20:58     ` Andy Moreton
2016-02-07 21:05       ` Eli Zaretskii
2016-02-11  2:06         ` Andy Moreton
2016-02-11 20:27           ` Eli Zaretskii
2016-02-11 21:20             ` Andy Moreton
2016-02-11 21:26               ` Eli Zaretskii
2016-02-12 13:34                 ` Andy Moreton
2016-02-12 16:16                   ` Eli Zaretskii
2016-02-12 22:26                     ` Andy Moreton
2016-02-13  8:28                       ` Eli Zaretskii
2016-02-13 10:44                         ` Eli Zaretskii
2016-02-13 16:08                           ` Fabrice Popineau
2016-02-13 16:42                             ` Eli Zaretskii
2016-02-13 21:35                               ` Fabrice Popineau
2016-02-13 22:11                                 ` Eli Zaretskii
2016-02-13 23:44                                   ` Fabrice Popineau
2016-02-14  5:49                                     ` Eli Zaretskii
2016-02-14  9:05                                       ` Fabrice Popineau
2016-02-14 16:57                                         ` Eli Zaretskii
2016-02-14  5:41                                   ` Eli Zaretskii
2016-02-14 14:17                                     ` Andy Moreton [this message]
2016-02-14 16:55                                       ` Eli Zaretskii
2016-02-14 17:51                                         ` Eli Zaretskii
2016-02-14 21:04                                           ` Fabrice Popineau
2016-02-14 21:29                                             ` Eli Zaretskii
2016-02-14 21:31                                               ` Fabrice Popineau
2016-02-14 21:34                                             ` Eli Zaretskii
2016-02-14 21:41                                               ` Fabrice Popineau
2016-02-15  3:32                                                 ` Eli Zaretskii
2016-02-15  8:09                                                   ` Fabrice Popineau
2016-02-15 11:39                                                     ` Eli Zaretskii
2016-02-13 15:16                         ` Andy Moreton
2016-02-13 15:52                           ` Eli Zaretskii
2016-02-13 21:26                             ` Andy Moreton
2016-02-16  1:18                               ` Andy Moreton
2016-02-16  3:46                                 ` Eli Zaretskii
2016-02-20 11:08                                   ` Eli Zaretskii
2016-02-20 16:17                                     ` Andy Moreton
2016-02-20 17:01                                       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86egcfs7f4.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=22526@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).