[android] sig 6 (sigabrt) Foritfy: Read : count: SSize_max

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
booom414
Newbie
Posts: 11
Joined: Mon Sep 04, 2017 5:56 pm
Contact:

[android] sig 6 (sigabrt) Foritfy: Read : count: SSize_max

#1 Post by booom414 »

good day!

while i was working on a game i tried to port it to android but there is a problem

the build on pc works fine but once you port it over to android it loads the splashscreen and menu but once you do something else ( for example open the prefrence menu etc ) it crashes the application


( the adv logcat error file )

Code: Select all

09-13 03:21:16.104 29577 29628 F libc    : FORTIFY: read: count > SSIZE_MAX                                                                                                     
09-13 03:21:16.104 29577 29628 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 29628 (Thread-9)                                                                            
09-13 03:21:16.218 29629 29629 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***                                                                      
09-13 03:21:16.222 29629 29629 F DEBUG   : Build fingerprint: 'samsung/heroltexx/herolte:7.0/NRD90M/G930FXXU1DQG1:user/release-keys'                                            
09-13 03:21:16.222 29629 29629 F DEBUG   : Revision: '8'                                                                                                                        
09-13 03:21:16.222 29629 29629 F DEBUG   : ABI: 'arm'                                                                                                                           
09-13 03:21:16.223 29629 29629 F DEBUG   : pid: 29577, tid: 29628, name: Thread-9  >>> Rswitch.booom313 <<<                                                                      
09-13 03:21:16.223 29629 29629 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------                                                                          
09-13 03:21:16.240 29629 29629 F DEBUG   : Abort message: 'FORTIFY: read: count > SSIZE_MAX'                                                                                    
09-13 03:21:16.241 29629 29629 F DEBUG   :     r0 00000000  r1 000073bc  r2 00000006  r3 00000008                                                                               
09-13 03:21:16.241 29629 29629 F DEBUG   :     r4 b44b5978  r5 00000006  r6 b44b5920  r7 0000010c                                                                               
09-13 03:21:16.241 29629 29629 F DEBUG   :     r8 00000001  r9 fe1f2e8c  sl bcbe8120  fp 00000001                                                                               
09-13 03:21:16.241 29629 29629 F DEBUG   :     ip 00000000  sp b44b5140  lr e8114957  pc e81171c0  cpsr 600f0010                                                                
09-13 03:21:16.252 29629 29629 F DEBUG   :                                                                                                                                      
09-13 03:21:16.252 29629 29629 F DEBUG   : backtrace:                                                                                                                           
09-13 03:21:16.252 29629 29629 F DEBUG   :     #00 pc 0004a1c0  /system/lib/libc.so (tgkill+12)                                                                                 
09-13 03:21:16.252 29629 29629 F DEBUG   :     #01 pc 00047953  /system/lib/libc.so (pthread_kill+34)                                                                           
09-13 03:21:16.252 29629 29629 F DEBUG   :     #02 pc 0001d955  /system/lib/libc.so (raise+10)                                                                                  
09-13 03:21:16.252 29629 29629 F DEBUG   :     #03 pc 000194a1  /system/lib/libc.so (__libc_android_abort+34)                                                                   
09-13 03:21:16.252 29629 29629 F DEBUG   :     #04 pc 000170e8  /system/lib/libc.so (abort+4)                                                                                   
09-13 03:21:16.252 29629 29629 F DEBUG   :     #05 pc 0001b953  /system/lib/libc.so (__libc_fatal+22)                                                                           
09-13 03:21:16.252 29629 29629 F DEBUG   :     #06 pc 0001b933  /system/lib/libc.so (__fortify_chk_fail+26)                                                                     
09-13 03:21:16.252 29629 29629 F DEBUG   :     #07 pc 0004fddf  /system/lib/libc.so (__read_chk+26)                                                                             
09-13 03:21:16.252 29629 29629 F DEBUG   :     #08 pc 0004f01d  /system/lib/libc.so (__sread+20)                                                                                
09-13 03:21:16.252 29629 29629 F DEBUG   :     #09 pc 00051beb  /system/lib/libc.so (fread+202)                                                                                 
09-13 03:21:16.252 29629 29629 F DEBUG   :     #10 pc 00053197  /data/app/Rswitch.booom313-1/lib/arm/libSDL2.so                                                                  
09-13 03:21:16.252 29629 29629 F DEBUG   :     #11 pc 001a7d58  /data/app/Rswitch.booom313-1/lib/arm/libpymodules.so    

booom414
Newbie
Posts: 11
Joined: Mon Sep 04, 2017 5:56 pm
Contact:

Re: [android] sig 6 (sigabrt) Foritfy: Read : count: SSize_max

#2 Post by booom414 »

What does this error mean and why doesn't it generate a traceback.txt

Is there anyway to find out what variable or array is cousing this error?

booom414
Newbie
Posts: 11
Joined: Mon Sep 04, 2017 5:56 pm
Contact:

Re: [android] sig 6 (sigabrt) Foritfy: Read : count: SSize_max

#3 Post by booom414 »

