Crashing on latest Flatpak Build upon opening any image or workspace

Hello everyone. As of the latest Flatpak Version (Version: 5.2.11), I have been experiencing consistent crashes upon attempting to open any image results in a hard crash. I am unable to use Krita due to this issue. This is new behaviour observed particularly as of recently.

I must be clear, I am new to the forums here, so if I have made a mistake somewhere, please let me know.

I am running Krita through the Flatpak on Linux Mint Debian Edition 6, and my GPU is a GTX 1650 SUPER.

Here are all steps attempted thusfar to resolve this issue on my own.

  1. Disable all Krita Bundles that are not included by default.
  2. Disable all Python Plugins to which has not been successful; due to logs, this may be an area of note.
  3. Reset All Krita Settings To Defaults (begrudgingly).
  4. Notably, downgrading to an earlier flatpak version did not resolve this issue, in addition to some python path logs printed by SystemD, I am now suspicious of whether it is a configuration issue (possible), or the update. I have not added any new bundles, plugins, or other things to Krita recently.

The following information is from one of the logs directly from Krita.

!! USER NOTES WILL BE MARKED WITH !! IN ALL LOGS POSTED.
!! -- A LOT OF REPEATED ENTRIES OF THIS --

SESSION: 03 Sep 2025 23:34:26 -0600. Executing krita

Krita Version: 5.2.11, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 2
-- -- -- -- -- -- -- --
03 Sep 2025 23:34:26 -0600: Style: fusion. Available styles: Windows, Fusion
03 Sep 2025 23:34:26 -0600: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Tue Mar 5 12:45:42 2024
03 Sep 2025 23:34:32 -0600: Created image "Unnamed", 22 * 22 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY

Taken from the systemlogs generated by SystemD, I get the following information. I will note extra errors in-case they are relevant.

!! ---

!! Sender: Krita (Generated around 4 times)
Qt: Session management error: Could not open network socket
Failed to load module "xapp-gtk3-module"

!! ---

!! Sender: Krita (Generated once, prior to crash)
Warning: requested data for unknown action "path-break-at-selection"
profileForCsIdWithFallbackImpl couldn't fetch a fallback profile for
/app/lib/krita-python-libs/krita added to PYTHONPATH
QObject::startTimer: Timers cannot have negative intervals
Bundle "/home/calinda_myriad/.var/app/org.kde.krita/data/krita/Experimental_brushes.bundle" is broken. File "brushes/Kisti_5" is missing
(... and a few other missing brushes from various brushpacks that I have tested.)
Qt: Session management error: Could not open network socket

!! ---

krita[7973]: segfault at 0 ip 00007fee76543586 sp 00007ffcc23c90e0 error 4 in libgallium-25.2.1.so[7fee754de000+1781000] likely on CPU 3 (core 3, socket 0)

Lastly, here is the information printed from System Information, within Krita itself.

Krita

 Version: 5.2.11
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 6.1.0-38-amd64
  Pretty Productname: Freedesktop SDK 24.08 (Flatpak runtime)
  Product Type: org.freedesktop.platform
  Product Version: 24.08
  Desktop: KDE
  Appimage build: No

Locale

  Languages: en_US, en, en_Latn_US
  C locale: en_US.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

OpenGL Info
 
  Vendor:  "Mesa" 
  Renderer:  "NV168" 
  Driver version:  "4.3 (Core Profile) Mesa 25.2.1 (git-d6e3b017b2)" 
  Shading language:  "4.30" 
  Requested format:  QSurfaceFormat(version 3.3, 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::CompatibilityProfile) 
  Current format:  QSurfaceFormat(version 4.3, 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::CoreProfile) 
  GL version: 4.3 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: true 
  forceDisableTextureBuffers: false 
  Extensions: 
     GL_EXT_shader_image_load_store 
     GL_ARB_texture_view 
     GL_EXT_shader_integer_mix 
     GL_ARB_sampler_objects 
     GL_ARB_vertex_array_object 
     GL_ARB_internalformat_query2 
     GL_ARB_vertex_type_10f_11f_11f_rev 
     GL_IBM_multimode_draw_arrays 
     GL_ARB_transform_feedback3 
     GL_ARB_invalidate_subdata 
     GL_EXT_provoking_vertex 
     GL_EXT_texture_array 
     GL_EXT_texture_sRGB_decode 
     GL_NV_conservative_raster_dilate 
     GL_ARB_buffer_storage 
     GL_AMD_multi_draw_indirect 
     GL_ARB_clear_buffer_object 
     GL_ARB_shader_draw_parameters 
     GL_ARB_provoking_vertex 
     GL_EXT_blend_equation_separate 
     GL_ARB_texture_float 
     GL_EXT_texture_snorm 
     GL_ARB_get_program_binary 
     GL_EXT_debug_label 
     GL_EXT_vertex_attrib_64bit 
     GL_ARB_copy_buffer 
     GL_NV_viewport_swizzle 
     GL_ARB_shader_clock 
     GL_ARB_framebuffer_no_attachments 
     GL_ARB_shader_texture_image_samples 
     GL_ARB_transform_feedback2 
     GL_ATI_texture_float 
     GL_ARB_vertex_array_bgra 
     GL_ARB_sample_shading 
     GL_EXT_texture_filter_minmax 
     GL_ARB_sample_locations 
     GL_ARB_texture_storage 
     GL_ARB_tessellation_shader 
     GL_ARB_gl_spirv 
     GL_ARB_viewport_array 
     GL_ARB_texture_buffer_range 
     GL_ARB_texture_buffer_object_rgb32 
     GL_EXT_polygon_offset_clamp 
     GL_ARB_fragment_shader 
     GL_ARB_texture_filter_minmax 
     GL_ARB_texture_border_clamp 
     GL_AMD_query_buffer_object 
     GL_ARB_texture_swizzle 
     GL_EXT_EGL_sync 
     GL_MESA_pack_invert 
     GL_EXT_texture_compression_dxt1 
     GL_ARB_half_float_vertex 
     GL_ARB_query_buffer_object 
     GL_ARB_shader_image_size 
     GL_ARB_program_interface_query 
     GL_ARB_arrays_of_arrays 
     GL_MESA_shader_integer_functions 
     GL_ARB_ES3_2_compatibility 
     GL_AMD_conservative_depth 
     GL_ARB_texture_rectangle 
     GL_ARB_pixel_buffer_object 
     GL_NV_conservative_raster_pre_snap_triangles 
     GL_S3_s3tc 
     GL_ARB_derivative_control 
     GL_ARB_texture_query_lod 
     GL_ARB_texture_buffer_object 
     GL_KHR_texture_compression_astc_sliced_3d 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_ARB_texture_cube_map_array 
     GL_EXT_texture_sRGB 
     GL_ARB_draw_instanced 
     GL_NV_sample_locations 
     GL_ARB_fragment_layer_viewport 
     GL_ARB_transform_feedback_instanced 
     GL_EXT_texture_shared_exponent 
     GL_NV_packed_depth_stencil 
     GL_MESA_framebuffer_flip_y 
     GL_ATI_blend_equation_separate 
     GL_ARB_vertex_buffer_object 
     GL_ARB_depth_buffer_float 
     GL_ARB_texture_multisample 
     GL_ARB_shader_storage_buffer_object 
     GL_AMD_shader_trinary_minmax 
     GL_AMD_vertex_shader_layer 
     GL_ARB_bindless_texture 
     GL_ARB_texture_filter_anisotropic 
     GL_ARB_robust_buffer_access_behavior 
     GL_ARB_shader_texture_lod 
     GL_ARB_shader_ballot 
     GL_ARB_map_buffer_alignment 
     GL_ARB_cull_distance 
     GL_ARB_conditional_render_inverted 
     GL_ARB_post_depth_coverage 
     GL_ARB_debug_output 
     GL_EXT_transform_feedback 
     GL_ARB_clear_texture 
     GL_ARB_texture_stencil8 
     GL_EXT_texture_storage 
     GL_AMD_texture_texture4 
     GL_ARB_multi_bind 
     GL_AMD_vertex_shader_viewport_index 
     GL_EXT_abgr 
     GL_NV_texture_barrier 
     GL_NV_vdpau_interop 
     GL_MESA_texture_signed_rgba 
     GL_ARB_ES3_compatibility 
     GL_EXT_draw_instanced 
     GL_ARB_conservative_depth 
     GL_ARB_draw_buffers 
     GL_ARB_sync 
     GL_EXT_texture_compression_rgtc 
     GL_ARB_explicit_uniform_location 
     GL_ARB_compute_variable_group_size 
     GL_ARB_texture_query_levels 
     GL_ARB_texture_rgb10_a2ui 
     GL_EXT_texture_swizzle 
     GL_ARB_gpu_shader_fp64 
     GL_EXT_timer_query 
     GL_EXT_texture_sRGB_R8 
     GL_ARB_shader_atomic_counter_ops 
     GL_ARB_shader_image_load_store 
     GL_NV_conditional_render 
     GL_ARB_ES3_1_compatibility 
     GL_AMD_draw_buffers_blend 
     GL_EXT_texture_shadow_lod 
     GL_ARB_draw_indirect 
     GL_ARB_vertex_shader 
     GL_EXT_window_rectangles 
     GL_KHR_context_flush_control 
     GL_ATI_texture_mirror_once 
     GL_KHR_blend_equation_advanced 
     GL_ARB_uniform_buffer_object 
     GL_NV_copy_image 
     GL_ARB_map_buffer_range 
     GL_ARB_texture_compression_rgtc 
     GL_ANGLE_texture_compression_dxt5 
     GL_ARB_instanced_arrays 
     GL_ARB_shader_subroutine 
     GL_ARB_indirect_parameters 
     GL_ARB_draw_elements_base_vertex 
     GL_ARB_copy_image 
     GL_ARB_shader_bit_encoding 
     GL_ARB_vertex_attrib_binding 
     GL_EXT_framebuffer_object 
     GL_ARB_spirv_extensions 
     GL_ANGLE_texture_compression_dxt3 
     GL_ARB_texture_rg 
     GL_EXT_depth_bounds_test 
     GL_ARB_fragment_coord_conventions 
     GL_ARB_texture_gather 
     GL_KHR_robust_buffer_access_behavior 
     GL_ARB_occlusion_query2 
     GL_AMD_seamless_cubemap_per_texture 
     GL_EXT_framebuffer_multisample 
     GL_EXT_texture_mirror_clamp 
     GL_ARB_ES2_compatibility 
     GL_ARB_vertex_attrib_64bit 
     GL_KHR_robustness 
     GL_OES_EGL_image 
     GL_ARB_blend_func_extended 
     GL_NV_viewport_array2 
     GL_ARB_draw_buffers_blend 
     GL_ARB_clip_control 
     GL_AMD_gpu_shader_int64 
     GL_ARB_shader_precision 
     GL_ARB_depth_clamp 
     GL_NV_depth_clamp 
     GL_EXT_packed_float 
     GL_NVX_gpu_memory_info 
     GL_ARB_get_texture_sub_image 
     GL_EXT_EGL_image_storage_compression 
     GL_ARB_shader_atomic_counters 
     GL_KHR_texture_compression_astc_ldr 
     GL_ARB_enhanced_layouts 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_ARB_robustness 
     GL_ARB_polygon_offset_clamp 
     GL_ARB_timer_query 
     GL_ARB_texture_non_power_of_two 
     GL_EXT_EGL_image_storage 
     GL_ARB_compute_shader 
     GL_ARB_shader_objects 
     GL_ARB_separate_shader_objects 
     GL_KHR_parallel_shader_compile 
     GL_NV_conservative_raster 
     GL_NV_fill_rectangle 
     GL_KHR_debug 
     GL_ARB_shading_language_include 
     GL_ARB_multi_draw_indirect 
     GL_ARB_texture_storage_multisample 
     GL_ARB_framebuffer_sRGB 
     GL_ARB_parallel_shader_compile 
     GL_ARB_shader_viewport_layer_array 
     GL_EXT_demote_to_helper_invocation 
     GL_EXT_texture_integer 
     GL_ARB_direct_state_access 
     GL_EXT_memory_object_fd 
     GL_ARB_seamless_cube_map 
     GL_ARB_color_buffer_float 
     GL_EXT_texture_filter_anisotropic 
     GL_EXT_packed_depth_stencil 
     GL_ARB_shading_language_packing 
     GL_ARB_pipeline_statistics_query 
     GL_ARB_shader_group_vote 
     GL_ARB_stencil_texturing 
     GL_EXT_texture_compression_s3tc 
     GL_ARB_gpu_shader5 
     GL_ARB_half_float_pixel 
     GL_EXT_framebuffer_sRGB 
     GL_EXT_pixel_buffer_object 
     GL_EXT_vertex_array_bgra 
     GL_ARB_explicit_attrib_location 
     GL_ARB_texture_compression_bptc 
     GL_ARB_transform_feedback_overflow_query 
     GL_ARB_point_sprite 
     GL_ATI_meminfo 
     GL_ARB_gpu_shader_int64 
     GL_EXT_memory_object 
     GL_ARB_shading_language_420pack 
     GL_ARB_internalformat_query 
     GL_EXT_framebuffer_blit 
     GL_ARB_compressed_texture_pixel_storage 
     GL_ARB_base_instance 
     GL_EXT_draw_buffers2 
     GL_ARB_framebuffer_object 
     GL_ARB_seamless_cubemap_per_texture 
     GL_ARB_texture_barrier 
     GL_KHR_no_error 
     GL_EXT_shader_clock 
     GL_ARB_texture_mirror_clamp_to_edge 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 
  Detected renderers: 
    (Supported) NV168 (4.3 (Core Profile) Mesa 25.2.1 (git-d6e3b017b2)) 
    (Supported) NV168 (OpenGL ES 3.2 Mesa 25.2.1 (git-d6e3b017b2))  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 32029 Mb
  Number of Cores: 4
  Swap Location: /var/tmp
  Built for: sse2
  Base instruction set: fma3+avx2
  Supported instruction sets: fma3+avx2 avx2 fma3+avx avx fma3+sse4.2 sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: /var/tmp
  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: 900
  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: /home/calinda_myriad/.var/app/org.kde.krita/data/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	theme_creator
	batch_exporter
	channels2layers
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	krita_script_starter
	lastdocumentsdocker
	mixer_slider_docker
	plugin_importer
	quick_settings_docker
	scripter


