Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by pjohansson · Nov 04, 2011 at 10:34 AM · androidmono

Getting useful stack traces on Android

I am working on a game for Android. While testing on an HTC Desire with Android 2.1, the game crashes early on. Unfortunately, the stack trace reported by adb logcat is completely useless since it has no relevant symbols:

I/DEBUG   (   63): stack:
I/DEBUG   (   63):     49ceba40  00bcd8d0  [heap]
I/DEBUG   (   63):     49ceba44  0046bf00  [heap]
I/DEBUG   (   63):     49ceba48  00bcd8d0  [heap]
I/DEBUG   (   63):     49ceba4c  4a88eb65  
I/DEBUG   (   63):     49ceba50  00000000  
I/DEBUG   (   63):     49ceba54  0046bf00  [heap]
I/DEBUG   (   63):     49ceba58  00c1d260  [heap]
I/DEBUG   (   63):     49ceba5c  00405b20  [heap]
I/DEBUG   (   63):     49ceba60  00000000  
I/DEBUG   (   63):     49ceba64  afd102f0  /system/lib/libc.so
I/DEBUG   (   63):     49ceba68  afd4372c  /system/lib/libc.so
I/DEBUG   (   63):     49ceba6c  00000013  
I/DEBUG   (   63):     49ceba70  00b27d00  [heap]
I/DEBUG   (   63):     49ceba74  49cec800  
I/DEBUG   (   63):     49ceba78  e3a070ad  
I/DEBUG   (   63):     49ceba7c  ef9000ad  
I/DEBUG   (   63): #00 49ceba80  00000000  
I/DEBUG   (   63):     49ceba84  afd0c737  /system/lib/libc.so
I/DEBUG   (   63):     49ceba88  b0014df8  
I/DEBUG   (   63):     49ceba8c  b0004a94  /system/bin/linker
I/DEBUG   (   63):     49ceba90  b000c448  /system/bin/linker
I/DEBUG   (   63):     49ceba94  00000000  
I/DEBUG   (   63):     49ceba98  4ba51244  
I/DEBUG   (   63):     49ceba9c  b000c448  /system/bin/linker
I/DEBUG   (   63):     49cebaa0  00000000  
I/DEBUG   (   63):     49cebaa4  4ba51244  
I/DEBUG   (   63):     49cebaa8  49cec800  

It is likely that the error (a segmentation fault) is occurring inside a C# script, but without a way to know where, the game cannot be debugged. So how do you get a useful stack trace with Unity 3 and Android?

Comment
Add comment · Show 1
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 darxval · Nov 08, 2011 at 10:36 PM 0
Share

I have the same error, I am using the HTC Desire HD Android 2.3.3 using Unity3d 3.4

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by darxval · Nov 08, 2011 at 11:31 PM

I am not sure if this web page is helpful for you I am trying to have it all work in my head but seems like it touches on some good points.

http://bootloader.wikidot.com/linux:android:crashlog

Comment
Add comment · Share
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
0

Answer by darxval · Nov 09, 2011 at 06:13 AM

I have the fix!

Goto Unity3d.com and install the latest version. If you have 3.4.2f2 Android deployment has a bug, but their latest version 3.4.2f3 resolves this. You can not update your editor through the "check for updates" goto unity3d.com and download it from there as it is not recognized as a new update.

Comment
Add comment · Share
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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Exclude some dlls to load when build is not PC? 0 Answers

Android app on emulator can't find mono 1 Answer

How to compile function? (to prevent JIT spikes) 1 Answer

Why Android doesn't support ARM64 Mono JIT? 0 Answers

Loading assemblies on android 64 bit at runtime. 0 Answers


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