unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 8596@debbugs.gnu.org
Subject: bug#8596: 24.0.50; crash when use C-x 5 2 with emacs -nw -Q
Date: Sat, 30 Apr 2011 23:32:03 +0300	[thread overview]
Message-ID: <8362pv5vlo.fsf@gnu.org> (raw)
In-Reply-To: <BANLkTikPxRcMvMLoJAeM5BUdBTRJWBrDEg@mail.gmail.com>

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Sat, 30 Apr 2011 20:21:51 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, 8596@debbugs.gnu.org
> 
> On Sat, Apr 30, 2011 at 19:49, Drew Adams <drew.adams@oracle.com> wrote:
> 
> > Dunno. Actually, I did this:
> > emacs.exe -nw -Q --debug-init "C:\my-dir"
> > Then I immediately did C-x 5 2.
> 
> Reproducible. "--debug-init" is unnecessary.

Actually, even "C:\my-dir" is unnecessary.  The reason I couldn't at
first reproduce it is that I tried that in a normal optimized build.
But the xassert that aborts is only compiled under -DENABLE_CHECKING.

I think this happens because w32 lacks a proper implementation of
get_tty_size.  So the new frame starts with bogus dimensions 10x10,
and then the height gets incremented by 1 due to the menu bar, which
triggers the abort.





  reply	other threads:[~2011-04-30 20:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30 16:04 bug#8596: 24.0.50; crash when use C-x 5 2 with emacs -nw -Q Drew Adams
2011-04-30 16:20 ` Eli Zaretskii
2011-04-30 17:49   ` Drew Adams
2011-04-30 18:21     ` Juanma Barranquero
2011-04-30 20:32       ` Eli Zaretskii [this message]
2011-04-30 21:30         ` Juanma Barranquero
2011-04-30 22:14           ` Juanma Barranquero
2011-05-01  3:03             ` Eli Zaretskii
2011-05-01 15:49               ` Juanma Barranquero
2011-05-01 16:47                 ` Eli Zaretskii
2011-05-01 20:15                   ` Juanma Barranquero
2011-05-02  3:09                     ` Eli Zaretskii
2011-05-02  3:58                       ` Juanma Barranquero

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=8362pv5vlo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8596@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /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).