I'd like to add some logcat:
on 03.004 my native is ending "int main" and SDLActivity jumps in "handleNativeExit()" (sounds and feels right)
but on 03.014 it jumps in "onPause()" [Shocked] (why is that?)
on 03.404 the app is seemingly closed ( but as I wrote it's only seemingly = the app is still standby )
using homebutton to see standby apps and so on .. is all after 03.404
Code:
12-14 17:02:03.004: V/Mw(3679): I: 342 ,T: 0 > MwAppUpdater::~MwAppUpdater end.
12-14 17:02:03.004: V/SDL(3679): class SDLSurface public void surfaceChanged : Native thread finished +++++++++++++++++++++++++++++++++++++++++++++
12-14 17:02:03.004: V/SDL(3679): SDLActivity.java public static void handleNativeExit() reached
12-14 17:02:03.014: V/Mw(3679): ECActivity onPause() reached
12-14 17:02:03.014: V/SDL(3679): SDLActivity.java protected void onPause() reached
12-14 17:02:03.014: V/SDL(3679): SDLActivity.java public static void handleNativeExit() end.
12-14 17:02:03.014: V/SDL(3679): SDLActivity.java public static void handlePause() jumping to native SDLActivity.nativePause().
12-14 17:02:03.014: V/SDL(3679): nativePause()
12-14 17:02:03.014: V/SDL(3679): SDLActivity.java public static void handlePause() returning from native SDLActivity.nativePause().
12-14 17:02:03.014: I/SensorManagerA(3679): getReportingMode :: sensor.mType = 1
12-14 17:02:03.024: D/SensorManager(3679): unregisterListener ::
12-14 17:02:03.024: V/SDL(3679): SDLActivity.java protected void onPause() end.
12-14 17:02:03.024: V/Mw(3679): ECActivity onPause() end
12-14 17:02:03.204: V/SDL(3679): surfaceDestroyed()
12-14 17:02:03.364: W/IInputConnectionWrapper(3679): showStatusIcon on inactive InputConnection
12-14 17:02:03.404: V/Mw(3679): ECActivity onDestroy() reached
12-14 17:02:03.404: V/SDL(3679): SDLActivity.java protected void onDestroy() reached
12-14 17:02:03.404: V/SDL(3679): SDLActivity.java protected void onDestroy() end.
12-14 17:02:03.404: V/Mw(3679): ECActivity onDestroy() end
12-14 17:02:21.614: V/Mw(3679): ECActivity.java protected void onCreate(Bundle savedInstanceState) reached
12-14 17:02:21.614: V/SDL(3679): SDLActivity.java protected void onCreate(Bundle savedInstanceState) reached with singleton:null
12-14 17:02:21.624: V/SDL(3679): SDLActivity.java protected void onCreate(Bundle savedInstanceState) end.
12-14 17:02:21.624: V/Mw(3679): ECActivity.java private void initMw() reached
12-14 17:02:21.624: V/Mw(3679): Java_org_libsdl_app_SDLActivity_SendAssManToNative reached
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18621 > native routine for assetmanagertransfere reached
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18621 > JNICALL Java_org_libsdl_app_SDLActivity_SendAssManToNativ : loaded assetmanager
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18621 > Trying to jump into TAssReader and set AAssetManager mgr
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18621 > Loaded Assetmanager in nativ MwAndroidAssetReader!
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18621 > The Assetmanager is set in TAssReader
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > Java_de_editionchamaeleon_ECApp_ECActivity_SendScreenSizeToNative: Setting ScreenSize in NativCode : 960 , 540
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::MwAppConst() reached
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::MwAppConst() init MwGELib version 1.0.1
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::CalcLevelSize() reached
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::CalcLevelSize() end
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::MwAppConst() end
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::SetDeviceScreenSize reached with 960,540
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::CalcBestScaledScreenSize reached
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::CalcBestScaledScreenSize end
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18622 > MwAppConst::SetDeviceScreenSize end
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18623 > Java_de_editionchamaeleon_ECApp_ECActivity_SetLanguage: result: de
12-14 17:02:21.624: V/Mw(3679): I: 342 ,T: 18623 > Java_de_editionchamaeleon_ECApp_ECActivity_SetLanguage: Setting TCons::InitLanguage: de
12-14 17:02:21.624: V/Mw(3679): ECActivity.java private void initMw() end
12-14 17:02:21.624: V/Mw(3679): ECActivity.java protected void onCreate(Bundle savedInstanceState) end.
12-14 17:02:21.624: V/SDL(3679): SDLActivity.java protected void onResume() reached
12-14 17:02:21.624: V/SDL(3679): SDLActivity.java public static void handleResume() reached
12-14 17:02:21.624: V/SDL(3679): SDLActivity.java public static void handleResume() end.
12-14 17:02:21.624: V/SDL(3679): SDLActivity.java protected void onResume() end.
12-14 17:02:21.664: V/SDL(3679): surfaceCreated()
12-14 17:02:21.664: V/SDL(3679): surfaceChanged()
12-14 17:02:21.664: V/SDL(3679): pixel format RGB_565
12-14 17:02:21.664: V/SDL(3679): Window size:960x540
12-14 17:02:21.664: I/SensorManagerA(3679): getReportingMode :: sensor.mType = 1
12-14 17:02:21.674: D/SensorManager(3679): registerListener :: 0, MPU-6K Accelerometer, 20000, 0,
12-14 17:02:21.674: I/SDL(3679): SDL_Android_Init()
12-14 17:02:21.674: I/SDL(3679): SDL_Android_Init() finished!
12-14 17:02:21.674: V/Mw(3679): I: 342 ,T: 18673 > Reached main()!
12-14 17:02:21.674: V/Mw(3679): I: 342 ,T: 18673 > MwAppUpdater::InitGame reached.
12-14 17:02:21.674: A/libc(3679): Fatal signal 11 (SIGSEGV) at 0x400eb1c8 (code=2), thread 3751 (SDLThread)
12-14 17:02:21.704: V/SDL(3679): SDLActivity.java public static void handleResume() reached
12-14 17:02:21.704: V/SDL(3679): SDLActivity.java public static void handleResume() end.