Closed marcolucc closed 11 months ago
terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 3) > this->size() (which is 1)
Hi, from this line, I think the problem is likely caused by a bug, which caused it to crash. Can you send the contents of the file "iecserver.map"?
MONITOR TestServerLogicalDevice/GGIO1.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO1.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO1.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO1.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO1.DPCSO.stVal X CONTROL TestServerLogicalDevice/GGIO2.SPCSO.Oper.ctlVal X CONTROL TestServerLogicalDevice/GGIO3.SPCSO.Oper.ctlVal X MONITOR TestServerLogicalDevice/GGIO4.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO4.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO4.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO4.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO4.SPCSO5.stVal X MONITOR TestServerLogicalDevice/GGIO4.DPCSO.stVal X CONTROL TestServerLogicalDevice/GGIO5.SPCSO.Oper.ctlVal X CONTROL TestServerLogicalDevice/GGIO6.SPCSO.Oper.ctlVal X MONITOR TestServerLogicalDevice/GGIO7.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO7.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO7.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO7.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO7.DPCSO.stVal X CONTROL TestServerLogicalDevice/GGIO8.SPCSO.Oper.ctlVal X CONTROL TestServerLogicalDevice/GGIO9.SPCSO.Oper.ctlVal X MONITOR TestServerLogicalDevice/GGIO10.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO10.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO10.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO10.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO10.DPCSO.stVal X CONTROL TestServerLogicalDevice/GGIO11.SPCSO.Oper.ctlVal X CONTROL TestServerLogicalDevice/GGIO12.SPCSO.Oper.ctlVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO5.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO6.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO7.stVal X MONITOR TestServerLogicalDevice/GGIO13.SPCSO8.stVal X CONTROL TestServerLogicalDevice/GGIO15.SPCSO1.Oper.ctlVal X CONTROL TestServerLogicalDevice/GGIO15.SPCSO2.Oper.ctlVal X MONITOR TestServerLogicalDevice/GGIO14.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO14.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO1.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO2.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO3.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO4.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO5.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO6.stVal X MONITOR TestServerLogicalDevice/GGIO16.SPCSO7.stVal X MONITOR TestServerLogicalDevice/GGIO17.AnIn1.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn2.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn3.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn4.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn5.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn6.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn7.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn8.instMag X MONITOR TestServerLogicalDevice/GGIO17.AnIn9.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn1.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn2.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn3.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn4.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn5.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn6.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn7.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn8.instMag X MONITOR TestServerLogicalDevice/GGIO18.AnIn9.instMag X
I want to point out that It's a fresh install of OpenPLC61850, I haven't modified anything.
I have pushed the fix. It should run without crashing now, but there will be quite some errors appearing in the log, since the configuration (SCL and ST files) in the repo are not properly configured. You can refer to the previous issue #1.
Hello, I'm tring to get OpenPLC61850 working. I've tried two approaches: with and without docker. Same result OpenPLC doesn't go in "running mode".
I tried compiling for the hardware again, it compiled succesfully: