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
04-12 02:32:37.198: I/DEBUG(4235): *** *** *** *** *** *** *** *** *** *** ***
*** *** *** *** ***
04-12 02:32:37.198: I/DEBUG(4235): Build fingerprint:
'vodafone_fr/htc_ace/ace:2.3.3/GRI40/83346.3:user/release-keys'
04-12 02:32:37.198: I/DEBUG(4235): pid: 5447, tid: 5466 >>> osg.AndroidExample
<<<
04-12 02:32:37.208: I/DEBUG(4235): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR),
fault addr 00000004
04-12 02:32:37.218: I/DEBUG(4235): r0 00000004 r1 00374e38 r2 00000001 r3
00000000
04-12 02:32:37.218: I/DEBUG(4235): r4 00000004 r5 00374e38 r6 816ebe28 r7
003744a0
04-12 02:32:37.228: I/DEBUG(4235): r8 00373c74 r9 00373c7c 10 00002300 fp
816ce400
04-12 02:32:37.228: I/DEBUG(4235): ip 816ebfac sp 457c9580 lr 815e3c73 pc
afd10f68 cpsr 20000010
04-12 02:32:37.238: I/DEBUG(4235): d0 6854206567616d72 d1 3fc1869212fea165
04-12 02:32:37.238: I/DEBUG(4235): d2 3faba698082dc661 d3 656c6966206f7464
04-12 02:32:37.238: I/DEBUG(4235): d4 6573752063697274 d5 746564206f742064
04-12 02:32:37.238: I/DEBUG(4235): d6 3f4ccccd696d7265 d7 3f8000003f800000
04-12 02:32:37.238: I/DEBUG(4235): d8 0000000000000000 d9 0000000000000000
04-12 02:32:37.238: I/DEBUG(4235): d10 0000000000000000 d11 0000000000000000
04-12 02:32:37.248: I/DEBUG(4235): d12 0000000000000000 d13 0000000000000000
04-12 02:32:37.248: I/DEBUG(4235): d14 0000000000000000 d15 0000000000000000
04-12 02:32:37.248: I/DEBUG(4235): d16 0000000000000000 d17 c0000068de3aefe5
04-12 02:32:37.248: I/DEBUG(4235): d18 3fe0a3d700000000 d19 40089d89e7c3688f
04-12 02:32:37.248: I/DEBUG(4235): d20 bff000d1bc75dfcb d21 0000000000000000
04-12 02:32:37.248: I/DEBUG(4235): d22 0000000000000000 d23 40c3878000000000
04-12 02:32:37.248: I/DEBUG(4235): d24 c000000000000000 d25 3f6d724d34c8a1dc
04-12 02:32:37.258: I/DEBUG(4235): d26 3f302bfd044144b6 d27 3f4347971de27290
04-12 02:32:37.258: I/DEBUG(4235): d28 3f12bf568a3aa953 d29 3f147951d36e2537
04-12 02:32:37.258: I/DEBUG(4235): d30 3efb2a7074bf7ad4 d31 0000000000000000
04-12 02:32:37.258: I/DEBUG(4235): scr 80000012
04-12 02:32:37.288: I/DEBUG(4235): #00 pc 00010f68
/system/lib/libc.so
04-12 02:32:37.298: I/DEBUG(4235): #01 pc 005e3c70
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.308: I/DEBUG(4235): code around pc:
04-12 02:32:37.308: I/DEBUG(4235): afd10f48 e3a02001 ebfffe82 e1a00005 e8bd87f0
04-12 02:32:37.308: I/DEBUG(4235): afd10f58 00035550 e92d47f0 e2504000 0a000019
04-12 02:32:37.308: I/DEBUG(4235): afd10f68 e5946000 e5947000 e2166903 1a000017
04-12 02:32:37.308: I/DEBUG(4235): afd10f78 e5945000 e1a02004 e2055a02 e1a00005
04-12 02:32:37.318: I/DEBUG(4235): afd10f88 e3851001 ebffee24 e3500000 13856002
04-12 02:32:37.318: I/DEBUG(4235): code around lr:
04-12 02:32:37.318: I/DEBUG(4235): 815e3c50 6840b510 f48c3004 bd10e800 6840b510
04-12 02:32:37.318: I/DEBUG(4235): 815e3c60 f48b3004 bd10efee 6840b510 f48c3004
04-12 02:32:37.318: I/DEBUG(4235): 815e3c70 bd10e896 4604b510 edcef4b3 bd104620
04-12 02:32:37.328: I/DEBUG(4235): 815e3c80 4a0a4b09 b570447b 6844589a 32084605
04-12 02:32:37.328: I/DEBUG(4235): 815e3c90 1d206002 e8dcf48c 6823b11c 685b4620
04-12 02:32:37.328: I/DEBUG(4235): stack:
04-12 02:32:37.328: I/DEBUG(4235): 457c9540 00002300
04-12 02:32:37.328: I/DEBUG(4235): 457c9544 81295ca0
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.328: I/DEBUG(4235): 457c9548 00374e38
04-12 02:32:37.338: I/DEBUG(4235): 457c954c 00374e58
04-12 02:32:37.338: I/DEBUG(4235): 457c9550 00374e38
04-12 02:32:37.338: I/DEBUG(4235): 457c9554 00374f68
04-12 02:32:37.338: I/DEBUG(4235): 457c9558 816ebe28
04-12 02:32:37.338: I/DEBUG(4235): 457c955c 00374e44
04-12 02:32:37.338: I/DEBUG(4235): 457c9560 457c9570
04-12 02:32:37.348: I/DEBUG(4235): 457c9564 8149a6c7
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.348: I/DEBUG(4235): 457c9568 00373c74
04-12 02:32:37.348: I/DEBUG(4235): 457c956c 00000000
04-12 02:32:37.348: I/DEBUG(4235): 457c9570 00374f74
04-12 02:32:37.348: I/DEBUG(4235): 457c9574 00374e84
04-12 02:32:37.348: I/DEBUG(4235): 457c9578 df002777
04-12 02:32:37.358: I/DEBUG(4235): 457c957c e3a070ad
04-12 02:32:37.358: I/DEBUG(4235): #00 457c9580 003744f0
04-12 02:32:37.358: I/DEBUG(4235): 457c9584 00374e38
04-12 02:32:37.358: I/DEBUG(4235): 457c9588 816ebe28
04-12 02:32:37.358: I/DEBUG(4235): 457c958c 003744a0
04-12 02:32:37.358: I/DEBUG(4235): 457c9590 00373c74
04-12 02:32:37.369: I/DEBUG(4235): 457c9594 00373c7c
04-12 02:32:37.369: I/DEBUG(4235): 457c9598 00002300
04-12 02:32:37.369: I/DEBUG(4235): 457c959c 815e3c73
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.369: I/DEBUG(4235): #01 457c95a0 003744f0
04-12 02:32:37.369: I/DEBUG(4235): 457c95a4 813dc3c5
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.369: I/DEBUG(4235): 457c95a8 00373c74
04-12 02:32:37.379: I/DEBUG(4235): 457c95ac afd145f1 /system/lib/libc.so
04-12 02:32:37.379: I/DEBUG(4235): 457c95b0 00451d4c
04-12 02:32:37.379: I/DEBUG(4235): 457c95b4 816fcbcc
04-12 02:32:37.379: I/DEBUG(4235): 457c95b8 00373c30
04-12 02:32:37.379: I/DEBUG(4235): 457c95bc 003744f0
04-12 02:32:37.379: I/DEBUG(4235): 457c95c0 816ebe28
04-12 02:32:37.389: I/DEBUG(4235): 457c95c4 813e82c9
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.389: I/DEBUG(4235): 457c95c8 00000001
04-12 02:32:37.389: I/DEBUG(4235): 457c95cc 00000000
04-12 02:32:37.389: I/DEBUG(4235): 457c95d0 000006e8
04-12 02:32:37.389: I/DEBUG(4235): 457c95d4 afd1d0a5 /system/lib/libc.so
04-12 02:32:37.389: I/DEBUG(4235): 457c95d8 816106dc
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.389: I/DEBUG(4235): 457c95dc 816106ac
/mnt/asec/osg.AndroidExample-2/lib/libosgNativeLib.so
04-12 02:32:37.399: I/DEBUG(4235): 457c95e0 816ce3f4
04-12 02:32:37.399: I/DEBUG(4235): 457c95e4 00373bd8
04-12 02:32:37.679: I/BootReceiver(1329): Copying /data/tombstones/tombstone_09
to DropBox (SYSTEM_TOMBSTONE)
04-12 02:32:37.699: I/ActivityManager(1329): Process osg.AndroidExample (pid
5447) has died.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org