8 Replies Latest reply on Nov 14, 2018 6:08 AM by foobar4711

    opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)

    foobar4711 Novice

      Hi,

       

      the subject says all I have atm. I checked the .ova file for integrity with 7Zip and it decompresses fine. What else would be needed to find out what this is about?

       

      Thanks

       

      Ulf

        • 2. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
          foobar4711 Novice

          Hi,

           

          thanks for the suggestions, but as this is Workstation and not vSphere they didn't really apply.

          Nevertheless I found that I could remove <DeploymentOptionSection> from the .ovf file and then it worked.

          I can't say whether the issue with the syntax of that section or with Workstation but imho not able to parse a config file shouldn't crash Workstation, right?

           

          Regards

           

          Ulf

          • 3. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
            foobar4711 Novice

            Hi,

             

            any news on this? I'm sure we wouldn't want that an .ova file can crash the whole VMW-Workstation, right?

             

            Regards

             

            Ulf

            • 4. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
              Master

              Is there any way that we could get a copy of the .ova file?

               

              If not, then the UI log might give us some insight.  Run Workstation, go to Help > About, note the location of the UI log file.  Reproduce the crash, and then attach that log file.

              • 5. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
                foobar4711 Novice

                Hi,

                 

                sure:

                 

                - UI log:

                 

                2017-11-10T07:51:21.680+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 10004 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

                2017-11-10T07:51:27.611+01:00| vmui| I125: Spawning OVFTool:

                2017-11-10T07:51:27.611+01:00| vmui| I125+ '--machineOutput' '--X:logFile=C:\Users\foo\AppData\Local\Temp\vmware-foo\ovftool.log' '--X:logLevel=verbose' 'C:\Users\foo\Documents\bar.ova'

                2017-11-10T07:51:31.305+01:00| vmui| I125: OVFTool::OnExit

                2017-11-10T07:51:49.478+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 11905 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

                2017-11-10T07:52:01.337+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 10004 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

                2017-11-10T07:52:03.131+01:00| vmui| I125: Spawning OVFTool:

                2017-11-10T07:52:03.131+01:00| vmui| I125+ '--machineOutput' '--X:logFile=C:\Users\foo\AppData\Local\Temp\vmware-foo\ovftool.log' '--X:logLevel=verbose' 'C:\Users\foo\Documents\bar.ova'

                2017-11-10T07:52:03.698+01:00| vmui| I125: OVFTool::OnExit

                2017-11-10T07:52:08.304+01:00| vmui| W115: Unhandled C++ exception: class 'class std::out_of_range', details 'invalid vector<T> subscript'

                 

                (The MenuButtonClicked UI events are just wrong (or at least missleading, I never clicked these)

                 

                - ovf tool log:

                 

                2017-11-10T07:52:03.652+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] [SSL_DB] Using C:\Users\foo\AppData\Roaming\VMware\ovftool_SSLDB as SSL DB

                2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 2 (SIGINT)

                2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 4 (SIGILL)

                2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 22 (SIGABRT)

                2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 8 (SIGFPE)

                2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 15 (SIGTERM)

                2017-11-10T07:52:03.674+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing progress

                2017-11-10T07:52:03.674+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfTool Version: VMware ovftool 4.2.0 (build-6230482)

                2017-11-10T07:52:03.675+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Using home directory: C:\Users\foo\AppData\Roaming\VMware\ovftool.cfg

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Curl Version: 7.50.0-DEV

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Done initializing libs

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Determining source

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Determining target

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Getting source

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Parsing URL...

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Parsing URL...

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

                2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

                2017-11-10T07:52:03.677+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Opening source

                2017-11-10T07:52:03.677+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfPackageSourceBase::Open

                2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file present. Parsing file.

                2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(bar.ovf) = cbdca6a29db544f412174ef35bf97eb4b4fe187e

                2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(bar-disk1.vmdk) = c3b6e606a864caa860910febdbc3ec978d8584a9

                2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(certchain.pem) = 25b0c384c86afada52ebb460a9e21cedcd4c82c5

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Verifying that the files references in manifest are valid

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] ApplyOvfTransformations with ovfRewriter started

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] ApplyExtraConfig started

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Setting extra config...

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Filtering extra config

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] The command line option --allowExtraConfig is specified: false

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] The command line option --exportFlags=extraconfig is specified: false

                2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfPackageSourceBase parsing message bundle

                2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

                2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Validating files

                2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Ovf converter is executing

                2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Starting Ovf probe, OVF source Descriptor: <?xml version="1.0" encoding="UTF-8"?>

                --> <!--Generated by VMware ovftool 4.1.0 (build-2459827), UTC time: 2017-08-23T19:40:41.276575Z-->

                --> <Envelope vmw:buildId="build-2459827" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                -->   <References>

                -->     <File ovf:href="bar-disk1.vmdk" ovf:id="file1" ovf:size="3168751616"/>

                -->   </References>

                ... (dump of the .ova file omitted)

                2017-11-10T07:52:03.683+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

                 

                Which doesn't seem particularly helpful as I couldn't find a log for OVF rewriter, at least not in the directory where the other log files reside.

                 

                Regards

                 

                P.S. I'm sure you can find my email from my profile here and ucast me a way to provide you more details I'm not nessecarly confident to post in a public forum.

                • 6. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
                  foobar4711 Novice

                  Btw. the issue still occurs with lastest VMware workstation version 14.1.0 ...

                  • 7. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
                    foobar4711 Novice

                    Hi,

                     

                    1. issue still occurs with Workstation 14.1.1

                     

                    2. issue also occurs with VMware ESXi Embedded Host Client 1.29 (whereas VMware 6.5u1 build-in client (v1.19) is ok)

                     

                    Regards

                     

                    Ulf

                    • 8. Re: opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)
                      foobar4711 Novice

                      And the issue still occurs with Workstation 15.0.1 ... Why does VMware have at least two different parsers for .ovf files?