Display Information
Number of screens: 1
	Screen: 0
		Name: HDMI-1
		Depth: 24
		Scale: 1
		Physical DPI102.406
		Logical DPI96.1263
		Physical Size: 476, 268
		Position: 0, 0
		Resolution in pixels: 1920x1080
		Manufacturer: Hewlett Packard
		Model: HP 22cwa
		Refresh Rate: 60
		Serial Number: --REDACTED BY USER--


I am unsure of where to go from here, and I figured I should report all relevant information here on the Krita’s Artists Forum prior to publishing a bug report, incase this is an issue with my configuration, which cannot be ruled out immediately by me.

Hi @Calinda-Myriad

Have you tried using the official appimage from krita.org? It would be good to do that since the fault could be from the people who issue the Flatpak version.

If the issue persists with the appimage then that would be a bug to report to Krita.

2 Likes

Hello. I have just tested the AppImage build and can confirm it works as expected.

I was able to create a workspace without further issue. This at-least narrows it down to an issue with the flatpak build, or my specific configuration. (Perhaps I have a broken file?) I do use a lot of custom assets, bundles, and more in Krita, so it is not beyond the question that I may have broken something on my end.

I greatly appreciate your fast response.

2 Likes

I have just tested many of the bundles I use aswell as many of the other assets I use, including an OKLAB ICC, two plugins, and a few extra resources. There are no crashes on the official AppImage.

