02-11-2011 06:30 AM
Hello,
We are experiencing a rather critical problem with Lookout 6.5. The proces file contains approximately 148 Modbus/TCP connections, some overview panels, a properties panel which uses a symbolic link to retrieve properties from a certain modbus object.
Seemingly random, Lookout crashes during operation (with the Windows send/don't send window). When this happens, the second before the crash actually occurs Lookout starts writing seemingly random values to addresses to all the modbus devices. Some to addresses which are connected in Lookout, and to some that are not (even to addresses that actually don't exist on the device, which causes it to return an exception). The addresses do seem to be in an increasing sequence (i.e. it starts at 500, then starts writing further until about 850). Values I've seen are mostly 0, but also 256, 2308, 512, 2048, 3844.
I've attached a packet capture log which shows the write commands Lookout is sending.
Does anyone have any idea what could cause this crash or things I can check?
02-13-2011 08:12 PM
Please follow the steps to create a memory dump on the crash.
Start->Run, input
drwtsn32 -i
Start->Run, input
drwtsn32
Configure the Log file path like c:\crash, and the crash dump file like c:\crash\dump.dmp
Upload the log file and the crash dump to ftp://ftp.ni.com/incoming
Please also upload your lookout process to ftp.
02-14-2011 06:09 AM
Hello,
I've uploaded the data as "Lookout random writes.zip". Please also see the included readme file.
02-14-2011 07:43 PM
Got the files. From the drwatson log, the crash does happen in the Modbus driver. I'm trying to reproduce it by your process.
But I still want you to try to generate the dump file. When you configure the Dr Watson, do you specify the dump file name? The log file is just a path, but you need to give a file name for the crash dump.
02-15-2011 02:50 AM
Update test results; with no Ethernet connection or only one modbus connection the system runs without crash.
2 or more (identical) modbus connections --> crash within 1 hour. (random between 5 minutes and an hour).
Process stable when setup as read only. (no URL connections).
With URL connection, multiplexed by a symbolic link ("..\Modbus"&text(Pot_show_Turbine,"000")
Dump is setup in drWatson, including file name, but somehow didn't do anything. Maybe restricted directory, so set path to root directory.
Waiting for crash, hope to send dump as soon as possible.
Please understand that a super large project is completely on hold, so we working day and night. Hope you can save our ash
02-15-2011 03:40 AM
Could you give me the process with just 2 modbus connections which will crash in 1 hour?
I want the process as simple as possible. It will be easier for us to reproduce and debug. Thank you.
02-15-2011 03:48 AM
We used the identical process, just unplugged the ethernet cables and left one, or two or more. For test it schould be enough to change random a couple of ip numbers to whatever you setup.
02-15-2011 06:08 AM - edited 02-15-2011 06:10 AM
Trying to make a dump; didn't succeed. Made a test crash, witch made a dump.
Also detected something new; suddenly modbus starts to write random addresses with random content. We saw that already at the same time as a crash, but this time it didn't crash, just did the random write.
As attachment the capture file from wireschark, filtered on write commands. Maybe it gives another idea. For us it answers the question; is random writing a result of the crash, or is the crash a result of random writing. Half answer; random writing is not a result of the crash, not 100% sure if it results in a crash
02-15-2011 07:04 AM
I've uploaded a dump file as "Randomwritecrash.zip" - it wasn't made with Dr. Watson because that doesn't seem to work at all, I've made it with WinDbg (attached to process; after crash I ran .dump /f file.dmp). I hope you'll be able to use it.
02-15-2011 08:48 AM
Also uploaded a second dump file as Randomwritecrash2.zip - I'll keep uploading dump files in sequence.
Crash data from this dump: