From unknown Tue Jun 17 20:18:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16058 <16058@debbugs.gnu.org> To: bug#16058 <16058@debbugs.gnu.org> Subject: Status: 24.3.50; X protocol error: BadAlloc... Reply-To: bug#16058 <16058@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:18:33 +0000 retitle 16058 24.3.50; X protocol error: BadAlloc... reassign 16058 emacs submitter 16058 Thierry Volpiatto severity 16058 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 00:52:22 2013 Received: (at submit) by debbugs.gnu.org; 5 Dec 2013 05:52:22 +0000 Received: from localhost ([127.0.0.1]:58786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoRrI-0008RL-J9 for submit@debbugs.gnu.org; Thu, 05 Dec 2013 00:52:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50296) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoRrE-0008R6-BU for submit@debbugs.gnu.org; Thu, 05 Dec 2013 00:52:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoRr8-0008I9-4D for submit@debbugs.gnu.org; Thu, 05 Dec 2013 00:52:15 -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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoRr8-0008I5-0o for submit@debbugs.gnu.org; Thu, 05 Dec 2013 00:52:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoRr2-0004dZ-14 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 00:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoRqw-0008Hl-5B for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 00:52:03 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:53139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoRqv-0008Hb-RH for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 00:51:58 -0500 Received: by mail-we0-f179.google.com with SMTP id q59so15882614wes.38 for ; Wed, 04 Dec 2013 21:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=CXaVnmcwWGjxBiJCOf0YUwZ5+OD1bLqNCKJIk1eGP5k=; b=xirir9Qy58lV94vyu3y8Afffwg4HaiC8mAIWSOIZf6JJR2wHvUjGSHQnni4zUYIDwp bY1vIBJm9S8F7kr0vd4vGz7gc27ipIUvkeJWnOjCmUuVZbQkmaTDTiW+NSxaKXvNZoUl NXrVHCCvTzvmmHD5eins07WxneUJ5NW4FfdhuMeL6f2qbmX4D8k2TpEs+s8litf6lV2F nohHA5ah48rOKq0IdujdSDwXwcc9AYW6NjvKkSSHukjOwd4DxtGrxrMCVuBnlvKdLN7c fea8Oi9q+XqidZJzWr/8t1xUZx1/3fJ50RBYmUztsFPIJAVk4xCR4khTbPjHOhTg6xnP lcGA== X-Received: by 10.180.75.202 with SMTP id e10mr10211034wiw.8.1386222716379; Wed, 04 Dec 2013 21:51:56 -0800 (PST) Received: from dell-14z ([37.160.55.81]) by mx.google.com with ESMTPSA id s2sm2875111wiy.7.2013.12.04.21.51.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Dec 2013 21:51:55 -0800 (PST) From: Thierry Volpiatto To: bug-gnu-emacs@gnu.org Subject: 24.3.50; X protocol error: BadAlloc... Date: Thu, 05 Dec 2013 06:51:40 +0100 Message-ID: <8738m7vo9f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: -4.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: -4.0 (----) Hi all, Start emacs -Q M-x icomplete-mode C-x C-f --8<---------------cut here---------------start------------->8--- X protocol error: BadAlloc (insufficient resources for operation) on protocol request 53 [Thread 0x7fffefbbd980 (LWP 9875) exited] [Inferior 1 (process 9875) exited with code 0106] --8<---------------cut here---------------end--------------->8--- I tried evaling (x-synchronize t) before but when the bug happen gdb hang forever (I had to kill it). In GNU Emacs 24.3.50.4 (x86_64-unknown-linux-gnu, X toolkit) of 2013-12-04 on dell-14z Windowing system distributor `The X.Org Foundation', version 11.0.11103000 System Description: Ubuntu 12.04.3 LTS Configured using: `configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf --without-gsettings' Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Outline Minor modes in effect: goto-address-mode: t diff-auto-refine-mode: t psession-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t golden-ratio-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t auto-image-file-mode: t eldoc-in-minibuffer-mode: t show-paren-mode: t display-time-mode: t recentf-mode: t savehist-mode: t minibuffer-depth-indicate-mode: t helm-mode: t helm-descbinds-mode: t shell-dirtrack-mode: t helm-adaptative-mode: t helm-match-plugin-mode: t helm-occur-match-plugin-mode: t tooltip-mode: t electric-indent-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 transient-mark-mode: t view-mode: t Recent input: C-M-SPC M-w C-x c t g d b C-SPC C-e M-w M-x r e p o r Recent messages: Mark set Building list of manual directory expansions... Building completion list of all manual topics... Invoking man gdb in the background Please wait: formatting the gdb man page... gdb man page formatted Mark set Executed kill -TERM 9792 Mark set Load-path shadows: /usr/local/share/emacs/24.3.50/lisp/gnus/.dir-locals hides ~/elisp/magit/.dir-locals ~/elisp/auctex/lpath hides ~/elisp/emacs-wget/lpath /usr/local/share/emacs/24.3.50/lisp/emacs-lisp/tq hides ~/elisp/emms/lisp/tq Features: (shadow epa-mail emacsbug tabify imenu woman man helm-man goto-addr view cl-indent ido helm-sys diff-mode qp gnus-html url-cache flow-fill mm-archive mule-util helm-command smiley gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml nndraft nnmh utf-7 nnimap utf7 nnml nnfolder parse-time netrc network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-dired nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win vc-hg semantic/tag-file semantic/db-file data-debug cedet-files semantic/wisent/python semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent vc-rcs sh-script smie executable vc-git naquadah-theme em-unix em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias align-let git-gutter server persistent-sessions semantic/db-mode semantic/db eieio-base semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet package golden-ratio winner undo-tree diff image-file newsticker newst-treeview newst-plainview newst-reader newst-ticker newst-backend xdvi-search preview-latex tex-site auto-loads pcomplete-extension em-term term disp-table ehelp helm-ipython helm-elisp helm-eval python rx eldoc-eval warnings whitespace paren time avoid recentf tree-widget savehist smtpmail-async smtpmail sendmail helm-async iterator simple-call-tree iedit-rect rect iedit iedit-lib smallurl mm-url gnus gnus-ems nnheader wid-edit rectangle-utils ledger-config ledger esh-var esh-io esh-cmd esh-opt esh-ext esh-proc eldoc esh-groups eshell esh-module esh-mode esh-arg esh-util tv-utils async pcvs vc-cvs pcvs-parse pcvs-info pcvs-defs pcvs-util ewoc mb-depth cl-info slime-autoloads esh-toggle flymake no-word htmlize dired-extension emms-mpd-config emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url hl-line emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mplayer emms-info emms-streams later-do emms-source-playlist emms-source-file emms-player-simple emms-setup emms emms-compat org-config-thierry ob-sh cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs org-element org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m org-agenda org-annotation-helper addressbook-bookmark message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol bookmark-firefox-handler bookmark-extensions bookmark pp init-helm-thierry helm-mode helm-dictionary helm-ls-git helm-descbinds helm-ls-hg helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell dired-x dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap helm-plugin helm-help helm-match-plugin helm-grep wgrep-helm wgrep helm-regexp grep helm-external helm-utils dired compile helm-locate helm vc vc-dispatcher helm-config helm-aliases epa-file epa derived epg epg-config auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache info cl-macs gv edmacro kmacro org-crypt org byte-opt bytecomp byte-compile cconv advice help-fns org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs net-utils cl cl-loaddefs cl-lib tooltip electric uniquify 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 gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 01:51:39 2013 Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 06:51:39 +0000 Received: from localhost ([127.0.0.1]:58841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoSmg-0001Y7-8a for submit@debbugs.gnu.org; Thu, 05 Dec 2013 01:51:38 -0500 Received: from forward10l.mail.yandex.net ([84.201.143.143]:59737) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoSmd-0001Xy-9l for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 01:51:36 -0500 Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward10l.mail.yandex.net (Yandex) with ESMTP id EE2F6BA0CF3; Thu, 5 Dec 2013 10:51:32 +0400 (MSK) Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 9BD2A1E084E; Thu, 5 Dec 2013 10:51:32 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YTAMa9VvGx-pWKaIiOW; Thu, 5 Dec 2013 10:51:32 +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=1386226292; bh=bZZmrxd8y6BzSCLV/cT/28y2YW/mpw7Toe1lJUBai+0=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Mt9HP7yr4Qja9Y2p0JPFeu5kJnlRE9hbajYnguGZ2tlPVIesoYrpRF5rx4C/x1Jmw EwEvUnBONK4qF3ixqX2iV+nRbqFfQF2Oj6rkJkF8E6U8USPdJyOLPPs0PDAeT+mL/z J6wZClEIOTr/IXmSAvKF5dQgEQvK6Z7bb8A/rksk= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A02273.2030003@yandex.ru> Date: Thu, 05 Dec 2013 10:51:31 +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: Thierry Volpiatto , 16058@debbugs.gnu.org Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> In-Reply-To: <8738m7vo9f.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 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/05/2013 09:51 AM, Thierry Volpiatto wrote: > Start emacs -Q > > M-x icomplete-mode > > C-x C-f > > --8<---------------cut here---------------start------------->8--- > X protocol error: BadAlloc (insufficient resources for operation) on protocol request 53 > [Thread 0x7fffefbbd980 (LWP 9875) exited] > [Inferior 1 (process 9875) exited with code 0106] > --8<---------------cut here---------------end--------------->8--- Reproduced. Could you please obtain the backtrace? Currently I'm seeing: #0 __fprintf (stream=0x3869dbb1e0 <_IO_2_1_stderr_>, format=0x67de08 "%s\n") at fprintf.c:27 #1 0x000000000050635e in x_connection_closed (dpy=0x13dcfa0, error_message=0x7fffffffa990 "X protocol error: BadAlloc (insufficient resources for operation) on protocol request 53") at ../../trunk/src/xterm.c:7590 #2 0x0000000000506484 in x_error_quitter (display=0x13dcfa0, event=0x7fffffffac40) at ../../trunk/src/xterm.c:7660 #3 0x00000000005063e5 in x_error_handler (display=0x13dcfa0, event=0x7fffffffac40) at ../../trunk/src/xterm.c:7630 #4 0x000000386d243c2b in _XError (dpy=dpy@entry=0x13dcfa0, rep=rep@entry=0xddf3e0) at XlibInt.c:1463 #5 0x000000386d240c87 in handle_error (dpy=0x13dcfa0, err=0xddf3e0, in_XReply=) at xcb_io.c:213 #6 0x000000386d240d35 in handle_response (dpy=dpy@entry=0x13dcfa0, response=0xddf3e0, in_XReply=in_XReply@entry=0) at xcb_io.c:325 #7 0x000000386d241675 in _XEventsQueued (dpy=dpy@entry=0x13dcfa0, mode=mode@entry=2) at xcb_io.c:364 #8 0x000000386d2337dd in XPending (dpy=0x13dcfa0) at Pending.c:55 #9 0x000000000050502c in XTread_socket (terminal=0xff3cb0, hold_quit=0x7fffffffaec0) at ../../trunk/src/xterm.c:6907 #10 0x0000000000538d9f in gobble_input () at ../../trunk/src/keyboard.c:6841 #11 0x00000000005391bf in handle_async_input () at ../../trunk/src/keyboard.c:7081 #12 0x00000000005391de in process_pending_signals () at ../../trunk/src/keyboard.c:7095 #13 0x000000000060a960 in wait_reading_process_output (time_limit=2, nsecs=0, read_kbd=1, do_display=true, wait_for_cell=12746930, wait_proc=0x0, just_wait_proc=0) at ../../trunk/src/process.c:4321 #14 0x000000000041f7e3 in sit_for (timeout=8, reading=false, display_option=2) at ../../trunk/src/dispnew.c:5800 #15 0x000000000052ea85 in command_loop_1 () at ../../trunk/src/keyboard.c:1414 #16 0x00000000005bcc23 in internal_condition_case (bfun=0x52e7f9 , handlers=12798402, hfun=0x52e111 ) at ../../trunk/src/eval.c:1344 #17 0x000000000052e556 in command_loop_2 (ignore=12746930) at ../../trunk/src/keyboard.c:1170 #18 0x00000000005bc435 in internal_catch (tag=12871090, func=0x52e530 , arg=12746930) at ../../trunk/src/eval.c:1108 #19 0x000000000052e4b6 in command_loop () at ../../trunk/src/keyboard.c:1141 #20 0x000000000052dd0c in recursive_edit_1 () at ../../trunk/src/keyboard.c:777 #21 0x000000000056632c in read_minibuf (map=13228406, initial=13401201, prompt=9518737, expflag=false, histvar=12814626, histpos=0, defalt=12863441, allow_props=false, inherit_input_method=false) at ../../trunk/src/minibuf.c:664 #22 0x0000000000566ba2 in Fread_from_minibuffer (prompt=9518737, initial_contents=13401201, keymap=13228406, read=12746930, hist=12814626, default_value=12863441, inherit_input_method=12746930) at ../../trunk/src/minibuf.c:954 [...skip...] > Configured using: > `configure --with-x-toolkit=lucid --without-toolkit-scroll-bars > --without-gconf --without-gsettings' Note that I can't reproduce this with a minimal Lucid build, i.e. 'configure --with-x-toolkit=lucid --without-all'. We can have a nasty clash with some external library; it would be nice if you can shrink your configuration from `--without-gconf --without-gsettings' to `--without-all', library by library, and find a minimal configuration where the problem still exists. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 02:10:26 2013 Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 07:10:26 +0000 Received: from localhost ([127.0.0.1]:58875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoT4q-00021u-TE for submit@debbugs.gnu.org; Thu, 05 Dec 2013 02:10:25 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:59735) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoT4m-00021k-SD for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 02:10:21 -0500 Received: by mail-we0-f172.google.com with SMTP id w62so10611296wes.3 for <16058@debbugs.gnu.org>; Wed, 04 Dec 2013 23:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=u4XK6HY+ZztZR84C3yEJUc5j375aGMa/LPnhycGCA2U=; b=jpXo7nTmQV9e610a8k3N+B+rlvB1/igZfpHeHsaU7ih57Fa0OQGE2I8YGfjkFFJ6a8 qu8X3dNk2VZqd0wqYnytICtlaqoCZnbNbkm19qD2mCzeWV4tVGNma4Vf1z/YTzBFrguT ixS8+X6kWLB5nehfE3YLJUT872x77lCS5vppLsF0WJitmhvf2HSplAJNN5WHPpElrUk/ r88qlCDPpxYDmNNBmD46JAgihTVa3LvHrHiO1oquyrgLwn8eF/OUCyzNx7ywRUEwudN5 bd1PaCYOfqethGvvPUZMJM2ojDwCN96TDXqoICNeQbY4TFesUohvUfi8rg1r6hrRirxF b9Zw== X-Received: by 10.180.39.177 with SMTP id q17mr10649272wik.16.1386227420253; Wed, 04 Dec 2013 23:10:20 -0800 (PST) Received: from dell-14z ([37.160.55.81]) by mx.google.com with ESMTPSA id je17sm3431471wic.4.2013.12.04.23.10.17 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 04 Dec 2013 23:10:19 -0800 (PST) From: Thierry Volpiatto To: Dmitry Antipov Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... Organization: Emacs Helm References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> Date: Thu, 05 Dec 2013 08:10:05 +0100 In-Reply-To: <52A02273.2030003@yandex.ru> (Dmitry Antipov's message of "Thu, 05 Dec 2013 10:51:31 +0400") Message-ID: <87y53zu62a.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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 (/) Dmitry Antipov writes: > On 12/05/2013 09:51 AM, Thierry Volpiatto wrote: > >> Start emacs -Q >> >> M-x icomplete-mode >> >> C-x C-f >> >> --8<---------------cut here---------------start------------->8--- >> X protocol error: BadAlloc (insufficient resources for operation) on protocol request 53 >> [Thread 0x7fffefbbd980 (LWP 9875) exited] >> [Inferior 1 (process 9875) exited with code 0106] >> --8<---------------cut here---------------end--------------->8--- > > Reproduced. Could you please obtain the backtrace? Currently I'm seeing: How did you get the backtrace ? bt return "No stack" >> Configured using: >> `configure --with-x-toolkit=lucid --without-toolkit-scroll-bars >> --without-gconf --without-gsettings' > > Note that I can't reproduce this with a minimal Lucid build, i.e. 'configure --with-x-toolkit=lucid > --without-all'. We can have a nasty clash with some external library; it would be nice if you can > shrink your configuration from `--without-gconf --without-gsettings' to `--without-all', library > by library, and find a minimal configuration where the problem still exists. So you mean try to reproduce the bug with emacs compiled with: ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars then with: ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf then with: ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf --without-gsettings then with: ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-all -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 03:46:55 2013 Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 08:46:55 +0000 Received: from localhost ([127.0.0.1]:58944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoUaE-0004QS-Co for submit@debbugs.gnu.org; Thu, 05 Dec 2013 03:46:55 -0500 Received: from forward5l.mail.yandex.net ([84.201.143.138]:52734) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoUaA-0004QG-Ll for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 03:46:52 -0500 Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward5l.mail.yandex.net (Yandex) with ESMTP id D3A6FC40E70; Thu, 5 Dec 2013 12:46:48 +0400 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 7FA812320907; Thu, 5 Dec 2013 12:46:48 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zWGb6FsHkW-kmeihkQO; Thu, 5 Dec 2013 12:46:48 +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=1386233208; bh=LqHum3BHP2LVfcxMhbNU335H15e1ocpkVKq5o4Vwal4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UNUx/8Qy8+5ZAhveWDo5vhx/KXREWJJXDtFIYdwVR0oOW1vTHcW7Tt7W7Naf1t+hZ Yc+wLgUAY5JMN1t8ySaTziFgw3ns6FzTKlLVEDFPXJrqzlPARSniTsv7ng8k+FsnAp uRn8aKMTo+Cjq8QbBZAfmw7Wvpyn4ufj6panafGA= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A03D77.9020509@yandex.ru> Date: Thu, 05 Dec 2013 12:46:47 +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: Thierry Volpiatto Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> In-Reply-To: <87y53zu62a.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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/05/2013 11:10 AM, Thierry Volpiatto wrote: > How did you get the backtrace ? > bt return "No stack" This is because the program has exited. X protocol error messages are displayed by using glibc's printf and friends, so you could just insert breakpoints to printf and fprintf. > So you mean try to reproduce the bug with emacs compiled with: This may be annoying. When I build with '--with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf --without-gsettings', resulting binary depends on 92 libraries: $ ldd src/emacs linux-vdso.so.1 => (0x00007fff239fe000) libtiff.so.5 => /lib64/libtiff.so.5 (0x000000387a200000) libjpeg.so.62 => /lib64/libjpeg.so.62 (0x0000003872600000) libpng15.so.15 => /lib64/libpng15.so.15 (0x0000003870200000) libz.so.1 => /lib64/libz.so.1 (0x000000386aa00000) libm.so.6 => /lib64/libm.so.6 (0x0000003869e00000) libgif.so.4 => /lib64/libgif.so.4 (0x000000387ae00000) libXpm.so.4 => /lib64/libXpm.so.4 (0x0000003871e00000) libXaw3d.so.8 => /lib64/libXaw3d.so.8 (0x00007ff20521d000) libXmu.so.6 => /lib64/libXmu.so.6 (0x0000003873e00000) libXt.so.6 => /lib64/libXt.so.6 (0x000000387ba00000) libSM.so.6 => /lib64/libSM.so.6 (0x0000003873200000) libICE.so.6 => /lib64/libICE.so.6 (0x0000003871600000) libXext.so.6 => /lib64/libXext.so.6 (0x000000386ee00000) libX11.so.6 => /lib64/libX11.so.6 (0x000000386d200000) libXrender.so.1 => /lib64/libXrender.so.1 (0x0000003873600000) libXft.so.2 => /lib64/libXft.so.2 (0x0000003870600000) libasound.so.2 => /lib64/libasound.so.2 (0x000000387d200000) librsvg-2.so.2 => /lib64/librsvg-2.so.2 (0x00007ff204fe4000) libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x0000003357a00000) libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x0000003359a00000) libcairo.so.2 => /lib64/libcairo.so.2 (0x00000031e2200000) libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003357200000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003356e00000) libMagickWand.so.5 => /lib64/libMagickWand.so.5 (0x000000387fa00000) libMagickCore.so.5 => /lib64/libMagickCore.so.5 (0x0000003880200000) libacl.so.1 => /lib64/libacl.so.1 (0x00007ff204dd9000) librt.so.1 => /lib64/librt.so.1 (0x000000386b200000) libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x0000003358200000) libXrandr.so.2 => /lib64/libXrandr.so.2 (0x0000003877e00000) libXinerama.so.1 => /lib64/libXinerama.so.1 (0x0000003877200000) libxml2.so.2 => /lib64/libxml2.so.2 (0x000000386f600000) libgpm.so.2 => /lib64/libgpm.so.2 (0x000000386be00000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003872a00000) libselinux.so.1 => /lib64/libselinux.so.1 (0x000000386ba00000) libfreetype.so.6 => /lib64/libfreetype.so.6 (0x000000386ea00000) libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x000000386fa00000) libotf.so.0 => /lib64/libotf.so.0 (0x00007ff204bbf000) libm17n-flt.so.0 => /lib64/libm17n-flt.so.0 (0x000000386c200000) libm17n-core.so.0 => /lib64/libm17n-core.so.0 (0x00007ff204991000) libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007ff204685000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000386a600000) libgomp.so.1 => /lib64/libgomp.so.1 (0x0000003879e00000) libc.so.6 => /lib64/libc.so.6 (0x0000003869a00000) libjbig.so.2.0 => /lib64/libjbig.so.2.0 (0x000000387b600000) libuuid.so.1 => /lib64/libuuid.so.1 (0x000000386e200000) libxcb.so.1 => /lib64/libxcb.so.1 (0x000000386ca00000) libdl.so.2 => /lib64/libdl.so.2 (0x000000386a200000) /lib64/ld-linux-x86-64.so.2 (0x0000003869600000) libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00000031e2600000) libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x0000003359600000) libcroco-0.6.so.3 => /lib64/libcroco-0.6.so.3 (0x00007ff204446000) libffi.so.6 => /lib64/libffi.so.6 (0x000000386d600000) libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x0000003357600000) libresolv.so.2 => /lib64/libresolv.so.2 (0x000000386c600000) libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x0000003872e00000) libEGL.so.1 => /lib64/libEGL.so.1 (0x00000031e1a00000) libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x000000387d600000) libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x0000003876e00000) libGL.so.1 => /lib64/libGL.so.1 (0x00000031e1200000) liblcms.so.1 => /lib64/liblcms.so.1 (0x000000387fe00000) liblzma.so.5 => /lib64/liblzma.so.5 (0x000000386de00000) libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003875600000) libltdl.so.7 => /lib64/libltdl.so.7 (0x000000387be00000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000386ae00000) libattr.so.1 => /lib64/libattr.so.1 (0x000000386f200000) libpcre.so.1 => /lib64/libpcre.so.1 (0x000000386b600000) libexpat.so.1 => /lib64/libexpat.so.1 (0x000000386e600000) libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x0000003881800000) libtasn1.so.6 => /lib64/libtasn1.so.6 (0x0000003882a00000) libnettle.so.4 => /lib64/libnettle.so.4 (0x0000003882200000) libhogweed.so.2 => /lib64/libhogweed.so.2 (0x0000003883400000) libgmp.so.10 => /lib64/libgmp.so.10 (0x00007ff2041c8000) libXau.so.6 => /lib64/libXau.so.6 (0x000000386ce00000) libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x000000335a600000) libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003357e00000) libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x0000003359200000) libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x0000003877600000) libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x0000003879200000) libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x000000387c600000) libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x0000003870a00000) libgbm.so.1 => /lib64/libgbm.so.1 (0x00000031e1e00000) libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x0000003871200000) libwayland-server.so.0 => /lib64/libwayland-server.so.0 (0x0000003870e00000) libglapi.so.0 => /lib64/libglapi.so.0 (0x00000031e1600000) libudev.so.1 => /lib64/libudev.so.1 (0x0000003872200000) libdrm.so.2 => /lib64/libdrm.so.2 (0x00000031d7200000) libXdamage.so.1 => /lib64/libXdamage.so.1 (0x000000387aa00000) libXfixes.so.3 => /lib64/libXfixes.so.3 (0x0000003875e00000) libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x0000003878a00000) libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x0000003878600000) libfreebl3.so => /lib64/libfreebl3.so (0x0000003875200000) libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007ff203fa4000) And with '--without-all' it's just 26: $ ldd src/emacs linux-vdso.so.1 => (0x00007fffc6dfe000) libXaw.so.7 => /lib64/libXaw.so.7 (0x000000386ae00000) libXmu.so.6 => /lib64/libXmu.so.6 (0x0000003873e00000) libXt.so.6 => /lib64/libXt.so.6 (0x000000387ba00000) libSM.so.6 => /lib64/libSM.so.6 (0x0000003873200000) libICE.so.6 => /lib64/libICE.so.6 (0x0000003871600000) libXext.so.6 => /lib64/libXext.so.6 (0x000000386ee00000) libX11.so.6 => /lib64/libX11.so.6 (0x000000386d200000) libacl.so.1 => /lib64/libacl.so.1 (0x0000003356e00000) librt.so.1 => /lib64/librt.so.1 (0x000000386b200000) libXrandr.so.2 => /lib64/libXrandr.so.2 (0x0000003877e00000) libXinerama.so.1 => /lib64/libXinerama.so.1 (0x0000003877200000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003872a00000) libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x000000386fa00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000386a600000) libm.so.6 => /lib64/libm.so.6 (0x0000003869e00000) libc.so.6 => /lib64/libc.so.6 (0x0000003869a00000) libXpm.so.4 => /lib64/libXpm.so.4 (0x0000003871e00000) libuuid.so.1 => /lib64/libuuid.so.1 (0x000000386e200000) libxcb.so.1 => /lib64/libxcb.so.1 (0x000000386ca00000) libdl.so.2 => /lib64/libdl.so.2 (0x000000386a200000) libattr.so.1 => /lib64/libattr.so.1 (0x000000386f200000) /lib64/ld-linux-x86-64.so.2 (0x0000003869600000) libXrender.so.1 => /lib64/libXrender.so.1 (0x0000003873600000) libfreetype.so.6 => /lib64/libfreetype.so.6 (0x000000386ea00000) libexpat.so.1 => /lib64/libexpat.so.1 (0x000000386e600000) libXau.so.6 => /lib64/libXau.so.6 (0x000000386ce00000) So if we have a glitch with some external library, there are 66 libraries under suspicion. An idea is to remove library dependencies one by one using --without-XXX option until the problem disappears; if you have a better approach, it's definitely appreciated. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 12:44:37 2013 Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 17:44:38 +0000 Received: from localhost ([127.0.0.1]:60170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vocya-00029m-PC for submit@debbugs.gnu.org; Thu, 05 Dec 2013 12:44:37 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:61778) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VocyY-00029d-Hd for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 12:44:35 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXC00800GER8I00@a-mtaout22.012.net.il> for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 19:44:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXC007WPHA8WOA0@a-mtaout22.012.net.il>; Thu, 05 Dec 2013 19:44:33 +0200 (IST) Date: Thu, 05 Dec 2013 19:44:20 +0200 From: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... In-reply-to: <52A03D77.9020509@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <83iov32nwr.fsf@gnu.org> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A03D77.9020509@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16058 Cc: 16058@debbugs.gnu.org, thierry.volpiatto@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Thu, 05 Dec 2013 12:46:47 +0400 > From: Dmitry Antipov > Cc: 16058@debbugs.gnu.org > > This may be annoying. When I build with '--with-x-toolkit=lucid > --without-toolkit-scroll-bars --without-gconf --without-gsettings', > resulting binary depends on 92 libraries: A large portion of those is pulled in by librsvg. > So if we have a glitch with some external library, there are 66 libraries > under suspicion. The immediate suspect is glib, of course. So I'd first try building "--without-rsvg --without-dbus". (If there are others that require glib, build without them as well.) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 14:52:27 2013 Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 19:52:27 +0000 Received: from localhost ([127.0.0.1]:60383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoeyJ-0005Qs-16 for submit@debbugs.gnu.org; Thu, 05 Dec 2013 14:52:27 -0500 Received: from mailfe05.swip.net ([212.247.154.129]:51674 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoeyG-0005Qi-9k for 16058@debbugs.gnu.org; Thu, 05 Dec 2013 14:52:25 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 453852156; Thu, 05 Dec 2013 20:52:21 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <83iov32nwr.fsf@gnu.org> Date: Thu, 5 Dec 2013 20:52:24 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <27C328B0-3836-4E9B-B5FC-5D97D00CC419@swipnet.se> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A03D77.9020509@yandex.ru> <83iov32nwr.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1822) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@debbugs.gnu.org, Dmitry Antipov , Thierry Volpiatto 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. 5 dec 2013 kl. 18:44 skrev Eli Zaretskii : >> Date: Thu, 05 Dec 2013 12:46:47 +0400 >> From: Dmitry Antipov >> Cc: 16058@debbugs.gnu.org >>=20 >> This may be annoying. When I build with '--with-x-toolkit=3Dlucid >> --without-toolkit-scroll-bars --without-gconf --without-gsettings', >> resulting binary depends on 92 libraries: >=20 > A large portion of those is pulled in by librsvg. >=20 >> So if we have a glitch with some external library, there are 66 = libraries >> under suspicion. >=20 > The immediate suspect is glib, of course. So I'd first try building > "--without-rsvg --without-dbus". (If there are others that require > glib, build without them as well.) I have not followed the whole discussion, but if the error is an X = protocol error, you can rule out glib, it does no X11 calls. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 01:26:37 2013 Received: (at 16058) by debbugs.gnu.org; 6 Dec 2013 06:26:37 +0000 Received: from localhost ([127.0.0.1]:32843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voory-0006gt-QW for submit@debbugs.gnu.org; Fri, 06 Dec 2013 01:26:35 -0500 Received: from forward2l.mail.yandex.net ([84.201.143.145]:39091) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voorv-0006gi-6S for 16058@debbugs.gnu.org; Fri, 06 Dec 2013 01:26:32 -0500 Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward2l.mail.yandex.net (Yandex) with ESMTP id BC26B1AC41B1; Fri, 6 Dec 2013 10:26:29 +0400 (MSK) Received: from smtp2o.mail.yandex.net (localhost [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 66BF336A0600; Fri, 6 Dec 2013 10:26:29 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 74KJNQxgq5-QTmisStI; Fri, 6 Dec 2013 10:26:29 +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=1386311189; bh=rWQtkYtVAerjnBS7n+IaWOPQVwYLaUc5r9unzn9a9t4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=wWh4nClHR66eelQjvA/HkpTTd1NslqOYx1hahmSDISCfWl9yk4TFwLvwkoXlBh4Rf eG3DESW+lUbL0+yF1+o357n9rGtJv4amhQE/1BAnzxpbzcIezLHlmRjHRdoDif7S7/ MqGZMeJD6gWn2VwVrMhYa3l7B6fchxkqXq64FMrI= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A16E14.9030007@yandex.ru> Date: Fri, 06 Dec 2013 10:26:28 +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: Thierry Volpiatto Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> In-Reply-To: <87y53zu62a.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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/05/2013 11:10 AM, Thierry Volpiatto wrote: > So you mean try to reproduce the bug with emacs compiled with: > ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars > then with: > ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf > then with: > ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf --without-gsettings > then with: > ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-all Could you please try the following steps: 1) Run under xtruss (http://www.chiark.greenend.org.uk/~sgtatham/xtruss) and check for BadAlloc raised by XCreatePixmap, like below: 02400000: ChangeGC(gc=g#02400067, clip-mask=None) 02400000: ... CreatePixmap(pid=p#0240012D, drawable=wp#02400064, depth=24, width=576, height=65459) = BadAlloc 02400000: ... PolyFillRectangle(drawable=wp#0240012D, gc=g#02400104, rectangles[0]={x=0, y=0, width=65459, height=44}) = BadDrawable(drawable=wp#0240012D) 02400000: ... CopyArea(src-drawable=wp#024000CA, dst-drawable=wp#0240012D, gc=g#02400104, src-x=0, src-y=0, width=24, height=24, dst-x=5, dst-y=10) = BadDrawable(drawable=wp#0240012D) 02400000: ... CopyArea(src-drawable=wp#0240012D, dst-drawable=wp#02400064, gc=g#02400104, src-x=0, src-y=0, width=65459, height=44, dst-x=711, dst-y=0) = BadDrawable(drawable=wp#0240012D) 02400000: ... FreePixmap(pixmap=p#0240012D) = BadPixmap(pixmap=p#0240012D) 2) Check whether you hit this eassert: === modified file 'src/xdisp.c' --- src/xdisp.c 2013-12-04 18:46:47 +0000 +++ src/xdisp.c 2013-12-06 05:53:44 +0000 @@ -23803,6 +23803,7 @@ s->background_width = last_x - s->x + 1; else s->background_width = s->width; + eassert (s->background_width > 0); } 3) Check whether an issue disappears when you configure without '--without-gsettings'. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:39:37 2013 Received: (at 16058) by debbugs.gnu.org; 6 Dec 2013 08:39:38 +0000 Received: from localhost ([127.0.0.1]:32965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voqwj-0001Y5-9k for submit@debbugs.gnu.org; Fri, 06 Dec 2013 03:39:37 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:33246) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voqwg-0001Xw-N2 for 16058@debbugs.gnu.org; Fri, 06 Dec 2013 03:39:35 -0500 Received: by mail-wi0-f171.google.com with SMTP id bz8so376911wib.10 for <16058@debbugs.gnu.org>; Fri, 06 Dec 2013 00:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=HM8UHNje/HOZJIvzFCk4/L2rHDBFc08kRvGnNhu2F6w=; b=RflBVeubIX5yceKG3WfGQnqL/jgfUrFQ7jczRQA6aRi+fHbvCAw4LYiga7XBAtpyez fgQLOoveAYlo1amLgrtn+sialS81bI5VdktWUruQ8bV2+BD7x1Tko3akwkRAVZrye3z8 7P6DG9D/d/sGDlhbPs6QDMPRxZlevRqIGN01+Z1gN/mL9UPGWJyeXdmhguNcsvxRZlyD 6NSt7qNS/vDKfvxEwMDFIyzws3KuRGNyxvGol2hRUZeH6txNQng7/g0JXzuV+hItggUR tL//SEwoMKhLPlZa7XL087Lr+Y1Qz/sEMJazN0/pAx+CH2sVcfOJGsFfZXyv9qvblPAs 5U4w== X-Received: by 10.194.104.42 with SMTP id gb10mr1919807wjb.16.1386319173524; Fri, 06 Dec 2013 00:39:33 -0800 (PST) Received: from dell-14z ([37.163.143.80]) by mx.google.com with ESMTPSA id uc18sm4014228wib.11.2013.12.06.00.39.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 06 Dec 2013 00:39:33 -0800 (PST) From: Thierry Volpiatto To: Dmitry Antipov Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... Organization: Emacs Helm References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> Date: Fri, 06 Dec 2013 09:39:22 +0100 In-Reply-To: <52A16E14.9030007@yandex.ru> (Dmitry Antipov's message of "Fri, 06 Dec 2013 10:26:28 +0400") Message-ID: <87vbz274qt.fsf@gmail.com> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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 (/) Dmitry Antipov writes: > On 12/05/2013 11:10 AM, Thierry Volpiatto wrote: > >> So you mean try to reproduce the bug with emacs compiled with: >> ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars >> then with: >> ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf >> then with: >> ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-gconf --without-gsettings >> then with: >> ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars --without-all > > Could you please try the following steps: > > 1) Run under xtruss (http://www.chiark.greenend.org.uk/~sgtatham/xtruss) > and check for BadAlloc raised by XCreatePixmap, like below: Do you want the output of xtruss? (huge) > 2) Check whether you hit this eassert: > > === modified file 'src/xdisp.c' > --- src/xdisp.c 2013-12-04 18:46:47 +0000 > +++ src/xdisp.c 2013-12-06 05:53:44 +0000 > @@ -23803,6 +23803,7 @@ > s->background_width = last_x - s->x + 1; > else > s->background_width = s->width; > + eassert (s->background_width > 0); > } Do you want me to apply this patch and see some resulting error in the xtruss output? > 3) Check whether an issue disappears when you configure without '--without-gsettings'. Yes the issue disappear, configured with only: ./configure --with-x-toolkit=lucid --without-toolkit-scroll-bars -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 05:36:42 2013 Received: (at 16058) by debbugs.gnu.org; 9 Dec 2013 10:36:42 +0000 Received: from localhost ([127.0.0.1]:39470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpyCg-0005uZ-3S for submit@debbugs.gnu.org; Mon, 09 Dec 2013 05:36:42 -0500 Received: from forward6l.mail.yandex.net ([84.201.143.139]:49252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpyCd-0005uR-GH for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 05:36:41 -0500 Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward6l.mail.yandex.net (Yandex) with ESMTP id 60B5114E5C9E; Mon, 9 Dec 2013 14:24:44 +0400 (MSK) Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 47B8718A6412; Mon, 9 Dec 2013 12:36:19 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTP id N9l08bYWG8-aIYeufD7; Mon, 9 Dec 2013 12:36:18 +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=1386578178; bh=3bLQI2WFReH04ceG6hM9n82yFWgvZPSD5eljrWZ2q4E=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=wUFnjvV8rwH7J2XYB6/8ONH1lQFH8/IHMsTCl89eWNvE+rN+q8plfdOODBXCv/l+Y zeLvTktsELj8gMMvBDb9IpVu/KpOUGNdk3WtY/PptUegy7j79b4TkEeO46+JkS9u5K xU3mTGT/oXAtRn1xBVt32YeBDSHKT49xRHioGFlc= Authentication-Results: smtp18.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A58102.6040907@yandex.ru> Date: Mon, 09 Dec 2013 12:36:18 +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: Thierry Volpiatto Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> In-Reply-To: <87vbz274qt.fsf@gmail.com> Content-Type: multipart/mixed; boundary="------------050609030505060204090303" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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 (/) This is a multi-part message in MIME format. --------------050609030505060204090303 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/06/2013 12:39 PM, Thierry Volpiatto wrote: > Do you want the output of xtruss? (huge) No. Instead, could you please verify an attached fix instead? It works for me against development trunk revision 115437. Dmitry --------------050609030505060204090303 Content-Type: text/x-patch; name="invalidate_desired_row_bug16058.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="invalidate_desired_row_bug16058.patch" === modified file 'src/xdisp.c' --- src/xdisp.c 2013-12-04 18:46:47 +0000 +++ src/xdisp.c 2013-12-09 08:30:57 +0000 @@ -11937,6 +11937,8 @@ int max_x = it->last_visible_x; struct glyph *last; + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ + row->enabled_p = 0; prepare_desired_row (row); row->y = it->current_y; --------------050609030505060204090303-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 11:44:03 2013 Received: (at 16058) by debbugs.gnu.org; 9 Dec 2013 16:44:03 +0000 Received: from localhost ([127.0.0.1]:40353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3wA-00083O-HK for submit@debbugs.gnu.org; Mon, 09 Dec 2013 11:44:02 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:46167) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq3w8-00082s-5s for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 11:44:01 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MXJ00500SIJ5B00@a-mtaout23.012.net.il> for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 18:43:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXJ005CFT5A5X10@a-mtaout23.012.net.il>; Mon, 09 Dec 2013 18:43:58 +0200 (IST) Date: Mon, 09 Dec 2013 18:43:56 +0200 From: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... In-reply-to: <52A58102.6040907@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <838uvuynxv.fsf@gnu.org> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16058 Cc: 16058@debbugs.gnu.org, thierry.volpiatto@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Mon, 09 Dec 2013 12:36:18 +0400 > From: Dmitry Antipov > Cc: 16058@debbugs.gnu.org > > No. Instead, could you please verify an attached fix instead? > It works for me against development trunk revision 115437. > > Dmitry > > > [2:text/x-patch Hide Save:invalidate_desired_row_bug16058.patch (356B)] > > === modified file 'src/xdisp.c' > --- src/xdisp.c 2013-12-04 18:46:47 +0000 > +++ src/xdisp.c 2013-12-09 08:30:57 +0000 > @@ -11937,6 +11937,8 @@ > int max_x = it->last_visible_x; > struct glyph *last; > > + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ > + row->enabled_p = 0; > prepare_desired_row (row); > row->y = it->current_y; Isn't it better to just call clear_glyph_row explicitly? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 12:11:56 2013 Received: (at 16058) by debbugs.gnu.org; 9 Dec 2013 17:11:56 +0000 Received: from localhost ([127.0.0.1]:40399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4NA-0000KB-01 for submit@debbugs.gnu.org; Mon, 09 Dec 2013 12:11:56 -0500 Received: from forward2l.mail.yandex.net ([84.201.143.145]:51495) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4N6-0000K1-Oa for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 12:11:53 -0500 Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward2l.mail.yandex.net (Yandex) with ESMTP id 273C21AC0E78; Mon, 9 Dec 2013 21:11:51 +0400 (MSK) Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id B63006A0230; Mon, 9 Dec 2013 21:11:50 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qHWKnoloPc-Bo8SviTU; Mon, 9 Dec 2013 21:11:50 +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=1386609110; bh=YGmHl3CDPJmz9P5+Sm+AaAGR/C477ImtS4CEbNUbpWU=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Unh1uWIR9UEXsEd6s7uZO6fiCgsQb8Z+EciCqvSuVMi2D9hvD19KxCtGSvOgv/FK8 53BdGGzOff6Ls4s3Sy9rn3FoNFzzZjeRuGMzJRIxpvgM7BSoLdzBA4xKMMt2I7gmO4 FmAsASNnJakmvwrWt+HoaZTtnZmHXvv9spS+C3os= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A5F9D6.4000302@yandex.ru> Date: Mon, 09 Dec 2013 21:11:50 +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: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <838uvuynxv.fsf@gnu.org> In-Reply-To: <838uvuynxv.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@debbugs.gnu.org, thierry.volpiatto@gmail.com 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/09/2013 08:43 PM, Eli Zaretskii wrote: >> [2:text/x-patch Hide Save:invalidate_desired_row_bug16058.patch (356B)] >> >> === modified file 'src/xdisp.c' >> --- src/xdisp.c 2013-12-04 18:46:47 +0000 >> +++ src/xdisp.c 2013-12-09 08:30:57 +0000 >> @@ -11937,6 +11937,8 @@ >> int max_x = it->last_visible_x; >> struct glyph *last; >> >> + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ >> + row->enabled_p = 0; >> prepare_desired_row (row); >> row->y = it->current_y; > > Isn't it better to just call clear_glyph_row explicitly? Hm...not sure, what about enabling enabled_p and preserving reversed_p? And, of course, thanks for reviewing it. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 13:15:24 2013 Received: (at 16058) by debbugs.gnu.org; 9 Dec 2013 18:15:24 +0000 Received: from localhost ([127.0.0.1]:40505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq5Ma-00022U-Bi for submit@debbugs.gnu.org; Mon, 09 Dec 2013 13:15:24 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:37042) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq5MX-00022F-42 for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 13:15:22 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXJ00A00X2GMB00@a-mtaout20.012.net.il> for 16058@debbugs.gnu.org; Mon, 09 Dec 2013 20:15:16 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXJ00AQ7XDFGB70@a-mtaout20.012.net.il>; Mon, 09 Dec 2013 20:15:16 +0200 (IST) Date: Mon, 09 Dec 2013 20:15:14 +0200 From: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... In-reply-to: <52A5F9D6.4000302@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <834n6hzya5.fsf@gnu.org> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <838uvuynxv.fsf@gnu.org> <52A5F9D6.4000302@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16058 Cc: 16058@debbugs.gnu.org, thierry.volpiatto@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Mon, 09 Dec 2013 21:11:50 +0400 > From: Dmitry Antipov > CC: thierry.volpiatto@gmail.com, 16058@debbugs.gnu.org > > >> + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ > >> + row->enabled_p = 0; > >> prepare_desired_row (row); > >> row->y = it->current_y; > > > > Isn't it better to just call clear_glyph_row explicitly? > > Hm...not sure, what about enabling enabled_p You can do that by hand. > and preserving reversed_p? We don't support R2L toolbars anyway, there's a comment about that in the code. Anyway, if you prefer to do this your way, we should have a comment there saying that disabling the row ensures prepare_desired_row will clear it. > And, of course, thanks for reviewing it. You are welcome. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 08:26:15 2013 Received: (at 16058) by debbugs.gnu.org; 10 Dec 2013 13:26:15 +0000 Received: from localhost ([127.0.0.1]:41550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqNKI-0007oE-PJ for submit@debbugs.gnu.org; Tue, 10 Dec 2013 08:26:15 -0500 Received: from forward5o.mail.yandex.net ([37.140.190.34]:60708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqNKE-0007o1-8R for 16058@debbugs.gnu.org; Tue, 10 Dec 2013 08:26:12 -0500 Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward5o.mail.yandex.net (Yandex) with ESMTP id B98571701714 for <16058@debbugs.gnu.org>; Tue, 10 Dec 2013 17:26:08 +0400 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 97CF72320965 for <16058@debbugs.gnu.org>; Tue, 10 Dec 2013 17:26:08 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id gcnxZnrQmX-Q8e4XTMD; Tue, 10 Dec 2013 17:26:08 +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=1386681968; bh=OTwhVpxy4WMQSCi8O8Bv6PIXz5KoZ/tfjdrw3ADGb0Y=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Q4Fbp8ifn88fn3YweWY9zC2fVC18dHFC1RwuyAa8DFqInf1glHX7AmROS2oGxfKg4 2TvF1kyTPuyleKjXtc4Bwakvy4VMB51DlqNlHgQrVvZ6+7id61zPA02g7wgg9NZp2M CqnjWtGSnyNsv0gqlI2qqlrImF7beWVj9ClyysiE= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <52A71670.2040004@yandex.ru> Date: Tue, 10 Dec 2013 17:26:08 +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: 16058@debbugs.gnu.org Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <838uvuynxv.fsf@gnu.org> <52A5F9D6.4000302@yandex.ru> <834n6hzya5.fsf@gnu.org> In-Reply-To: <834n6hzya5.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16058 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 (/) Should be fixed in development trunk revision 115445. Dmitry From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 11:55:53 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 16:55:53 +0000 Received: from localhost ([127.0.0.1]:41957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQbB-0004pM-03 for submit@debbugs.gnu.org; Tue, 10 Dec 2013 11:55:53 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:59740) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQb9-0004pF-9U for control@debbugs.gnu.org; Tue, 10 Dec 2013 11:55:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VqQb8-0000Nx-QF for control@debbugs.gnu.org; Tue, 10 Dec 2013 11:55:50 -0500 Date: Tue, 10 Dec 2013 11:55:50 -0500 Message-Id: Subject: control message for bug 16058 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.2 (-----) 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.2 (-----) close 16058 24.4 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 03:13:47 2013 Received: (at 16058) by debbugs.gnu.org; 14 Dec 2013 08:13:48 +0000 Received: from localhost ([127.0.0.1]:49174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrkM6-00026k-Td for submit@debbugs.gnu.org; Sat, 14 Dec 2013 03:13:47 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:39452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrkM3-00026a-Jf for 16058@debbugs.gnu.org; Sat, 14 Dec 2013 03:13:44 -0500 Received: by mail-wg0-f51.google.com with SMTP id b13so2709359wgh.18 for <16058@debbugs.gnu.org>; Sat, 14 Dec 2013 00:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Qr3nA5DGHyR973PFrW9I+g+tguWr8uJO55T6mMh3Y+8=; b=V8Lq/AzixqHtlDrGmMgN6y0zmBcpoVGfuf8x8N4AG++wdxUDUz3O3sg0csilbAMIFH LtW83p5F7IzY+4sVi9OmO8w25rJg+DMXqALLfMOkjLvJihG0qhebgUw2Ae9PcRpsBxbd HF5j+ENf/EeuPZZm/cg5yj22cdhXMwYpNqdMP4qtnj9Og2WRCPMFff5MmLJkV0lX8qEo 8kXNstMuOfBzumGkujPxpL+x55/Z6EyRHZ2n7gwFAr1KMivilmvNkVTwg/Ass7LoBZPs j9D7ZxsJzVqXCYQCmtlPlqrn4bBS32ETAx2imGYluSao9/9OMFYxSfQIljykVr84c9Fz G25A== X-Received: by 10.194.63.228 with SMTP id j4mr5459665wjs.34.1387008822570; Sat, 14 Dec 2013 00:13:42 -0800 (PST) Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPSA id q8sm4911378wiy.8.2013.12.14.00.13.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 14 Dec 2013 00:13:41 -0800 (PST) From: Thierry Volpiatto To: Dmitry Antipov Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... Organization: Emacs Helm References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> Date: Sat, 14 Dec 2013 09:13:34 +0100 In-Reply-To: <52A58102.6040907@yandex.ru> (Dmitry Antipov's message of "Mon, 09 Dec 2013 12:36:18 +0400") Message-ID: <87r49falzl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16058 Cc: 16058@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 (/) Dmitry Antipov writes: > On 12/06/2013 12:39 PM, Thierry Volpiatto wrote: > >> Do you want the output of xtruss? (huge) > > No. Instead, could you please verify an attached fix instead? > It works for me against development trunk revision 115437. Sorry but your patch is not applying on last trunk. > Dmitry > > === modified file 'src/xdisp.c' > --- src/xdisp.c 2013-12-04 18:46:47 +0000 > +++ src/xdisp.c 2013-12-09 08:30:57 +0000 > @@ -11937,6 +11937,8 @@ > int max_x = it->last_visible_x; > struct glyph *last; > > + /* Don't extend on a previously drawn tool bar items (Bug#16058). */ > + row->enabled_p = 0; > prepare_desired_row (row); > row->y = it->current_y; > > -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 03:56:55 2013 Received: (at 16058) by debbugs.gnu.org; 14 Dec 2013 08:56:55 +0000 Received: from localhost ([127.0.0.1]:49201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrl1q-0003QV-NE for submit@debbugs.gnu.org; Sat, 14 Dec 2013 03:56:54 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:61253) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrl1n-0003QJ-SC for 16058@debbugs.gnu.org; Sat, 14 Dec 2013 03:56:53 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXS00M00GGK7F00@a-mtaout22.012.net.il> for 16058@debbugs.gnu.org; Sat, 14 Dec 2013 10:56:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXS00LTVGUBX7A0@a-mtaout22.012.net.il>; Sat, 14 Dec 2013 10:56:35 +0200 (IST) Date: Sat, 14 Dec 2013 10:56:38 +0200 From: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... In-reply-to: <87r49falzl.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Thierry Volpiatto Message-id: <83iour4xq1.fsf@gnu.org> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <87r49falzl.fsf@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16058 Cc: dmantipov@yandex.ru, 16058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > From: Thierry Volpiatto > Date: Sat, 14 Dec 2013 09:13:34 +0100 > Cc: 16058@debbugs.gnu.org > > Dmitry Antipov writes: > > > On 12/06/2013 12:39 PM, Thierry Volpiatto wrote: > > > >> Do you want the output of xtruss? (huge) > > > > No. Instead, could you please verify an attached fix instead? > > It works for me against development trunk revision 115437. > > Sorry but your patch is not applying on last trunk. Current trunk should already have this problem fixed, see revision 115445. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 05:10:38 2013 Received: (at 16058) by debbugs.gnu.org; 14 Dec 2013 10:10:38 +0000 Received: from localhost ([127.0.0.1]:49247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrmBA-0005f4-FX for submit@debbugs.gnu.org; Sat, 14 Dec 2013 05:10:37 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:53939) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrmB8-0005ev-6d for 16058@debbugs.gnu.org; Sat, 14 Dec 2013 05:10:34 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so2856260wgh.14 for <16058@debbugs.gnu.org>; Sat, 14 Dec 2013 02:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=E3hW50MHdbjtRLdCYDuQvU34UL7Q5v21uFnuOOxQBFU=; b=zFNydJ/c+lOK2q1sjuPu9oNrbRrBpqLn/AVXk1fYn3WgmyiFflr7rO+raRwBTWNLwy kWUmAu3rWquQ1crwP5p+HJwbAkSdJnrSki30cbjB3UplTRMsIxgRbsa9qEE9vux+5Twn 5HEnukSzJDv+3lIlL/YcCFYuD5XkuXyhVuFDocYMxFVBlwt89hkbo3L+Cs4eWdqbRHtS UXq2Yir2t0B+sxg/NwyP2O78NbpgmrYthonbG14fyzeOyUufDJY5Y3RwBCIPXcISJc7T 4bmsifiCmatcTvGw9sPcNZ9eVehjmQslGzbLSBEW/2vDFiVpEFQVqf1TVCIlr6nHh9Gj Z3mQ== X-Received: by 10.194.78.141 with SMTP id b13mr5989771wjx.32.1387015833198; Sat, 14 Dec 2013 02:10:33 -0800 (PST) Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPSA id xm7sm5745823wib.0.2013.12.14.02.10.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 14 Dec 2013 02:10:32 -0800 (PST) From: Thierry Volpiatto To: Eli Zaretskii Subject: Re: bug#16058: 24.3.50; X protocol error: BadAlloc... Organization: Emacs Helm References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> <87vbz274qt.fsf@gmail.com> <52A58102.6040907@yandex.ru> <87r49falzl.fsf@gmail.com> <83iour4xq1.fsf@gnu.org> Date: Sat, 14 Dec 2013 11:10:25 +0100 In-Reply-To: <83iour4xq1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Dec 2013 10:56:38 +0200") Message-ID: <87fvpvpwtq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16058 Cc: dmantipov@yandex.ru, 16058@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 (/) Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Sat, 14 Dec 2013 09:13:34 +0100 >> Cc: 16058@debbugs.gnu.org >> >> Dmitry Antipov writes: >> >> > On 12/06/2013 12:39 PM, Thierry Volpiatto wrote: >> > >> >> Do you want the output of xtruss? (huge) >> > >> > No. Instead, could you please verify an attached fix instead? >> > It works for me against development trunk revision 115437. >> >> Sorry but your patch is not applying on last trunk. > > Current trunk should already have this problem fixed, see revision > 115445. Ok thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From unknown Tue Jun 17 20:18:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Jan 2014 12:24:04 +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