[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-22 Thread Jason
You could also try adding a feature to the app which (optionally) switched on the debug flags on the GLSurfaceView (if you're using that): DEBUG_CHECK_GL_ERROR DEBUG_LOG_GL_CALLS http://developer.android.com/reference/android/opengl/GLSurfaceView.html#setDebugFlags(int) This may help you track

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread andrew_esh
That is a stack trace, after the SIGSEGV (Signal, Segment Violation) message, below where is says stack:. Do an 'objdump -x' on the .so (/ system/lib/egl/ libGLES_qcom.so), and start matching up the addresses with code. It should lead you to the specific routine that the code crashed in. The first

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread Chris Stratton
Yes, however note that you probably need to use the arm version of objdump from ndk or aosp build system, and you need to run it on the library file present on the user's device, as the addresses may well be different than in the file from another build. On Sep 21, 8:47 am, andrew_esh

Re: [android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread nagaraj attimani
from the stack trace..it can notice the carsh happend in #00 pc 0003ec30 /system/lib/egl/libGLES_qcom.so u can use addr2line tool in linux to find the where crash occured in the .so. On Tue, Sep 21, 2010 at 6:50 PM, Chris Stratton cs07...@gmail.com wrote: Yes, however note that you probably

Re: [android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread Leigh McRae
Thanks but it's 2.0.1. Tank Recon 3D On 9/21/2010 12:27 AM, Nightwolf wrote: What is your game? I could try it on G1 with 1.6. On Sep 20, 9:42 pm, Leigh McRaeleigh.mc...@lonedwarfgames.com wrote: My game is crashing on the HTC Hero and I have managed to get a user to send me their log. I

Re: [android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread Leigh McRae
Thank you all for the very detailed responses. The game is all Java and the .so isn't mine so I would have to have the source for the driver I am guessing. Also I can't get it to crash on my Milestone or the simulator. Simulator doesn't even run 1fps so I had to leave it running for a few

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread fadden
On Sep 21, 6:56 am, Leigh McRae leigh.mc...@lonedwarfgames.com wrote:   Thank you all for the very detailed responses.  The game is all Java and the .so isn't mine so I would have to have the source for the driver I am guessing.  Also I can't get it to crash on my Milestone or the simulator.  

Re: [android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-21 Thread Leigh McRae
Alright. Thanks. On 9/21/2010 2:27 PM, fadden wrote: On Sep 21, 6:56 am, Leigh McRaeleigh.mc...@lonedwarfgames.com wrote: Thank you all for the very detailed responses. The game is all Java and the .so isn't mine so I would have to have the source for the driver I am guessing. Also I

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-20 Thread Nightwolf
What is your game? I could try it on G1 with 1.6. On Sep 20, 9:42 pm, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: My game is crashing on the HTC Hero and I have managed to get a user to send me their log.  I don't see a Java stack trace at all.  It looks like it's crashing in the OpenGL