Look for previous Java exceptions, maybe you'll get more info. From the
trace "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004" I
think that could be some linking that hasn't been satisfied and somewhere
the pc goes to that address (I used to have those on the firsts days with
gles2 when it didn't load properly). There are some tools to look where the
code was called in the NDK, that could give you more clues. (I don't think
the same addresses apply to my binaries, so i can't check) For the moment
try 3.0 and see if that works in your phone (it SHOULD be, i'm using that
version right now in the Asus Transformer) That way at least we can know if
it's something that has changed lately.

Cheers.

J. Izquierdo

2012/4/12 Jan Ciger <[email protected]>

> Hello,
>
> I am trying to get the current SVN version of OSG working on my Android
> phone and I am tearing my hair out here. The osgAndroidExampleGLES1 flashes
> the UI and crashes right away with a segfault or a bus error (attached log).
>
> I have tried to use both v5 ABI, v7 ABI, disable NEON (even though my HTC
> Desire HD has a Snapdragon CPU and should support it), compile for
> Android-8 and 10 and nothing works - always this stupid crash in the C
> runtime.
>
> On the other hand, the examples from the Android NDK do work, including
> the HelloGL2 one, so OpenGL should work on the phone to at least some
> degree. Also, we had the older 2.8.x version of OSG running on the phone
> before.
>
> NDK version is android-ndk-r7b, Android SDK is r18, running on 32bit
> Linux. The phone is running Android 2.3.3 with HTC Sense 2.1 (stock HTC
> ROM).
>
> Does anyone have an idea what could be causing this? I will be really
> grateful for any pointers ...
>
> Regards,
>
> Jan
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to