ok thank you. Could i have one more question ?? from time to time when it crashes i get the following log entry (but not always).
-- my manager is called PVSS00MsduR1 with -num 5
PVSS00pmon (1), 2017.12.19 10:09:11.588, SYS, WARNING, 39/pmon, Manager PVSS00MiMSql(2) is no longer blocking.
PVSS00event (0), 2017.12.19 10:09:15.879, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 366
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 367
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 925970482
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 758264109
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 824195121
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 825506357
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 2083861818
PVSS00event (0), 2017.12.19 10:09:15.880, IMPL, SEVERE, 50, Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 925970482
PVSS00event (0), 2017.12.19 10:09:15.881, SYS, SEVERE, 39, Connection lost, MAN: (SYS: 1 Api -num 5 CONN: 1), Error reading message! Msg dump follows: Source: (SYS: 1 Api -num 5 CONN: 1) Destination: (SYS: 1 Event -num 0 CONN: 1) OriginTime: 2017.12.19;10:09:15:879 RealTime: 0 MessageID: 0000000007 AnswerID: 0000000000
Hex dump follows:
50 56 53 53 0 0 5c 18 0 0 a0 3 0 0 8 1a
0 0 1 0 0 0 7 5 0 0 0 0 0 0 1 0
0 0 1 0 0 0 7 0 0 0 0 0 0 0 3b d7
38 5a 0 0 0 0 c0 79 64 34 0 0 0 0 6 0
0 0 7 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 1 0 0 0 7 5 0 0 0 0 0 0 3b d7
38 5a 0 0 0 0 c0 79 64 34 1 0 0 0 1 0
0 0 8c df 0 0 6 0 0 0 1 0 0 0 0 0
0 0 65 0 2 0 cc 0 0 0 0 0 12 0 0 0
PVSS00MsduR1 (5), 2017.12.19 10:09:15.881, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Event -num 0 CONN: 1), Connection reset by peer (10054)
PVSS00MsduR1 (5), 2017.12.19 10:09:35.888, SYS, INFO, 4, Connected to, (SYS: 1 Event -num 0 CONN: 1) @ SESRV01 (127.0.0.1)
PVSS00event (0), 2017.12.19 10:09:35.920, SYS, INFO, 4, Connected to, (SYS: 1 Api -num 5 CONN: 1) @ SESRV01 (::ffff:127.0.0.1)
PVSS00ctrl2:2017.12.19 10:10:02.237["DEBUG Line 1319, readMessages() : Thread 2 : START"]
PVSS00ctrl2:2017.12.19 10:10:02.237["INFO Line 1350, readMessages() : Thread 2 : startTime = 2017.12.19 10:09:01.232, endTime = 2017.12.19 10:10:01.237"]
PVSS00ctrl2:2017.12.19 10:10:02.237["DEBUG Line 885, cbCheckArchives() : CHECK OK"]
PVSS00ctrl2:2017.12.19 10:10:02.238["DEBUG Line 948, readArchives() : Thread 5 : startIndex = 1401, endIndex = 1649 START"]
PVSS00ctrl2:2017.12.19 10:10:02.238["DEBUG Line 948, readArchives() : Thread 4 : startIndex = 701, endIndex = 1400 START"]
PVSS00ctrl2:2017.12.19 10:10:02.239["DEBUG Line 948, readArchives() : Thread 3 : startIndex = 1, endIndex = 700 START"]
PVSS00ctrl2:2017.12.19 10:10:02.313["DEBUG Line 1467, readMessages() : Thread 2 END"]
PVSS00ctrl2:2017.12.19 10:10:03.007["DEBUG Line 1202, readArchives() : Thread 5 : start time = 2017.12.19 02:09:01.232, end time = 2017.12.19 10:10:01.238 values count = 0"]
PVSS00ctrl2:2017.12.19 10:10:03.007["DEBUG Line 1237, readArchives() : Thread 5 : startIndex = 1401, endIndex = 1649 END"]
PVSS00ctrl2:2017.12.19 10:10:03.991["DEBUG Line 1202, readArchives() : Thread 3 : start time = 2017.12.19 02:09:01.233, end time = 2017.12.19 10:10:01.239 values count = 0"]
PVSS00ctrl2:2017.12.19 10:10:03.991["DEBUG Line 1237, readArchives() : Thread 3 : startIndex = 1, endIndex = 700 END"]
PVSS00ctrl2:2017.12.19 10:10:04.067["DEBUG Line 1202, readArchives() : Thread 4 : start time = 2017.12.19 02:09:01.232, end time = 2017.12.19 10:10:01.238 values count = 0"]
PVSS00ctrl2:2017.12.19 10:10:04.067["DEBUG Line 1237, readArchives() : Thread 4 : startIndex = 701, endIndex = 1400 END"]
PVSS00event (0), 2017.12.19 10:10:18.013, SYS, WARNING, 39, Connection lost, MAN: (SYS: 1 Api -num 5 CONN: 1), Connection reset by peer (10054)
-- is this a problem of the manager or this is an internal error of wincc oa ?? Mostly i wonder about these lines : "Default branch called, Variable, allocate, Couldn't allocate Variable, unknown Type: 367"
Read/Write Dyn String in API
Search
Re: Read/Write Dyn String in API
As the Event manager tells you it could not handle the message you sent to it, it seems the message stream was corrupted in your managers memory.
One guess could be you're using operating system threads in your manager C++ code and send messages from different threads (which is not supported by our api),
or you mess up your memory on a complete other situation.
You really need to check your code.
One guess could be you're using operating system threads in your manager C++ code and send messages from different threads (which is not supported by our api),
or you mess up your memory on a complete other situation.
You really need to check your code.