Re: Help fix DDD bug: BadAlloc (insufficient resources for operation)
Peter Wainwright <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2008-12-06 at 07:30 +0800, 王國華 wrote: > Dear Sir, > When I used ddd and changed all fonts from 120 pt 180, then I > run the ddd and got the > following message. It seems that X Error of failed request: > BadAlloc (insufficient resources for operation). > How can I fix this type of error? Thanks. Well, the error seems to be occurring in the X library itself, which we can't do much about, I'm afraid. You might try to find a more recent version of DDD (3.3.11 was the last release) or of the Motif (Lesstif) library. I've never used DDD under cygwin, and I don't know what fonts are available there. What fonts are you actually using? For example, grep Fonts ~/.ddd/init gives for me: ! Fonts. Ddd*defaultFont: helvetica-bold Ddd*variableWidthFont: helvetica-bold Ddd*fixedWidthFont: lucidatypewriter-bold Ddd*dataFont: lucidatypewriter-bold Ddd*FontSize: 180 Peter > > Best Regards' > > Kuo-Hua Wang > > > > GNU DDD 3.3.9 (i686-pc-cygwin) > Copyright (C) 1995-1999 Technische Universit酹 Braunschweig, Germany. > Copyright (C) 1999-2001 Universit酹 Passau, Germany. > Copyright (C) 2001 Universit酹 des Saarlandes, Germany. > Copyright (C) 2001-2004 Free Software Foundation, Inc. > > Compiled with GCC 3.3.1 (cygming special) > Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release > 0.93.91) > Includes XPM 3.4.11, Athena Panner (7000002L), DDD core > Built 2004-07-15 by U-HUNTHARO <[email protected]>. > $ ddd > + /bin/sh -c 'exec gdb -q -fullname' > ! X error > X Error of failed request: BadAlloc (insufficient resources for > operation) > Major opcode of failed request: 45 (X_OpenFont) > Serial number of failed request: 180 > Current serial number in output stream: 181 > ! X error > ! Segmentation fault > _______________________________________________ > ddd mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ddd