Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1643

QGeoPositionInfoSource::setPreferredPositioningMethods causes core dump on Meego

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Moved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: Location
    • Labels:
      None
    • Environment:
      Meego Netbook image: meego-netbook-ia32-1.1.99.4.20110426.4.img

      Description

      Create a GUI application use the template provided by QtCreator. Add the following lines:

      QGeoPositionInfoSource* info = QGeoPositionInfoSource::createDefaultSource(NULL);
      if (mPositionInfoSourceNet)

      { info->setPreferredPositioningMethods(QGeoPositionInfoSource::NonSatellitePositioningMethods); }

      Fix up the include paths and add QTM to the configuration. Set the variable:

      G_DEBUG=fatal_warnings

      and launch the application.

      After a while, the application crashes with core dumped.

      I have attached the sample appl in this defect.

      The default preferred Position Method seems to be 0x0 for Meego, (I am not sure
      if this is the expected behaviour or not). When the above API is called to
      change the preferred methods to some non-zero value like either
      SatellitePositioningMethods or NonSatellitePositioningMethods, the crash will
      be seen. (Note that supported position method returns 0xffffffff, which means
      it should support all methods.)

      I am guessing that originally, when the preferred method is 0x0, no signal will
      be generated as it is not checking position at all. As soon as we change the
      preferred signal to something non-zero, it starts to generate signal and that
      is when we see the geo_marshaling crash.

        Attachments

        1. 20110525_2315.txt
          6 kB
        2. test2.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            juvuolle Juha Vuolle (closed Nokia identity) (Inactive)
            Reporter:
            jho J Ho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes