all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Peder O. Klingenberg" <peder@klingenberg.no>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Andreas Schwab <schwab@suse.de>, 17125@debbugs.gnu.org
Subject: bug#17125: 24.4.50; daemon mode: closing X client frame exits entire emacs
Date: Wed, 2 Apr 2014 00:07:30 +0200	[thread overview]
Message-ID: <82A11322-301D-4867-8FFC-B831BB93DAF2@klingenberg.no> (raw)
In-Reply-To: <C1FF4BDB-DC69-42FC-A6D9-DC21E7DB2949@klingenberg.no>

On 1 Apr, 2014, at 23:02, Peder O. Klingenberg <peder@klingenberg.no> wrote:

>  x-create-frame(((visibility) (height . 75) (width . 85) (display . "localhost:11.0") (client . nowait) (environment "...")))

Stepping through this function in gdb, the trace seems to be

x-create-frame calls 
x_default_font_parameter (xfns.c:3049) calls
x_default_parameter (xfns.c:2832) calls
x_set_frame_parameters (frame.c:4018)

bt full from a breakpoint on frame.c:4018 shows (top only, it’s 48 frames down to main().  Let me know if there may be interesting stuff there)

(gdb) bt full
#0  x_default_parameter (f=0x135d9e0, alist=17834182, prop=14078850, deflt=16340481, xprop=0x6eba5e "font", xclass=0x6eba59 "Font", 
    type=RES_TYPE_STRING) at frame.c:4018
        tem = 16340577
#1  0x0000000000543a60 in x_default_font_parameter (f=0x135d9e0, parms=17834182) at xfns.c:2832
        dpyinfo = 0x1a64170
        font_param = 13859698
        font = 16340481
#2  0x0000000000544577 in Fx_create_frame (parms=17834182) at xfns.c:3049
        f = 0x135d9e0
        frame = 20306405
        tem = 13859650
        name = 13859650
        minibuffer_only = 0
        window_prompting = 0
        width = 5642964
        height = 32767
        count = 31
        gcpro1 = {
          next = 0x87, 
          var = 0x975b4384e3bea600, 
          nvars = 140733812145632
        }
        gcpro2 = {
          next = 0x21, 
          var = 0x7fff24e17dc8, 
          nvars = 5649570
        }
        gcpro3 = {
          next = 0x7fff24e179c8, 
          var = 0x0, 
          nvars = 9956832
        }
        gcpro4 = {
          next = 0x2, 
          var = 0x2, 
          nvars = 514
        }
        display = 16339697
        dpyinfo = 0x1a64170
        parent = 13859698
        kb = 0x14f8b80

This may be relevant:

(gdb) f  1
#1  0x0000000000543a60 in x_default_font_parameter (f=0x135d9e0, parms=17834182) at xfns.c:2832
2832	  x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING);
(gdb) p font
$1 = 16340481
(gdb) xpr
Lisp_String
$2 = (struct Lisp_String *) 0xf95600
"7x13"
(gdb) p font_param
$3 = 13859698
(gdb) xpr
Lisp_Symbol
$4 = (struct Lisp_Symbol *) 0xd37b70
"nil"


-- 
...Peder...





  reply	other threads:[~2014-04-01 22:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 22:47 bug#17125: 24.4.50; daemon mode: closing X client frame exits entire emacs Peder O. Klingenberg
     [not found] ` <handler.17125.B.13959614234976.ack@debbugs.gnu.org>
2014-04-01 11:35   ` bug#17125: Acknowledgement (24.4.50; daemon mode: closing X client frame exits entire emacs) Peder O. Klingenberg
2014-04-01 13:47     ` Dmitry Antipov
2014-04-01 14:09       ` Peder O. Klingenberg
2014-04-01 15:08         ` Dmitry Antipov
2014-04-01 15:27           ` Andreas Schwab
2014-04-01 16:27             ` Dmitry Antipov
2014-04-01 21:02               ` Peder O. Klingenberg
2014-04-01 22:07                 ` Peder O. Klingenberg [this message]
2014-04-02  3:46                 ` Dmitry Antipov
2014-04-02 11:50                   ` bug#17125: 24.4.50; daemon mode: closing X client frame exits entire emacs Peder O. Klingenberg
2014-04-02 12:24                     ` Dmitry Antipov
2014-04-02 13:01                       ` Peder O. Klingenberg
2014-07-11  9:01 ` Alexis
2014-10-02  2:46 ` bug#17125: Issue still present in pretest 24.3.94.1: in daemon mode, closing X client frame exits entire Emacs Alexis
2014-10-02  7:06   ` Dmitry Antipov
2014-10-02 10:29     ` Alexis
2014-10-02 11:37       ` Dmitry Antipov
2014-10-03  0:53         ` Alexis
2014-10-03  3:52           ` Dmitry Antipov
2014-10-03  6:39 ` Alexis

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=82A11322-301D-4867-8FFC-B831BB93DAF2@klingenberg.no \
    --to=peder@klingenberg.no \
    --cc=17125@debbugs.gnu.org \
    --cc=dmantipov@yandex.ru \
    --cc=schwab@suse.de \
    /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.