Bug 481487 - Selecting "Text" tool and click/drag on canvas results in crash.
Summary: Selecting "Text" tool and click/drag on canvas results in crash.
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 5.2.2
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-17 20:46 UTC by Kurt
Modified: 2024-11-23 03:46 UTC (History)
1 user (show)

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 Kurt 2024-02-17 20:46:40 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Krita

 Version: 5.2.2
 Hidpi: true
 Sandbox: false

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: darwin
  Kernel Version: 18.7.0
  Pretty Productname: macOS Mojave (10.14)
  Product Type: osx
  Product Version: 10.14

Locale

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

OpenGL Info
 
  Vendor:  "Intel Inc." 
  Renderer:  "Intel HD Graphics 4000 OpenGL Engine" 
  Driver version:  "4.1 INTEL-12.10.12" 
  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 24, 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_APPLE_rgb_422 
     GL_ARB_timer_query 
     GL_EXT_debug_marker 
     GL_ARB_blend_func_extended 
     GL_ARB_separate_shader_objects 
     GL_ARB_draw_buffers_blend 
     GL_ARB_shading_language_include 
     GL_APPLE_client_storage 
     GL_ARB_gpu_shader5 
     GL_ARB_explicit_attrib_location 
     GL_APPLE_row_bytes 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_vertex_attrib_64bit 
     GL_ARB_texture_buffer_object_rgb32 
     GL_EXT_texture_sRGB_decode 
     GL_ARB_sample_shading 
     GL_ARB_sampler_objects 
     GL_ARB_texture_swizzle 
     GL_ARB_texture_gather 
     GL_ARB_tessellation_shader 
     GL_ATI_texture_mirror_once 
     GL_ARB_transform_feedback3 
     GL_ARB_draw_indirect 
     GL_ARB_texture_storage 
     GL_EXT_debug_label 
     GL_ARB_transform_feedback2 
     GL_ARB_shader_subroutine 
     GL_ARB_ES2_compatibility 
     GL_APPLE_container_object_shareable 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_APPLE_texture_range 
     GL_APPLE_flush_render 
     GL_APPLE_object_purgeable 
     GL_ARB_occlusion_query2 
     GL_ARB_internalformat_query 
     GL_ARB_viewport_array 
     GL_ARB_gpu_shader_fp64 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_NV_texture_barrier 
     GL_ARB_texture_cube_map_array 
     GL_ARB_texture_rgb10_a2ui 
     GL_ARB_texture_query_lod 
     GL_ARB_instanced_arrays 
     GL_EXT_texture_compression_s3tc 
     GL_ARB_shader_bit_encoding 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 
  Detected renderers: 
    (Supported) Intel HD Graphics 4000 OpenGL Engine (4.1 INTEL-12.10.12)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 16384 Mb
  Number of Cores: 4
  Swap Location: /private/var/folders/8h/bgq5m4s13213_rrtqy8jw8740000gp/T
  Built for: sse4.1
  Base instruction set: sse4.1
  Supported instruction sets: sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: /private/var/folders/8h/bgq5m4s13213_rrtqy8jw8740000gp/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: 
  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: 2
	Screen: 0
		Name: LCD1970NX
		Depth: 24
		Scale: 1
		Physical DPI72
		Logical DPI72
		Physical Size: 451.556, 338.667
		Position: 0, 0
		Resolution in pixels: 1280x960
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 
	Screen: 1
		Name: Color LCD
		Depth: 24
		Scale: 1
		Physical DPI114
		Logical DPI72
		Physical Size: 285.193, 178.246
		Position: -1280, 160
		Resolution in pixels: 1280x800
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 


