organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!

Home Page:https://organicmaps.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ios] Many crashes from the same iPad user in the last beta

biodranik opened this issue · comments

Incident Identifier: 8F5A3C09-FBAF-47B3-96A0-19FE00D8ADF6
Distributor ID:      com.apple.TestFlight
Hardware Model:      iPad7,3
Process:             Organic Maps [1806]
Path:                /private/var/containers/Bundle/Application/9D34EB87-7770-4BCB-B6F2-0CA9B0B0F736/Organic Maps.app/Organic Maps
Identifier:          app.organicmaps
Version:             2024.04.29 (31.39020.3447)
AppStoreTools:       15E204
AppVariant:          1:iPad7,3:17.4
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           app.organicmaps [1004]

Date/Time:           2024-05-02 19:41:30.7588 +0200
Launch Time:         2024-05-02 19:41:22.3010 +0200
OS Version:          iPhone OS 17.4.1 (21E236)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: Organic Maps [1806]

Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                	0x19840d0a8 __exceptionPreprocess + 160 (NSException.m:249)
1   libobjc.A.dylib               	0x1905eaca4 objc_exception_throw + 56 (objc-exception.mm:356)
2   UIKitCore                     	0x19ab04fc8 -[UIPopoverPresentationController presentationTransitionWillBegin] + 2616 (UIPopoverPresentationController.m:1654)
3   UIKitCore                     	0x19a659040 __80-[UIPresentationController _initViewHierarchyForPresentationSuperview:inWindow:]_block_invoke + 1932 (UIPresentationController.m:1877)
4   UIKitCore                     	0x19a657f74 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_3 + 296 (UIPresentationController.m:1305)
5   UIKitCore                     	0x19a53cf8c -[_UIAfterCACommitBlock run] + 64 (_UIAfterCACommitQueue.m:137)
6   UIKitCore                     	0x19a53cd90 -[_UIAfterCACommitQueue flush] + 184 (_UIAfterCACommitQueue.m:228)
7   UIKitCore                     	0x19a53cc94 _runAfterCACommitDeferredBlocks + 492 (UIApplication.m:3123)
8   UIKitCore                     	0x19a53ca24 _cleanUpAfterCAFlushAndRunDeferredBlocks + 96 (UIApplication.m:3087)
9   UIKitCore                     	0x19a525088 _afterCACommitHandler + 60 (UIApplication.m:3138)
10  CoreFoundation                	0x19835ca10 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1789)
11  CoreFoundation                	0x19835b4c4 __CFRunLoopDoObservers + 568 (CFRunLoop.c:1902)
12  CoreFoundation                	0x19835ab64 __CFRunLoopRun + 1004 (CFRunLoop.c:2983)
13  CoreFoundation                	0x19835a694 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3420)
14  GraphicsServices              	0x1d77139fc GSEventRunModal + 160 (GSEvent.c:2196)
15  UIKitCore                     	0x19a6a9edc -[UIApplication _run] + 868 (UIApplication.m:3692)
16  UIKitCore                     	0x19a6a9548 UIApplicationMain + 312 (UIApplication.m:5282)
17  Organic Maps                  	0x102b80ac8 main + 720 (main.mm:14)
18  dyld                          	0x1b960592c start + 1572 (dyldMain.cpp:1298)

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000001db5ca51c __pthread_kill + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001ed19b600 pthread_kill + 208 (pthread.c:1717)
2   libsystem_c.dylib             	0x000000019fad26e8 abort + 104 (abort.c:0)
3   libc++abi.dylib               	0x00000001ed0b5734 abort_message + 128 (abort_message.cpp:78)
4   libc++abi.dylib               	0x00000001ed0a6e54 demangling_terminate_handler() + 300 (cxa_default_handlers.cpp:77)
5   libobjc.A.dylib               	0x00000001905ed858 _objc_terminate() + 124 (objc-exception.mm:496)
6   libc++abi.dylib               	0x00000001ed0b4c04 std::__terminate(void (*)()) + 12 (cxa_handlers.cpp:59)
7   libc++abi.dylib               	0x00000001ed0b7ab0 __cxa_rethrow + 144 (cxa_exception.cpp:637)
8   libobjc.A.dylib               	0x00000001905f8df8 objc_exception_rethrow + 40 (objc-exception.mm:399)
9   CoreFoundation                	0x000000019835a744 CFRunLoopRunSpecific + 748 (CFRunLoop.c:3436)
10  GraphicsServices              	0x00000001d77139fc GSEventRunModal + 160 (GSEvent.c:2196)
11  UIKitCore                     	0x000000019a6a9edc -[UIApplication _run] + 868 (UIApplication.m:3692)
12  UIKitCore                     	0x000000019a6a9548 UIApplicationMain + 312 (UIApplication.m:5282)
13  Organic Maps                  	0x0000000102b80ac8 main + 720 (main.mm:14)
14  dyld                          	0x00000001b960592c start + 1572 (dyldMain.cpp:1298)

crashlog.crash.zip

commented

It seems like this crash on iPad is related to the exporting all bookmarks during the enabling icloud sync in the beta build.
Content view should not be nil while using the share vc on the iPad.

I've fixed this bug and updated the branch.
#7641

Let's close this issue if there are no similar bug will be detected.