Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I am using XtAddInput to monitor a DECNET connection to VMS and to get notified when a new package arrives. This works fine so far. But when the VMS side stops the DECNET connection, my program crashes in the Intrinsics: (dbx) run pid 3316 (dxpw) was killed on unaligned access, at pc 0x446810 Bus error [DoOtherSources:676 ,0x446810] Source not available (dbx) An earlier (pure XLib) version of my program used a select on ConnectionNumber(display) and the DECNET channel and I did my own dispatching. Now that I use the Toolkit I get this problem... Any idea how I can avoid that crash ??? PS: I use the filedescriptor of dnet_connect and XtInputReadMask in my call to XtAddInput.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2356.1 | FLUME::dike | Mon Feb 26 1990 13:34 | 4 | ||
Are you calling XtRemoveInput from within the callback routine? It is my recollection that that is a bad thing to do. I have registered a work proc from inside the callback, and called XtRemoveInput from there. Jeff | |||||
2356.2 | That was it. | PWDVL::BERNEIS | Michael B. Berneis | Mon Feb 26 1990 15:35 | 4 |
You are absolutely correct, that was the problem! Thanks again... mike |