Description

When attempting to package for tvOS or iOS with the generate dSYM options enabled, numerous instances of the following errors occur:

[2019.01.21-20.53.35:739][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:728][  0]LogTextLocalizationManager: No specific localization for 'en-US' exists, so the 'en' localization will be used.
[2019.01.21-20.53.35:739][138]UATHelper: Packaging (tvOS):   LogFileManager:Error: Requested read of 2949120 bytes when 246218 bytes remain (file=../../../Engine/Content/Localization/Engine/en/Engine.locres, size=540228)
[2019.01.21-20.53.35:739][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:729][  0]LogFileManager:Error: Requested read of 2949120 bytes when 246218 bytes remain (file=../../../Engine/Content/Localization/Engine/en/Engine.locres, size=540228)
[2019.01.21-20.53.35:739][138]PackagingResults: Error: Requested read of 2949120 bytes when 246218 bytes remain (file=../../../Engine/Content/Localization/Engine/en/Engine.locres, size=540228)
[2019.01.21-20.53.35:740][138]PackagingResults: Error: Requested read of 2949120 bytes when 246218 bytes remain (file=../../../Engine/Content/Localization/Engine/en/Engine.locres, size=540228)

Based on the logging, it seems the DsymExporter starts a second instance of the editor while the editor is already running and that editor encounters numerous errors before shutting down:

[2019.01.21-20.53.34:772][ 23]UATHelper: Packaging (tvOS):   [508/510] sh -c 'rm -rf "/Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS/QAGame.udebugsymbols"; dwarfdump --uuid "/Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS/QAGame.dSYM" | cut -d" " -f2; chmod 777 ./DsymExporter; ./DsymExporter -UUID=$(dwarfdump --uuid "/Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS/QAGame.dSYM" | cut -d" " -f2) "/Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS/QAGame.dSYM/Contents/Resources/DWARF/QAGame" "/Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS"'
[2019.01.21-20.53.35:482][108]UATHelper: Packaging (tvOS):   E161B8E4-6292-325A-B8AB-5D3F900DEDE5
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogPlatformFile: Not using cached read wrapper
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogInit:Display: RandInit(1422857066) SRandInit(1422857085).
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogTaskGraph: Started task graph with 4 named threads and 7 total threads with 1 sets of task threads.
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogInit: Build: UE4-CL-0
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogInit: Engine Version: 4.17.0-0+UE4
[2019.01.21-20.53.35:733][138]UATHelper: Packaging (tvOS):   LogInit: Compatible Engine Version: 4.17.0-0+UE4
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogInit: Net CL: 0
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion: Number of dev versions registered: 16
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 10
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 2
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 17
[2019.01.21-20.53.35:734][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 28
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 18
[2019.01.21-20.53.35:735][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 4
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-LoadTimes (C2A15278-BFE7-4AFE-6C17-90FF531DF755): 1
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Private-Geometry (6EACA3D4-40EC-4CC1-B786-8BED09428FC5): 1
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogDevObjectVersion:   Dev-AnimPhys (29E575DD-E0A3-4627-9D10-D276232CDCEA): 5
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogInit: Compiled (64-bit): May 30 2017 15:41:11
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogInit: Compiled with Clang: 8.1.0 (clang-802.0.42)
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogInit: Build Configuration: Development
[2019.01.21-20.53.35:736][138]UATHelper: Packaging (tvOS):   LogInit: Branch Name: UE4
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   LogInit: Command line: -UUID=E161B8E4-6292-325A-B8AB-5D3F900DEDE5 /Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS/QAGame.dSYM/Contents/Resources/DWARF/QAGame /Users/engineqa/Documents/P4/Dev/QAGame/Binaries/TVOS
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   LogInit: Base directory: /Users/engineqa/Documents/P4/Dev/Engine/Binaries/Mac/
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   LogInit: Installed Engine Build: 0
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: macOS 10.14.1 (18B75)
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Model: iMac18,3
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[2019.01.21-20.53.35:737][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: CPU Page size=4096, Cores=4, HT=8
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Computer: Josephs-iMac.local
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: User: engineqa
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: High frequency timer resolution =1000.000000 MHz
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Power Source: AC Power
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Memory total: Physical=64.0GB (64GB approx) Pagefile=0.0GB Virtual=64.0GB
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Using OS detected language (en-US).
[2019.01.21-20.53.35:738][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:726][  0]LogInit: Using OS detected locale (en-US).
[2019.01.21-20.53.35:739][138]UATHelper: Packaging (tvOS):   [2019.01.21-20.53.35:728][  0]LogTextLocalizationManager: No specific localization for 'en-US' exists, so the 'en' localization will be used.
[2019.01.21-20.53.35:739][138]UATHelper: Packaging (tvOS):   LogFileManager:Error: Requested read of 2949120 bytes when 246218 bytes remain (file=../../../Engine/Content/Localization/Engine/en/Engine.locres, size=540228)

This issue also occurs in //UE4/Main @ CL #4771381, so it is not a regression from //UE4/Dev-Mobile.

Steps to Reproduce
  1. Open QAGame in the editor
  2. Navigate to Edit > Project Settings > Project > Maps & Modes
  3. Set the Game Default Map to TM-Gameplay
  4. Navigate to Project > Packaging
  5. Under the Project section, enable Include Debug Files
  6. Navigate to Platforms > iOS
  7. Under the Build heading, enable the following settings:
    • Generate .dSYM file for code debugging and profiling
    • Generate .dSYM bundle for third party crash tools
    • Generate .uedebugsymbols file
  8. Package the project for tvOS/iOS in the Development build configuration

Expected Result
The package finishes successfully with no errors or warnings encountered

Actual Result
The package fails at the end of the build step due to numerous errors occurring during the DsymExporter running

REPRO RATE
2/2

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68884 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.22
Target Fix4.23
Fix Commit7288421
Main Commit7288422
Release Commit7288421
CreatedJan 22, 2019
ResolvedJul 12, 2019
UpdatedFeb 12, 2020