renpy / renpy

The Ren'Py Visual Novel Engine
http://www.renpy.org/
5.05k stars 705 forks source link

[7.4.7] Android game crashing on startup #2941

Closed xOnlyFadi closed 3 years ago

xOnlyFadi commented 3 years ago

Hi Devs, First I used Galaxy A8 (2018) and then a virtual machine Pixel a4 API 30 from android studio, I built the package and put in the phone first it crashed and then tried a virtual machine and gave the same crash but that time I used logcat and it gave me this error


2021-07-27 02:06:22.208 5102-5102/? W/usinneedforsee: Unexpected CPU variant for X86 using defaults: x86 2021-07-27 02:06:22.254 5102-5102/? I/ndk_translation: Initialized NDK translation (armv7l), version 0.2.2 2021-07-27 02:06:22.741 5102-5102/come.fadi.mycousinneedforseed D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar 2021-07-27 02:06:22.783 5102-5102/come.fadi.mycousinneedforseed D/NetworkSecurityConfig: No Network Security Config specified, using platform default 2021-07-27 02:06:22.783 5102-5102/come.fadi.mycousinneedforseed D/NetworkSecurityConfig: No Network Security Config specified, using platform default 2021-07-27 02:06:22.858 5102-5102/come.fadi.mycousinneedforseed V/python: onCreate() 2021-07-27 02:06:22.858 5102-5102/come.fadi.mycousinneedforseed V/SDL: Device: generic_x86_arm 2021-07-27 02:06:22.859 5102-5102/come.fadi.mycousinneedforseed V/SDL: Model: sdk_gphone_x86_arm 2021-07-27 02:06:22.859 5102-5102/come.fadi.mycousinneedforseed V/SDL: onCreate() 2021-07-27 02:06:22.929 5102-5130/come.fadi.mycousinneedforseed D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so 2021-07-27 02:06:22.933 5102-5130/come.fadi.mycousinneedforseed D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so 2021-07-27 02:06:22.976 5102-5130/come.fadi.mycousinneedforseed D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so 2021-07-27 02:06:23.656 5102-5102/come.fadi.mycousinneedforseed V/SDL: nativeSetupJNI() 2021-07-27 02:06:23.663 5102-5102/come.fadi.mycousinneedforseed V/SDL: AUDIO nativeSetupJNI() 2021-07-27 02:06:23.664 5102-5102/come.fadi.mycousinneedforseed V/SDL: CONTROLLER nativeSetupJNI() 2021-07-27 02:06:23.683 5102-5102/come.fadi.mycousinneedforseed E/python: Google 2021-07-27 02:06:23.722 5102-5102/come.fadi.mycousinneedforseed V/SDL: onStart() 2021-07-27 02:06:23.723 5102-5102/come.fadi.mycousinneedforseed V/SDL: onResume() 2021-07-27 02:06:23.744 5102-5128/come.fadi.mycousinneedforseed D/HostConnection: HostConnection::get() New Host Connection established 0xf6560680, tid 5128 2021-07-27 02:06:23.748 5102-5128/come.fadi.mycousinneedforseed D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0 2021-07-27 02:06:23.750 5102-5102/come.fadi.mycousinneedforseed V/SDL: surfaceCreated() 2021-07-27 02:06:23.750 5102-5102/come.fadi.mycousinneedforseed V/SDL: surfaceChanged() 2021-07-27 02:06:23.750 5102-5102/come.fadi.mycousinneedforseed V/SDL: pixel format RGBA_8888 2021-07-27 02:06:23.750 5102-5102/come.fadi.mycousinneedforseed V/SDL: Window size: 2072x1003 2021-07-27 02:06:23.750 5102-5102/come.fadi.mycousinneedforseed V/SDL: Device size: 2340x1080 2021-07-27 02:06:23.759 5102-5128/come.fadi.mycousinneedforseed W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 2021-07-27 02:06:23.764 5102-5128/come.fadi.mycousinneedforseed D/EGL_emulation: eglCreateContext: 0xf6542e00: maj 3 min 0 rcv 3 2021-07-27 02:06:23.781 5102-5128/come.fadi.mycousinneedforseed D/EGL_emulation: eglMakeCurrent: 0xf6542e00: ver 3 0 (tinfo 0xf68b1570) (first time) 2021-07-27 02:06:23.810 5102-5128/come.fadi.mycousinneedforseed I/Gralloc4: mapper 4.x is not supported 2021-07-27 02:06:23.811 5102-5128/come.fadi.mycousinneedforseed D/HostConnection: createUnique: call 2021-07-27 02:06:23.812 5102-5128/come.fadi.mycousinneedforseed D/HostConnection: HostConnection::get() New Host Connection established 0xf6542af0, tid 5128 2021-07-27 02:06:23.812 5102-5128/come.fadi.mycousinneedforseed D/goldfish-address-space: allocate: Ask for block of size 0x100 2021-07-27 02:06:23.812 5102-5128/come.fadi.mycousinneedforseed D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3f7ffe000 size 0x2000 2021-07-27 02:06:23.816 5102-5128/come.fadi.mycousinneedforseed D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0 2021-07-27 02:06:23.990 5102-5102/come.fadi.mycousinneedforseed V/SDL: onWindowFocusChanged(): true 2021-07-27 02:06:23.995 5102-5132/come.fadi.mycousinneedforseed V/SDL: Running main function SDL_main from library /data/app/~~JuMpLQcClaLUKnhqFpusnQ==/come.fadi.mycousinneedforseed-JmQOhFvWex6kQvMTnkKRwQ==/lib/arm/librenpython.so 2021-07-27 02:06:24.025 5102-5132/come.fadi.mycousinneedforseed V/SDL: nativeRunMain() 2021-07-27 02:06:24.112 5102-5132/come.fadi.mycousinneedforseed V/python: Starting preparePython. 2021-07-27 02:06:24.261 5102-5132/come.fadi.mycousinneedforseed V/python: Extracting private assets. 2021-07-27 02:06:24.262 5102-5132/come.fadi.mycousinneedforseed I/python: extracting private.mp3 to /data/user/0/come.fadi.mycousinneedforseed/files 2021-07-27 02:06:24.426 5102-5118/come.fadi.mycousinneedforseed I/usinneedforsee: Background young concurrent copying GC freed 47371(2225KB) AllocSpace objects, 0(0B) LOS objects, 88% free, 3092KB/27MB, paused 12.561ms total 217.315ms 2021-07-27 02:06:25.262 5102-5132/come.fadi.mycousinneedforseed V/python: Finished preparePython. 2021-07-27 02:06:26.542 5102-5132/come.fadi.mycousinneedforseed I/python: Logging start. 2021-07-27 02:06:28.060 5102-5132/come.fadi.mycousinneedforseed I/python: Opening APK '/data/app/~~JuMpLQcClaLUKnhqFpusnQ==/come.fadi.mycousinneedforseed-JmQOhFvWex6kQvMTnkKRwQ==/base.apk' 2021-07-27 02:06:28.856 5102-5132/come.fadi.mycousinneedforseed I/python: Not using expansion file. 2021-07-27 02:06:28.857 5102-5132/come.fadi.mycousinneedforseed I/python: Opening APK '/data/app/~~JuMpLQcClaLUKnhqFpusnQ==/come.fadi.mycousinneedforseed-JmQOhFvWex6kQvMTnkKRwQ==/base.apk' 2021-07-27 02:06:28.898 5102-5132/come.fadi.mycousinneedforseed I/python: Opening APK '/data/app/~~JuMpLQcClaLUKnhqFpusnQ==/come.fadi.mycousinneedforseed-JmQOhFvWex6kQvMTnkKRwQ==/base.apk' 2021-07-27 02:06:29.684 5102-5132/come.fadi.mycousinneedforseed I/python: Bootstrap to the start of init.init took 0.00s 2021-07-27 02:06:29.733 5102-5132/come.fadi.mycousinneedforseed I/python: Manufacturer Google model sdk_gphone_x86_arm 2021-07-27 02:06:30.136 5102-5132/come.fadi.mycousinneedforseed I/python: Screen diagonal is 5.85729043498 inches. 2021-07-27 02:06:30.151 5102-5132/come.fadi.mycousinneedforseed I/python: Early init took 0.49s 2021-07-27 02:06:30.161 5102-5132/come.fadi.mycousinneedforseed I/python: Android searchpath: /storage/emulated/0/Android/data/come.fadi.mycousinneedforseed/files/game 2021-07-27 02:06:30.197 5102-5132/come.fadi.mycousinneedforseed I/python: Loader init took 0.05s 2021-07-27 02:06:30.529 5102-5132/come.fadi.mycousinneedforseed I/python: Loading error handling took 0.34s 2021-07-27 02:06:30.879 5102-5132/come.fadi.mycousinneedforseed I/python: Loading script took 0.35s 2021-07-27 02:06:30.881 5102-5132/come.fadi.mycousinneedforseed I/python: Saving to /storage/emulated/0/Android/data/come.fadi.mycousinneedforseed/files/saves 2021-07-27 02:06:30.893 5102-5132/come.fadi.mycousinneedforseed I/python: Loading save slot metadata. took 0.01s 2021-07-27 02:06:30.895 5102-5132/come.fadi.mycousinneedforseed I/python: Loading persistent took 0.00s 2021-07-27 02:06:31.070 5102-5132/come.fadi.mycousinneedforseed I/python: Running init code took 0.17s 2021-07-27 02:06:31.274 5102-5132/come.fadi.mycousinneedforseed I/python: Loading analysis data took 0.20s 2021-07-27 02:06:31.299 5102-5132/come.fadi.mycousinneedforseed I/python: Analyze and compile ATL took 0.02s 2021-07-27 02:06:31.308 5102-5132/come.fadi.mycousinneedforseed I/python: Index archives took 0.00s 2021-07-27 02:06:31.309 5102-5132/come.fadi.mycousinneedforseed I/python: Dump and make backups. took 0.01s 2021-07-27 02:06:31.310 5102-5132/come.fadi.mycousinneedforseed I/python: Cleaning cache took 0.00s 2021-07-27 02:06:31.319 5102-5132/come.fadi.mycousinneedforseed I/python: Making clean stores took 0.01s 2021-07-27 02:06:31.388 5102-5132/come.fadi.mycousinneedforseed I/python: Initial gc. took 0.07s 2021-07-27 02:06:31.396 5102-5132/come.fadi.mycousinneedforseed I/python: Creating interface object took 0.01s 2021-07-27 02:06:31.400 5102-5132/come.fadi.mycousinneedforseed I/python: Cleaning stores took 0.00s 2021-07-27 02:06:31.820 5102-5132/come.fadi.mycousinneedforseed I/python: Init translation took 0.42s 2021-07-27 02:06:31.862 5102-5132/come.fadi.mycousinneedforseed I/python: Build styles took 0.04s 2021-07-27 02:06:31.864 5102-5132/come.fadi.mycousinneedforseed I/python: Load screen analysis took 0.00s 2021-07-27 02:06:31.950 5102-5132/come.fadi.mycousinneedforseed I/python: Analyze screens took 0.09s 2021-07-27 02:06:32.309 5102-5132/come.fadi.mycousinneedforseed I/python: Save screen analysis took 0.36s 2021-07-27 02:06:32.645 5102-5132/come.fadi.mycousinneedforseed I/python: Prepare screens took 0.34s 2021-07-27 02:06:33.297 5102-5132/come.fadi.mycousinneedforseed I/python: Save pyanalysis. took 0.65s 2021-07-27 02:06:33.298 5102-5132/come.fadi.mycousinneedforseed I/python: Save bytecode. took 0.00s 2021-07-27 02:06:33.311 5102-5132/come.fadi.mycousinneedforseed I/python: Running _start took 0.01s 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: Full traceback: 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "renpy/bootstrap.py", line 326, in bootstrap 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "renpy/main.py", line 617, in main 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "renpy/main.py", line 148, in run 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "renpy/execution.py", line 922, in run_context 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "00start.rpyc", line 283, in script 2021-07-27 02:06:33.421 5102-5132/come.fadi.mycousinneedforseed I/python: File "renpy/script.py", line 918, in lookup 2021-07-27 02:06:33.422 5102-5132/come.fadi.mycousinneedforseed I/python: ScriptError: could not find label 'start'. 2021-07-27 02:06:33.422 5102-5132/come.fadi.mycousinneedforseed I/python: While running game code: 2021-07-27 02:06:33.423 5102-5132/come.fadi.mycousinneedforseed I/python: ScriptError: could not find label 'start'. 2021-07-27 02:06:33.574 5102-5132/come.fadi.mycousinneedforseed D/HostConnection: HostConnection::get() New Host Connection established 0xf6560e60, tid 5132 2021-07-27 02:06:33.578 5102-5132/come.fadi.mycousinneedforseed D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0

