View Issue Details

IDProjectCategoryView StatusLast Update
0002673NoesisGUIUnity3Dpublic2023-09-14 12:22
Reporternokola Assigned Tojsantos  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2 
Fixed in Version3.2.2 
Summary0002673: Noesis 3.2.1 crashes for 9% of users
DescriptionAfter updating to noesis 3.2.1, our app started crashing on startup in production for 9.1% of users.

It seems related to openGL ES2. Note unity settings only choose opengl es3 - screenshot attached.

The stack trace is the only thing I was able to extract from the crash.
Steps To Reproduce1. Run Fantasia Painter google play app on Galaxy S23 ultra phone

Result:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 19394 >>> com.datcompany.fantasiapainter <<<

backtrace:
  #00 pc 0x00000000005bcfe4 /vendor/lib64/libllvm-qgl.so (!!!0000!94f922484c7c2a123d83cc9a7b0fc0!1a285a84ae!+84)
  #01 pc 0x00000000006e2c28 /vendor/lib64/libllvm-qgl.so (!!!0000!8aa9316cfa40ea8e13922cfdcda509!1a285a84ae!+120)
  #02 pc 0x00000000006e2534 /vendor/lib64/libllvm-qgl.so (!!!0000!99fd46ca6897ca43f4eedd7822487a!1a285a84ae!+436)
  #03 pc 0x0000000000922234 /vendor/lib64/libllvm-qgl.so (!!!0000!866bd28e17dc06a823006799f7570e!1a285a84ae!+532)
  #04 pc 0x000000000091e5dc /vendor/lib64/libllvm-qgl.so (!!!0000!2a7897fa7e385f84d70f5d88ea5046!1a285a84ae!+2508)
  #05 pc 0x000000000058b4a4 /vendor/lib64/libllvm-qgl.so (!!!0000!4ee45c73f202da09ceb9e97299e78c!1a285a84ae!+724)
  #06 pc 0x000000000058a138 /vendor/lib64/libllvm-qgl.so (!!!0000!e39e8cf324350f3c5a7f77e6d95208!1a285a84ae!+440)
  #07 pc 0x0000000000589a84 /vendor/lib64/libllvm-qgl.so (!!!0000!367303fb02553850da321d3446c78a!1a285a84ae!+100)
  #08 pc 0x00000000006d2d04 /vendor/lib64/libllvm-qgl.so (!!!0000!0e406d1c583002d7aa7c873d54dca9!1a285a84ae!+372)
  #09 pc 0x00000000006d1e44 /vendor/lib64/libllvm-qgl.so (!!!0000!115a3b096d9bc78c0dfb42d0e49024!1a285a84ae!+116)
  #10 pc 0x00000000008ccaa4 /vendor/lib64/libllvm-qgl.so (!!!0000!aa916b5e953dd3dca1b992ddb2c964!1a285a84ae!+788)
  #11 pc 0x0000000000d3ff0c /vendor/lib64/libllvm-qgl.so (!!!0000!51d38902a0381d361b611c909947d9!1a285a84ae!+60)
  #12 pc 0x000000000098993c /vendor/lib64/libllvm-qgl.so (!!!0000!34520e27c398aec80a9430978fab84!1a285a84ae!+1420)
  #13 pc 0x0000000000984688 /vendor/lib64/libllvm-qgl.so (!!!0000!b351d96637f21e15c92b76750b44e2!1a285a84ae!+760)
  #14 pc 0x0000000000983510 /vendor/lib64/libllvm-qgl.so (CreateQGLCProgram(QGPUCompiler::CompileData*)+48)
  #15 pc 0x0000000000983050 /vendor/lib64/libllvm-qgl.so (!!!0000!1e9735fa2d7fa7113c5ea09cbdfdc0!1a285a84ae!+320)
  #16 pc 0x0000000000981de0 /vendor/lib64/libllvm-qgl.so (!!!0000!aefccce6a332610a9b22f30d0961cc!1a285a84ae!+528)
  #17 pc 0x000000000004cfc4 /vendor/lib64/libllvm-glnext.so (!!!0000!3dcaee58dbbfbd4511f8fc7a97b9b9!1a285a84ae!+900)
  #18 pc 0x0000000000300e8c /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!21c3d0e01b653442370882debb8a54!1a285a84ae!+5052)
  #19 pc 0x00000000002fecc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!8b96d97b28460c2822a5897b3ff6e2!1a285a84ae!+452)
  #20 pc 0x00000000002fea64 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!5094ab766f406130e15d3aad524265!1a285a84ae!+68)
  #21 pc 0x00000000006c39b0 /data/app/~~-2zbesZpccoUJmliBvnDLw==/com.datcompany.fantasiapainter-153LZky8gB-3cQiZSfbgvA==/lib/arm64/libNoesis.so