---------------------
================================================================================
SESSION: 17 Feb 2024 14:43:05 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 52500
-- -- -- -- -- -- -- --
17 Feb 2024 14:43:05 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 14:43:16 -0500: Creating database from scratch (database didn't exist, new schema version: 0.0.17).
17 Feb 2024 14:50:00 -0500: Created image "Unnamed", 520 * 200 pixels, 300 dpi. Color model: 8-bit integer/channel Grayscale/Alpha (Gray-D50-elle-V2-srgbtrc.icc). Layers: 2
17 Feb 2024 14:50:27 -0500: Importing image/jpeg to application/x-krita. Location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Real location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Batchmode: 0
17 Feb 2024 14:50:27 -0500: Loaded image from image/jpeg. Size: 1643 * 2238 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 17 Feb 2024 14:56:53 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 53674
-- -- -- -- -- -- -- --
17 Feb 2024 14:56:53 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 14:56:56 -0500: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Sat Feb 17 14:43:16 2024
17 Feb 2024 14:57:03 -0500: Importing image/jpeg to application/x-krita. Location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Real location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Batchmode: 0
17 Feb 2024 14:57:03 -0500: Loaded image from image/jpeg. Size: 1643 * 2238 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
17 Feb 2024 14:57:53 -0500: Created image "Unnamed", 520 * 200 pixels, 300 dpi. Color model: 8-bit integer/channel Grayscale/Alpha (Gray-D50-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 17 Feb 2024 15:01:37 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 54062
-- -- -- -- -- -- -- --
17 Feb 2024 15:01:37 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 15:01:40 -0500: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Sat Feb 17 14:43:16 2024

---------------------
Krita

 Version: 5.2.2
 Hidpi: true
 Sandbox: false

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: darwin
  Kernel Version: 18.7.0
  Pretty Productname: macOS Mojave (10.14)
  Product Type: osx
  Product Version: 10.14

Locale

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

OpenGL Info
 
  Vendor:  "Intel Inc." 
  Renderer:  "Intel HD Graphics 4000 OpenGL Engine" 
  Driver version:  "4.1 INTEL-12.10.12" 
  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 24, 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_APPLE_rgb_422 
     GL_ARB_timer_query 
     GL_EXT_debug_marker 
     GL_ARB_blend_func_extended 
     GL_ARB_separate_shader_objects 
     GL_ARB_draw_buffers_blend 
     GL_ARB_shading_language_include 
     GL_APPLE_client_storage 
     GL_ARB_gpu_shader5 
     GL_ARB_explicit_attrib_location 
     GL_APPLE_row_bytes 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_vertex_attrib_64bit 
     GL_ARB_texture_buffer_object_rgb32 
     GL_EXT_texture_sRGB_decode 
     GL_ARB_sample_shading 
     GL_ARB_sampler_objects 
     GL_ARB_texture_swizzle 
     GL_ARB_texture_gather 
     GL_ARB_tessellation_shader 
     GL_ATI_texture_mirror_once 
     GL_ARB_transform_feedback3 
     GL_ARB_draw_indirect 
     GL_ARB_texture_storage 
     GL_EXT_debug_label 
     GL_ARB_transform_feedback2 
     GL_ARB_shader_subroutine 
     GL_ARB_ES2_compatibility 
     GL_APPLE_container_object_shareable 
     GL_EXT_framebuffer_multisample_blit_scaled 
     GL_APPLE_texture_range 
     GL_APPLE_flush_render 
     GL_APPLE_object_purgeable 
     GL_ARB_occlusion_query2 
     GL_ARB_internalformat_query 
     GL_ARB_viewport_array 
     GL_ARB_gpu_shader_fp64 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_NV_texture_barrier 
     GL_ARB_texture_cube_map_array 
     GL_ARB_texture_rgb10_a2ui 
     GL_ARB_texture_query_lod 
     GL_ARB_instanced_arrays 
     GL_EXT_texture_compression_s3tc 
     GL_ARB_shader_bit_encoding 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 
  Detected renderers: 
    (Supported) Intel HD Graphics 4000 OpenGL Engine (4.1 INTEL-12.10.12)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 16384 Mb
  Number of Cores: 4
  Swap Location: /private/var/folders/8h/bgq5m4s13213_rrtqy8jw8740000gp/T
  Built for: sse4.1
  Base instruction set: sse4.1
  Supported instruction sets: sse4.2 sse4.1 ssse3 sse3 sse2 

Current Settings

  Current Swap Location: /private/var/folders/8h/bgq5m4s13213_rrtqy8jw8740000gp/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: 
  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: 2
	Screen: 0
		Name: LCD1970NX
		Depth: 24
		Scale: 1
		Physical DPI72
		Logical DPI72
		Physical Size: 451.556, 338.667
		Position: 0, 0
		Resolution in pixels: 1280x960
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 
	Screen: 1
		Name: Color LCD
		Depth: 24
		Scale: 1
		Physical DPI114
		Logical DPI72
		Physical Size: 285.193, 178.246
		Position: -1280, 160
		Resolution in pixels: 1280x800
		Manufacturer: 
		Model: 
		Refresh Rate: 60
		Serial Number: 


---------------------
================================================================================
SESSION: 17 Feb 2024 14:43:05 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 52500
-- -- -- -- -- -- -- --
17 Feb 2024 14:43:05 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 14:43:16 -0500: Creating database from scratch (database didn't exist, new schema version: 0.0.17).
17 Feb 2024 14:50:00 -0500: Created image "Unnamed", 520 * 200 pixels, 300 dpi. Color model: 8-bit integer/channel Grayscale/Alpha (Gray-D50-elle-V2-srgbtrc.icc). Layers: 2
17 Feb 2024 14:50:27 -0500: Importing image/jpeg to application/x-krita. Location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Real location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Batchmode: 0
17 Feb 2024 14:50:27 -0500: Loaded image from image/jpeg. Size: 1643 * 2238 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 17 Feb 2024 14:56:53 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 53674
-- -- -- -- -- -- -- --
17 Feb 2024 14:56:53 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 14:56:56 -0500: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Sat Feb 17 14:43:16 2024
17 Feb 2024 14:57:03 -0500: Importing image/jpeg to application/x-krita. Location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Real location: /Users/kurt/Data/People/Dot Lawrence/Dot - Guitar.jpeg. Batchmode: 0
17 Feb 2024 14:57:03 -0500: Loaded image from image/jpeg. Size: 1643 * 2238 pixels, 1 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
17 Feb 2024 14:57:53 -0500: Created image "Unnamed", 520 * 200 pixels, 300 dpi. Color model: 8-bit integer/channel Grayscale/Alpha (Gray-D50-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 17 Feb 2024 15:01:37 -0500. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 54062
-- -- -- -- -- -- -- --
17 Feb 2024 15:01:37 -0500: Style: macintosh. Available styles: macintosh, Windows, Fusion
17 Feb 2024 15:01:40 -0500: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Sat Feb 17 14:43:16 2024

---------------------

***


STEPS TO REPRODUCE
1.  Select the “T” tool at the top right.
2. Click and drag on the canvas


OBSERVED RESULT
Immediate crash.

EXPECTED RESULT
Text entry box

SOFTWARE/OS VERSIONS
macOS: 10:14.6


ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2024-10-24 11:32:56 UTC
I'm afraid I cannot reproduce this on my M1 macbook pro. Could you check with the latest version of Krita, 5.2.6?  Did macos provide a crash log? (Also note that for the upcoming 5.3.0 the entire text shape and text tool have been completely rewritten.)
Comment 2 Bug Janitor Service 2024-11-08 03:46:32 UTC
🐛🧹 ⚠️ 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!
Comment 3 Bug Janitor Service 2024-11-23 03:46:46 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.