From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#16058: 24.3.50; X protocol error: BadAlloc... Date: Thu, 05 Dec 2013 10:51:31 +0400 Message-ID: <52A02273.2030003@yandex.ru> References: <8738m7vo9f.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386226335 15941 80.91.229.3 (5 Dec 2013 06:52:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 06:52:15 +0000 (UTC) To: Thierry Volpiatto , 16058@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 05 07:52:20 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VoSnM-0001xQ-7K for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 07:52:20 +0100 Original-Received: from localhost ([::1]:52030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSnL-0001wm-Ot for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 01:52:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSnC-0001wP-7W for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:52:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoSn5-0007Zi-8t for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:52:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSn5-0007Zd-1y for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VoSn3-0001Yp-WB for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2013 06:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16058 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16058-submit@debbugs.gnu.org id=B16058.13862262995965 (code B ref 16058); Thu, 05 Dec 2013 06:52:01 +0000 Original-Received: (at 16058) by debbugs.gnu.org; 5 Dec 2013 06:51:39 +0000 Original-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 Original-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 Original-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) Original-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) Original-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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <8738m7vo9f.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81420 Archived-At: 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