From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#16058: 24.3.50; X protocol error: BadAlloc... Date: Fri, 06 Dec 2013 09:39:22 +0100 Organization: Emacs Helm Message-ID: <87vbz274qt.fsf@gmail.com> References: <8738m7vo9f.fsf@gmail.com> <52A02273.2030003@yandex.ru> <87y53zu62a.fsf@gmail.com> <52A16E14.9030007@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386319215 15122 80.91.229.3 (6 Dec 2013 08:40:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 08:40:15 +0000 (UTC) Cc: 16058@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 09:40: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 1VoqxQ-0005da-2H for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 09:40:20 +0100 Original-Received: from localhost ([::1]:57858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoqxP-0003uL-MB for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 03:40:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoqxG-0003u8-JZ for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 03:40:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Voqx8-0006od-Te for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 03:40:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Voqx8-0006ml-Io for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 03:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Voqx7-0001Yn-Uj for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 03:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2013 08:40: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.13863191785962 (code B ref 16058); Fri, 06 Dec 2013 08:40:01 +0000 Original-Received: (at 16058) by debbugs.gnu.org; 6 Dec 2013 08:39:38 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <52A16E14.9030007@yandex.ru> (Dmitry Antipov's message of "Fri, 06 Dec 2013 10:26:28 +0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) 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:81501 Archived-At: 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