valarch processes crash on linux system

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
5 posts • Page 1 of 1
User avatar
frankySie
Posts: 30
Joined: Mon Oct 15, 2012 12:01 pm

valarch processes crash on linux system

Post by frankySie »

a WinCC OA 3.11 project was copied from windows to linux. But now all valarchprocesses (0 - 5) are crashing at project start (under linux)

copy/pase from log file:

ACE_ASSERT: time Wed Nov 21 13:46:26.580111 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:22.957[-1210754160](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:22.957584 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:24.137[-1211282544](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:24.137832 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:25.470[-1210786928](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:25.470523 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:26.656[-1211315312](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:26.656597 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.

do you know what the problem is?
Thx.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: valarch processes crash on linux system

Post by leoknipp »

Hello,

when copying a project from a Windows-system to a Linux-system you have to set the following config-entry:
[valarch]
useHeaderSize = "Windows"

Please check if the startup of the archives work.

If it does not work and the archived information in the value-archive directories is not needed you could delete the VA-directories at the database. They will be created automatically when starting the project.

Best Regards
Leopold Knipp
Senior Support Specialist

User avatar
frankySie
Posts: 30
Joined: Mon Oct 15, 2012 12:01 pm

Re: valarch processes crash on linux system

Post by frankySie »

Now it works.

At least the delete of the VA-directories has helped.

The config-entry did not help.

regards.

User avatar
mkoller
Posts: 741
Joined: Fri Sep 17, 2010 9:03 am

Re: valarch processes crash on linux system

Post by mkoller »

The config entry definitely helps if used in the right section. It must be:

[valarch]
useHeaderSize = "windows"

User avatar
frankySie
Posts: 30
Joined: Mon Oct 15, 2012 12:01 pm

Re: valarch processes crash on linux system

Post by frankySie »

Meanwhile I've some experience with transfering projects from Windows to Linux.
The config entry definitely helps when it is added (to the config file) immediatly before first project start on linux.
I mean,
1) copy the project to linux
2) edit the config file
3) start the WinCC oA

The first time I wasn't aware of the config entry useHeaderSize. So the project was startet immediatly after copying. Then the error is reportet. When the config entry useHeaderSize now is used after the first project start then it did not help.

Post Reply
5 posts • Page 1 of 1