safon007 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Crash on 2nd scene switch in Samples/RunTime/Samples/Scene.blend on Android Device #291

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile and deploy runtime to Android x86 device (Motorola razr i) from svn
2. Modify Scene.blend to switch scenes on mouseclick instead of keyboard press, 
upload Scene.blend to sdcard/gamekit/gk_android.blend
3. Run the app and tap screen twice.

What is the expected output? What do you see instead?

Expected: scene switch back and forth on successive taps.
Got: 1st tap switches scene normally, 2nd tap makes app crash.

What version of the product are you using? On what operating system?

svn trunk, Moto razr i (android 4.0.4, x86 intel atom).

Please provide any additional information below.

The LogCat output of the crash (note there's ogre errors already on the first 
switch, albeit no crash; but maybe they have something to do with it):

12-22 18:37:33.737: I/OgreKit(18710): GObj:Camera.001 Pos:0.000000 -12.397417 
4.297133
12-22 18:37:33.737: I/OgreKit(18710): PObj:Empty.001 Pos:0.000000 0.000000 
0.000000
12-22 18:37:33.737: E/OgreKit(18710): OGRE EXCEPTION(9:UnimplementedException): 
Setting Viewport orientation mode is not supported in setOrientationMode at 
/home/tim/workspace/gamekit/work-android/Ogre-1.8rc/OgreMain/src/OgreViewport.cp
p (line 226)
12-22 18:37:33.737: I/OgreKit(18710): Problem setting Viewport Orientation
12-22 18:37:33.737: I/OgreKit(18710): 
/home/tim/workspace/gamekit/work-android/Samples/AndroidDemo/Shared/Main.cpp 
setup 207
12-22 18:37:33.737: I/OgreKit(18710): 
/home/tim/workspace/gamekit/work-android/Samples/AndroidDemo/Shared/Main.cpp 
setup 213
12-22 18:37:33.737: I/OgreKit(18710): 
/home/tim/workspace/gamekit/work-android/Samples/AndroidDemo/Shared/Main.cpp 
init 175
12-22 18:37:33.737: I/OgreKit(18710): window
12-22 18:37:33.737: I/OgreKit(18710): window
12-22 18:37:33.737: I/OgreKit(18710): window
12-22 18:37:33.737: I/OgreKit(18710): 
/home/tim/workspace/gamekit/work-android/Samples/AndroidDemo/Shared/Main.cpp 
render 281
12-22 18:37:33.737: I/OgreKit(18710): steploop
12-22 18:37:33.737: I/OgreKit(18710): window
12-22 18:37:33.737: I/OgreKit(18710): 
/home/tim/workspace/gamekit/work-android/Samples/AndroidDemo/Shared/Main.cpp 
render 288
12-22 18:37:33.737: I/OgreKit(18710): window
12-22 18:37:33.767: W/IMGSRV(18710): :0: gralloc_register_buffer: ID: 7126 
handle: 0x9eafbe0 size: 540 x 897 fmt: 511 usage: 0xb00
12-22 18:37:37.347: I/OgreKit(18710): GObj:Camera Pos:0.000000 -12.397417 
4.297133
12-22 18:37:37.347: I/OgreKit(18710): PObj:Empty Pos:0.000000 0.000000 0.000000
12-22 18:37:37.347: E/OgreKit(18710): OGRE EXCEPTION(9:UnimplementedException): 
Setting Viewport orientation mode is not supported in setOrientationMode at 
/home/tim/workspace/gamekit/work-android/Ogre-1.8rc/OgreMain/src/OgreViewport.cp
p (line 226)
12-22 18:37:37.347: I/OgreKit(18710): Problem setting Viewport Orientation
12-22 18:37:39.557: I/OgreKit(18710): Texture: B: Loading 6 
faces(PF_R8G8B8A8,64x64x1) Internal format is PF_A8B8G8R8,64x64x1.
12-22 18:37:39.557: I/OgreKit(18710): GObj:Camera.001 Pos:0.000000 -12.397417 
4.297133
12-22 18:37:39.557: I/OgreKit(18710): PObj:Empty.001 Pos:0.000000 0.000000 
0.000000
12-22 18:37:39.567: E/OgreKit(18710): OGRE EXCEPTION(9:UnimplementedException): 
Setting Viewport orientation mode is not supported in setOrientationMode at 
/home/tim/workspace/gamekit/work-android/Ogre-1.8rc/OgreMain/src/OgreViewport.cp
p (line 226)
12-22 18:37:39.567: I/OgreKit(18710): Problem setting Viewport Orientation
12-22 18:37:39.577: A/libc(18710): Fatal signal 11 (SIGSEGV) at 0x00000000 
(code=1)

Original issue reported on code.google.com by dr.tim.d...@gmail.com on 23 Dec 2012 at 12:00

GoogleCodeExporter commented 8 years ago

Original comment by thomas.t...@googlemail.com on 23 Dec 2012 at 2:20

GoogleCodeExporter commented 8 years ago
Seems like the blended sky makes problems if using the realtime-shadergenerator 
(which is activated automatically on android). Using papersky works...not 100% 
sure where exactly the problem is....

Original comment by thomas.t...@googlemail.com on 23 Dec 2012 at 9:12