View Single Post
Old 02-25-11, 10:55 AM   #6
khautomation
Registered User
 
Join Date: Feb 2011
Posts: 4
Thumbs up Re: Xid Error and system hangup at FIXED ABSOLUTE DATES

Further testing got the following results:

1. Running our application on a separate machine with a time far away from the "crash time" and redirecting the display to the xdisplay with the nvs290 on a "crashtime" machine lets the crash appear.

2. Testing our application on other machines lets appear "WAIT" messages in der Xservers log file. e.g. with a Geforce 7300:

(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000ae3c, 0x0000ae3c)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000ae60, 0x0000ae60)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000ae84, 0x0000ae84)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000aea8, 0x0000aea8)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000aecc, 0x0000aecc)
...
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000b07c, 0x0000b07c)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000b0a0, 0x0000b0a0)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000b0c4, 0x0000b0c4)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000b0e8, 0x0000b0e8)
(WW) Feb 07 13:01:53 NVIDIA(0): WAIT (0, 7, 0x8000, 0x0000b10c, 0x0000b10c)

3. Trying to isolate the code did not show the eror yet. X "stressing" application as xengine e.g. produce als "WAIT" messages in the Xserver log filesat the "crash time". If we reduce the load of our application by displaying simpler content, the crashes do not happen at "crash time" but a lot of wait states appear:

(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000c9cc, 0x0000ca9c)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000ca9c, 0x0000e53c)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000eedc, 0x0000f378)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000f378, 0x0000f448)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000ffe8, 0x00000f00)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000f00, 0x00001730)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x0000, 0x00001b04, 0x00001d14)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00005df4, 0x00005ec4)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00005ec4, 0x00007964)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00007964, 0x00008194)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00008568, 0x00008778)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000c858, 0x0000c928)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000c928, 0x0000e3c8)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000efcc, 0x0000f1dc)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000f1dc, 0x0000f2ac)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x0000fff0, 0x00000d5c)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000d5c, 0x0000158c)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00001960, 0x00001c30)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00001c30, 0x000036d0)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x0000, 0x000036d0, 0x00003f00)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x00004000, 0x000044e4)
(WW) Feb 07 13:02:01 NVIDIA(0): WAIT (1, 6, 0x8000, 0x000044e4, 0x000045b4)

I guess, disturbing the driver at "crash time" to let the X Server wait for it, this should be reproduceable with xengine e.g. as here on our site, leads with further load to the crash.

The appearance of the "WAIT"s and fixing them should fix the failure also.

Please let me know, if this helps you to reproduce at least the "WAIT"'s or if you need further informations.
khautomation is offline   Reply With Quote