i already tried to solve my problem reading older posts about Android SIGSEGVs but i found no solution.
I try to run ogre on my galaxy s3 and got an SIGSEV during creation of OgreRoot.
Code: Select all
F/libc (29113): Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 29113 (rg.cgeffects.de)
I/ClipboardServiceEx( 2259): Send intent for dismiss clipboard dialog inside hideCurrentInputLocked() !
I/power ( 2259): *** release_dvfs_lock : lockType : 1
D/KeyguardViewMediator( 2259): setHidden false
D/PowerManagerService( 2259): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
W/ActivityManager( 2259): mDVFSLock.release()
I/SurfaceFlinger( 1898): id=2136(1174) createSurf (1440x1280),-1 flag=20000, ClackSurface
I/SurfaceFlinger( 1898): id=2137(1175) createSurf (720x2560),-1 flag=20000, ClackSurface
I/SurfaceFlinger( 1898): id=2138(1176) createSurf (1440x1280),-1 flag=20000, ClackSurface
I/SurfaceFlinger( 1898): id=2139(1177) createSurf (720x2560),-1 flag=20000, ClackSurface
I/DEBUG ( 7953): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 7953): Build fingerprint: 'samsung/m0xx/m0:4.1.1/JRO03C/I9300XXDLIH:user/release-keys'
I/DEBUG ( 7953): pid: 29113, tid: 29113, name: rg.cgeffects.de >>> org.cgeffects.de <<<
I/DEBUG ( 7953): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000001c
I/DEBUG ( 7953): r0 00000000 r1 00000000 r2 5d980c30 r3 5d98e084
I/DEBUG ( 7953): r4 5ef17868 r5 be85c534 r6 5d98e084 r7 5d164fd8
I/DEBUG ( 7953): r8 be85c524 r9 5ef17880 sl be85c50c fp be85c510
I/DEBUG ( 7953): ip 00000000 sp be85c4b0 lr 5d4cac17 pc 5d46da70 cpsr 00000030
I/DEBUG ( 7953): d0 0000000000000000 d1 0000000044342000
I/DEBUG ( 7953): d2 0000000000000000 d3 4434000000000000
I/DEBUG ( 7953): d4 0000008200000000 d5 4434000044a00000
I/DEBUG ( 7953): d6 4433c000449fe000 d7 0000000000000000
I/DEBUG ( 7953): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 7953): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 7953): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 7953): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 7953): d16 000000c142a4f3a0 d17 000000c141da5508
I/DEBUG ( 7953): d18 00000000037ea6a8 d19 2000000840071840
I/DEBUG ( 7953): d20 0000000000000000 d21 3fe5555560000000
I/DEBUG ( 7953): d22 0000000000000000 d23 3fe5555560000000
I/DEBUG ( 7953): d24 3ff0000000000000 d25 0000000000000000
I/DEBUG ( 7953): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 7953): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 7953): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 7953): scr 60000011
I/DEBUG ( 7953):
I/DEBUG ( 7953): backtrace:
I/DEBUG ( 7953): #00 pc 00303a70 /data/data/org.cgeffects.de/lib/libguess.so (Ogre::LogManager::LogManager()+51)
I/DEBUG ( 7953): #01 pc 00360c13 /data/data/org.cgeffects.de/lib/libguess.so (Ogre::Root::Root(std::string const&, std::string const&, std::string const&)+750)
Code: Select all
/*
LOGI("create LogManager");
Ogre::LogManager *lm = OGRE_NEW Ogre::LogManager();
LOGI("create a log");
Ogre::Log *l = lm->createLog("AndroidLog", true, false, true);
lm->setDefaultLog(l);
LOGI("create listener");
g_ll = OGRE_NEW AndroidLogListener();
LOGI("add listener to log");
l->addListener(g_ll);
*/
LOGI("create Root");
// Create a root object
g_root = OGRE_NEW Ogre::Root("", "", "");
If i do not create the log the app runs a little bit more but crashes. In the dump you see that
it seems to be the Constructor of the Manager which seems not possible to me..
I used the OgreSampleBrowser as starting point to implement my own application but i simplified
it - f.e. removing the browser itself. All I want is a rendering canvas where i can add my own
geometries.
Has someone a hint where i can start my search?