unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: robert <robert@morrison.gslt.hum.gu.se>, 4765@emacsbugs.donarmstrong.com
Subject: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac
Date: Fri, 23 Oct 2009 12:59:57 -0400	[thread overview]
Message-ID: <87k4ym82r6.fsf@stupidchicken.com> (raw)
In-Reply-To: <647005F2-143F-488D-9986-5011ACDDC2DF@gmail.com> (Adrian Robert's message of "Fri, 23 Oct 2009 12:24:30 -0400")

Adrian Robert <adrian.b.robert@gmail.com> writes:

> On Oct 23, 2009, at 11:46 AM, Chong Yidong wrote:
>
>> Hi Adrian, can you reproduce this problem?
>
> I can on Snow Leopard and Tiger but this is in -nw mode and the stack
> trace (below) shows nothing involved from NS side.  Does it appear
> under other OS's?  The stack trace below shows it resulting from
> ns_set_name() called from x_implicitly_set_name.  ns_set_name does not
> check if it is an ns frame, but the X equivalent doesn't either.  It
> seems like something is going wrong earlier if x_implicitly_set_name
> is being called for a non-GUI frame.

No crash for me on GNU/Linux.  The x_implicity_set_name function *is*
called, but because `f->explicit_name' is non-zero (it's 1), that
function returns.

I think the problem is that ns_set_name should defer calling
FRAME_NS_VIEW until after line 542.  Maybe that fixes the bug; could you
check?





  reply	other threads:[~2009-10-23 16:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 15:46 bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac Chong Yidong
2009-10-23 16:24 ` Adrian Robert
2009-10-23 16:59   ` Chong Yidong [this message]
2009-10-23 20:10     ` Adrian Robert
2009-10-23 20:53       ` Chong Yidong
2011-11-17  0:47       ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-10-20 14:38 robert

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=87k4ym82r6.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=4765@emacsbugs.donarmstrong.com \
    --cc=adrian.b.robert@gmail.com \
    --cc=robert@morrison.gslt.hum.gu.se \
    /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).