Parser crashes when va_start is used on a std::string parameter

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Code Generation Tools
    • CODEGEN-10646
    • Show
      https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1170085/tda4vm-c7000-cgt-internal-error-compiler-experienced-a-segmentation-fault
    • Hide
      C7000_6.x.0.LTS*
      C7000_2.1.2.LTS
      C7000_6.0.0.STS
      C7000_5.0.0.LTS
      C7000_3.0.0.STS
      C7000_3.1.0.LTS
      C7000_6.1.0.STS
      C7000_1.4.2.LTS
      C7000_4.0.0.STS
      C7000_4.1.0.LTS
      Show
      C7000_6.x.0.LTS* C7000_2.1.2.LTS C7000_6.0.0.STS C7000_5.0.0.LTS C7000_3.0.0.STS C7000_3.1.0.LTS C7000_6.1.0.STS C7000_1.4.2.LTS C7000_4.0.0.STS C7000_4.1.0.LTS
    • default
    • Change the function so that it accepts C strings, not std::string, and call c_str() before calling this function.

      The parser crashes when using the special macro va_start when the last known paramter is std::string:

      void foo(std::string bar, ...)

      { va_list ap; va_start(ap, bar); va_end(ap); }

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-3567 - Parser crashes when va_start is use...
                SYNCHRONIZED
                • Last Sync Date: