Crash when [UIDevice name] called

Originator:yuribalashkevych
Number:rdar://49214269 Date Originated:March 25 2019
Status:Open Resolved:
Product:iOS Product Version:
Classification: Reproducible:Random
 
Area:
UIKit

Summary:
iTunes reported on 824 crashes

Steps to Reproduce:
Random reproducibility.

Expected Results:
No crashes.

Actual Results:
The crash happens to end users.


Incident Identifier: EF362E93-3026-47E0-863C-876560311636
CrashReporter Key:   866fe929d4139f7b98c24546489f95b101df479d
Hardware Model:      iPhone10,2
Process:             Work [4094]
Path:                /private/var/containers/Bundle/Application/DB71C091-EB62-45A9-98F6-1936BC31BF56/Work.app/Work
Identifier:          com.good.gcs.g3
Version:             2.16.0.4385 (2.16.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.good.gcs.g3 [1169]


Date/Time:           2019-03-06 20:19:30.0364 -0500
Launch Time:         2019-03-05 18:06:43.8486 -0500
OS Version:          iPhone OS 11.4 (15F79)
Baseband Version:    1.93.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000017
VM Region Info: 0x17 is not in any region.  Bytes before following region: 4362567657
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                 0000000104078000-000000010407c000 [   16K] r-x/r-x SM=COW  ...Work.app/Work

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread:  3
Thread 3 name:
Thread 3 Crashed:
0   Work                          	0x0000000104e62c08 example_callback_i_a+ 14593032 (mach_header const*, long) + 240
1   dyld                          	0x0000000105d409c8 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) + 716 (dyld.cpp:1073)
2   dyld                          	0x0000000105d4b5ac ImageLoaderMegaDylib::dlopenFromCache(ImageLoader::LinkContext const&, char const*, int, void**) + 164 (ImageLoaderMegaDylib.cpp:1003)
3   dyld                          	0x0000000105d40e84 dyld::dlopenFromCache(char const*, int, void**) + 88 (dyld.cpp:4143)
4   dyld                          	0x0000000105d47734 dlopen + 512 (dyldAPIs.cpp:1597)
5   libdyld.dylib                 	0x0000000182d8eef0 dlopen + 116 (dyldAPIsInLibSystem.cpp:1772)
6   ...bileGestaltExtensions.dylib	0x00000001aab50580 _MGSLoadSymbol + 100 (MobileGestaltSupport.m:337)
7   libMobileGestalt.dylib        	0x000000018399b5dc copyUserAssignedDeviceName + 40 (LazyImportHeaders.h:49)
8   libMobileGestalt.dylib        	0x0000000183998164 copyRealAnswer + 328 (MobileGestalt.c:561)
9   SpringBoardFoundation         	0x0000000195ce1084 -[UIDevice(ControlCenter) _deviceInfoForKey:] + 20 (UIDevice+SpringBoard.m:214)
10  UIKit                         	0x000000018d66c52c -[UIDevice name] + 32 (UIDevice.m:542)
11  Work                          	0x0000000104b0c510 GD::iOSDeviceInfo::Get_DeviceName+ 11093264 () + 88
12  Work                          	0x0000000104d42018 GD::PolicyCommandBuilder::buildClientInfoValueObject+ 13410328 (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 652
13  Work                          	0x0000000104d41ca0 GD::PolicyCommandBuilder::buildClientInfo+ 13409440 (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 36
14  Work                          	0x0000000104deaac0 GD::PolicyCommandUtil::checkClientInfo+ 14101184 () + 108
15  Work                          	0x0000000104d80178 GD::PolicyManager::checkForUpgrades+ 13664632 () + 36
16  Work                          	0x0000000104d82ef0 GD::PolicyManager::onOpen+ 13676272 () + 228
17  Work                          	0x0000000104d890f4 GD::PolicySocket::ackArrived+ 13701364 (GD::PolicyMessageType, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 260
18  Work                          	0x0000000104d2d0f8 GD::PolicyAckControl::ackArrived+ 13324536 (int) + 332
19  Work                          	0x0000000104d88b60 GD::PolicySocket::processReadBuffer+ 13699936 () + 476
20  Work                          	0x0000000104e0debc GD::SocketImpl::propagateSocketEvent+ 14245564 (GT::Event*) + 236
21  Work                          	0x0000000104e0dbbc GD::SocketImpl::dispatchEvents+ 14244796 (GT::Event*) + 400
22  Work                          	0x0000000104e10260 GD::SocketImpl::handleMessage+ 14254688 (UTIL::MBD::MsgParcel&) + 136
23  Work                          	0x0000000104eb8bb4 UTIL::MBD::MsgDispatcher::processMessage+ 14945204 () + 224
24  Work                          	0x0000000104ec152c non-virtual thunk to UTIL::MBD::SerialExecutor::run+ 14980396 () + 52
25  Work                          	0x0000000104ec0680 GT::thread_run+ 14976640 (void*) + 124
26  libsystem_pthread.dylib       	0x000000018305d220 _pthread_body + 272 (pthread.c:740)
27  libsystem_pthread.dylib       	0x000000018305d110 _pthread_start + 292 (pthread.c:799)
28  libsystem_pthread.dylib       	0x000000018305bb10 thread_start + 4

Comments

Apple response

Engineering has provided the following feedback regarding this issue: These crash reports are both from iOS 11, which is no longer being updated. Do you have any logs from reports on iOS 12.2 devices you could attach here for us?

By yuribalashkevych at April 24, 2019, 5:17 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!