beginning of crash

2021-07-27 02:06:33.599 5102-5102/come.fadi.mycousinneedforseed A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdda14554 in tid 5102 (SDLActivity), pid 5102 (SDLActivity) 2021-07-27 02:06:33.626 5102-5133/? A/libc: FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xf3a38cb8) 2021-07-27 02:06:33.628 5102-5134/? A/libc: FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xf3a38cb8) 2021-07-27 02:06:33.683 5102-5116/? W/usinneedforsee: Openjdkjvmti plugin was loaded on a non-debuggable Runtime. Plugin was loaded too late to change runtime state to DEBUGGABLE. Only kArtTiVersion (0x70010200) environments are available. Some functionality might not work properly. 2021-07-27 02:06:33.694 5102-5116/? I/usinneedforsee: Unquickening 13 vdex files!

Full Logcat: logcat.txt

renpytom commented 3 years ago

This doesn't looks like a problem with Ren'Py - it simply looks like you installed the game wrong, perhaps by not installing the expansion APK. Did you let Ren'Py install the game for you?

xOnlyFadi commented 3 years ago

I did let renpy install the game for me

renpytom commented 3 years ago

Something when wrong then, since it looks like the .obb isn't there. Could you try telling it not to build an expansion APK?

xOnlyFadi commented 3 years ago

