[ANDROID JNI-Example] Seg fault

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
Dofter
Gnoblar
Posts: 16
Joined: Wed Jul 15, 2009 6:51 pm

[ANDROID JNI-Example] Seg fault

Post by Dofter » Tue Feb 25, 2014 10:25 am

Hi,

I'm trying to set up Ogre for Android using: ogre_v1.9.0, SDK Level 19, NDK version 9c (current versions), compiled with armeabi, running on ubuntu 13.04 x64 but using the x86 libraries.
Building of the engine works (http://www.ogre3d.org/tikiwiki/CMake+Qu ... on=Android adapted for linux), except, that i had to add a

Code: Select all

#include <stdio.h>
#include <sys/types.h>
in OgreActivity.cpp, because off_t was not declared.
In eclipse i connect to a AVD (Android 4.4.2). The Sample gets installed but when running it crashes at the line

Code: Select all

gRenderWnd = Ogre::Root::getSingleton().createRenderWindow("OgreWindow", 0, 0, false, &opt);
The log output:
02-25 04:19:55.805: I/OGRE(1237): Creating resource group General
02-25 04:19:55.845: I/OGRE(1237): Creating resource group Internal
02-25 04:19:55.845: I/OGRE(1237): Creating resource group Autodetect
02-25 04:19:55.895: I/OGRE(1237): SceneManagerFactory for type 'DefaultSceneManager' registered.
02-25 04:19:55.945: I/OGRE(1237): Registering ResourceManager for type Material
02-25 04:19:55.945: I/OGRE(1237): Registering ResourceManager for type Mesh
02-25 04:19:55.965: I/OGRE(1237): Registering ResourceManager for type Skeleton
02-25 04:19:55.975: I/OGRE(1237): MovableObjectFactory for type 'ParticleSystem' registered.
02-25 04:19:55.995: I/OGRE(1237): ArchiveFactory for archive type FileSystem registered.
02-25 04:19:55.995: I/OGRE(1237): ArchiveFactory for archive type Zip registered.
02-25 04:19:56.015: I/OGRE(1237): ArchiveFactory for archive type EmbeddedZip registered.
02-25 04:19:56.015: I/OGRE(1237): DDS codec registering
02-25 04:19:56.025: I/OGRE(1237): FreeImage version: 3.15.3
02-25 04:19:56.025: I/OGRE(1237): This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
02-25 04:19:56.065: I/OGRE(1237): Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti
02-25 04:19:56.065: I/OGRE(1237): PVRTC codec registering
02-25 04:19:56.075: I/OGRE(1237): ETC codec registering
02-25 04:19:56.075: I/OGRE(1237): Registering ResourceManager for type HighLevelGpuProgram
02-25 04:19:56.075: I/OGRE(1237): Registering ResourceManager for type Compositor
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'Entity' registered.
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'Light' registered.
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'BillboardSet' registered.
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'ManualObject' registered.
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'BillboardChain' registered.
02-25 04:19:56.095: I/OGRE(1237): MovableObjectFactory for type 'RibbonTrail' registered.
02-25 04:19:56.105: E/OGRE(1237): OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at /home/christoph/Documents/Projects/ogre_src_v1-9-0/OgreMain/src/OgreConfigFile.cpp (line 82)
02-25 04:19:56.105: I/OGRE(1237): plugins.cfg not found, automatic plugin loading disabled.
02-25 04:19:56.105: I/OGRE(1237): *-*-* OGRE Initialising
02-25 04:19:56.105: I/OGRE(1237): *-*-* Version 1.9.0 (Ghadamon)
02-25 04:19:56.105: I/OGRE(1237): Installing plugin: OpenGL ES 2.0 RenderSystem
02-25 04:19:56.105: I/OGRE(1237): OpenGL ES 2.x Rendering Subsystem created.
02-25 04:19:56.115: I/OGRE(1237): Plugin successfully installed
02-25 04:19:56.125: I/OGRE(1237): Installing plugin: Octree Scene Manager
02-25 04:19:56.125: I/OGRE(1237): Plugin successfully installed
02-25 04:19:56.125: I/OGRE(1237): Installing plugin: ParticleFX
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'Point' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'Box' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'Ellipsoid' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'Cylinder' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'Ring' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Emitter Type 'HollowEllipsoid' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'LinearForce' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'ColourFader' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'ColourFader2' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'ColourImage' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'ColourInterpolator' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'Scaler' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'Rotator' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'DirectionRandomiser' registered
02-25 04:19:56.125: I/OGRE(1237): Particle Affector Type 'DeflectorPlane' registered
02-25 04:19:56.125: I/OGRE(1237): Plugin successfully installed
02-25 04:19:56.125: I/OGRE(1237): OverlayElementFactory for type Panel registered.
02-25 04:19:56.125: I/OGRE(1237): OverlayElementFactory for type BorderPanel registered.
02-25 04:19:56.125: I/OGRE(1237): OverlayElementFactory for type TextArea registered.
02-25 04:19:56.125: I/OGRE(1237): Registering ResourceManager for type Font
02-25 04:19:56.125: I/OGRE(1237): CPU Identifier & Features
02-25 04:19:56.125: I/OGRE(1237): -------------------------
02-25 04:19:56.155: I/OGRE(1237): * CPU ID: ARMv7
02-25 04:19:56.155: I/OGRE(1237): * VFP: yes
02-25 04:19:56.155: I/OGRE(1237): * NEON: yes
02-25 04:19:56.155: I/OGRE(1237): -------------------------
02-25 04:19:56.155: I/OGRE(1237): Registering ResourceManager for type Texture
02-25 04:19:56.165: I/OGRE(1237): ArchiveFactory for archive type APKFileSystem registered.
02-25 04:19:56.165: I/OGRE(1237): ArchiveFactory for archive type APKZip registered.
02-25 04:19:56.205: I/OGRE(1237): GLES2RenderSystem::_createRenderWindow "OgreWindow", 0x0 windowed miscParams: externalWindowHandle=-1203782224
02-25 04:19:56.235: I/OGRE(1237): GL_VERSION = OpenGL ES 2.0 (2.1 Mesa 10.0.0)
02-25 04:19:56.235: I/OGRE(1237): GL_VENDOR = Google (Intel Open Source Technology Center)
02-25 04:19:56.245: I/OGRE(1237): GL_RENDERER = Android Emulator OpenGL ES Translator (Mesa DRI Mobile Intel® GM45 Express Chipset )
02-25 04:19:56.245: I/OGRE(1237): GL_EXTENSIONS = GL_EXT_debug_marker GL_OES_EGL_image GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_EXT_debug_marker
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_EGL_image
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_depth24
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_depth32
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_element_index_uint
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_texture_float
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_texture_float_linear
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_compressed_paletted_texture
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_compressed_ETC1_RGB8_texture
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_depth_texture
02-25 04:19:56.245: I/OGRE(1237): EXT:GL_OES_texture_half_float
02-25 04:19:56.255: I/OGRE(1237): EXT:GL_OES_texture_half_float_linear
02-25 04:19:56.255: I/OGRE(1237): EXT:GL_OES_packed_depth_stencil
02-25 04:19:56.255: I/OGRE(1237): EXT:GL_OES_vertex_half_float
02-25 04:19:56.255: I/OGRE(1237): **************************************
02-25 04:19:56.255: I/OGRE(1237): *** OpenGL ES 2.x Renderer Started ***
02-25 04:19:56.255: I/OGRE(1237): **************************************
02-25 04:19:56.255: A/libc(1237): Fatal signal 6 (SIGABRT) at 0x000004d5 (code=-6), thread 1237 (org.ogre3d.jni)
02-25 04:19:56.405: I/DEBUG(49): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-25 04:19:56.405: I/DEBUG(49): Build fingerprint: 'generic/sdk/generic:4.4.2/KK/938007:eng/test-keys'
02-25 04:19:56.405: I/DEBUG(49): Revision: '0'
02-25 04:19:56.415: I/DEBUG(49): pid: 1237, tid: 1237, name: org.ogre3d.jni >>> org.ogre3d.jni <<<
02-25 04:19:56.415: I/DEBUG(49): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
02-25 04:19:56.845: I/DEBUG(49): r0 00000000 r1 000004d5 r2 00000006 r3 00000000
02-25 04:19:56.845: I/DEBUG(49): r4 00000006 r5 0000000b r6 000004d5 r7 0000010c
02-25 04:19:56.845: I/DEBUG(49): r8 bee3634c r9 bee36348 sl aab6c058 fp bee3625c
02-25 04:19:56.845: I/DEBUG(49): ip b8400fc8 sp bee361e0 lr b6f67ead pc b6f76e20 cpsr 00000010
02-25 04:19:56.845: I/DEBUG(49): d0 0000000000000000 d1 0000000000000000
02-25 04:19:56.845: I/DEBUG(49): d2 0000000000000000 d3 33d6bf9500000000
02-25 04:19:56.855: I/DEBUG(49): d4 0000000000000000 d5 43f0000000000000
02-25 04:19:56.855: I/DEBUG(49): d6 4448000000000000 d7 0000000000000000
02-25 04:19:56.855: I/DEBUG(49): d8 0000000000000000 d9 0000000000000000
02-25 04:19:56.855: I/DEBUG(49): d10 0000000000000000 d11 0000000000000000
02-25 04:19:56.855: I/DEBUG(49): d12 0000000000000000 d13 0000000000000000
02-25 04:19:56.855: I/DEBUG(49): d14 0000000000000000 d15 0000000000000000
02-25 04:19:56.855: I/DEBUG(49): scr 20000010
02-25 04:19:56.865: I/DEBUG(49): backtrace:
02-25 04:19:56.865: I/DEBUG(49): #00 pc 00021e20 /system/lib/libc.so (tgkill+12)
02-25 04:19:56.875: I/DEBUG(49): #01 pc 00012ea9 /system/lib/libc.so (pthread_kill+48)
02-25 04:19:56.875: I/DEBUG(49): #02 pc 000130bd /system/lib/libc.so (raise+10)
02-25 04:19:56.875: I/DEBUG(49): #03 pc 00011df3 /system/lib/libc.so
02-25 04:19:56.875: I/DEBUG(49): #04 pc 000216d4 /system/lib/libc.so (abort+4)
02-25 04:19:56.875: I/DEBUG(49): #05 pc 002adcac /data/app-lib/org.ogre3d.jni-1/libOgreJNI.so (__gnu_cxx::__verbose_terminate_handler()+276)
02-25 04:19:56.875: I/DEBUG(49): stack:
02-25 04:19:56.875: I/DEBUG(49): bee361a0 00000000
02-25 04:19:56.875: I/DEBUG(49): bee361a4 ab314334 /data/app-lib/org.ogre3d.jni-1/libOgreJNI.so
02-25 04:19:56.875: I/DEBUG(49): bee361a8 ab8da068 /data/app-lib/org.ogre3d.jni-1/libOgreJNI.so
02-25 04:19:56.885: I/DEBUG(49): bee361ac ab482810 /data/app-lib/org.ogre3d.jni-1/libOgreJNI.so (Ogre::StringConverter::parseInt(std::string const&, int)+712)
02-25 04:19:56.895: I/DEBUG(49): bee361b0 b6f9e1f8 /system/lib/libc.so
02-25 04:19:56.895: I/DEBUG(49): bee361b4 0000000a
02-25 04:19:56.895: I/DEBUG(49): bee361b8 00000008
02-25 04:19:56.895: I/DEBUG(49): bee361bc b6f9e1f8 /system/lib/libc.so
02-25 04:19:56.895: I/DEBUG(49): bee361c0 00000001
02-25 04:19:56.895: I/DEBUG(49): bee361c4 b6f9e1f8 /system/lib/libc.so
02-25 04:19:56.895: I/DEBUG(49): bee361c8 b6f9e1f8 /system/lib/libc.so
02-25 04:19:56.895: I/DEBUG(49): bee361cc 0000000b
02-25 04:19:56.895: I/DEBUG(49): bee361d0 ab7a19e8 /data/app-lib/org.ogre3d.jni-1/libOgreJNI.so
02-25 04:19:56.895: I/DEBUG(49): bee361d4 b6f7a2a5 /system/lib/libc.so
02-25 04:19:56.905: I/DEBUG(49): bee361d8 b6f9e1f8 /system/lib/libc.so
02-25 04:19:56.905: I/DEBUG(49): bee361dc 00000029
02-25 04:19:56.905: I/DEBUG(49): #00 bee361e0 00000006
02-25 04:19:56.905: I/DEBUG(49): bee361e4 0000000b
02-25 04:19:56.905: I/DEBUG(49): bee361e8 000004d5
02-25 04:19:56.905: I/DEBUG(49): bee361ec b8400fc8 [heap]
02-25 04:19:56.905: I/DEBUG(49): bee361f0 b8400fc8 [heap]
02-25 04:19:56.905: I/DEBUG(49): bee361f4 b6f67ead /system/lib/libc.so (pthread_kill+52)
02-25 04:19:56.915: I/DEBUG(49): #01 bee361f8 00000006
02-25 04:19:56.915: I/DEBUG(49): bee361fc 00000000
02-25 04:19:56.915: I/DEBUG(49): bee36200 00000001
02-25 04:19:56.915: I/DEBUG(49): bee36204 b6f680c1 /system/lib/libc.so (raise+14)
02-25 04:19:56.915: I/DEBUG(49): #02 bee36208 bee36214 [stack]
02-25 04:19:56.915: I/DEBUG(49): bee3620c b6f66df7 /system/lib/libc.so
02-25 04:19:56.915: I/DEBUG(49): memory near r8:
02-25 04:19:56.915: I/DEBUG(49): bee3632c ab8da040 ab8da0a4 bee3636c b83fcfbc
02-25 04:19:56.915: I/DEBUG(49): bee3633c b8401bcc ab929b98 ab8da0f8 ab8da054
02-25 04:19:56.915: I/DEBUG(49): bee3634c ab8c4b40 aa6635b8 aa6635bc aa6635e0
02-25 04:19:56.925: I/DEBUG(49): bee3635c ab314334 ab8da068 ab485930 aaa67b78
02-25 04:19:56.925: I/DEBUG(49): bee3636c ab8da0e4 00000000 ab8da0f8 ab8d9f28
02-25 04:19:56.925: I/DEBUG(49): bee3637c b83fcd64 b83fcd64 b83fcd65 b83fcd64
02-25 04:19:56.925: I/DEBUG(49): bee3638c b83fcdd4 b83fcf64 ab929b98 00000018
02-25 04:19:56.925: I/DEBUG(49): bee3639c b83fcd64 ab8da10c 00000006 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363ac 00001002 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363bc 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363cc 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363dc 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363ec 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363fc 00000000 00000000 00000008 bee363c4
02-25 04:19:56.925: I/DEBUG(49): bee3640c ab929b98 00000000 b6f60120 bee36378
02-25 04:19:56.925: I/DEBUG(49): bee3641c ab9298ac ab929bb8 ab92a2bc ab7a0f00
02-25 04:19:56.925: I/DEBUG(49): memory near r9:
02-25 04:19:56.925: I/DEBUG(49): bee36328 ab8da068 ab8da040 ab8da0a4 bee3636c
02-25 04:19:56.925: I/DEBUG(49): bee36338 b83fcfbc b8401bcc ab929b98 ab8da0f8
02-25 04:19:56.925: I/DEBUG(49): bee36348 ab8da054 ab8c4b40 aa6635b8 aa6635bc
02-25 04:19:56.925: I/DEBUG(49): bee36358 aa6635e0 ab314334 ab8da068 ab485930
02-25 04:19:56.925: I/DEBUG(49): bee36368 aaa67b78 ab8da0e4 00000000 ab8da0f8
02-25 04:19:56.925: I/DEBUG(49): bee36378 ab8d9f28 b83fcd64 b83fcd64 b83fcd65
02-25 04:19:56.925: I/DEBUG(49): bee36388 b83fcd64 b83fcdd4 b83fcf64 ab929b98
02-25 04:19:56.925: I/DEBUG(49): bee36398 00000018 b83fcd64 ab8da10c 00000006
02-25 04:19:56.925: I/DEBUG(49): bee363a8 00000000 00001002 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363b8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363c8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363d8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363e8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): bee363f8 00000000 00000000 00000000 00000008
02-25 04:19:56.925: I/DEBUG(49): bee36408 bee363c4 ab929b98 00000000 b6f60120
02-25 04:19:56.925: I/DEBUG(49): bee36418 bee36378 ab9298ac ab929bb8 ab92a2bc
02-25 04:19:56.925: I/DEBUG(49): memory near sl:
02-25 04:19:56.925: I/DEBUG(49): aab6c038 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c048 00000000 00000000 acef0560 0000080b
02-25 04:19:56.925: I/DEBUG(49): aab6c058 ab8c4df8 ab8cc4f8 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c068 00000000 aab6c064 aab6c064 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c078 ab8cc518 00000000 00000000 aaa67ba0
02-25 04:19:56.925: I/DEBUG(49): aab6c088 aaa67ba0 aaa67ba0 00000001 ab8cc538
02-25 04:19:56.925: I/DEBUG(49): aab6c098 00000000 00000000 aaa67bc8 aaa67bc8
02-25 04:19:56.925: I/DEBUG(49): aab6c0a8 aaa67bc8 00000001 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c0b8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c0c8 00000000 00000000 00000000 00000000
02-25 04:19:56.925: I/DEBUG(49): aab6c0d8 00000000 00000000 00000000 aab6ca68
02-25 04:19:56.945: I/DEBUG(49): aab6c0e8 00000000 00000002 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): aab6c0f8 00000000 00000000 3f800000 3f800000
02-25 04:19:56.945: I/DEBUG(49): aab6c108 3f800000 3f800000 3f800000 3f800000
02-25 04:19:56.945: I/DEBUG(49): aab6c118 3f800000 3f800000 3f800000 3f800000
02-25 04:19:56.945: I/DEBUG(49): aab6c128 3f800000 3f800000 3f800000 3f800000
02-25 04:19:56.945: I/DEBUG(49): memory near fp:
02-25 04:19:56.945: I/DEBUG(49): bee3623c ab317cb0 b8400f20 00000000 b8400f20
02-25 04:19:56.945: I/DEBUG(49): bee3624c ab317b98 ab312688 bee3633c bee36264
02-25 04:19:56.945: I/DEBUG(49): bee3625c ab31265c bee3626c ab3126a0 bee36284
02-25 04:19:56.945: I/DEBUG(49): bee3626c ab312810 ab92a334 b8400f78 ab7a162c
02-25 04:19:56.945: I/DEBUG(49): bee3627c bee36338 bee3629c ab2d3d88 00008b8c
02-25 04:19:56.945: I/DEBUG(49): bee3628c b8400f94 00000000 00000000 ab8ddca4
02-25 04:19:56.945: I/DEBUG(49): bee3629c ab2fe584 00000000 bee36340 00000000
02-25 04:19:56.945: I/DEBUG(49): bee362ac bee36338 bee3633c ab2fe650 aab6cb70
02-25 04:19:56.945: I/DEBUG(49): bee362bc bee3635c bee36374 ab3534f0 00000000
02-25 04:19:56.945: I/DEBUG(49): bee362cc bee364e4 bee363b8 ab2e0800 ab92a2bc
02-25 04:19:56.945: I/DEBUG(49): bee362dc bee36338 ab8da0b0 bee363e0 ab8da0b0
02-25 04:19:56.945: I/DEBUG(49): bee362ec ab8da0d8 bee36340 ab8da054 bee363a0
02-25 04:19:56.945: I/DEBUG(49): bee362fc ab8da02c ab8da07c bee364c4 ab8c0da0
02-25 04:19:56.945: I/DEBUG(49): bee3630c 00000000 00000000 00000000 bee36394
02-25 04:19:56.945: I/DEBUG(49): bee3631c ab8d9f20 ab8c16c8 bee36378 ab8da068
02-25 04:19:56.945: I/DEBUG(49): bee3632c ab8da040 ab8da0a4 bee3636c b83fcfbc
02-25 04:19:56.945: I/DEBUG(49): memory near ip:
02-25 04:19:56.945: I/DEBUG(49): b8400fa8 75727473 6e207463 206c6c75 20746f6e
02-25 04:19:56.945: I/DEBUG(49): b8400fb8 696c6176 00000064 00000000 000007d9
02-25 04:19:56.945: I/DEBUG(49): b8400fc8 3a647473 676f6c3a 655f6369 726f7272
02-25 04:19:56.945: I/DEBUG(49): b8400fd8 00000000 00000028 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8400fe8 00000000 000007b1 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8400ff8 00000000 00000000 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8401008 00000000 00000000 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8401018 00000000 00000000 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8401028 00000000 00000000 00000000 00000000
02-25 04:19:56.945: I/DEBUG(49): b8401038 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401048 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401058 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401068 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401078 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401088 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): b8401098 00000000 00000000 00000000 00000000
02-25 04:19:56.985: I/DEBUG(49): memory near sp:
02-25 04:19:56.985: I/DEBUG(49): bee361c0 00000001 b6f9e1f8 b6f9e1f8 0000000b
02-25 04:19:56.985: I/DEBUG(49): bee361d0 ab7a19e8 b6f7a2a5 b6f9e1f8 00000029
02-25 04:19:56.985: I/DEBUG(49): bee361e0 00000006 0000000b 000004d5 b8400fc8
02-25 04:19:56.985: I/DEBUG(49): bee361f0 b8400fc8 b6f67ead 00000006 00000000
02-25 04:19:56.985: I/DEBUG(49): bee36200 00000001 b6f680c1 bee36214 b6f66df7
02-25 04:19:56.985: I/DEBUG(49): bee36210 b6f9e1f8 ffffffdf 0000000a 00000000
02-25 04:19:56.985: I/DEBUG(49): bee36220 b6f9e1f8 b6fac2fc 0000000a b6f9e150
02-25 04:19:56.985: I/DEBUG(49): bee36230 b8400f94 b6f766d8 000004d5 ab317cb0
02-25 04:19:56.985: I/DEBUG(49): bee36240 b8400f20 00000000 b8400f20 ab317b98
02-25 04:19:56.985: I/DEBUG(49): bee36250 ab312688 bee3633c bee36264 ab31265c
02-25 04:19:56.985: I/DEBUG(49): bee36260 bee3626c ab3126a0 bee36284 ab312810
02-25 04:19:56.985: I/DEBUG(49): bee36270 ab92a334 b8400f78 ab7a162c bee36338
02-25 04:19:56.985: I/DEBUG(49): bee36280 bee3629c ab2d3d88 00008b8c b8400f94
02-25 04:19:56.985: I/DEBUG(49): bee36290 00000000 00000000 ab8ddca4 ab2fe584
02-25 04:19:56.985: I/DEBUG(49): bee362a0 00000000 bee36340 00000000 bee36338
02-25 04:19:56.985: I/DEBUG(49): bee362b0 bee3633c ab2fe650 aab6cb70 bee3635c
02-25 04:19:56.985: I/DEBUG(49): code around pc:
02-25 04:19:56.985: I/DEBUG(49): b6f76e00 e8bd00f0 e3700a01 912fff1e e2600000
02-25 04:19:56.985: I/DEBUG(49): b6f76e10 ea006b44 e92d50f0 e3a07f43 ef000000
02-25 04:19:56.985: I/DEBUG(49): b6f76e20 e8bd50f0 e3700a01 912fff1e e2600000
02-25 04:19:56.985: I/DEBUG(49): b6f76e30 ea006b3c e92d50f0 e3a070ee ef000000
02-25 04:19:56.985: I/DEBUG(49): b6f76e40 e8bd50f0 e3700a01 912fff1e e2600000
02-25 04:19:56.985: I/DEBUG(49): b6f76e50 ea006b34 e1520003 ca0000c8 e92d4011
02-25 04:19:56.985: I/DEBUG(49): b6f76e60 e24dd01c f5d0f000 f5d1f000 f5d1f020
02-25 04:19:56.985: I/DEBUG(49): b6f76e70 e3520004 3a0000b7 e2613000 e2133003
02-25 04:19:56.985: I/DEBUG(49): b6f76e80 0a000007 e1b0cf83 e0422003 44d13001
02-25 04:19:56.985: I/DEBUG(49): b6f76e90 24d14001 24d1c001 44c03001 24c04001
02-25 04:19:56.985: I/DEBUG(49): b6f76ea0 24c0c001 e020c001 e31c0003 1a00002b
02-25 04:19:56.985: I/DEBUG(49): b6f76eb0 e88d0fe0 e2603000 e213301c 0a00000a
02-25 04:19:56.985: I/DEBUG(49): b6f76ec0 e1530002 8202301c e1b0ce03 28b100f0
02-25 04:19:56.985: I/DEBUG(49): b6f76ed0 48b10300 28a000f0 48a00300 e3130004
02-25 04:19:56.985: I/DEBUG(49): b6f76ee0 1491a004 1480a004 e0422003 e2522020
02-25 04:19:57.005: I/DEBUG(49): b6f76ef0 3a000008 e3c1c01f e28cc040 e8b10ff0
02-25 04:19:57.005: I/DEBUG(49): code around lr:
02-25 04:19:57.005: I/DEBUG(49): b6f67e8c 447b4b13 42b3e010 6a1ed10e 44784811
02-25 04:19:57.005: I/DEBUG(49): b6f67e9c ec8ef7fb e9f2f00d 46224631 efb4f00e
02-25 04:19:57.005: I/DEBUG(49): b6f67eac d00a3001 e00b2400 2b00681b 480ad1eb
02-25 04:19:57.005: I/DEBUG(49): b6f67ebc 44782403 ec7cf7fb f001e002 6804fa23
02-25 04:19:57.005: I/DEBUG(49): b6f67ecc fa20f001 46206005 bf00bd70 0003a4ee
02-25 04:19:57.005: I/DEBUG(49): b6f67edc 0003a4e2 0003a4da 0003a4b6 bf7ef7ff
02-25 04:19:57.005: I/DEBUG(49): b6f67eec 4a3e4b3d e92d447b b08b43f0 4606589c
02-25 04:19:57.005: I/DEBUG(49): b6f67efc 6823460d 930946a1 fa04f001 8000f8d0
02-25 04:19:57.005: I/DEBUG(49): b6f67f0c d0482d00 f0264628 280ffc5d d8444604
02-25 04:19:57.005: I/DEBUG(49): b6f67f1c ffe4f7ff d1064286 4629200f e8bcf00d
02-25 04:19:57.005: I/DEBUG(49): b6f67f2c d03c2800 482ee02e f7fb4478 482debc4
02-25 04:19:57.025: I/DEBUG(49): b6f67f3c e0154478 d11342b0 482b6a06 f7fb4478
02-25 04:19:57.025: I/DEBUG(49): b6f67f4c 4a2aec38 46332120 a801447a fbb6f012
02-25 04:19:57.025: I/DEBUG(49): b6f67f5c a8012101 feccf019 46061c42 e011d104
02-25 04:19:57.025: I/DEBUG(49): b6f67f6c 28006800 e02cd1e6 46294630 f00d4622
02-25 04:19:57.025: I/DEBUG(49): b6f67f7c 1c43e8f8 d11e4607 f9c4f001 29046801
The sample apllications of the NDK run fine. I tryied different versions of the SDK/NDK (e.g. 9) but the same crash occurred. Also the same thing happens when running the SampleBrowser for android.

