x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

iOS Crash on First Launch

So I've been having an issue where Unreal crashes on first launch but then does not crash thereafter on launch. My stacktrace is as follows:

 Dec 22 10:39:00 Kevins-iPad StableTytoDome[2890] <Warning>: [2015.12.22-15.39.00:392][  0]LogEngine:Error: FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) Address = 0x7c0ad0   (filename not found) [in StableTytoDome]
 
     SignalHandler(int, __siginfo*, void*) Address = 0x7fbe34   (filename not found) [in StableTytoDome]
 
     _sigtramp() Address = 0x999a994c (filename not found) [in libsystem_platform.dylib]
 
     bool UObjectBaseUtility::IsA<UClass>() const Address = 0x6d21d0   (filename not found) [in StableTytoDome]
 
     FArchiveRealtimeGC::PerformReachabilityAnalysis(EObjectFlags, bool) Address = 0xa02a10   (filename not found) [in StableTytoDome]
 
     CollectGarbageInternal(EObjectFlags, bool) Address = 0x9d9020   (filename not found) [in StableTytoDome]
 
     CollectGarbage(EObjectFlags, bool) Address = 0x9d9c6c   (filename not found) [in StableTytoDome]
 
     UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) Address = 0x1b4e650  (filename not found) [in StableTytoDome]
 
     UEngine::Browse(FWorldContext&, FURL, FString&) Address = 0x1b4c0f0  (filename not found) [in StableTytoDome]
 
     UGameInstance::StartGameInstance() Address = 0x1838738  (filename not found) [in StableTytoDome]
 
     UGameManager::StartGameInstance() Address = 0x5d62a4   (filename not found) [in StableTytoDome]
 
     UGameEngine::Init(IEngineLoop*) Address = 0x183430c  (filename not found) [in StableTytoDome]
 
     FEngineLoop::Init() Address = 0x4fd508   (filename not found) [in StableTytoDome]
 
     FAppEntry::Init() Address = 0x505560   (filename not found) [in StableTytoDome]
 
     -[IOSAppDelegate MainAppThread:] Address = 0x7fc060   (filename not found) [in StableTytoDome]
 
     <redacted>() Address = 0x8536fc80 (filename not found) [in Foundation]
 
     <redacted>() Address = 0x999afb28 (filename not found) [in libsystem_pthread.dylib]
 
     <redacted>() Address = 0x999afa8c (filename not found) [in libsystem_pthread.dylib]
 
     thread_start() Address = 0x999ad028 (filename not found) [in libsystem_pthread.dylib]
 
 Dec 22 10:39:00 Kevins-iPad StableTytoDome[2890] <Warning>: [2015.12.22-15.39.00:392][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
 Dec 22 10:39:00 Kevins-iPad SpringBoard[53] <Warning>: HW kbd: Failed to set (null) as keyboard focus
 

I'm not sure where to go from here, I thought it was my JSON parsing at first but that's not proving to be a good lead atm. I'm also not sure if we'll be rejected from the app store for this.

Thanks, Samuel

Product Version: UE 4.9
Tags:
more ▼

asked Dec 22 '15 at 04:20 PM in Packaging & Deployment

avatar image

Samlsewall
172 5 9 10

avatar image Samantha Sutton ♦♦ STAFF Dec 23 '15 at 08:41 PM

Hey Samlsewall,

Could you please provide me with the full output logs from the editor as a .txt file attached to your next reply? Could you also test a project in 4.10 that's similar to this project and let me know whether or not it's working for you there.

Thank you!

avatar image Samlsewall Dec 23 '15 at 09:07 PM

Here are the output logs. StableTytoDomeLog

As per the testing in 4.10, updating as you know is not the most seamless of processes and we are pretty close to releasing so I'll have to get back to you on that.

stabletytodome.txt (12.9 kB)
avatar image Samlsewall Dec 24 '15 at 06:27 PM

If it helps, here's a slightly different log from the same symptoms. I also turned on a more verbose logging for our internal logger so it might provide additional insight.

Edit: that log appears to be cut off, here's a better one: betterlog

stabletytodome.txt (49.2 kB)
avatar image Samlsewall Dec 24 '15 at 07:22 PM

Another log because it has a longer stacktrace! longerStack

avatar image Samlsewall Dec 27 '15 at 12:39 AM

Upgraded one of my macs to 4.10 to see if it would fix it, unfortunately it did not. Instead it now hangs at the parsing of a json file. Here is the log. Log 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hey we actually just fixed this bug through ini settings, which I thought we had previously applied.

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Performance/index.html#mobilecontentscalefactor

We added the settings from the top part of this for ios devices and now we no longer crash on first launch. While quite strange this fixed the issue for us!

more ▼

answered Dec 31 '15 at 05:43 PM

avatar image

Samlsewall
172 5 9 10

avatar image Samantha Sutton ♦♦ STAFF Dec 31 '15 at 08:51 PM

Thank you for providing us with that information. I'm glad you've been able to resolve the crashing issue on your iOS device.

Have a great new year! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Sam,

I do not believe the full log was included in the last one. However, the second to last one, I see the following errors which I would suggest looking further into:

 [2015.12.24-19.18.58:762][  0]TytoStatsLog:Error: [:73] Property "GetDebugPlantsEaten" was included in properties to monitor, but does not exist in class Territory!
 [2015.12.24-19.18.58:763][  0]TytoStatsLog:Error: [:73] Property "GetDebugAnimalsEaten" was included in properties to monitor, but does not exist in class Territory!
 
 [2015.12.24-19.18.59:250][  0]LogEngine:Error: FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) Address = 0x80ca38   (filename not found) [in StableTytoDome]
 
 SignalHandler(int, __siginfo*, void*) Address = 0x847d9c   (filename not found) [in StableTytoDome]
 
 _sigtramp() Address = 0x8317994c (filename not found) [in libsystem_platform.dylib]
 
 FNameEntry::AppendNameToString(FString&) const Address = 0x9af684   (filename not found) [in StableTytoDome]
 
 FNameEntry::AppendNameToString(FString&) const Address = 0x9af684   (filename not found) [in StableTytoDome]
 
 FName::AppendString(FString&) const Address = 0x9b059c   (filename not found) [in StableTytoDome]
 
 FName::ToString() const Address = 0x9b0518   (filename not found) [in StableTytoDome]
 
 FStatNameAndInfo::GetGroupNameFrom(FName) Address = 0x92bd20   (filename not found) [in StableTytoDome]
 
 FStatGroupGameThreadNotifier::NewData(FStatNameAndInfo) Address = 0x955cf4   (filename not found) [in StableTytoDome]
 
 _ZN21TMemberFunctionCallerI28FStatGroupGameThreadNotifierMS0_Fv16FStatNameAndInfoEEclIJRKS1_EEEDTclpmdtdefpT3ObjdtdefpT9MemFunPtrspcl7ForwardIT_Efp_EEEDpOS8_() Address = 0x97b3b0   (filename not found) [in StableTytoDome]
 
 TBaseRawMethodDelegateInstance<false, FStatGroupGameThreadNotifier, TTypeWrapper<void> (), FStatNameAndInfo>::Execute() const Address = 0x97b350   (filename not found) [in StableTytoDome]
 
 TBaseRawMethodDelegateInstance<false, FStatGroupGameThreadNotifier, void (), FStatNameAndInfo>::ExecuteIfSafe() const Address = 0x97b368   (filename not found) [in StableTytoDome]
 
 TBaseDelegate<void>::ExecuteIfBound() const Address = 0x82ab90   (filename not found) [in StableTytoDome]
 
 TGraphTask<FSimpleDelegateGraphTask>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) Address = 0x95ab38   (filename not found) [in StableTytoDome]
 
 FTaskThread::ProcessTasks(int, bool) Address = 0x832578   (filename not found) [in StableTytoDome]
 
 FTaskThread::ProcessTasksUntilQuit(int) Address = 0x831b90   (filename not found) [in StableTytoDome]
 
 FTaskGraphImplementation::WaitUntilTasksComplete(TArray<TRefCountPtr<FGraphEvent>, TInlineAllocator<4u, FDefaultAllocator> > const&, ENamedThreads::Type) Address = 0x831710   (filename not found) [in StableTytoDome]
 
 FPhysScene::WaitPhysScenes() Address = 0x1f1326c  (filename not found) [in StableTytoDome]
 
 UWorld::EnsureCollisionTreeIsBuilt() Address = 0x1bcb49c  (filename not found) [in StableTytoDome]
 
 UWorld::FlushLevelStreaming(EFlushLevelStreamingType) Address = 0x1bc9f9c  (filename not found) [in StableTytoDome]
 
 UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) Address = 0x1b9a230  (filename not found) [in StableTytoDome]
 
 UEngine::Browse(FWorldContext&, FURL, FString&) Address = 0x1b98058  (filename not found) [in StableTytoDome]
 
 UGameInstance::StartGameInstance() Address = 0x18846a4  (filename not found) [in StableTytoDome]
 
 UGameManager::StartGameInstance() Address = 0x6804f4   (filename not found) [in StableTytoDome]
 
 UGameEngine::Init(IEngineLoop*) Address = 0x1880278  (filename not found) [in StableTytoDome]
 
 FEngineLoop::Init() Address = 0x5a73b0   (filename not found) [in StableTytoDome]
 
 FAppEntry::Init() Address = 0x5af408   (filename not found) [in StableTytoDome]
 
 -[IOSAppDelegate MainAppThread:] Address = 0x847fc8   (filename not found) [in StableTytoDome]
 
 <redacted>() Address = 0x83ed7c40 (filename not found) [in Foundation]
 
 <redacted>() Address = 0x8317fb28 (filename not found) [in libsystem_pthread.dylib]
 
 <redacted>() Address = 0x8317fa8c (filename not found) [in libsystem_pthread.dylib]
 
 thread_start() Address = 0x8317d028 (filename not found) [in libsystem_pthread.dylib]
more ▼

answered Dec 29 '15 at 03:02 PM

avatar image Samlsewall Dec 29 '15 at 04:21 PM

Unfortunately resolving those errors didn't actually fix the crash on launch. I've attached the log with the JSON parsing commented out (which is still crashing on first launch but successive launches are fine) as well as with the area of stats that were causing said errors also removed.

I've added a secondary log that successfully starts for comparison.

Crash on first launch json commented out

Launch log from 2nd launch that did not crash for comparison

avatar image Samlsewall Dec 29 '15 at 07:38 PM

I just commented out the JSON parsing again, set the map to a blank map, and I got a very similar crash on first launch again (successive launches were fine once again) Here is the log.

No json Crash on 1st launch empty map

avatar image Samantha Sutton ♦♦ STAFF Dec 31 '15 at 04:19 PM

Can you please try in 4.10.1 and tell me the results? The logs that you posted state that the project is from 4.9.2.

I was unable to replicate this. I'm using both Visual Studio 2013 for 4.9.2 and Visual Studio 2015 for 4.10.1 and 4.11 Preview 1. I have not gotten a crash yet by launching.

Could you also try to verify your version of the engine?

Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question