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

b50090e79b122c9de1560a99d1f8aebcc1e24a3a causes stack overflows (through recursion in InternalClass::markObjects) in some cases

    XMLWordPrintable

    Details

    • Commits:
      52fcb218c379bb2008e24a2b5b00b613219ba7f6 (qtdeclarative)

      Description

      16:19 < tronical> w00t: then I really need a test-case. the fix is critical in other places,
      but it looks like we may end up with a loop in the prototype chain
      16:19 < tronical> w00t: actually yeah, I have an idea who we could fix it otherwise
      16:20 < tronical> w00t: can you file me a bug report?
      16:20 < w00t> tronical: yes
      16:20 < w00t> I can see if michael can somehow distill a test out of it next week
      16:20 < w00t> if you need
      16:20 < tronical> w00t: I think the solution is to simply walk the memory pool that we allocate
      the InternalClass objects in, from beginning to end and mark the lot of them.
      that should by design catch prototype circles
      16:21 < tronical> w00t: I can make a patch next week for you to try

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            w00t Robin Burchell
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes