Bug 480110 - GMIC Colorize Lineart [Propagation] crashes on MacOS because of dimensions mismatch
Summary: GMIC Colorize Lineart [Propagation] crashes on MacOS because of dimensions mi...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: G'Mic for Krita (show other bugs)
Version: 5.2.2
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-20 22:15 UTC by ironies.wells-0a
Modified: 2024-01-20 22:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ironies.wells-0a 2024-01-20 22:15:52 UTC
SUMMARY
***
Using the GMIC plugin on ALL layers using the Black & White > Colorize Lineart [Propagation] preset returns an error code:

*** Error in ./fx_colorize_lineart/*local/ *** Command 'watershed': [instance(6150,8250,1,3,0x433d58000,non-shared)] gmic<float32>::watershed(): image instance and specified priority (6150,8253,1,1,0x48887c000) have different dimensions.

I saw a previous bug report on this that was resolved — perhaps the fix hasn't made it's way to MacOS? https://bugs.kde.org/show_bug.cgi?id=462096

STEPS TO REPRODUCE
1.  Launch Krita
2.  Open PSD File
3. Run GMIC
4. Select ALL layers. Select Black & White > Colorize Lineart [Propagation]. Press OK.

OBSERVED RESULT
Pop-up window with error code.

EXPECTED RESULT
GMIC filter results.

Krita

 Version: 5.2.2
 Hidpi: true
 Sandbox: false

Qt

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

OS Information

  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: darwin
  Kernel Version: 23.2.0
  Pretty Productname: macOS 14.2
  Product Type: osx
  Product Version: 14.2

Locale

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

OpenGL Info
 
  Vendor:  "Apple" 
  Renderer:  "Apple M1" 
  Driver version:  "4.1 Metal - 88" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 4.1, 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) 
  Current format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 32, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile) 
  GL version: 4.1 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     GL_ARB_texture_buffer_object_rgb32 
     GL_ARB_transform_feedback2 
     GL_ARB_separate_shader_objects 
     GL_ARB_transform_feedback3 
     GL_ARB_texture_swizzle 
     GL_APPLE_texture_range 
     GL_ARB_texture_storage 
     GL_EXT_debug_marker 
     GL_ARB_occlusion_query2 
     GL_EXT_texture_compression_s3tc 
     GL_APPLE_row_bytes 
     GL_ARB_explicit_attrib_location 
     GL_ARB_viewport_array 
     GL_ARB_ES2_compatibility 
     GL_ARB_texture_gather 
     GL_ARB_shader_bit_encoding 
     GL_ARB_shading_language_include 
     GL_APPLE_rgb_422 
     GL_ARB_gpu_shader_fp64 
     GL_ARB_vertex_attrib_64bit 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_ARB_gpu_shader5 
     GL_ARB_sample_shading 
     GL_ARB_timer_query 
     GL_EXT_debug_label 
     GL_ARB_draw_buffers_blend 
     GL_APPLE_client_storage 
     GL_ARB_draw_indirect 
     GL_APPLE_container_object_shareable 
     GL_ARB_texture_rgb10_a2ui 
     GL_ARB_texture_query_lod 
     GL_ARB_internalformat_query 
     GL_APPLE_flush_render 
     GL_ARB_tessellation_shader 
     GL_EXT_texture_sRGB_decode 
     GL_ARB_blend_func_extended 
     GL_NV_texture_barrier 
     GL_ARB_shader_subroutine 
     GL_ARB_texture_cube_map_array 
     GL_ARB_instanced_arrays 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_sampler_objects 
     GL_ARB_vertex_type_2_10_10_10_rev 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 
  Detected renderers: 
    (Supported) Apple M1 (4.1 Metal - 88)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 8192 Mb
  Number of Cores: 8
  Swap Location: /private/var/folders/f1/tp1ykg9j2t32b1k4wzynvxzm0000gn/T
  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: /private/var/folders/f1/tp1ykg9j2t32b1k4wzynvxzm0000gn/T
  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_NOT_TRIED
  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: 
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts


Display Information
Number of screens: 1
	Screen: 0
		Name: 
		Depth: 24
		Scale: 2
		Physical DPI108
		Logical DPI72
		Physical Size: 599.3, 340.242
		Position: 0, 0
		Resolution in pixels: 2560x1440
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 

Current Settings

  Current Swap Location: /private/var/folders/f1/tp1ykg9j2t32b1k4wzynvxzm0000gn/T
  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: TRY_OPENGL
  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: /Users/nathan/Library/Application Support/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false