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

mapboxgl plugin with additional style URL's throws std::runtime_error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.11.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      See attached zip for a minimal failing example.

      An exception is thrown from Style::Impl::addLayer when switching between styles (use 1, 2 and 3 keys on your keyboard to do so) when the map server is unreachable (i.e. not running). Crashes every time.

      Error output:

      [ ERROR ] "{QSGRenderThread}[Setup]: loading style failed: Connection refused"
      terminate called after throwing an instance of 'std::runtime_error'
      what(): Layer QtLocation-12552752 already exists

       

        Attachments

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

          Activity

            People

            Assignee:
            tmpsantos Thiago Marcos P. Santos
            Reporter:
            terjerunde Terje Runde
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes