Title: | POLYCENTER Console Manager |
Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
Moderator: | CSC32::BUTTERWORTH |
Created: | Thu Aug 06 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1541 |
Total number of notes: | 6564 |
I'm seeing a strange problem with PCM using the CMUserSendEvent() call on OSF/1. I am able to duplicate the problem with a minimal program which I will put in the reply. Anyway, calling CMUserSendEvent() works fine the first few times it is called. Then suddenly I see garbage in one of the fields in the event window of C3 - in the VLIST widget either the priority or the system cell in the last row looks corrupt. In particular if I let a few events build up and select the Show Context for Selected Events option, return I return to the VLIST the source cell is corrupt. On the 4th or 5th call to CMUserSendEvent() it hangs for about 10 seconds before returning 203 or 204. At this point one of the C3 windows disappears and I find console_ensd has core dumped. I initially thought there was a bug in my code but I've duplicated with a minimal program. Alan
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
311.1 | cc -o testpcm testpcm.c -lconsole -lX11 -lXt | SIOG::BATEMAN | We are all DECservers | Wed Jul 20 1994 20:58 | 26 |
#include <stdio.h> #include <time.h> #include <console.h> main() { int sts; time_t event_time; static CMContext ENS_Context; event_time = time(0); sts = CMUserSendEvent( &ENS_Context, "mizen", "name", "class", "info", "text", event_time, CMPriorityCritical, "subsystem", "source"); if (sts != CM_NORMAL) printf("Bad return from CMUserSendEvent = %d\n", sts); } | |||||
311.2 | still not working | 41318::BATEMAN | We are all DECservers | Tue Aug 09 1994 16:16 | 10 |
I've just returned to this problem and I'm still baffled. The test program in the previous reply still causes console_ensd to crash if I run it a few times. I have removed everything else from the equation except for the test program and PCM V1.3 on OSF/1 V2.0. I have also verified the database in else that was the problem. Any ideas, Alan. | |||||
311.3 | OPG::PHILIP | And through the square window... | Tue Aug 09 1994 18:10 | 7 | |
Alan, I have reproduced this, It looks like a trick one so it could take some time to fix. Cheers, Phil | |||||
311.4 | OPG::PHILIP | And through the square window... | Thu Aug 11 1994 16:50 | 8 | |
Found it, Fixed it, Phew what a relief!! Alan, I'll be in touch off-line about a new image for you to try out. Cheers, Phil |