herrage@ntpal.UUCP (Robert Herrage) (06/15/90)
I'm receiving the following error after I enter the XtMainLoop function (using X11R4): X Error: BadAlloc Request Major code 1 () Request Minor code 8 ResourceID 0xa00095 Error Serial #276 Current Serial #289 Being a beginner, I have no earthly idea where to begin or how to find out what to do to correct my problem. ANY help would be greatly appre- ciated. Robert
asente@wrl.dec.com (Paul Asente) (06/17/90)
In article <486@ntpal.UUCP> herrage@ntpal.UUCP (Robert Herrage) writes: >I'm receiving the following error after I enter the XtMainLoop function >(using X11R4): [an error] Run your program with the -sychronous command line option. This makes Xlib run synchronously (it will also make your program run much more slowly). As a result, the error will occur during the offending Xlib call instead of some arbitrary time later. Now run your program under a debugger and put a breakpoint in abort(). A stack trace from the breakpoint will tell you which function is really failing. From there, you're on your own! -paul asente asente@decwrl.dec.com ...!decwrl!asente