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

From: Thierry Volpiatto <[email-masked]>
Date: Thu, 05 Dec 2013 08:10:05 +0100

Dmitry Antipov <[email-masked]> writes:

> On 12/05/2013 09:51 AM, Thierry Volpiatto wrote:
>
>> Start emacs -Q
>>
>> M-x icomplete-mode
>>
>> C-x C-f <backspace> <backspace> <backspace> <right>
>>
>> --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