Here is the log.txt file but there are no errors except renpystream import error (but that is on all android games i've noticed)

Code: Select all

Wed Sep 13 14:20:16 2017
Early init took 0.11s
Loader init took 0.04s
Loading error handling took 0.10s
Loading script took 4.37s
Loading persistent took 0.00s
Importing _renpysteam: ImportError('No module named _renpysteam',)
Running init code took 1.28s
Loading analysis data took 0.46s
Analyze and compile ATL took 0.40s
Index archives took 0.00s
Dump and make backups. took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.00s
DPI scale factor: 1.000000
Creating interface object took 0.02s
Cleaning stores took 0.00s
Init translation took 0.08s
Build styles took 0.01s
Load screen analysis took 0.09s
Analyze screens took 0.01s
Save screen analysis took 0.00s
Prepare screens took 0.30s
Save pyanalysis. took 0.00s
Save bytecode. took 0.00s
Running _start took 0.00s
Interface start took 0.09s

Windowed mode.
Screen sizes: virtual=(800, 600) physical=(1920, 1080) drawable=(1920, 1080)
Vendor: 'ARM'
Renderer: 'Mali-T880'
Version: 'OpenGL ES 3.2 v1.r12p1-03dev0.228ab63cced004f840e7dd47b762a1d0'
Display Info: <Info({'blit_sw_CC': False, 'refresh_rate': 59, 'bitsize': 16, 'wm': True, 'losses': (3, 2, 3, 8), 'hw': False, 'masks': (63488L, 2016L, 31L, 0L), 'current_h': 1080, 'current_w': 1920, 'shifts': (11, 5, 0, 0), 'blit_sw_A': False, 'blit_hw': False, 'blit_sw': False, 'bytesize': 2, 'blit_hw_CC': False, 'blit_hw_A': False, 'video_mem': 268435456})>
Extensions:
    
    GL_ANDROID_extension_pack_es31a
    GL_ARM_mali_program_binary
    GL_ARM_mali_shader_binary
    GL_ARM_rgba8
    GL_ARM_shader_framebuffer_fetch
    GL_ARM_shader_framebuffer_fetch_depth_stencil
    GL_EXT_YUV_target
    GL_EXT_blend_minmax
    GL_EXT_color_buffer_float
    GL_EXT_color_buffer_half_float
    GL_EXT_copy_image
    GL_EXT_debug_marker
    GL_EXT_discard_framebuffer
    GL_EXT_disjoint_timer_query
    GL_EXT_draw_buffers_indexed
    GL_EXT_draw_elements_base_vertex
    GL_EXT_geometry_shader
    GL_EXT_gpu_shader5
    GL_EXT_multisampled_render_to_texture
    GL_EXT_occlusion_query_boolean
    GL_EXT_primitive_bounding_box
    GL_EXT_protected_textures
    GL_EXT_read_format_bgra
    GL_EXT_robustness
    GL_EXT_sRGB
    GL_EXT_sRGB_write_control
    GL_EXT_shader_io_blocks
    GL_EXT_shader_pixel_local_storage
    GL_EXT_shadow_samplers
    GL_EXT_tessellation_shader
    GL_EXT_texture_border_clamp
    GL_EXT_texture_buffer
    GL_EXT_texture_cube_map_array
    GL_EXT_texture_format_BGRA8888
    GL_EXT_texture_rg
    GL_EXT_texture_sRGB_decode
    GL_EXT_texture_storage
    GL_EXT_texture_type_2_10_10_10_REV
    GL_KHR_blend_equation_advanced
    GL_KHR_blend_equation_advanced_coherent
    GL_KHR_debug
    GL_KHR_robust_buffer_access_behavior
    GL_KHR_robustness
    GL_KHR_texture_compression_astc_hdr
    GL_KHR_texture_compression_astc_ldr
    GL_KHR_texture_compression_astc_sliced_3d
    GL_OES_EGL_image
    GL_OES_EGL_image_external
    GL_OES_EGL_image_external_essl3
    GL_OES_EGL_sync
    GL_OES_compressed_ETC1_RGB8_texture
    GL_OES_compressed_paletted_texture
    GL_OES_copy_image
    GL_OES_depth24
    GL_OES_depth_texture
    GL_OES_depth_texture_cube_map
    GL_OES_draw_buffers_indexed
    GL_OES_draw_elements_base_vertex
    GL_OES_element_index_uint
    GL_OES_fbo_render_mipmap
    GL_OES_geometry_shader
    GL_OES_get_program_binary
    GL_OES_gpu_shader5
    GL_OES_mapbuffer
    GL_OES_packed_depth_stencil
    GL_OES_primitive_bounding_box
    GL_OES_required_internalformat
    GL_OES_rgb8_rgba8
    GL_OES_sample_shading
    GL_OES_sample_variables
    GL_OES_shader_image_atomic
    GL_OES_shader_io_blocks
    GL_OES_shader_multisample_interpolation
    GL_OES_standard_derivatives
    GL_OES_surfaceless_context
    GL_OES_tessellation_shader
    GL_OES_texture_3D
    GL_OES_texture_border_clamp
    GL_OES_texture_buffer
    GL_OES_texture_compression_astc
    GL_OES_texture_cube_map_array
    GL_OES_texture_npot
    GL_OES_texture_stencil8
    GL_OES_texture_storage_multisample_2d_array
    GL_OES_vertex_array_object
    GL_OES_vertex_half_float
    GL_OVR_multiview
    GL_OVR_multiview2
    GL_OVR_multiview_multisampled_render_to_texture
Number of texture units: 16
Using shader environment.
Using FBO RTT.
FBO Maximum Texture Size: 16384
Root FBO is: 0
Using gl renderer.
Texture testing:
- Hardware max texture size: 16384
- 64px textures work.
- 128px textures work.
- 256px textures work.
- 512px textures work.
- 1024px textures work.
- 2048px textures work.
FBO Maximum Texture Size: 16384
Root FBO is: 0
controller: '7365635f746f7563686b657900000000' None 0L
controller: '48656164736574000000000000000000' None 0L
controller: '6770696f5f6b65797300000000000000' None 0L
controller: '7365635f746f75636873637265656e00' None 0L
controller: '5669727475616c000000000000000000' None 0L
controller: '416e64726f696420416363656c65726f' None 0L
Total time until interface ready: 8.18988084793s

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]