Word-completion crashes with BadAlloc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scribes |
New
|
Undecided
|
Unassigned |
Bug Description
1. Download a copy of http://
2. open in scribes and click on the first blank line
3. type in STR_
4. Crash is almost immediate.
Console output:
$ scribes english.txt
$ /usr/lib/
main()
/usr/lib/
self.
The program 'Scribes' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 5767 error_code 11 request_code 53 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
$ scribes -i
$ =======
System Info: ('Linux', 'Tetronimo', '3.0.0-16-generic', '#28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012', 'x86_64')
Python Version: 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1]
System Byteorder: little
Python Modules: ('__builtin__', '__main__', '_ast', '_bisect', '_codecs', '_collections', '_functools', '_hashlib', '_locale', '_random', '_socket', '_sre', '_ssl', '_struct', '_symtable', '_warnings', '_weakref', 'array', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'errno', 'exceptions', 'fcntl', 'gc', 'grp', 'imp', 'itertools', 'marshal', 'math', 'operator', 'posix', 'pwd', 'select', 'signal', 'spwd', 'strop', 'sys', 'syslog', 'thread', 'time', 'unicodedata', 'xxsubtype', 'zipimport', 'zlib')
=======
Scribes Version: 0.4-dev-build1032
Dbus Version: (0, 84, 0)
GTK+ Version: (2, 24, 6)
PyGTK Version: (2, 24, 0)
Psyco Not Installed
=======
Running Instance: 0
=======
Python Path: /usr/lib/
Plugin Path: /usr/lib/
Data Path: /usr/share/scribes
Executable Path: /usr/bin
=======
Thanks. Loving the editor.
Oh, and ctrl-shift-alt-c does avoid the crash.