TagsNo tags attached.
PlatformAny

Relationships

related to 0002659 resolvedjsantos Noesis crashes on some AMD graphics cards 

Activities

nokola

nokola

2023-08-25 19:04

reporter  

image.png (26,276 bytes)   
image.png (26,276 bytes)   
nokola

nokola

2023-08-25 19:06

reporter   ~0008670

Unity 2022.3.7f1 (latest LTS).
jsantos

jsantos

2023-08-26 11:57

manager   ~0008671

"It seems related to openGL ES2"

Could you please elaborate on this?

Could you also paste here the GL extensions available in that device you find in a online test lab that reproduces the crash?
nokola

nokola

2023-08-26 19:47

reporter   ~0008672

openGL ES2: the only reason I mentioned is because I saw this in the call stack:

  #18 pc 0x0000000000300e8c /vendor/lib64/egl/**libGLESv2******_adreno.so (!!!0000!21c3d0e01b653442370882debb8a54!1a285a84ae!+5052)
  #19 pc 0x00000000002fecc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!8b96d97b28460c2822a5897b3ff6e2!1a285a84ae!+452)
  #20 pc 0x00000000002fea64 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!5094ab766f406130e15d3aad524265!1a285a84ae!+68)

But may be unrelated.

I don't have the device currently since my membership in the test lab expired.

The device is samsung dm1q (Galaxy S23) https://www.gsmarena.com/samsung_galaxy_s23-12082.php

We got more crashes this morning, attached screenshot. Same stack trace in all. Let me know if you need further info! Thanks!
image-2.png (62,054 bytes)   
image-2.png (62,054 bytes)   
nokola

nokola

2023-08-26 19:52

reporter   ~0008673

Similar crash during startup on Pixel 5:

     *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2022.3.7f1 (b16b3b16c7a0)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'google/redfin/redfin:11/RQ3A.211001.001/7641976:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-08-25 10:27:03.846211725-0700
pid: 24214, tid: 24247, name: UnityMain >>> com.datcompany.fantasiapainter <<<
uid: 10274
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
Cause: null pointer dereference
    x0 00000072707cc8c0 x1 000000000000016c x2 000000000000003c x3 0000000000000009
    x4 0000000000000001 x5 0000000000000000 x6 0000008000000000 x7 72646e4cff647174
    x8 000000730267f7d8 x9 0000000000000000 x10 0000000000001f44 x11 ca4a000000030103
    x12 00000000e0668e81 x13 ca4a000000030103 x14 000000760198473a x15 0000000000000030
    x16 00000072efbeca88 x17 00000075feb18ab8 x18 0000007301f8c000 x19 0000000000000009
    x20 000000000000003c x21 000000000000016c x22 00000072707cc8c0 x23 0000000000000001
    x24 00000072efc56090 x25 00000072efc53cb8 x26 0000007302683000 x27 000000730267fa00
    x28 00000000000008fd x29 000000730267f780
    lr 000000724f486394 sp 000000730267f6e0 pc 000000724f496f34 pst 0000000060001000
backtrace:
      #00 pc 00000000006cff34 /data/app/~~zPYUwZSSUp38TbijMj2R3w==/com.datcompany.fantasiapainter-ag6e7wtBNU5yLi551NOGkA==/lib/arm64/libNoesis.so
nokola

nokola

2023-08-26 19:54

reporter   ~0008674

Added Pixel 5 adb debug log from firebase automated testing.

Search for libNoesis.so and you'll find the crash, just a bit past the middle of the log file.
pixel5DebugLog.txt (4,214,392 bytes)
jsantos

jsantos

2023-08-28 16:43

manager   ~0008675

Last edited: 2023-08-28 16:44

Do you have access to this Pixel5 device? Could you get the GL extension lists and/or run a development build?
nokola

nokola

2023-08-28 21:34

reporter   ~0008677

I don't have access to the pixel 5, but got the GL extensions for teh Samsung S23 Ultra that also crashes.

Android 13.

08-28 12:30:58.339 1850 1885 W gl2_extensions: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_bptc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_float_blend GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_texture_foveated2 GL_QCOM_texture_foveated_subsampled_layout GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather GL_QCOM_shading_rate GL_QCOM_frame_extrapolation GL_IMG_texture_filter_cubic GL_QCOM_render_shared_exponent GL_EXT_polygon_offset_clamp GL_EXT_texture_sRGB_RG8 GL_EXT_depth_clamp GL_EXT_fragment_shading_rate GL_EXT_fragment_shading_rate_primitive GL_EXT_fragment_shading_rate_attachment
nokola

nokola

2023-08-28 22:05

reporter   ~0008678

Attaching logcat file for the Samsung S23 Ultra crash, Android 13
S23_Ultra_Noesis3.2.1.logcat (4,140,918 bytes)
jsantos

jsantos

2023-08-29 01:04

manager   ~0008679

Any chance we could try on the S32 Ultra with a noesis debug library?
nokola

nokola

2023-08-29 17:58

reporter   ~0008680

Yes, please send the debug lib over, happy to try it!

side note: In general if you have debug Noesis build available as first step for crashes or in the downloads page, will help understand issues much faster!
(maybe you have debug build already and I just haven't noticed...) :)
sfernandez

sfernandez

2023-08-29 20:14

manager   ~0008681

Here you have the debug library for android-arm64 and symbols:
https://drive.google.com/file/d/1StGVbh746DvT6vi67RUHee864E1T6MP7/view?usp=sharing
https://drive.google.com/file/d/1REfSqBvMliLcbrFY2rugzosEAhNxHiAs/view?usp=sharing
jsantos

jsantos

2023-08-29 20:17

manager   ~0008682

> In general if you have debug Noesis build available as first step for crashes or in the downloads page, will help understand issues much faster

Yes, we are working on this. Thanks for the feedback!
nokola

nokola

2023-08-29 22:33

reporter   ~0008683

I tried the debug version noesis. Unfortunately having some trouble extracting files and line numbers from the debug phone (it's a cloud device in amazon Device Farm free tier). I was only able to get the logcat - perhaps info can be found with ndk-stack or similar tool.

Attaching logcat with above debug noesis.so
D3_Noesis_3.2.1.logcat.7z (715,681 bytes)
nokola

nokola

2023-08-30 21:56

reporter   ~0008688

Issue does not reproduce with Noesis 3.1.4, all other code the same.
jsantos

jsantos

2023-09-14 12:22

manager   ~0008743

This has been fixed in 3.2.2 (not yet released). Please, if you keep finding this issue, reopen the ticket.

Issue History

Date Modified Username Field Change
2023-08-25 19:04 nokola New Issue
2023-08-25 19:04 nokola File Added: image.png
2023-08-25 19:06 nokola Note Added: 0008670
2023-08-26 11:55 jsantos Assigned To => jsantos
2023-08-26 11:55 jsantos Status new => assigned
2023-08-26 11:55 jsantos Relationship added related to 0002659
2023-08-26 11:57 jsantos Note Added: 0008671
2023-08-26 11:57 jsantos Status assigned => feedback
2023-08-26 19:47 nokola Note Added: 0008672
2023-08-26 19:47 nokola File Added: image-2.png
2023-08-26 19:47 nokola Status feedback => assigned
2023-08-26 19:52 nokola Note Added: 0008673
2023-08-26 19:54 nokola Note Added: 0008674
2023-08-26 19:54 nokola File Added: pixel5DebugLog.txt
2023-08-28 16:43 jsantos Note Added: 0008675
2023-08-28 16:44 jsantos Note Edited: 0008675
2023-08-28 16:44 jsantos Note Edited: 0008675
2023-08-28 21:34 nokola Note Added: 0008677
2023-08-28 22:05 nokola Note Added: 0008678
2023-08-28 22:05 nokola File Added: S23_Ultra_Noesis3.2.1.logcat
2023-08-29 01:04 jsantos Note Added: 0008679
2023-08-29 01:04 jsantos Status assigned => feedback
2023-08-29 17:58 nokola Note Added: 0008680
2023-08-29 17:58 nokola Status feedback => assigned
2023-08-29 20:14 sfernandez Status assigned => feedback
2023-08-29 20:14 sfernandez Note Added: 0008681
2023-08-29 20:17 jsantos Note Added: 0008682
2023-08-29 22:33 nokola Note Added: 0008683
2023-08-29 22:33 nokola File Added: D3_Noesis_3.2.1.logcat.7z
2023-08-29 22:33 nokola Status feedback => assigned
2023-08-30 21:56 nokola Note Added: 0008688
2023-09-14 12:22 jsantos Status assigned => resolved
2023-09-14 12:22 jsantos Resolution open => fixed
2023-09-14 12:22 jsantos Fixed in Version => 3.2.2
2023-09-14 12:22 jsantos Note Added: 0008743