This narrows it down entirely to three things.

  1. One of the bundles or assets I cannot import are broken in a way that causes crashes, despite not being enabled (unlikely).
  2. Somehow, my configuration or flatpak installation is specifically broken. I will run a flatpak repair to rule this out.
  3. The downstream flatpak install is currently broken, though on what factors remains unclear.

This confirms this is not an upstream bug.

1 Like

Could also be that the Flatpak maintainers have messed something up, in that case there is nothing you can do except maybe report the crash to them and tell them that it’s not happening with Krita’s own release.

1 Like

I went ahead and reported it on the downstream Github listed on the flathub’s page with all relevant information I could think to include.

I am doubtful this is a configuration error at this point given I was able to copy all my flatpak install files to the appimage’s config directories without any additional errors or bugs. The only additional file not tested was my kritarc which I had reset anyway, but thankfully it seems it made a backup so I can restore that as I please.

With that, I feel confident this is a downstream issue. Again, thank you all for the support in helping isolate and deduce this issue. I really appreciate how quickly this was atleast mostly solved, even if the issue is not yet resolved. :heart_decoration:

Perhaps you would be interested in some statistics on this:
Experience here in the forum shows, between two-thirds and three-quarters of all Linux problems with non-AppImage versions of Krita can be solved by using AppImages. It doesn’t matter whether it’s snap, Flatpak, Steam, repository, or any other distribution method.
Steam appears to have by far the lowest error rate of those mentioned, but that may change.

Michelist

1 Like

Quite honestly, I have encountered a number of issues from the flatpak. I may take up this advice and switch to the AppImage, especially as it is officially supported.

1 Like

I am confirming that I will be switching to the AppImage. I have tested various things and it solves other misc. issues I was getting including containerised $PATH issues even after using flatseal, in addition I am noticing higher performance and better environment integration in the AppImage.

I am unsure if I should close this thread on this note, since my issue is now solved, or if I should leave it open in the event others have encountered the same issue and wish to discuss it here.

If a post solved your issue mark it as a solution, if none did, leave it as is and it will automatically closed a month after the latest post. The reason we discourage leaving them open forever is that people in a year or so usually have much different issues and the topic will be outdated, so we prefer them to create new topics. Forever-Issue-Topics only become messy and confusing with time.

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.