Created attachment 157893 [details] Usage Log SUMMARY *** After about a week long of usage, the android version of Krita freezes unexpectedly when I try to open a file or create a new file, but without crashing. The issue doesn't go away if I force arrest or clear the cache of the app and try again to create or open a file. However, if I uninstall the app (maintaining the data) and then install it again, the new Krita installation works smoothly for a week or so, before the problem reappears. *** STEPS TO REPRODUCE 1. Install Krita 2. Use it normally for about a week or so, mainly opening and modifying .kra files on Drive 3. Try to open a pre-existing .kra or create a new file after a week or so of usage OBSERVED RESULT After I click on "File -> Open" the app freezes without crashing; the tablet too also briefly becomes unresponsive, but then works again, however the Krita app still is frozen. After i click on "File -> New document" the creation window appears as usual. I choose the dimension of the document, then after i click on "Create", the app freezes as above. The problem persists if I: -> close and open the app again, and repeat the steps above -> force arrest the app, and repeat the steps above -> clear cache, and repeat the steps above The problem is fixed if I: -> uninstall (maintinting data) and re-install the app However, after a week or so of usage, the problem presents itself again. EXPECTED RESULT The app opens or creates a new document without any kind of freezing, just as it did after being freshly installed. --------------- Krita Version: 5.1.5 Hidpi: true Qt Version (compiled): 5.12.12 Version (loaded): 5.12.12 OS Information Build ABI: arm64-little_endian-lp64 Build CPU: arm64 CPU: arm64 Kernel Type: linux Kernel Version: 5.10.136-android12-9-25884040-abX700XXU3BWC1 Pretty Productname: Android (13.0) Product Type: android Product Version: 13.0 Product Model: Samsung SM-X700 Locale Languages: it, it, it C locale: C.UTF-8 QLocale current: en QLocale system: en QTextCodec for locale: UTF-8 OpenGL Info Vendor: "Qualcomm" Renderer: "Adreno (TM) 730" Version: "OpenGL ES 3.2 V@0615.0 (GIT@9f2ab69d70, I3813e70165, 1669012005) (Date:11/20/22)" Shading language: "OpenGL ES GLSL ES 3.20" Requested format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Current format: QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Version: 3.2 Supports deprecated functions false is OpenGL ES: true supportsBufferMapping: true supportsBufferInvalidation: false forceDisableTextureBuffers: false Extensions: "GL_EXT_multisampled_render_to_texture2" "GL_OES_element_index_uint" "GL_QCOM_motion_estimation" "GL_QCOM_shading_rate" "GL_OES_surfaceless_context" "GL_OES_EGL_sync" "GL_EXT_debug_label" "GL_QCOM_render_shared_exponent" "GL_EXT_draw_buffers_indexed" "GL_EXT_debug_marker" "GL_QCOM_YUV_texture_gather" "GL_EXT_clip_cull_distance" "GL_EXT_EGL_image_array" "GL_EXT_clip_control" "GL_EXT_gpu_shader5" "GL_OES_get_program_binary" "GL_EXT_texture_filter_anisotropic" "GL_OES_texture_stencil8" "GL_EXT_primitive_bounding_box" "GL_EXT_shader_framebuffer_fetch" "GL_OES_shader_multisample_interpolation" "GL_QCOM_texture_foveated_subsampled_layout" "GL_OES_texture_npot" "GL_EXT_EGL_image_external_wrap_modes" "GL_OES_texture_3D" "GL_KHR_no_error" "GL_OES_standard_derivatives" "GL_OES_rgb8_rgba8" "GL_EXT_texture_sRGB_R8" "GL_QCOM_shader_framebuffer_fetch_noncoherent" "GL_EXT_texture_format_sRGB_override" "GL_OES_sample_variables" "GL_OES_texture_storage_multisample_2d_array" "GL_EXT_disjoint_timer_query" "GL_EXT_blend_func_extended" "GL_OES_texture_half_float_linear" "GL_EXT_memory_object" "GL_OES_compressed_ETC1_RGB8_texture" "GL_EXT_multisampled_render_to_texture" "GL_OES_sample_shading" "GL_KHR_blend_equation_advanced" "GL_EXT_texture_buffer" "GL_OES_texture_compression_astc" "GL_EXT_color_buffer_float" "GL_EXT_texture_format_BGRA8888" "GL_EXT_copy_image" "GL_EXT_protected_textures" "GL_OES_framebuffer_object" "GL_KHR_texture_compression_astc_hdr" "GL_EXT_texture_cube_map_array" "GL_EXT_texture_sRGB_decode" "GL_QCOM_texture_foveated2" "GL_OES_depth_texture" "GL_EXT_geometry_shader" "GL_OVR_multiview" "GL_EXT_discard_framebuffer" "GL_EXT_read_format_bgra" "GL_QCOM_tiled_rendering" "GL_EXT_memory_object_fd" "GL_KHR_robust_buffer_access_behavior" "GL_EXT_buffer_storage" "GL_OES_texture_float_linear" "GL_KHR_blend_equation_advanced_coherent" "GL_QCOM_validate_shader_binary" "GL_OES_texture_float" "GL_ANDROID_extension_pack_es31a" "GL_AMD_compressed_ATC_texture" "GL_EXT_color_buffer_half_float" "GL_EXT_robustness" "GL_OVR_multiview2" "GL_EXT_sRGB" "GL_OES_texture_half_float" "GL_ARM_shader_framebuffer_fetch_depth_stencil" "GL_EXT_fragment_invocation_density" "GL_OES_packed_depth_stencil" "GL_EXT_YUV_target" "GL_QCOM_frame_extrapolation" "GL_OES_vertex_array_object" "GL_OES_EGL_image" "GL_EXT_texture_type_2_10_10_10_REV" "GL_IMG_texture_filter_cubic" "GL_QCOM_alpha_test" "GL_OES_depth_texture_cube_map" "GL_OES_shader_image_atomic" "GL_OES_texture_view" "GL_EXT_external_buffer" "GL_KHR_texture_compression_astc_ldr" "GL_OES_EGL_image_external_essl3" "GL_EXT_texture_border_clamp" "GL_QCOM_shader_framebuffer_fetch_rate" "GL_EXT_texture_norm16" "GL_EXT_EGL_image_storage" "GL_OES_depth24" "GL_OES_vertex_half_float" "GL_OES_EGL_image_external" "GL_NV_shader_noperspective_interpolation" "GL_EXT_sRGB_write_control" "" "GL_EXT_shader_io_blocks" "GL_KHR_debug" "GL_QCOM_texture_foveated" "GL_OVR_multiview_multisampled_render_to_texture" "GL_EXT_blit_framebuffer_params" "GL_EXT_shader_non_constant_global_initializers" "GL_EXT_tessellation_shader" QPA OpenGL Detection Info supportsDesktopGL: false supportsOpenGLES: true isQtPreferOpenGLES: true useBufferInvalidation (config option): false Hardware Information GPU Acceleration: angle Memory: 7300 Mb Number of Cores: 8 Swap Location: /data/data/org.krita/cache Built for: arm64+neon Base instruction set: arm64+neon Supported instruction sets: arm64+neon arm32+neon avx512bw avx512dq avx512cd avx512f fma3+avx2 avx2 fma3+avx avx fma4 fma3+sse4.2 sse4.2 sse4.1 ssse3 sse3 sse2 Current Settings Current Swap Location: /data/data/org.krita/cache Current Swap Location writable: true Undo Enabled: true Undo Stack Limit: 200 Use OpenGL: true Use OpenGL Texture Buffer: true Disable Vector Optimizations: false Disable AVX Optimizations: false Canvas State: OPENGL_SUCCESS Autosave Interval: 420 Use Backup Files: true Number of Backups Kept: 1 Backup File Suffix: ~ Backup Location: Same Folder as the File Backup Location writable: false Resource Location: /storage/emulated/0/Android/data/org.krita/files Use Win8 Pointer Input: false Use RightMiddleTabletButton Workaround: false Levels of Detail Enabled: false Use Zip64: false Display Information Number of screens: 1 Screen: 0 Name: Depth: 32 Scale: 2.12465 Physical DPI129.452 Logical DPI72.0118 Physical Size: 237, 138 Position: 0, 0 Resolution in pixels: 1205x705 Manufacturer: Model: Refresh Rate: 60
I might have found a temporary fix to the bug which doesn't require re-installation. I go into the settings of the app and deselect the permission to Photo/Video and Music/Sound. Then I open the app again and after it asks for the aforementioned permissions, I click on consent, and then the app starts working again as at the beginning. It's a quick fix, however it must be repeated each time the problem happens again, i.e. once a week or so, so it would be nice to have a fix on this bug if possible.
Hi! From the description, it seems that you have also tried the "force stop" app, And it didn't work? When the app is frozen, do you get any dialog from the system which says something like "The app keeps stopping, Kill? Wait"?
(In reply to sh_zam from comment #2) > Hi! > > From the description, it seems that you have also tried the "force stop" > app, And it didn't work? When the app is frozen, do you get any dialog from > the system which says something like "The app keeps stopping, Kill? Wait"? Hello! Nope, there's no such dialog.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
This is still a issue on Krita 5.2.3 (git 68d178c) Im on a Samsung Tab s9 Ultra running Android 14 Steps to reproduce 1. Open krita on a android tablet 2. Create a New Image or Open a Recent Image 3. (Bug!) Observe the app hangs and nothing is opened 4. (Work around) Minimize the app to the background and then open it again. Or select File in the top left of the screen, then select back on to the main dashboard of krita. 5. Observe your image is now opened and Krita is working normally (until you completely close Krita)
Though seemingly similar, I believe the issue on 5.2.3 is a completely different bug (reported as bug 488606). This bug report involves Krita becoming completely unresponsive after having been installed for some time, while the other bug involves Krita becoming partially unresponsive regardless of how long it's been installed.
The original issue looked like something related to "Recent Files" list, given that the symptoms appear with some time.
Yes, I concur with Dmitry. Since I cannot test this myself, a way to figure out if it is the recent files list would be to manually close open files and press Recent Image: Clear every time before closing Krita. If that helps, the hunch is correct. We did rewrite the recent files system twice since 5.1.5, so maybe the bug is gone, that could be possible, too.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.