Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-2854

Moderator error when starting libCInterface

    Details

      Description

      In newer builds of GMAT, the libCInterface does not seem to work. The Moderator fails to start when loaded through the interface.

      This broke sometime around the end of 2011 or beginning of 2012. It is known to work in 2011-09-30.

      This is being asked for by folks working OSIRIS and X-Nav.

      I can get more details when needed; I just wanted to make sure this is being tracked.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            djcinsb Darrel Conway added a comment -

            I found and fixed what I think is the initialization bug. (But then, I've thought that before...) Please check this with a build dated 7/19 or later and let me know.

            Show
            djcinsb Darrel Conway added a comment - I found and fixed what I think is the initialization bug. (But then, I've thought that before...) Please check this with a build dated 7/19 or later and let me know.
            Hide
            jjkparker Joel Parker added a comment -

            I confirmed that it now works in a custom VS2010 build from r10656.

            I was expecting that it would know to look next to libGmatBase.dll for the startup file (due to the fix for GMT-2344), but it's still looking for the startup file in whatever working directory I'm in. But, that's a separate issue that I'll check in elsewhere.

            Waiting to verify until it's in an official build.

            Show
            jjkparker Joel Parker added a comment - I confirmed that it now works in a custom VS2010 build from r10656. I was expecting that it would know to look next to libGmatBase.dll for the startup file (due to the fix for GMT-2344 ), but it's still looking for the startup file in whatever working directory I'm in. But, that's a separate issue that I'll check in elsewhere. Waiting to verify until it's in an official build.
            Hide
            djcinsb Darrel Conway added a comment -

            Actually, it is the "fix" for 2344 that appears to have broken the CInterface code. The default value (with no path) for the startup file was removed with that fix, which then prevented the CInterface from initializing the Moderator.

            Show
            djcinsb Darrel Conway added a comment - Actually, it is the "fix" for 2344 that appears to have broken the CInterface code. The default value (with no path) for the startup file was removed with that fix, which then prevented the CInterface from initializing the Moderator.
            Hide
            jjkparker Joel Parker added a comment -

            I can verify this fix using the 2012-07-19 nightly. I'll close once I get a bug in for the startup file issue.

            Show
            jjkparker Joel Parker added a comment - I can verify this fix using the 2012-07-19 nightly. I'll close once I get a bug in for the startup file issue.
            Hide
            jjkparker Joel Parker added a comment -

            Created GMT-2944 to track the startup file issue.

            Show
            jjkparker Joel Parker added a comment - Created GMT-2944 to track the startup file issue.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d