all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: cyd@gnu.org, 11984@debbugs.gnu.org, russell.sim@gmail.com
Subject: bug#11984: 24.1; segfault while deleting a window
Date: Wed, 25 Jul 2012 09:15:03 +0200	[thread overview]
Message-ID: <500F9CF7.7000900@gmx.at> (raw)
In-Reply-To: <83pq7lktek.fsf@gnu.org>

 > If you built Emacs with the change, and tooltips work for you,

How do I test it?  Is evaluating

(x-show-tip "???")

enough?

 > then I
 > see no reason why they won't for me.

Because tooltip frames appear fragile.  x_create_tip_frame uses

   Fset_window_buffer (FRAME_ROOT_WINDOW (f), buffer, Qnil);

while make_frame has

     /* Use set_window_buffer, not Fset_window_buffer, and don't let
        hooks be run by it.  The reason is that the whole frame/window
        arrangement is not yet fully initialized at this point.  Windows
        don't have the right size, glyph matrices aren't initialized
        etc.  Running Lisp functions at this point surely ends in a
        SEGV.  */
     set_window_buffer (root_window, buf, 0, 0);

Wouldn't the fact that the frame has not been set up completely when
assigning a buffer to its root window suggest that Fset_window_buffer
should not be used here either?

martin





  reply	other threads:[~2012-07-25  7:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 22:08 bug#11984: 24.1; segfault while deleting a window Russell Sim
2012-07-19  3:05 ` Eli Zaretskii
2012-07-19  3:39   ` Chong Yidong
2012-07-19 10:41     ` martin rudalics
2012-07-21  6:18       ` Chong Yidong
2012-07-21 11:03         ` martin rudalics
2012-07-24 12:46           ` martin rudalics
2012-07-24 16:36             ` Eli Zaretskii
2012-07-25  7:15               ` martin rudalics [this message]
2012-07-25 15:27                 ` Eli Zaretskii
2012-07-26  9:43                   ` martin rudalics
2012-07-26 13:58                     ` martin rudalics
2012-08-14  9:09                   ` martin rudalics
2012-07-20 23:44     ` Russell Sim
2012-07-21  0:12       ` Russell Sim
2012-07-21  6:31         ` Chong Yidong
2012-07-21  9:00           ` Russell Sim
2012-07-21  9:32             ` Eli Zaretskii
2012-07-21  9:45               ` Russell Sim
2012-07-21 12:04                 ` Eli Zaretskii
2012-07-21  8:02         ` Eli Zaretskii
2012-07-21  9:08           ` Russell Sim

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

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

  git send-email \
    --in-reply-to=500F9CF7.7000900@gmx.at \
    --to=rudalics@gmx.at \
    --cc=11984@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=eliz@gnu.org \
    --cc=russell.sim@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.