Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by xingdu_zynga · Jan 06, 2016 at 11:16 PM · iosnetworkingcrashil2cppmain thread

iOS crash during game play. il2cpp related

I'm seeing a random crash on ios device for my app and after looking at the symbolicated crash log, the root cause turns out to be my app did not respond within the window where ios watchdog expects the app to.

A related reading: https://developer.apple.com/library/ios/qa/qa1693/_index.html

Crash log: Exception Type: 00000020 Exception Codes: 0x000000008badf00d Highlighted Thread: 0

Application Specific Information: com.myapp failed to exit in time

Elapsed total CPU time (seconds): 4.640 (user 4.640, system 0.000), 33% CPU Elapsed application CPU time (seconds): 0.592, 4% CPU

Thread 0: 0 libsystem_kernel.dylib 0x3a525f38 0x3a513000 + 77624 1 libsystem_pthread.dylib 0x3a58e260 0x3a58c000 + 8800 2 libsystem_pthread.dylib 0x3a58e004 0x3a58c000 + 8196 3 myapp 0x0174cd7e il2cpp::os::posix::PosixWaitObject::Wait(unsigned int, bool) (PosixWaitObject.cpp:156) 4 myapp 0x01749150 il2cpp::os::Thread::Join(unsigned int) (Thread.cpp:111) 5 myapp 0x0176524e il2cpp::vm::Thread::KillAllBackgroundThreadsAndWaitForForegroundThreads() (Thread.cpp:201) 6 myapp 0x01761694 il2cpp::vm::Runtime::Shutdown() (Runtime.cpp:248) 7 myapp 0x010a950e PlayerCleanup(bool) (Player.cpp:974) 8 myapp 0x012b24c2 UnityCleanup (LibEntryPoint.mm:236) 9 myapp 0x00107af6 -[UnityAppController applicationWillTerminate:] (UnityAppController.mm:299) 10 UIKit 0x3208f888 0x31ffd000 + 600200 11 UIKit 0x3208cc98 0x31ffd000 + 588952 12 UIKit 0x3200dadc 0x31ffd000 + 68316 13 UIKit 0x3200d71c 0x31ffd000 + 67356 14 UIKit 0x32072b38 0x31ffd000 + 482104 15 GraphicsServices 0x3449e70a 0x34495000 + 38666 16 GraphicsServices 0x3449e2f2 0x34495000 + 37618 17 CoreFoundation 0x2f8609dc 0x2f7c2000 + 649692 18 CoreFoundation 0x2f860976 0x2f7c2000 + 649590 19 CoreFoundation 0x2f85f14a 0x2f7c2000 + 643402 20 CoreFoundation 0x2f7c9c22 0x2f7c2000 + 31778 21 CoreFoundation 0x2f7c9a06 0x2f7c2000 + 31238 22 GraphicsServices 0x3449d27e 0x34495000 + 33406 23 UIKit 0x3206d044 0x31ffd000 + 458820 24 myapp 0x000ef4d6 main (main.mm:32) 25 libdyld.dylib 0x3a46fab4 0x3a46e000 + 6836

seems like il2cpp is shutting down its vm and one of the background thread is still hanging(possibly waiting for a networking response) , and this somehow blocks the main thread.

has anyone seen similar issue before and if so, is there anyway to get around this? Note: this issue does not happen often, occasionally happens when internet connectivity is intermittent.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JoshPeterson · Jan 07, 2016 at 02:48 PM 0
Share

Which version of Unity was used to build this app? We've seen a few similar issues and corrected some in the latest releases.

avatar image xingdu_zynga JoshPeterson · Jan 07, 2016 at 05:43 PM 0
Share

This is using Unity 5.2.3f1

avatar image JoshPeterson xingdu_zynga · Jan 07, 2016 at 05:50 PM 0
Share

It might be worth trying the latest 5.3 patch release if possible. Of course since the crash is intermittent, it might also be difficult to know if it is corrected or not.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

53 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Help! Null exception and "filename currently not available on il2cpp Line: -1", 1 Answer

[Unity 2019.2] iOS build crashes 5 seconds after the application is killed by the user 2 Answers

Unity as library crash: Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04) 1 Answer

How Do I Ensure that --enable-unity-event-support is Set for iOS Builds? 0 Answers

iOS and Android game crash after splash screen 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges