This commit is contained in:
Ivan Matkov 2020-06-03 06:51:39 +03:00
Родитель 5614bc514c
Коммит f5e6e039de
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -5,7 +5,7 @@
* Drop support old versions of Xcode. The minimal version is Xcode 11 now. * Drop support old versions of Xcode. The minimal version is Xcode 11 now.
* Support [Mac Catalyst](https://developer.apple.com/mac-catalyst/). * Support [Mac Catalyst](https://developer.apple.com/mac-catalyst/).
* Distribute `.xcframework` archive alongside with the other options. * Distribute `.xcframework` archive alongside with the other options.
* Improve reliability of writing crash reports in case of memory corruption. * Improve reliability of saving crash reports in case of memory corruption.
* Fix symbolication issues with new Objective-C runtime version. * Fix symbolication issues with new Objective-C runtime version.
___ ___

Просмотреть файл

@ -357,7 +357,8 @@ plcrash_error_t plcrash_log_writer_init (plcrash_log_writer_t *writer,
PLCrashProcessInfo *parentInfo = [[PLCrashProcessInfo alloc] initWithProcessID: pinfo.parentProcessID]; PLCrashProcessInfo *parentInfo = [[PLCrashProcessInfo alloc] initWithProcessID: pinfo.parentProcessID];
if (parentInfo != nil) { if (parentInfo != nil) {
if (parentInfo.processName != nil) { if (parentInfo.processName != nil) {
plprotobuf_cbinary_data_nsstring_init(&writer->process_info.parent_process_name, parentInfo.processName); } plprotobuf_cbinary_data_nsstring_init(&writer->process_info.parent_process_name, parentInfo.processName);
}
} else { } else {
PLCF_DEBUG("Could not retreive parent process name: %s", strerror(errno)); PLCF_DEBUG("Could not retreive parent process name: %s", strerror(errno));
} }