Submitted by Anonymous on Wed, 07/31/2002 - 13:02. Developers
I get a crash with Xt Error message "Event with wrong window"
It is not always reproduceable. It happens only on right clicking.
I Get it
1. Open the main application View.
2. Bring up a dialog from the pop-up menu
3. Leave window manager control on the dialog, but move the mouse main View. (This enables you to right-click almost immediately after starting the action.)
4. Press enter ( on the dialog). The appl crashes
The crash seems to occur when right-clicking the object during a small period of time immediately after the busy cursor goes away.
regards
Arvind
Xt is pretty good about handling errors gracefully and about handling events properly. Even if the window manager is mis-forwarding grabbed events, Xt should handle it. The implication, then, is that you`ve corrupted Xt somehow. I suggest that you use a program such as AcquaProva or Purify to confirm that you are not writing out-of-bounds within your program and corrupting the library.
You can also set an Xt Error Handler and then, under a debugger, stop in that error handler. You can then examine the stack to see the program trace. This technique is particularly effective when Xt is run synchronously (-sync).
Hi
I have tried a lot of options. THe problem comes only if I link the exe with X11R6. The ploblem disappears if I link the exe with X11R5. Are there any Motif 1.2 and X11R6 compatibilty problems
Regards
Arvind