heremaps / here-ios-sdk-examples

Objective-C and Swift projects using the HERE SDK for iOS.
MIT License
60 stars 56 forks source link

Crash problem #231

Open Laravelk opened 2 years ago

Laravelk commented 2 years ago

Hi. I got crash during launching application. I reproduced it with HelloMapWithStoryboard example. SDK Version: 4.11.2.0 (Navigation) XCode version: 13.4.1 Simulator iOS version: 15.5

Part of stack trace:


Incident Identifier: 8202B4A9-0C0E-41EB-9472-642997BC66B2
CrashReporter Key:   35449382-D88C-4D2F-0799-95FE75250B52
Hardware Model:      MacBookPro18,1
Process:             HelloMapWithStoryboard [60032]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/AAD35A9A-0CB2-4FEB-8A99-E1ACA9B98764/data/Containers/Bundle/Application/C0163103-C3AB-433B-8090-8283E709FA56/HelloMapWithStoryboard.app/HelloMapWithStoryboard
Identifier:          com.here.sdk.example
Version:             1.0 (1)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [59855]
Coalition:           com.apple.CoreSimulator.SimDevice.AAD35A9A-0CB2-4FEB-8A99-E1ACA9B98764 [16068]
Responsible Process: SimulatorTrampoline [864]

Date/Time:           2022-06-10 21:03:03.2324 +0700
Launch Time:         2022-06-10 21:03:02.3385 +0700
OS Version:          macOS 12.4 (21F79)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4333010944
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      102448000-102450000    [   32K] r-x/r-x SM=COW  ...ithStoryboard
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [60032]

Triggered by Thread:  1

Thread 0::  Dispatch queue: com.apple.main-thread
0   CoreFoundation                         0x10abdc56c CFEqual + 224
1   CoreFoundation                         0x10acacf14 CFCachedStringEqual + 48
2   CoreFoundation                         0x10acacf14 CFCachedStringEqual + 48
3   CoreFoundation                         0x10acaa6b0 _CFXNotificationRegistrarFindName + 100
4   CoreFoundation                         0x10acabef4 _CFXNotificationRegistrarAddName + 60
5   CoreFoundation                         0x10acab64c CFXNotificationRegistrarAdd + 500
6   CoreFoundation                         0x10aba95d0 _CFXNotificationRegisterObserver + 244
7   CoreFoundation                         0x10abaa784 CFNotificationCenterAddObserver + 312
8   libAccessibility.dylib                 0x10e4376d4 ___initializePublicAPINotificationListeners_block_invoke_2 + 116
9   libdispatch.dylib                      0x1040ffa98 _dispatch_client_callout + 16
10  libdispatch.dylib                      0x1041010cc _dispatch_once_callout + 28
11  libdispatch.dylib                      0x1040ffa98 _dispatch_client_callout + 16
12  libdispatch.dylib                      0x104102c00 _dispatch_continuation_pop + 448
13  libdispatch.dylib                      0x104115638 _dispatch_source_invoke + 1576
14  libdispatch.dylib                      0x10410d364 _dispatch_main_queue_drain + 792
15  libdispatch.dylib                      0x10410d03c _dispatch_main_queue_callback_4CF + 40
16  CoreFoundation                         0x10abd9c2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
17  CoreFoundation                         0x10abd40b0 __CFRunLoopRun + 2432
18  CoreFoundation                         0x10abd3218 CFRunLoopRunSpecific + 572
19  GraphicsServices                       0x10eeef60c GSEventRunModal + 160
20  UIKitCore                              0x11c665a98 -[UIApplication _run] + 992
21  UIKitCore                              0x11c66a634 UIApplicationMain + 112
22  HelloMapWithStoryboard                 0x10244d684 main + 64 (AppDelegate.swift:24)
23  dyld_sim                               0x102731cd8 start_sim + 20
24  dyld                                   0x10257908c start + 520

Thread 1 Crashed::  Dispatch queue: com.apple.root.default-qos
0   heresdk                                0x109a145ac 0x10808c000 + 26772908
1   heresdk                                0x109a145a8 0x10808c000 + 26772904
2   heresdk                                0x109a14068 0x10808c000 + 26771560
3   heresdk                                0x109a197b8 0x10808c000 + 26793912
4   heresdk                                0x1085456f0 0x10808c000 + 4953840
5   heresdk                                0x108544e0c 0x10808c000 + 4951564
6   heresdk                                0x1085735e4 0x10808c000 + 5141988
7   heresdk                                0x10854ed58 0x10808c000 + 4992344
8   libdispatch.dylib                      0x1040ffa98 _dispatch_client_callout + 16
9   libdispatch.dylib                      0x1041028fc _dispatch_queue_override_invoke + 760
10  libdispatch.dylib                      0x104110774 _dispatch_root_queue_drain + 432
11  libdispatch.dylib                      0x1041110f4 _dispatch_worker_thread2 + 160
12  libsystem_pthread.dylib                0x105e87b04 _pthread_wqthread + 224
13  libsystem_pthread.dylib                0x105e86904 start_wqthread + 8

Thread 2:
0   libsystem_pthread.dylib                0x105e868fc start_wqthread + 0

Full stack trace here: 2.txt

Laravelk commented 2 years ago

Maybe it could help :) Another crash during launch the application (Navigation example in this case) 3.txt

LeOric32 commented 2 years ago

Hi @Laravelk ! This repo provide examples for SDK 3.x, 4.x-version located at https://github.com/heremaps/here-sdk-examples/issues