jcarson@carrel.bcm.tmc.edu (Janet Carson) (09/08/89)
I have a program which is using XtOwnSelection and XtGetSelectionValue to communicate using the XA_PRIMARY selection. I can start up this program twice and successfully pass a piece of data from one instantiation to the other, but if the "receiver" exits before the "sender" while the "sender" still owns the selection, my program dies with the following message: X Protocol error: not a valid window ID Major opcode of failed request: 2 (X_ChangeWindowAttributes) Minor opcode of failed request: 0 Resource id in failed request: 0xc00005 Serial number of failed request: 272 Current serial number in output stream: 276 Any hints on where to look for bugs or how to use this error message to track down where the problem is coming from would be appreciated! Thanks! Janet L. Carson internet: jcarson@bcm.tmc.edu Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson Janet L. Carson internet: jcarson@bcm.tmc.edu Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/09/89)
Any hints on where to look for bugs or how to use this error message to track down where the problem is coming from would be appreciated! Run the application in -synchronous mode under a debugger.