Hi Guys,
We have a customer who are currently in process of upgrading an existing project, and as part of the upgrade they are rebuilding communication from OPC to CIMWAY. From what I see in the comm.dat, they are using 3 protocol : S7-300/400, MODBUS_DEC, and FREE_DEC.
Their architecture consists of 5 communication server, 2 pcvue server, and 5 clients.
Question is, when they start the servers, some of the communication servers encounter crash. Some errors observed in the trace logs are as below :
2019/10/17,14:13:45.643,4,W,,16308,,5,CW,System error n.59 occured 2019/10/17,14:13:45.643,4,W,,16316,,5,CW,IO,1.R30M_S03,Error occured while opening COM233 communication port 2019/10/17,14:13:45.643,4,I,,4536,,5,CW (R30M_S03), Return code on start network command = 149 2019/10/17,14:13:45.690,4,W,,16308,,5,CW,System error n.59 occured 2019/10/17,14:13:45.690,4,W,,16316,,5,CW,IO,1.R30M_S05,Error occured while opening COM235 communication port 2019/10/17,14:13:45.690,4,I,,4536,,5,CW (R30M_S05), Return code on start network command = 149 2019/10/17,14:13:45.737,4,W,,16308,,5,CW,System error n.59 occured 2019/10/17,14:13:45.737,4,W,,16316,,5,CW,IO,1.R30M_S07,Error occured while opening COM237 communication port 2019/10/17,14:13:45.737,4,I,,4536,,5,CW (R30M_S07), Return code on start network command = 149 2019/10/17,14:13:45.783,4,W,,16308,,5,CW,System error n.59 occured 2019/10/17,14:13:45.783,4,W,,16316,,5,CW,IO,1.R30M_S09,Error occured while opening COM239 communication port 2019/10/17,14:13:45.783,4,I,,4536,,5,CW (R30M_S09), Return code on start network command = 149
Crash Report associated for above error is as below :
=============================================================================================================== Startup time = 2019/10/17,14:12:14.149 Project name = C:ARC InformatiquePcVue 12USRSEMCO_SCADA_NEW Product Version = 12.0.10 [29060] --------------------------------------------------------------------------------------------------------------- 2019/10/17,14:13:45.471, ######## EXCEPTION: 0xC0000005 at address: 0x202C5838: ACCESS VIOLATION write attempt to address 0x13AE00F0 Callstack dumping Exception handler: AIThreadRoutine 1: 0 1: ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 202C5838) 1: ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 202C5838) 1: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 202C5838) 1: 202C5838 ((module-name not available)): (filename not available): (function-name not available) 1: 1 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 13A56BCD) 1: 13A56BCD (AGLink40): (filename not available): AGL_SetParaPath 1: 2 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 13A13CF6) 1: 13A13CF6 (AGLink40): (filename not available): Ordinal237 --------------------------------------------------------------------------------------------------------------- 2019/10/17,14:13:49.028, ######## EXCEPTION: 0xC0000005 at address: 0xF3DBC2C6: ACCESS VIOLATION read attempt to address 0xF3DBC2C6 Callstack dumping Exception handler: AIThreadRoutine Exception handler in wrapped thread,ObjectID=118 ThreadID=15724 2: 0 2: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: F3DBC2C6) 2: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: F3DBC2C6) 2: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: F3DBC2C6) 2: F3DBC2C6 ((module-name not available)): (filename not available): (function-name not available) 2: 1 2: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: 1BC002ED) 2: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: 1BC002ED) 2: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 1BC002ED) 2: 1BC002ED ((module-name not available)): (filename not available): (function-name not available) 2: 2 2: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: 13A56BCD) 2: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: 13A56BCD) 2: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 13A56BCD) 2: 13A56BCD ((module-name not available)): (filename not available): (function-name not available) Exception handler in wrapped thread,ObjectID=117 ThreadID=13616 --------------------------------------------------------------------------------------------------------------- 2019/10/17,14:13:51.867, ######## EXCEPTION: 0xC0000005 at address: 0x56726573: ACCESS VIOLATION read attempt to address 0x56726573 Callstack dumping Exception handler: AIThreadRoutine 3: 0 3: ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 56726573) 3: ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 56726573) 3: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 56726573) 3: 56726573 ((module-name not available)): (filename not available): (function-name not available) 3: 1 3: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 13A56BCD) 3: 13A56BCD (AGLink40): (filename not available): AGL_SetParaPath 3: 2 3: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 13A13CF6) 3: 13A13CF6 (AGLink40): (filename not available): Ordinal237
Below is error on another communication server.
019/10/10,14:50:55.577,4,W,,16308,,7,CW,System error n.5 occured 2019/10/10,14:50:55.577,4,W,,16316,,7,CW,IO,1.R06M_S02,Error occured while opening COM79 communication port 2019/10/10,14:50:55.577,4,I,,4536,,7,CW (R06M_S02), Return code on start network command = 149 2019/10/10,14:50:55.858,4,W,,16308,,7,CW,System error n.59 occured 2019/10/10,14:50:55.858,4,W,,16316,,7,CW,IO,1.R08M_S09,Error occured while opening COM299 communication port 2019/10/10,14:50:55.858,4,I,,4536,,7,CW (R08M_S09), Return code on start network command = 149
Crash Report associated for above error is as below :
=============================================================================================================== Startup time = 2019/10/10,14:47:59.593 Project name = C:ARC InformatiquePcVue 12USRSEMCO_SCADA_NEW Product Version = 12.0.10 [29060] --------------------------------------------------------------------------------------------------------------- 2019/10/10,14:50:55.577, ######## EXCEPTION: 0xC0000374 at address: 0x77BCE9A3: Callstack dumping Message Dump processed: Type = Mail Function = 1 Source manager = Eqt Destination manager = Startup Source station = 7 Destination station = 7 Exception description: STATUS_HEAP_CORRUPTION - A heap has been corrupted 1: 0 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77BCE9A3) 1: 77BCE9A3 (ntdll): (filename not available): RtlpNtEnumerateSubKey 1: 1 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77BCF8A9) 1: 77BCF8A9 (ntdll): (filename not available): RtlpNtEnumerateSubKey 1: 2 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77BCF989) 1: 77BCF989 (ntdll): (filename not available): RtlpNtEnumerateSubKey 1: 3 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77B7D95C) 1: 77B7D95C (ntdll): (filename not available): RtlUlonglongByteSwap 1: 4 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 771114AD) 1: 771114AD (KERNEL32): (filename not available): HeapFree 1: 5 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C48BFD3) 1: 1C48BFD3 (AGLink40): (filename not available): AGL_SetParaPath 1: 6 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C486B46) 1: 1C486B46 (AGLink40): (filename not available): AGL_SetParaPath 1: 7 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C486BCD) 1: 1C486BCD (AGLink40): (filename not available): AGL_SetParaPath 1: 8 1: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C443CF6) 1: 1C443CF6 (AGLink40): (filename not available): Ordinal237 --------------------------------------------------------------------------------------------------------------- 2019/10/10,14:51:07.012, ######## EXCEPTION: 0xC0000005 at address: 0x1C6A6BC0: ACCESS VIOLATION write attempt to address 0x00006821 Callstack dumping Exception handler: AIThreadRoutine 2: 0 2: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: 1C6A6BC0) 2: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: 1C6A6BC0) 2: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 1C6A6BC0) 2: 1C6A6BC0 ((module-name not available)): (filename not available): (function-name not available) Exception handler in wrapped thread,ObjectID=72 ThreadID=6252 --------------------------------------------------------------------------------------------------------------- 2019/10/10,14:51:08.977, ######## EXCEPTION: 0xC0000005 at address: 0x00000000: ACCESS VIOLATION read attempt to address 0x00000000 Callstack dumping Exception handler: AIThreadRoutine 3: 0 3: 1 3: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C486BCD) 3: 1C486BCD (AGLink40): (filename not available): AGL_SetParaPath 3: 2 3: ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 1C443CF6) 3: 1C443CF6 (AGLink40): (filename not available): Ordinal237 --------------------------------------------------------------------------------------------------------------- 2019/10/10,14:51:11.255, ######## EXCEPTION: 0xC0000005 at address: 0x253D7475: ACCESS VIOLATION read attempt to address 0x253D7475 Callstack dumping Exception handler: AIThreadRoutine Exception handler in wrapped thread,ObjectID=73 ThreadID=6256 4: 0 4: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: 253D7475) 4: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: 253D7475) 4: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 253D7475) 4: 253D7475 ((module-name not available)): (filename not available): (function-name not available) 4: 1 4: ERROR: SymGetSymFromAddr64, GetLastError: 6 (Address: 1C486BCD) 4: ERROR: SymGetLineFromAddr64, GetLastError: 6 (Address: 1C486BCD) 4: ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 1C486BCD) 4: 1C486BCD ((module-name not available)): (filename not available): (function-name not available)
I am not sure if these kind of errors could cause the crash, does anybody have any idea? At the same time I am curious on the error code that was thrown, do they bear specific indication, and what other error code that is possible to be thrown?
If you require the project file or trace logs do let me know so that I can provide it here.
Thanks,
Kantha
Hello!
I'm not a developer but your Crash Reports sounds strange (no PcVue function calls). Did you cut some lines? If yes, please attach complete files.
AGLINK40 seems to be related to S7/IP. Can you make a try deleting S7-IP part from COMM.DAT and retry a PcVue startup?
Anyway I think it's a good idea to create an SPR to let a developer investigate... 🙂
Hi Filippo,
Thanks for your reply, Yes you are right, sorry I did not copy the full trace for the second crash in my post. I have now edited my original post.
Good idea, I will make an SPR to check through the issue with developer, I am currently waiting for some information feedback from our customer.
Thanks,
Kantha
Hi all,
In between while waiting for user response, does anybody know the meaning of error codes
System error n.XX occured
, our client has been asking this info.
For instance
System error n.59 occured System error n.5 occured


