Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17842

[Reg] Missing line number in backtrace when function calls eval()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 4.6.0
    • Qt Script
    • None

    Description

      See tst_QScriptContext::backtrace() test, data tags "eval" and "eval in member".
      If a backtrace contains a call to eval(), then the backtrace item corresponding to the function that calls eval() doesn't have the correct line number (it reports -1).
      The comment in the test claims that this is only an issue when the JIT is disabled, but that's not true; with the JIT we hit an assert when NDEBUG is not defined.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes