Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!csun10.cs.uh.edu!anil From: anil@csun10.cs.uh.edu Newsgroups: comp.windows.x Subject: Problem with menu widget Message-ID: <33423@uhnix1.uh.edu> Date: 23 Jul 90 20:49:31 GMT Sender: nntppost@uhnix1.uh.edu Reply-To: anil@csun10.cs.uh.edu () Distribution: usa Organization: University of Houston Lines: 33 I am using SmeLine object to add lines between menu entries. Actually, the menu button is contained in a popup window. Everthing works fine untill I want to quit and hence, destroy the popup window. At that time the program crashes with the following messages: X Error of failed request: BadGC (invalid GC parameter) Major opcode of failed request: 60 (X_FreeGC) If I don't use SmeLine object the program runs without any problem. I know that it is trying to free some GC. Since, I am not associating any GC with the menu I don't know what is happening. I am using R4 and athena widgets on SUN 3/60. My widget class hierarchy is shown below. ApplicationShell Form Label Viewport Command MenuButton SimpleMenu SmeBSB SmeLine Can anyone tell me what is wrong ? Thanks in advance. Anil anil@cs.uh.edu