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

Crash in OSM plugin with offline tiles if list of providers has changed or there is a file with special name

    XMLWordPrintable

    Details

    • Commits:
      ee5bf40562aeca6fd861121ab29506cf905189f3

      Description

      If using offline maps and providers list has changed, application crashes.

      To reproduce:

      • open minimal_map example
      • add offline location to main.qml to point to some directory
      • create a file in that directory that is named like:
        osm_100-l-8-10-510-512.png
        

      Then start the example and it should come across an assert about index out of range or crash in release mode. This is because of number 8 in there, which is at the moment off by one.

      Can also be reproduced with bigger provider number.

        Attachments

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

          Activity

            People

            Assignee:
            paangele Paolo Angelelli
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes