Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Crash in the Location module using macOS Catalina 10.15.6

Crash in the Location module using macOS Catalina 10.15.6

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 411 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by Francky033
    #1

    Hello,

    I have a problem with the Location module using macOS Catalina 10.15.6 and XCode 11.6 and Qt 5.15.0.
    The program doesn't crash on my Hackintosh (I don't have a Mac) but Apple connect services tell me that the program crashes on their machine with this log :

    ``
    Thread 2 Crashed:: Dispatch queue: com.apple.CoreLocation.0x7fc0be744150
    0 libsystem_kernel.dylib 0x00007fff6d84333a __pthread_kill + 10
    1 libsystem_pthread.dylib 0x00007fff6d8ffe60 pthread_kill + 430
    2 libsystem_c.dylib 0x00007fff6d7ca808 abort + 120
    3 com.apple.corelocation 0x00007fff3460e273 0x7fff34606000 + 33395
    4 com.apple.locationsupport 0x00007fff58e5f83c 0x7fff58e50000 + 63548
    5 com.apple.locationsupport 0x00007fff58e5f79b 0x7fff58e50000 + 63387
    6 com.apple.locationsupport 0x00007fff58e5316c CLConnection::handleMessage(std::__1::shared_ptr<CLConnectionMessage>) + 156
    7 com.apple.locationsupport 0x00007fff58e5b321 0x7fff58e50000 + 45857
    8 com.apple.locationsupport 0x00007fff58e5c4eb 0x7fff58e50000 + 50411
    9 libxpc.dylib 0x00007fff6d94022c _xpc_connection_call_event_handler + 56
    10 libxpc.dylib 0x00007fff6d93f13b _xpc_connection_mach_event + 934
    11 libdispatch.dylib 0x00007fff6d6a26f8 _dispatch_client_callout4 + 9
    12 libdispatch.dylib 0x00007fff6d6b7bc9 _dispatch_mach_msg_invoke + 435
    13 libdispatch.dylib 0x00007fff6d6a7af6 _dispatch_lane_serial_drain + 263
    14 libdispatch.dylib 0x00007fff6d6b871c _dispatch_mach_invoke + 481
    15 libdispatch.dylib 0x00007fff6d6a7af6 _dispatch_lane_serial_drain + 263
    16 libdispatch.dylib 0x00007fff6d6a85d6 _dispatch_lane_invoke + 363
    17 libdispatch.dylib 0x00007fff6d6b1c09 _dispatch_workloop_worker_thread + 596
    18 libsystem_pthread.dylib 0x00007fff6d8fca3d _pthread_wqthread + 290
    19 libsystem_pthread.dylib 0x00007fff6d8fbb77 start_wqthread + 15

    
    I didn't have any problems with High Sierra and XCode 9...
    
    Any ideas? Thanks!
    1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Just a wild guess: did you request the permission to use the location data ?

      F Offline
      F Offline
      Francky033
      wrote on last edited by
      #3

      Thank you @SGaist!

      Yes, indeed! It was necessary to define the variable NSLocationUsageDescription (which is essential to request the user's aurorization) in the plist file of the application!

      Thank you!

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Just a wild guess: did you request the permission to use the location data ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        F 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          Just a wild guess: did you request the permission to use the location data ?

          F Offline
          F Offline
          Francky033
          wrote on last edited by
          #3

          Thank you @SGaist!

          Yes, indeed! It was necessary to define the variable NSLocationUsageDescription (which is essential to request the user's aurorization) in the plist file of the application!

          Thank you!

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved