bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16058: 24.3.50; X protocol error: BadAlloc...


From: Thierry Volpiatto
Subject: bug#16058: 24.3.50; X protocol error: BadAlloc...
Date: Fri, 06 Dec 2013 09:39:22 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Dmitry Antipov <dmantipov@yandex.ru> 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 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]