Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!maths.qmw.ac.UK!dhb From: dhb@maths.qmw.ac.UK (David Burgess) Newsgroups: comp.windows.news Subject: Getting framebuffer's colormap twice fails Message-ID: <23835.9003211654@qmwms.maths.qmw.ac.uk> Date: 21 Mar 90 23:22:51 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 28 Subject: Another way to crash X/NeWS 1.0 here's a cute way to crash X/NeWS 1.0 (aka NeWS2.0). Any explanations? ----------- psh executive Welcome to X11/NeWS Version 1.0 framebuffer /Colormap get /Entries get pstack [colormapentry(255, 255, 255 @ 0) colormapentry(0, 0, 0 @ 1) etc etc ... ] ----------- ie. get the colormapentries for the root canvas This works as expected. Now .. clear the stack and repeat the same operations ---------- pop pstack Empty stack framebuffer /Colormap get /Entries get pstack [**obj/corpus type mismatch** colormapentry( colormapentry( colormapentry( ... same wierd garbage ... ] ----------- And the neat thing is that when you leave psh with ^D the server comes down with a "X11 closing" message. And you are left with a login prompt. Maybe I'm being stupid (I am a NeWSnovice)... Is there an explanation? David Burgess ++++++++ Astronomy Unit, Queen Mary College, London UK