I chose the first option for my apk but I did not chose the second one. image

renpytom commented 3 years ago

Can I take a look at your apk, then? It's like important files are missing.

Actually, one thing - are you excluding .rpyc files with a build.classify line?

On Tue, Jul 27, 2021 at 9:43 PM xOnlyFadi @.***> wrote:

I chose the first option for my apk but I did not chose the second one. [image: image] https://user-images.githubusercontent.com/63213308/127250106-be2aa59d-79f4-4113-af85-38acf9d6c57e.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/renpy/renpy/issues/2941#issuecomment-887945278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4XHABDS3QDRMMZBJIRYLTZ5OB5ANCNFSM5BBWOVJA .

-- Lead Developer, Ren'Py Visual Novel Engine

xOnlyFadi commented 3 years ago

My apk is 800mb where can I upload it without the upload limit?

renpytom commented 3 years ago

https://upload.disroot.org/

xOnlyFadi commented 3 years ago

sorry it's still uploading, my upload speed isn't that fast

xOnlyFadi commented 3 years ago

Here sorry for the wait

renpytom commented 3 years ago

Could you have Cherry Kiss Games contact me, to let me know you're authorized to do this port?

xOnlyFadi commented 3 years ago

My friend gave me the files of the game and told me to port the game into android apk he told he dosen't know how to port his "game" to android without saying anything about Cherry Kiss Games.

renpytom commented 3 years ago

I'm going to go ahead and close this thread until I hear back from the game's publisher.