From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 10:58:42 2013 Received: (at submit) by debbugs.gnu.org; 9 Dec 2013 15:58:42 +0000 Received: from localhost ([127.0.0.1]:40296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3EG-0006tu-M4 for submit@debbugs.gnu.org; Mon, 09 Dec 2013 10:58:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3EC-0006ti-Rt for submit@debbugs.gnu.org; Mon, 09 Dec 2013 10:58:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq3E6-0004k5-AX for submit@debbugs.gnu.org; Mon, 09 Dec 2013 10:58:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3E6-0004jz-6u for submit@debbugs.gnu.org; Mon, 09 Dec 2013 10:58:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3E0-0004wH-SW for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 10:58:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq3Dv-0004hh-PB for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 10:58:24 -0500 Received: from icebox.esperi.org.uk ([81.187.191.129]:60662 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq3Dv-0004gI-9z for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2013 10:58:19 -0500 Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id rB9FwB3R008205 for ; Mon, 9 Dec 2013 15:58:11 GMT From: Nix To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Crash of emacs --daemon on killing X server Emacs: because editing your files should be a traumatic experience. Date: Mon, 09 Dec 2013 15:58:11 +0000 Message-ID: <87siu2uics.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-wuwien-Metrics: spindle 1290; Body=1 Fuz1=1 Fuz2=1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Start emacs --daemon (using the lucid toolkit), under X. Shut X down. Emacs crashes shortly afterwards. The lack of symbol table info is concerning (obviously my gdb has forgotten how to look up separated debug info *yet again*), but I don't think that important, since the death site is after a (garbage-collect) thus not in Lisp-land anyway. Obviously no xbacktrace is possible: the process is dead. It is fairly clear that we should not be calling xftfont_close() if the X server is not there! Why has this started happening? #0 0x00007f3b87dfc82b in raise () from /lib/libpthread.so.0 No symbol table info available. #1 0x00000000004d8208 in terminate_due_to_signal () No symbol table info available. #2 0x00000000004f1583 in emacs_abort () No symbol table info available. #3 0x000000000054b970 in Fsignal () No symbol table info available. #4 0x000000000054b989 in xsignal () No symbol table info available. #5 0x000000000054c0f7 in xsignal1 () No symbol table info available. #6 0x000000000047ad25 in Fcheck_coding_system () No symbol table info available. #7 0x000000000048e540 in code_convert_string () No symbol table info available. #8 0x0000000000508612 in Fexpand_file_name () No symbol table info available. #9 0x0000000000507ec8 in Fexpand_file_name () No symbol table info available. #10 0x000000000050cf3b in Fdo_auto_save () No symbol table info available. #11 0x00000000004d802b in shut_down_emacs () No symbol table info available. #12 0x00000000004d81d9 in terminate_due_to_signal () No symbol table info available. #13 0x00000000004f08c8 in deliver_fatal_thread_signal () No symbol table info available. #14 No symbol table info available. #15 xcb_generate_id (c=0x0) at xcb_xid.c:44 ret = __PRETTY_FUNCTION__ = "xcb_generate_id" #16 0x00007f3b8b7a207f in _XAllocIDs (dpy=0x7dfd530, ids=, count=) at xcb_io.c:545 i = #17 0x00007f3b8b7a20ee in _XIDHandler (dpy=) at xcb_io.c:522 No locals. #18 0x00007f3b8b7a4ca7 in _XPrivSyncFunction (dpy=0x7dfd530) at XlibInt.c:252 No locals. #19 0x00007f3b8b7819c4 in XCreatePixmap (dpy=dpy@entry=0x7dfd530, d=712, width=width@entry=1, height=height@entry=1, depth=depth@entry=24) at CrPixmap.c:58 pid = 98771741 req = #20 0x00007f3b8b55ccd9 in XRenderHasDepths (dpy=0x7dfd530) at Xrender.c:161 p = dc = {next = 0x0, dpy = 0x7dfd530, missing = 0, serial = 18809308} dp = previousHandler = 0x4b4e20 depths = missing = scr = d = s = #21 XRenderExtAddDisplay (dpy=0x7dfd530, extinfo=, ext_name=) at Xrender.c:202 dpyinfo = 0x89c9120 ext_name = 0x7f3b8b75f160 "RENDER" extinfo = 0x7f3b8b75f280 #22 XRenderFindDisplay (dpy=0x7dfd530) at Xrender.c:289 No locals. #23 XRenderFindDisplay (dpy=dpy@entry=0x7dfd530) at Xrender.c:283 dpyinfo = 0x1 #24 0x00007f3b8b558f0e in XRenderFreeGlyphSet (dpy=0x7dfd530, glyphset=98566201) at Glyph.c:71 info = req = #25 0x00007f3b8b34bf70 in XftFontDestroy (dpy=0x7dfd530, public=0x8641460) at xftfreetype.c:1046 info = font = 0x8641460 i = #26 0x00000000005ab133 in xftfont_close () ---Type to continue, or q to quit--- No symbol table info available. #27 0x0000000000533b08 in Fgarbage_collect () No symbol table info available. #28 0x000000000054aca2 in Ffuncall () No symbol table info available. #29 0x000000000057ed93 in exec_byte_code () No symbol table info available. #30 0x000000000054a306 in eval_sub () No symbol table info available. #31 0x000000000054d119 in internal_lisp_condition_case () No symbol table info available. #32 0x000000000057ff97 in exec_byte_code () No symbol table info available. #33 0x000000000054a961 in funcall_lambda () No symbol table info available. #34 0x000000000054accb in Ffuncall () No symbol table info available. #35 0x000000000057ed93 in exec_byte_code () No symbol table info available. #36 0x000000000054a961 in funcall_lambda () No symbol table info available. #37 0x000000000054accb in Ffuncall () No symbol table info available. #38 0x000000000054bd9b in Fapply () No symbol table info available. #39 0x000000000054ad99 in Ffuncall () No symbol table info available. #40 0x000000000057ed93 in exec_byte_code () No symbol table info available. #41 0x000000000054a306 in eval_sub () No symbol table info available. #42 0x000000000054d119 in internal_lisp_condition_case () No symbol table info available. #43 0x000000000057ff97 in exec_byte_code () No symbol table info available. #44 0x000000000054a961 in funcall_lambda () No symbol table info available. #45 0x000000000054accb in Ffuncall () No symbol table info available. #46 0x000000000054b0aa in call1 () No symbol table info available. #47 0x00000000004dda26 in timer_check () No symbol table info available. #48 0x00000000004ddde9 in readable_events () No symbol table info available. #49 0x00000000004df2e8 in get_input_pending () No symbol table info available. #50 0x00000000004e24dc in detect_input_pending_run_timers () No symbol table info available. #51 0x0000000000587099 in wait_reading_process_output () No symbol table info available. #52 0x00000000004df873 in read_decoded_event_from_main_queue () No symbol table info available. #53 0x00000000004e368d in read_char () No symbol table info available. #54 0x00000000004e4c24 in read_key_sequence.constprop.38 () No symbol table info available. #55 0x00000000004e5f81 in command_loop_1 () No symbol table info available. #56 0x0000000000549275 in internal_condition_case () No symbol table info available. #57 0x00000000004daa5e in command_loop_2 () No symbol table info available. #58 0x000000000054917b in internal_catch () No symbol table info available. #59 0x00000000004dcb47 in recursive_edit_1 () No symbol table info available. #60 0x00000000004dce42 in Frecursive_edit () ---Type to continue, or q to quit--- No symbol table info available. #61 0x00000000004134e5 in main () No symbol table info available. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-11-25 on spindle Bzr revision: 115223 rgm@gnu.org-20131125032513-euhdejyqc4g7u4i2 Windowing system distributor `The X.Org Foundation', version 11.0.11402902 System LSB Version: :core-4.1-amd64:core-4.1-noarch Configured using: `configure --without-pop --without-kerberos --without-hesiod --without-mmdf --with-x-toolkit=lucid --with-wide-int --with-file-notification=inotify NO_FAST_MATH=t 'CFLAGS=-Wstrict-overflow=1 -g -gdwarf-4 -feliminate-dwarf2-dups -feliminate-unused-debug-types -fvar-tracking-assignments -O2 -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE' 'CPPFLAGS=-D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE' 'LDFLAGS=-Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-O1 -Wl,-z,relro '' Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Summary Minor modes in effect: gnus-mailing-list-mode: t icicle-mode: t minibuffer-depth-indicate-mode: t savehist-mode: t show-paren-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-decoration-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-local-symbol-highlight-mode: t global-semantic-idle-summary-mode: t global-srecode-minor-mode: t global-ede-mode: t global-auto-complete-mode: t global-cwarn-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t semantic-mode: t compile-bookmarks-mode: t global-git-gutter-mode: t icomplete-mode: t Info-breadcrumbs-in-mode-line-mode: t global-undo-tree-mode: t undo-tree-mode: t recentf-mode: t mv-shell-mode: t timeclock-mode-line-display: t shell-dirtrack-mode: t which-function-mode: t winner-mode: t desktop-save-mode: t display-time-mode: t image-diredx-async-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Recent input: SPC m y SPC t o d o SPC l i s t SPC i s SPC l i k e . C-c C-c C-x 5 b * G r C-s e m a c s M-g M-g C-d C-x M-b # # # # # # B m U n r e l a t e d / B u C-s d a e m o n C-s n h C-s C-s C-s C-s C-s q C-x M-b C-x b * S u m e M S-SPC M-x r e p o r t - e m a c - b u f s - b u g Recent messages: Deleting article 33653 in emacs-bugs Deleting article 33654 in emacs-bugs Deleting article 33655 in emacs-bugs Deleting article 33656 in emacs-bugs Deleting article 33657 in emacs-bugs Deleting article 33658 in emacs-bugs Expiring articles...done Auto-saving...done Matching buffer contents... Computing completion candidates... [2 times] Load-path shadows: /usr/share/emacs/site-lisp/.el-get/package/elpa/vline-20120108.1245/vline hides /usr/share/emacs/site-lisp/.el-get/vline/vline /usr/share/emacs/site-lisp/.el-get/full-ack/.dir-locals hides /usr/share/emacs/site-lisp/.el-get/el-get/.dir-locals /home/nix/lisp/defaults hides /usr/share/emacs/site-lisp/defaults /home/nix/lisp/emacs/site-wide/site-start hides /usr/share/emacs/site-lisp/site-start /home/nix/lisp/emacs/site-wide/default hides /usr/share/emacs/site-lisp/default /home/nix/lisp/emacs/site-wide/scroll-in-place hides /usr/share/emacs/site-lisp/scroll-in-place /usr/share/emacs/site-lisp/el-get/recipes/emacswiki/ange-ftp hides /usr/share/emacs/24.3.50/lisp/net/ange-ftp /usr/share/emacs/site-lisp/.el-get/full-ack/.dir-locals hides /usr/share/emacs/24.3.50/lisp/gnus/.dir-locals /usr/share/emacs/site-lisp/emms/tq hides /usr/share/emacs/24.3.50/lisp/emacs-lisp/tq Features: (shadow emacsbug face-remap nndoc misearch multi-isearch mailalias nnir qp gnus-picon gnus-cite shr-color color shr browse-url gnus-async gnus-bcklg gnus-salt gnus-dup gnus-ml gnus-topic mm-archive url-http url-gw url-cache url-auth url-handlers nndraft nnrss xml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg utf-7 gnutls nnimap parse-time utf7 nnmh nnfolder gnus-cache bbdb-gnus bbdb-snarf epa-file epa derived epg netrc gnus-demon nntp dot-gnus-mail gnus-registry registry dot-gnus-splits nnmairix nnml mm-url smtpmail gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig dot-gnus-articles dot-gnus-sa background gnus-sum nnoo gnus-group gnus-undo nnmail mail-source dot-gnus-bbdb dot-gnus-colourization tc mail-extr gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader server semantic/texi tex-info texinfo semantic/imenu semantic/sb semantic/tag-file semantic/db-file data-debug cedet-files semantic/bovine/c semantic/decorate/include hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn cc-langs generic ede/emacs vc-git checkdoc eldoc elisp-slime-nav etags ede/dired jka-compr compilation-recenter-end-autoloads compile-bookmarks-autoloads fold-dwim-autoloads fringe-helper-autoloads image+-autoloads image-dired+-autoloads iresize-autoloads inflections-autoloads mv-shell-autoloads vline-autoloads yasnippet-bundle-autoloads site-default two-column icicles icicles-mode bookmark+ bookmark+-key crosshairs col-highlight vline hl-line+ hl-line bookmark+-1 bookmark+-bmu bookmark+-lit bookmark dired+ dired-x dired-aux mb-depth+ mb-depth icicles-cmd2 icicles-cmd1 icicles-mcmd doremi icicles-fn icicles-var apropos-fn+var icicles-opt fuzzy-match el-swank-fuzzy levenshtein fuzzy cus-theme hexrgb icicles-face dot-emacs dot-emacs-emacs savehist xemacs-compat add-log misc init-music network-stream starttls tls emms-volume emms-volume-amixer emms-history emms-bookmarks emms-metaplaylist-mode emms-browser sort emms-playlist-sort emms-last-played emms-playing-time emms-stream-info emms-streams emms-mode-line emms-cache emms-info later-do emms-playlist-limit emms-playlist-mode emms-player-mpd tq emms-player-simple emms-source-playlist emms-source-file emms emms-compat init-message-modes ede/cpp-root bbdb-expire bbdb-hooks bbdb-com silly-mail sendmail message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader init-time-tracking timeclock-visualize sgml-mode url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap auto-edit-substitute init-prog-modes init-prog-modes-emacs filecache diminish paren inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/mru-bookmark semantic/db-mode semantic/db semantic/decorate/mode semantic/idle srecode/mode semantic/senator semantic/format semantic/ctxt semantic/wisent semantic/wisent/wisent semantic/decorate pulse srecode/insert srecode/filters srecode/args srecode/find srecode/map srecode/ctxt semantic/tag-ls semantic/find srecode/compile srecode/dictionary srecode/table ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom auto-complete-config auto-complete popup yasnippet-bundle dropdown-list yasnippet assoc cwarn srecode semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet htmlfontify cus-edit cus-start cus-load compile-bookmarks compile git-gutter-fringe fringe-helper git-gutter gtags gpicker ffap url-parse url-vars font-latex latex edmacro kmacro tex-style tex cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs miniedit wide-n icomplete+ icomplete menu-bar+ apropos+ apropos help-fns+ help+ frame-fns avoid easy-mmode info+ thingatpt+ thingatpt mouse3 naked undo-tree diff site-start-load gawd-keys finder finder-inf find-func gawd-keys-emacs gawd-navigation ace-jump-mode gawd-mode-frobs gawd-mode-frobs-emacs windmove tramp-cache tramp-sh recentf tree-widget wid-edit mv-shell printing ps-print ps-def lpr uptimes bbdb timezone timeclock term disp-table ehelp electric tramp tramp-compat auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color hideshow filladapt gawd-faces gawd-faces-emacs nix-dark-theme gawd-misc gawd-misc-emacs which-func imenu winner time-date gawd-lists bbdb-autoloads magit-autoloads desktop frameset generic-x uniquify time scroll-in-place site-start-emacs site-autoloads .loaddefs image-dired+ byte-opt image-dired format-spec advice warnings el-get cl-macs gv el-get-autoloads el-get-list-packages el-get-notify help-mode el-get-dependencies el-get-build el-get-status pp el-get-recipes el-get-byte-compile el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-custom el-get-core autoload help-fns lisp-mnt bytecomp byte-compile cconv cl cl-loaddefs cl-lib dired info auctex-autoloads tex-site package emms-auto w3m-load ring filesets easymenu flash-paren saveplace tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 12:58:07 2013 Received: (at 16093) by debbugs.gnu.org; 9 Dec 2013 17:58:07 +0000 Received: from localhost ([127.0.0.1]:40485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq55q-0001ai-By for submit@debbugs.gnu.org; Mon, 09 Dec 2013 12:58:06 -0500 Received: from forward4o.mail.yandex.net ([37.140.190.33]:53247) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq55m-0001aK-BU for 16093@debbugs.gnu.org; Mon, 09 Dec 2013 12:58:03 -0500 Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward4o.mail.yandex.net (Yandex) with ESMTP id B8DCB564107B; Mon, 9 Dec 2013 21:58:00 +0400 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 5EE52232014F; Mon, 9 Dec 2013 21:58:00 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id igdowVDgS9-vxheFCKn; Mon, 9 Dec 2013 21:57:59 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1386611879; bh=B2lLBeHjPVcL7XaFfnpMFrVnc8e9p2aO4Qt4Cbl3EXs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=vSMvSsfYIpzzCPjOcad5wFpV9DOjixJzEQYDEH1eUbsCuA16qME9sbeoHCpkj+qzn mrkMOburxe/dVHc2QqKty126o+5W6bdM0XVIpy/YbTphG0VOB76TmcHTeK/w/CyJuN lG32tIox+F2z/8HfrnYW8okBxLYTokop3AJ0NTxU= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A604A7.6010104@yandex.ru> Date: Mon, 09 Dec 2013 21:57:59 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: 16093@debbugs.gnu.org Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> In-Reply-To: <87siu2uics.fsf@spindle.srvr.nix> Content-Type: multipart/mixed; boundary="------------070706050908070209090207" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16093 Cc: Nix , =?UTF-8?B?SmFuIERqw6Rydg==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------070706050908070209090207 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/09/2013 07:58 PM, Nix wrote: > > Start emacs --daemon (using the lucid toolkit), under X. Shut X down. > Emacs crashes shortly afterwards. > > > The lack of symbol table info is concerning (obviously my gdb has > forgotten how to look up separated debug info *yet again*), but I don't > think that important, since the death site is after a (garbage-collect) > thus not in Lisp-land anyway. Obviously no xbacktrace is possible: the > process is dead. > > It is fairly clear that we should not be calling xftfont_close() if the > X server is not there! Why has this started happening? Hm... IIUC there is no convenient way to check whether X display connection is alive. But we can do some tricks, for example, try to select() or poll() ConnectionNumber() - if there is no EBADF, X server is hopefully present... Dmitry --------------070706050908070209090207 Content-Type: text/x-patch; name="bug16093.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bug16093.patch" === modified file 'src/xfns.c' --- src/xfns.c 2013-12-03 17:22:05 +0000 +++ src/xfns.c 2013-12-09 17:50:35 +0000 @@ -136,6 +136,20 @@ static struct x_display_info *x_display_info_for_name (Lisp_Object); +bool +x_display_valid (Display *d) +{ + fd_set fdset; + struct timespec timeout; + int fd = ConnectionNumber (d); + + FD_ZERO (&fdset); + FD_SET (fd, &fdset); + timeout.tv_sec = 0; + timeout.tv_nsec = 1000; + return pselect (fd + 1, &fdset, NULL, NULL, &timeout, NULL) != -1; +} + /* Let the user specify an X display with a Lisp object. OBJECT may be nil, a frame or a terminal object. nil stands for the selected frame--or, if that is not an X frame, === modified file 'src/xfont.c' --- src/xfont.c 2013-11-04 06:09:03 +0000 +++ src/xfont.c 2013-12-09 17:47:41 +0000 @@ -897,7 +897,8 @@ if (xfi->xfont) { block_input (); - XFreeFont (xfi->display, xfi->xfont); + if (x_display_valid (xfi->display)) + XFreeFont (xfi->display, xfi->xfont); unblock_input (); xfi->xfont = NULL; } === modified file 'src/xftfont.c' --- src/xftfont.c 2013-10-27 05:30:34 +0000 +++ src/xftfont.c 2013-12-09 17:48:47 +0000 @@ -495,7 +495,8 @@ { block_input (); XftUnlockFace (xftfont_info->xftfont); - XftFontClose (xftfont_info->display, xftfont_info->xftfont); + if (x_display_valid (xftfont_info->display)) + XftFontClose (xftfont_info->display, xftfont_info->xftfont); unblock_input (); xftfont_info->xftfont = NULL; } === modified file 'src/xterm.h' --- src/xterm.h 2013-12-07 23:04:10 +0000 +++ src/xterm.h 2013-12-09 17:46:16 +0000 @@ -989,6 +989,7 @@ /* Defined in xfns.c */ extern Lisp_Object x_get_focus_frame (struct frame *); +extern bool x_display_valid (Display *); #ifdef USE_GTK extern int xg_set_icon (struct frame *, Lisp_Object); --------------070706050908070209090207-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 14:44:07 2013 Received: (at 16093) by debbugs.gnu.org; 10 Dec 2013 19:44:07 +0000 Received: from localhost ([127.0.0.1]:42177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqTDz-0006d1-8K for submit@debbugs.gnu.org; Tue, 10 Dec 2013 14:44:07 -0500 Received: from mailfe03.swip.net ([212.247.154.65]:35491 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqTDv-0006cn-KG for 16093@debbugs.gnu.org; Tue, 10 Dec 2013 14:44:04 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 292312772; Tue, 10 Dec 2013 20:44:00 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <52A604A7.6010104@yandex.ru> Date: Tue, 10 Dec 2013 20:43:58 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> To: Dmitry Antipov X-Mailer: Apple Mail (2.1822) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org, Nix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 9 dec 2013 kl. 18:57 skrev Dmitry Antipov : > On 12/09/2013 07:58 PM, Nix wrote: >>=20 >> Start emacs --daemon (using the lucid toolkit), under X. Shut X down. >> Emacs crashes shortly afterwards. >>=20 >>=20 >> The lack of symbol table info is concerning (obviously my gdb has >> forgotten how to look up separated debug info *yet again*), but I = don't >> think that important, since the death site is after a = (garbage-collect) >> thus not in Lisp-land anyway. Obviously no xbacktrace is possible: = the >> process is dead. >>=20 >> It is fairly clear that we should not be calling xftfont_close() if = the >> X server is not there! Why has this started happening? >=20 > Hm... IIUC there is no convenient way to check whether X display = connection > is alive. But we can do some tricks, for example, try to select() or = poll() > ConnectionNumber() - if there is no EBADF, X server is hopefully = present... Well, file descriptors are reused, so it may be used for something else = and give a false positive. To do this properly we would need some kind of cleanup function that is = called when the display goes away. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 18:39:40 2013 Received: (at 16093) by debbugs.gnu.org; 10 Dec 2013 23:39:40 +0000 Received: from localhost ([127.0.0.1]:42439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqWtv-0007fR-LX for submit@debbugs.gnu.org; Tue, 10 Dec 2013 18:39:40 -0500 Received: from icebox.esperi.org.uk ([81.187.191.129]:48330 helo=mail.esperi.org.uk) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqWts-0007fG-FW for 16093@debbugs.gnu.org; Tue, 10 Dec 2013 18:39:37 -0500 Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id rBANdXl8029147; Tue, 10 Dec 2013 23:39:34 GMT From: Nix To: Dmitry Antipov Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> Emacs: because editing your files should be a traumatic experience. Date: Tue, 10 Dec 2013 23:39:33 +0000 In-Reply-To: <52A604A7.6010104@yandex.ru> (Dmitry Antipov's message of "Mon, 09 Dec 2013 21:57:59 +0400") Message-ID: <8738m0s2bu.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-wuwien-Metrics: spindle 1290; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org, Jan =?utf-8?Q?Dj=C3=A4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On 9 Dec 2013, Dmitry Antipov stated: > On 12/09/2013 07:58 PM, Nix wrote: >> It is fairly clear that we should not be calling xftfont_close() if the >> X server is not there! Why has this started happening? > > Hm... IIUC there is no convenient way to check whether X display connection > is alive. But we can do some tricks, for example, try to select() or poll() > ConnectionNumber() - if there is no EBADF, X server is hopefully present... Well, it's never happened before. Something has clearly changed... maybe we're just cleaning up fonts much more lazily than before? (An ugly hack to "fix" it in that case might just be to trigger a garbage-collect when the last frame on a given terminal goes away.) The Xlib error handler should really be being called, which suggests this is a bug in Xft as well: I'll chase that up. (But that can't be the cause of this: I last updated my Xft a year and a half ago.) -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 19:20:48 2013 Received: (at 16093) by debbugs.gnu.org; 11 Dec 2013 00:20:48 +0000 Received: from localhost ([127.0.0.1]:42482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqXXj-0000I4-4R for submit@debbugs.gnu.org; Tue, 10 Dec 2013 19:20:47 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:39579) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqXXg-0000Hv-7h for 16093@debbugs.gnu.org; Tue, 10 Dec 2013 19:20:44 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VqXXf-0007Fy-HP; Tue, 10 Dec 2013 19:20:43 -0500 From: Glenn Morris To: Nix Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> X-Spook: COSCO AK-47 AIMSX NSA Albright doctrine Ortega smuggle X-Ran: .:]y;zzcvFFcd#?%WrL_"vyF#OJ6T%*AHu"\2!/|4[`l*)yt]8BbH_*h+z6!XRRu4o#*6# X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 10 Dec 2013 19:20:43 -0500 In-Reply-To: <8738m0s2bu.fsf@spindle.srvr.nix> (nix@esperi.org.uk's message of "Tue, 10 Dec 2013 23:39:33 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org, Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) Nix wrote: > Well, it's never happened before. Something has clearly changed... Time to bisect, then! From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 23:28:16 2013 Received: (at 16093) by debbugs.gnu.org; 11 Dec 2013 04:28:16 +0000 Received: from localhost ([127.0.0.1]:42587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqbPE-0006eD-Cu for submit@debbugs.gnu.org; Tue, 10 Dec 2013 23:28:16 -0500 Received: from forward16.mail.yandex.net ([95.108.253.141]:54860) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqbPA-0006e1-Q4 for 16093@debbugs.gnu.org; Tue, 10 Dec 2013 23:28:14 -0500 Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward16.mail.yandex.net (Yandex) with ESMTP id DF4B0D2078E; Wed, 11 Dec 2013 08:28:10 +0400 (MSK) Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 8563718A002A; Wed, 11 Dec 2013 08:28:10 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xc7rC1TdT8-SAOSOtIT; Wed, 11 Dec 2013 08:28:10 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1386736090; bh=GHcEGfMeCp8MHlWnsjzKEpbD9Wo1gBuNbnYN46ujtJE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DT0Vs1A8mh2bm0odW3ZONNP8TbkKeYyOD05h6UT4D1J2k6NxXC79uVRJWEb6iRCG2 vhcONkMxAF7tel9kxPALShs8LL4vKFLh8wbnR5N1gYlcMFaSANAcKrHH3dWZJw1qFF qK2ZqdW6iN0BwAlSv2j4g+5DPyctWkdV0gtV0ZuA= Authentication-Results: smtp18.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A7E9D9.3060306@yandex.ru> Date: Wed, 11 Dec 2013 08:28:09 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Glenn Morris , Nix Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 12/11/2013 04:20 AM, Glenn Morris wrote: > Time to bisect, then! Don't. This is r114797. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 01:01:21 2013 Received: (at 16093) by debbugs.gnu.org; 11 Dec 2013 06:01:21 +0000 Received: from localhost ([127.0.0.1]:42653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqcrH-0000Uc-S2 for submit@debbugs.gnu.org; Wed, 11 Dec 2013 01:01:20 -0500 Received: from mailfe03.swip.net ([212.247.154.65]:50255 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqcrE-0000UN-4C for 16093@debbugs.gnu.org; Wed, 11 Dec 2013 01:01:17 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 292403521; Wed, 11 Dec 2013 07:01:14 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <8738m0s2bu.fsf@spindle.srvr.nix> Date: Wed, 11 Dec 2013 07:01:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2118C809-06D2-4EB1-B45F-76E5264867A1@swipnet.se> References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> To: Nix X-Mailer: Apple Mail (2.1822) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org, Dmitry Antipov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 11 dec 2013 kl. 00:39 skrev Nix : > On 9 Dec 2013, Dmitry Antipov stated: >=20 >> On 12/09/2013 07:58 PM, Nix wrote: >>> It is fairly clear that we should not be calling xftfont_close() if = the >>> X server is not there! Why has this started happening? >>=20 >> Hm... IIUC there is no convenient way to check whether X display = connection >> is alive. But we can do some tricks, for example, try to select() or = poll() >> ConnectionNumber() - if there is no EBADF, X server is hopefully = present... >=20 > Well, it's never happened before. Something has clearly changed... = maybe > we're just cleaning up fonts much more lazily than before? (An ugly = hack > to "fix" it in that case might just be to trigger a garbage-collect = when > the last frame on a given terminal goes away.) >=20 > The Xlib error handler should really be being called, which suggests > this is a bug in Xft as well: I'll chase that up. (But that can't be = the > cause of this: I last updated my Xft a year and a half ago.) If the display connection is gone, no error handler is called. It is = normal. The change is that font objects that are garbage collected runs the = fonmt specific cleanup, which is at a random time, in this case after = the display went away. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 17:35:19 2013 Received: (at 16093) by debbugs.gnu.org; 13 Dec 2013 22:35:19 +0000 Received: from localhost ([127.0.0.1]:48932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrbKI-0001y1-Sl for submit@debbugs.gnu.org; Fri, 13 Dec 2013 17:35:19 -0500 Received: from icebox.esperi.org.uk ([81.187.191.129]:32955 helo=mail.esperi.org.uk) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrbKG-0001xr-6U for 16093@debbugs.gnu.org; Fri, 13 Dec 2013 17:35:17 -0500 Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id rBDMZDfi003555; Fri, 13 Dec 2013 22:35:13 GMT From: Nix To: Dmitry Antipov Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> <52A7E9D9.3060306@yandex.ru> Emacs: ... it's not just a way of life, it's a text editor! Date: Fri, 13 Dec 2013 22:35:13 +0000 In-Reply-To: <52A7E9D9.3060306@yandex.ru> (Dmitry Antipov's message of "Wed, 11 Dec 2013 08:28:09 +0400") Message-ID: <87d2l01ise.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-dcc1-Metrics: spindle 1182; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org, Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 11 Dec 2013, Dmitry Antipov told this: > > On 12/11/2013 04:20 AM, Glenn Morris wrote: > >> Time to bisect, then! > > Don't. This is r114797. Oh yes, that's a smoking gun all right. I concur that *not* freeing fonts at some point is a gigantic leak, though. Am I right to assume that bug 16128 is the same bug, and that this is thus fixed by r115505? Or does r115506 indicate that you've been forced to let this leak stand? :( -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 21:09:14 2013 Received: (at 16093) by debbugs.gnu.org; 14 Dec 2013 02:09:14 +0000 Received: from localhost ([127.0.0.1]:49027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrefJ-0000mC-Pc for submit@debbugs.gnu.org; Fri, 13 Dec 2013 21:09:14 -0500 Received: from forward4o.mail.yandex.net ([37.140.190.33]:49502) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrefG-0000m2-Hv for 16093@debbugs.gnu.org; Fri, 13 Dec 2013 21:09:12 -0500 Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward4o.mail.yandex.net (Yandex) with ESMTP id 384195640CE4; Sat, 14 Dec 2013 06:08:48 +0400 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id EF5F12320A13; Sat, 14 Dec 2013 06:08:47 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FQXAbygyM6-8lce9CkM; Sat, 14 Dec 2013 06:08:47 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1386986927; bh=7Ztf3okogUdOjla2imB1bNeDF1nyq7AVdAo0rQJAIrs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=se1xzOr/tYR4wbZsYbYqrnR8EmVuBsiqHMVs7V3nxVteo/HOB0fMEvostTlvrqDo0 aQ6zTt+AZe3BWlyhay4YCEGnEdDZBr6Lal5i7g7Rf9gwxaTryhSVVLdzOBvPIPXF25 iTyLoRTHC9OswILuh2T9XCve36UKpmw89B4qLWQs= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52ABBDAF.3070002@yandex.ru> Date: Sat, 14 Dec 2013 06:08:47 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Nix Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> <52A7E9D9.3060306@yandex.ru> <87d2l01ise.fsf@spindle.srvr.nix> In-Reply-To: <87d2l01ise.fsf@spindle.srvr.nix> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 12/14/2013 02:35 AM, Nix wrote: > I concur that *not* freeing fonts at some point is a gigantic leak, > though. It's really gigantic in a specially designed case, which is quite far from the most of regular use cases. But it's a leak anyway. > Am I right to assume that bug 16128 is the same bug, and that > this is thus fixed by r115505? Or does r115506 indicate that you've > been forced to let this leak stand? :( No. Revision 115489 (reverted by 115506) was an attempt to solve two minor issues: 1) 'n_fonts' counter in FRAME_DISPLAY_INFO (f) should be updated when the font is closed and 2) when font-entity is gone, font_driver->free_entity should be called for it, if non-NULL (for now macfont.m is the only driver where it is so). Dmitry From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 02:52:56 2013 Received: (at 16093) by debbugs.gnu.org; 16 Dec 2013 07:52:56 +0000 Received: from localhost ([127.0.0.1]:52866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsSz1-0003BA-D7 for submit@debbugs.gnu.org; Mon, 16 Dec 2013 02:52:55 -0500 Received: from forward16.mail.yandex.net ([95.108.253.141]:58060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsSyx-0003Ay-K4 for 16093@debbugs.gnu.org; Mon, 16 Dec 2013 02:52:52 -0500 Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward16.mail.yandex.net (Yandex) with ESMTP id BC3F3D20AF0; Mon, 16 Dec 2013 11:52:37 +0400 (MSK) Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 821FD18A0144; Mon, 16 Dec 2013 11:52:37 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id JxGQsxE84X-qbVOJw2n; Mon, 16 Dec 2013 11:52:37 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1387180357; bh=UN1mTCIcQvmHeQici0m9mF0ZoN1JfA80JwreXWd3CgQ=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=b4TiXyTsKTZlnV9rFb1ShFPAOuA9pg/c8Vp4EaRK/3cUyZn6o8yBbR9xYEAvN1gZC 93VBZKtsHGZTZHEEPwrwp0PSqo9X+T+vewB/f6w+3AhjWBz9l26o2suTyrWWi5vW0J 81CPaZbUoVK/fS64Fj8ULt0UqnyjNCZtP0BxADeQ= Authentication-Results: smtp18.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52AEB144.4040806@yandex.ru> Date: Mon, 16 Dec 2013 11:52:36 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Nix Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> <52A7E9D9.3060306@yandex.ru> <87d2l01ise.fsf@spindle.srvr.nix> <52ABBDAF.3070002@yandex.ru> In-Reply-To: <52ABBDAF.3070002@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Please try to upgrade to trunk >= r115541 (now there is a check whether 'Display *' pointer in font objects is still in use). Dmitry From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 08:32:53 2014 Received: (at 16093) by debbugs.gnu.org; 6 Jan 2014 13:32:53 +0000 Received: from localhost ([127.0.0.1]:38049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0AIV-0005Gp-3y for submit@debbugs.gnu.org; Mon, 06 Jan 2014 08:32:51 -0500 Received: from icebox.esperi.org.uk ([81.187.191.129]:37946 helo=mail.esperi.org.uk) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0AIR-0005Gd-4X for 16093@debbugs.gnu.org; Mon, 06 Jan 2014 08:32:48 -0500 Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id s06DWi0n007459; Mon, 6 Jan 2014 13:32:44 GMT From: Nix To: Dmitry Antipov Subject: Re: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> <52A7E9D9.3060306@yandex.ru> <87d2l01ise.fsf@spindle.srvr.nix> <52ABBDAF.3070002@yandex.ru> <52AEB144.4040806@yandex.ru> Emacs: resistance is futile; you will be assimilated and byte-compiled. Date: Mon, 06 Jan 2014 13:32:44 +0000 In-Reply-To: <52AEB144.4040806@yandex.ru> (Dmitry Antipov's message of "Mon, 16 Dec 2013 11:52:36 +0400") Message-ID: <87wqidb5hf.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-dcc1-Metrics: spindle 1182; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 16093 Cc: 16093@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 16 Dec 2013, Dmitry Antipov spake thusly: > Please try to upgrade to trunk >= r115541 (now there is a check > whether 'Display *' pointer in font objects is still in use). A bit late, I know (Christmas got in the way), but this has indeed fixed it. -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 11:58:42 2014 Received: (at control) by debbugs.gnu.org; 6 Jan 2014 16:58:42 +0000 Received: from localhost ([127.0.0.1]:38840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0DVh-0003eg-QQ for submit@debbugs.gnu.org; Mon, 06 Jan 2014 11:58:42 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:37373) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W0DVe-0003eT-TG for control@debbugs.gnu.org; Mon, 06 Jan 2014 11:58:39 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1W0DVe-000323-1b for control@debbugs.gnu.org; Mon, 06 Jan 2014 11:58:38 -0500 Date: Mon, 06 Jan 2014 11:58:38 -0500 Message-Id: Subject: control message for bug 16093 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) close 16093 24.4 From unknown Thu Aug 14 18:32:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Feb 2014 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator