Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cs.columbia.edu!leland From: leland@cs.columbia.edu (Lee Woodbury) Newsgroups: comp.sys.dec Subject: Re: dxpsview malfunction on Ultrix 4.0 Keywords: dxpsview Message-ID: <1990Dec11.151747.18181@cs.columbia.edu> Date: 11 Dec 90 15:17:47 GMT References: <744@nvuxl.UUCP> Reply-To: leland@cs.columbia.edu (Lee Woodbury) Followup-To: comp.sys.dec Organization: Columbia University, Dept. of Computer Science, NYC Lines: 52 In article <744@nvuxl.UUCP> hsong@nvuxl.UUCP (g hugh song) writes: >Whenever a PostScript file is opened inside "dxpsview" under Ultrix 4.0 >on DecStation 5000/200, I am getting the following message: > >X Protocol error detected by server: BadAlloc - insufficient >resources > Failed request major op code 53 (X_CreatePixmap) > Failed request minor op code 0 (if applicable) > ResourceID 0xb00074 in failed request (if applicable) > Serial number of failed request 920 > Current serial number in output stream 921 > >Are you guys having the same problem? What am I missing? Yes! I discovered, however, that I could make the problem go away by selecting the "Watch Progress" choice on the Options Menu. According to the dxpsview man page: Usually, dxpsview prepares and stores an entire page in its cache before drawing it. With the Watch Progress option on, dxpsview displays images immediately as it prepares them. So it sounds like they've got a serious bug in a call to malloc (or XMalloc) somewhere, and selecting this item merely avoids (as opposed to fixes) it. Amusingly, it was our DEC rep and a software consultant he'd brought along who first demonstrated dxpsview (or attempted to) to me after our workstation (DECstation 5000/200 running 4.0) had been installed. The software consultant who was familiar with dxpsview was clearly taken aback by the BadAlloc bug. Other than that, by the way, I'm pretty impressed with dxpsview. I don't have a lot of PostScript viewers under my belt, but it's the nicest one I've seen. The only feature I wish it had was some better debugging facilities (in particular, pstack). Incidentally, if anyone can give the proper Xresources incantation to set the 'Watch Progress' option from the .Xdefaults file, I'd be much obliged. The man page is a little thin on detail. >How about "dxpsview" under Ultrix 4.1? Don't know. Leland Woodbury -- ARPANET/INTERNET: leland@cs.columbia.edu USENET: ...!columbia!cs.columbia.edu!leland BITNET: leland%cs.columbia.edu@cuvmb USMAIL: Columbia Univ., 457 CS, 500 W. 120 St., NYC 10027-6699