Any suggestions how to fix this?

Thx!
0 x

User avatar
c6burns
Beholder
Posts: 1511
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines

Re: [ANDROID JNI-Example] Seg fault

Post by c6burns » Tue Feb 25, 2014 11:26 am

Curious, does the same thing happen outside the emulator?
0 x

Dofter
Gnoblar
Posts: 16
Joined: Wed Jul 15, 2009 6:51 pm

Re: [ANDROID JNI-Example] Seg fault

Post by Dofter » Tue Feb 25, 2014 11:35 am

What do you mean with 'outside the emulator'?
0 x

User avatar
c6burns
Beholder
Posts: 1511
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines

Re: [ANDROID JNI-Example] Seg fault

Post by c6burns » Tue Feb 25, 2014 11:52 am

"GL_RENDERER = Android Emulator OpenGL ES Translator (Mesa DRI Mobile Intel® GM45 Express Chipset )"

Did you try this on a device? I've never used your specific API / NDK combo, nor the device emu. Hard to say if either are a factor.
0 x

Dofter
Gnoblar
Posts: 16
Joined: Wed Jul 15, 2009 6:51 pm

Re: [ANDROID JNI-Example] Seg fault

Post by Dofter » Tue Feb 25, 2014 12:03 pm

No, not yet. I only testet in a virtual device so far. So you mean I should try to run in on my mobile? I will give it a try... but this may take a while ;)
0 x

Dofter
Gnoblar
Posts: 16
Joined: Wed Jul 15, 2009 6:51 pm

Re: [ANDROID JNI-Example] Seg fault

Post by Dofter » Tue Feb 25, 2014 12:20 pm

Ok, runnung on my mobile works (i havnt connected the mobile to the pc yet, I simply copied the apk and installed it).
So the problem is the virtual device? But it would be nice if it would work!
0 x

User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 1
Contact:

Re: [ANDROID JNI-Example] Seg fault

Post by Wolfmanfx » Mon Mar 03, 2014 10:31 am

Would be awesome if we had an useable emulator :) - but on android you need as many devices as possible because every vendor writes the driver their way.
0 x

Post Reply