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

Crash when using connect() (presumably from dynamic created item in a Loader)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.9.1, 5.9.2, 5.9.3, 5.10.0
    • None
    • Ubuntu 17.04

    Description

       

      I have a hard-to-reproduce crash that I think is related to this scenario:

       

      Item is loaded via Loader

      The Item dynamically creates NewItem via .incubateObject

      When NewItem is created - a connect is made via a callback fired on incubation success - to it's onDestruction like so:

       

      newItem.onDestruction.connect(function(){ ... })

      Sometimes there's a crash when the Item (loaded via a Loader) is unloaded.

      I can't tell exactly where in the line of calls it happens - and I found out that the segmentation fault is currently only when I run from a Debug build

       

      Stack trace attached

       

      Attachments

        1. backtrace.txt
          14 kB
        2. stack_trace_2.txt
          36 kB
        3. stack_trace.txt
          36 kB

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              larpon Lars
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes