What are you using to display this picture? are you doing this using
your own application using widgets or are you using the picture viewer?
(although I shudder at the thought of opening 32768 pictures in the
picture viewer manually ).
Re-reading your question, you are doing this in code, the number you
are getting is the same as the MAX_INT size (see /usr/include/limits.h).
Is there anything in your code that may be exceeding this value?
Re-reading your question, you are doing this in code,
I would hope so… to actually sit down and do it manually 32768 times would
be… quite boring…
the number you
are getting is the same as the MAX_INT size (see /usr/include/limits.h).
Is there anything in your code that may be exceeding this value?
Erick.
Eugene A. Kislov <> evkislov@asutp.yorp.yaroslavl.ru> > wrote:
Hi, all!
We have an interesting situation. We make follow sequence in Qnx window:
open window
show picture in window
close window
When we repeat it 32768 times, the window id become subzero and window
don’t close.
Is there anybody, who solve this problem.
Re-reading your question, you are doing this in code,
I would hope so… to actually sit down and do it manually 32768 times would
be… quite boring…
the number you
are getting is the same as the MAX_INT size (see /usr/include/limits.h).
Is there anything in your code that may be exceeding this value?
Erick.
Eugene A. Kislov <> evkislov@asutp.yorp.yaroslavl.ru> > wrote:
Hi, all!
We have an interesting situation. We make follow sequence in Qnx window:
open window
show picture in window
close window
When we repeat it 32768 times, the window id become subzero and window
don’t close.
Is there anybody, who solve this problem.
Re-reading your question, you are doing this in code,
I would hope so… to actually sit down and do it manually 32768 times
would
be… quite boring…
the number you
are getting is the same as the MAX_INT size (see
/usr/include/limits.h).
Is there anything in your code that may be exceeding this value?
Erick.
Eugene A. Kislov <> evkislov@asutp.yorp.yaroslavl.ru> > wrote:
Hi, all!
We have an interesting situation. We make follow sequence in Qnx
window:
open window
show picture in window
close window
When we repeat it 32768 times, the window id become subzero and
window
don’t close.
Is there anybody, who solve this problem.
About problem. There is a SCADA. When operator work with it, they switch
diagrams and 32767 windows will be open and close for approximately 2
week. The SCADA work from 0,5 to 1,5 year in normal conditions (without
reboot). As You see, 32767 - is very small quantity.
About solution. Do You know solution of this problem?
About problem. There is a SCADA. When operator work with it, they switch
diagrams and 32767 windows will be open and close for approximately 2
week. The SCADA work from 0,5 to 1,5 year in normal conditions (without
reboot). As You see, 32767 - is very small quantity.
About solution. Do You know solution of this problem?
I think there is a new screen that can be downloaded from
/updates/wrt40/Alpha that fixes this.
It is NOT a released version of screen, but only an Alpha test
that fixes the above reported bug.
I’ve tried to do the same experiment. Results are the following:
with QNX Windows from April 1996 (in my opinion better than any newer
version), the window id becomes sub-zero (from 32767 to -32767, then -32766)
but it is possible to close it without any problem. Check if the id variable
can contain such numbers (e.g. if it is not unsigned int).
On the other hand QNX Windows is able to produce even worse behavior. I
doubt if it is able to run one year without any touch. Several time it also
happened, that application had falled down but its window had been still on
screen without any possibility to close it (usually if the window is big and
cursor is inside, screen sigsegv follows, therefore this is relevant only if
your window is smaller). Check whether your program is still running when
you have got the peculiar state.
May be, my advices are more desperate than wise.
Best regards
Andy
Eugene A. Kislov wrote:
Hi, all!
We have an interesting situation. We make follow sequence in Qnx window:
open window
show picture in window
close window
When we repeat it 32768 times, the window id become subzero and window
don’t close.
Is there anybody, who solve this problem.
I’ve tried to do the same experiment. Results are the following:
with QNX Windows from April 1996 (in my opinion better than any newer
version), the window id becomes sub-zero (from 32767 to -32767,
then -32766)
but it is possible to close it without any problem. Check if the id
variable
can contain such numbers (e.g. if it is not unsigned int).
As mentioned previously, this problem has been fixed in the latest version,
which is 4.25B.