Welcome, Guest
Username: Password: Remember me

TOPIC: Operator environment disappear

Operator environment disappear 9 years 10 months ago #6546

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3179
  • Thank you received: 502
  • Karma: 133
Hi Eduardo,

I'm quite certain that this doesn't have to do with the network connection. This could be tested by creating an Av in the operator station, setting a value to the Av from a PlcPgm in the opstation so that it's continuously updated with new values, and creating a graph with 25 pwr_valuelarge that all is connected to this Av. If you also set the scantime of the graph and the plcpgm to 0.01 s you would probably get the exception in about half an hour.

I have a suspicion about the scalable fonts. You can use the old bitmap fonts by setting BitmapFonts to 1 in GraphAttributes.

You can also test with or without DoubleBuffering.

If you send me the pwg file I could have a look at it and test it here.

/Claes
The administrator has disabled public write access.

Operator environment disappear 9 years 10 months ago #6547

  • eduardo
  • eduardo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 62
  • Thank you received: 1
  • Karma: 0
Thanks Claes for your quick response

Attached you will find the pwg files.
Already did the test with and without doublebuffer, no good result.
Now I'm doing the test with BitmapFonts to 1.

I will try setting a value to the Av from a PlcPgm in the opstation to see what happen.

Again thanks
Eduardo


File Attachment:

File Name: GeGraph.tar.gz
File Size: 126 KB
Last Edit: 9 years 10 months ago by eduardo.
The administrator has disabled public write access.

Operator environment disappear 9 years 10 months ago #6549

  • eduardo
  • eduardo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 62
  • Thank you received: 1
  • Karma: 0
Hi Claes,

The BitmapFonts to 1 test, didn't has any effect, the failure continue.

Eduardo
The administrator has disabled public write access.

Operator environment disappear 9 years 10 months ago #6550

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Edouardo and Claes,
I m off the forum for months now and I just discovered this thread and I wanted to say I m also facing this issue (rt_xtt exit without any other proview process. So plc keep on running normally but without graphical interface.
The occurence is for me between 3 weeks and 2 months but I ve never exceed this period without crash.
Restarting rt xtt is enough to recover normal situation.
I ve tested long time ago with xubuntu and more recently with openbox and even if openbox look more stable it finishes also with this failure. I tested only with ubuntu 12.04 version (32bits) and proview 4.8.6.
I ve not checked every log files by now but proview log and syslog reveal nothing at all.
I m using double buffering also.
If you need my help to compare or check my application to try to localize the issue, you can count on me.

regards

snarf
The administrator has disabled public write access.

Operator environment disappear 9 years 10 months ago #6555

  • eduardo
  • eduardo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 62
  • Thank you received: 1
  • Karma: 0
Hi Snarf 77 / Claes,

I have done what Claes suggested in relation to a data generation, using an Av Signal into the PLCProgram on the same OpStation and connecting this value to all pwr_valuelarge and BarGraph (approximately 20 pwr_valuelarge and 3 BarGraph in a couple of GeGraph)
The OPStation's PlcProgram runs at 0.05 Sec, I also modified the Parameters Scantime, FastScantime and AnimationScantime on each GeGraph to 0.1Sec.
With this accomplishment become independent of the data comming from the PStation and repeat the failure within a couple of hours.

The time between failure depend of the number of pwr_value and dinamic graph you have.

I've got the backtrace below:

rt_xtt_gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Breakpoint 1, 0xb7142fb0 in exit () from /lib/i386-linux-gnu/libc.so.6
(gdb) backtrace
#0 0xb7142fb0 in exit () from /lib/i386-linux-gnu/libc.so.6
#1 0xb7b13abf in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#2 0xb745cad4 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#3 0xb745a90c in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#4 0xb745d258 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#5 0xb745d332 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#6 0xb745361e in XSetClipMask () from /usr/lib/i386-linux-gnu/libX11.so.6
#7 0xb7b0e420 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#8 0xb7ad2461 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#9 0x080c7603 in GlowDrawGtk::reset_clip (this=0x87f5508, w=0x87f5514,
gc=0x8c66cc8) at ../../glow_draw_gtk.cpp:2322
#10 0x080c45c5 in GlowDrawGtk::line (this=0x87f5508, wind=0x887e9ec, x1=716,
y1=420, x2=742, y2=420, gc_type=glow_eDrawType_Color297, idx=2,
highlight=0) at ../../glow_draw_gtk.cpp:1465

Apparently the failure occurs duaring a call within the X server (Xorg), with no information generated in the xorg.log

I have tried unsuccessfully to replace the Xorg by the old Xfree86. (No active Repositories)

Snarf77:

Are you receiving the "Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0" mesage after the rt_xtt crash?

Have you been able to replace Xorg by Xfree86?

Which graphic card has your OPStation?

Are you using dual monitor in your OPStation?

Eduardo
The administrator has disabled public write access.

Operator environment disappear 9 years 10 months ago #6558

  • eduardo
  • eduardo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 62
  • Thank you received: 1
  • Karma: 0
Hi Mark,

Related with your sugestion about to execute xhost +, I want to tell you that, I already tried this option, without any effect.

Thanks anyway.

Eduardo
The administrator has disabled public write access.
Time to create page: 8.112 seconds