https://bugs.kde.org/show_bug.cgi?id=464700

            Bug ID: 464700
           Summary: krita quits opening a specific psd file created with
                    photopea.
    Classification: Applications
           Product: krita
           Version: 5.1.5
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: * Unknown
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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
***

Hi,

my laptop runs with Windows 11 Home,
|—|—|
|Processor|11th Gen Intel(R) Core™ i5-1135G7 @ 2.40GHz 2.42 GHz|
|Installed RAM|8.00 GB (7.70 GB usable)|
|System type|64-bit operating system, x64-based processor|
|Pen and touch|No pen or touch input is available for this display|

Edition Windows 11 Home
Version 22H2
Installed on    ‎12/‎12/‎2022
OS build        22621.963
Experience      Windows Feature Experience Pack 1000.22638.1000.0
I had Krita 5.1.4 installed and it closed as soon as it tried to open a
specific psd file (generated by photopea.com and opening well there).
Checked the Application Event viewer log and nothing there.
Uninstalled it.
Installed Krita 5.1.5, same issue.

What I did:
***********

Isolation: 
I figured out that the issue is triggered by a specific layer which once hidden
make the psd opening.
This layer is Mr.X see image layer_causing_krita_to_quit.png

I copied each layer from the document to another blank document, and saved,
then try to open: same issue so it's really a layer issue, not a file issue.

Logging:

I made 2 procdump dump with .\procdump64.exe -t -ma -w krita
Available at:
https://www.dropbox.com/s/vz4weqlf0z0el5u/Procdump%20krita%205.1.5%20quit%20at%20opening%206.psd.rar?dl=0

If you need more logs please let me know.

STEPS TO REPRODUCE
1.  open 6.psd with krita 5.1.5
2. krita quits silently

OBSERVED RESULT

Krita quits silently

EXPECTED RESULT

Krita open the file to be able to edit it

SOFTWARE/OS VERSIONS
Windows:  11 Home

*****************

Internal Krita Bug report logs
******************************

Krita

 Version: 5.1.5
 Installation type: installer / portable package
 Hidpi: true

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.22621
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10

Locale

  Languages: en_US
  C locale: C
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latin I)

OpenGL Info

  Vendor:  "Google Inc. (Intel)" 
  Renderer:  "ANGLE (Intel, Intel(R) Iris(R) Xe Graphics Direct3D11 vs_5_0
ps_5_0, D3D11-30.0.101.3111)" 
  Version:  "OpenGL ES 3.0.0 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5.12.12)" 
  Shading language:  "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0 git hash:
f2280c0c5f93+krita_qt5.12.12)" 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), 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 3.0, 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.0
     Supports deprecated functions false 
     is OpenGL ES: true 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: true 
  Extensions: 
     "GL_OES_EGL_image" 
     "GL_OES_compressed_ETC2_sRGB8_alpha8_texture" 
     "GL_OES_packed_depth_stencil" 
     "GL_ANGLE_base_vertex_base_instance" 
     "GL_ANGLE_framebuffer_multisample" 
     "GL_ANGLE_robust_client_memory" 
     "GL_EXT_occlusion_query_boolean" 
     "GL_EXT_texture_filter_anisotropic" 
     "GL_OES_texture_float_linear" 
     "GL_ANGLE_provoking_vertex" 
     "GL_CHROMIUM_sync_query" 
     "GL_NV_EGL_stream_consumer_external" 
     "GL_OES_surfaceless_context" 
     "GL_CHROMIUM_bind_generates_resource" 
     "GL_OES_texture_border_clamp" 
     "GL_ANGLE_get_tex_level_parameter" 
     "GL_ANGLE_instanced_arrays" 
     "GL_NV_framebuffer_blit" 
     "GL_ANGLE_translated_shader_source" 
     "GL_OES_EGL_image_external_essl3" 
     "GL_OES_compressed_ETC2_sRGB8_texture" 
     "GL_OES_compressed_ETC2_RGB8_texture" 
     "GL_OES_mapbuffer" 
     "GL_EXT_map_buffer_range" 
     "GL_EXT_texture_compression_dxt1" 
     "GL_EXT_frag_depth" 
     "GL_EXT_robustness" 
     "GL_ANGLE_multi_draw" 
     "GL_EXT_draw_buffers_indexed" 
     "GL_OES_standard_derivatives" 
     "GL_NV_pixel_buffer_object" 
     "GL_CHROMIUM_copy_compressed_texture" 
     "GL_OES_texture_stencil8" 
     "GL_ANGLE_pack_reverse_row_order" 
     "GL_EXT_texture_compression_s3tc_srgb" 
     "GL_OES_compressed_EAC_R11_unsigned_texture" 
     "GL_EXT_multi_draw_indirect" 
     "GL_EXT_texture_storage" 
     "GL_OES_vertex_array_object" 
     "GL_ANGLE_get_serialized_context_string" 
     "GL_ANGLE_texture_compression_dxt5" 
     "GL_EXT_multisampled_render_to_texture" 
     "GL_EXT_sRGB" 
     "GL_OES_compressed_ETC2_RGBA8_texture" 
     "GL_ANGLE_request_extension" 
     "GL_EXT_texture_rg" 
     "GL_AMD_performance_monitor" 
     "GL_ANGLE_texture_usage" 
     "GL_ANGLE_program_cache_control" 
     "GL_ANGLE_memory_size" 
     "GL_OES_draw_elements_base_vertex" 
     "GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture" 
     "GL_OVR_multiview" 
     "GL_OES_fbo_render_mipmap" 
     "GL_EXT_color_buffer_half_float" 
     "GL_OES_get_program_binary" 
     "GL_EXT_EGL_image_external_wrap_modes" 
     "GL_EXT_draw_elements_base_vertex" 
     "GL_EXT_unpack_subimage" 
     "GL_EXT_texture_type_2_10_10_10_REV" 
     "GL_ANGLE_copy_texture_3d" 
     "GL_WEBGL_video_texture" 
     "GL_ANGLE_base_vertex_base_instance_shader_builtin" 
     "GL_NV_pack_subimage" 
     "GL_OES_depth32" 
     "GL_EXT_blend_minmax" 
     "GL_EXT_clip_control" 
     "GL_OES_compressed_EAC_RG11_signed_texture" 
     "GL_EXT_debug_marker" 
     "GL_KHR_debug" 
     "GL_EXT_instanced_arrays" 
     "GL_OES_EGL_image_external" 
     "GL_EXT_draw_buffers" 
     "GL_OVR_multiview2" 
     "GL_EXT_debug_label" 
     "GL_OES_depth24" 
     "GL_EXT_discard_framebuffer" 
     "GL_EXT_shader_texture_lod" 
     "GL_EXT_texture_compression_rgtc" 
     "GL_OES_element_index_uint" 
     "GL_ANGLE_multiview_multisample" 
     "GL_ANGLE_texture_multisample" 
     "GL_EXT_texture_format_BGRA8888" 
     "GL_OES_compressed_EAC_R11_signed_texture" 
     "GL_OES_rgb8_rgba8" 
     "GL_CHROMIUM_lose_context" 
     "GL_NV_fence" 
     "GL_OES_texture_half_float" 
     "GL_ANGLE_lossy_etc_decode" 
     "GL_OES_texture_half_float_linear" 
     "GL_CHROMIUM_copy_texture" 
     "" 
     "GL_ANGLE_texture_compression_dxt3" 
     "GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture" 
     "GL_OES_draw_buffers_indexed" 
     "GL_EXT_blend_func_extended" 
     "GL_EXT_float_blend" 
     "GL_EXT_texture_compression_bptc" 
     "GL_EXT_read_format_bgra" 
     "GL_ANGLE_framebuffer_blit" 
     "GL_ANGLE_depth_texture" 
     "GL_OES_compressed_EAC_RG11_unsigned_texture" 
     "GL_CHROMIUM_bind_uniform_location" 
     "GL_KHR_parallel_shader_compile" 
     "GL_EXT_texture_norm16" 
     "GL_EXT_color_buffer_float" 
     "GL_OES_texture_npot" 
     "GL_EXT_disjoint_timer_query" 
     "GL_OES_texture_float" 
     "GL_ANGLE_client_arrays" 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: true 

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: auto
  Memory: 7886 Mb
  Number of Cores: 8
  Swap Location: C:/Users/emman/AppData/Local/Temp
  Built for: sse2
  Base instruction set: sse2
  Supported instruction sets: 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: C:/Users/emman/AppData/Local/Temp
  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: 
  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: \\.\DISPLAY1
                Depth: 32
                Scale: 1
                Physical DPI141.951
                Logical DPI120
                Physical Size: 344, 193
                Position: 0, 0
                Resolution in pixels: 1920x1080
                Manufacturer: 
                Model: 
                Refresh Rate: 60


---------------------
 31 Dec 2022 15:02:37 +0000. Executing C:\Program Files\Krita
(x64)\bin\krita.exe


================================================================================

SSESSION: 23 Jan 2023 15:16:01 +0000. Executing C:\Program Files\Krita
(x64)\bin\krita.exe

Krita Version: 5.1.5, Qt version compiled: 5.12.12, loaded: 5.12.12. Process
ID: 17736
-- -- -- -- -- -- -- --
23 Jan 2023 15:16:01 +0000: Style: fusion. Available styles: windowsvista,
Windows, Fusion
23 Jan 2023 15:16:02 +0000: Database is up to date. Version: 0.0.17, created by
Krita 5.1.4, at Sat Dec 31 15:02:37 2022
23 Jan 2023 15:16:02 +0000: Non-store package - creating updater
23 Jan 2023 15:18:05 +0000: CLOSING SESSION
================================================================================




SESSION: 23 Jan 2023 15:18:07 +0000. Executing C:\Program Files\Krita
(x64)\bin\krita.exe

Krita Version: 5.1.5, Qt version compiled: 5.12.12, loaded: 5.12.12. Process
ID: 18408
-- -- -- -- -- -- -- --
23 Jan 2023 15:18:07 +0000: Style: fusion. Available styles: windowsvista,
Windows, Fusion
23 Jan 2023 15:18:08 +0000: Database is up to date. Version: 0.0.17, created by
Krita 5.1.4, at Sat Dec 31 15:02:37 2022
23 Jan 2023 15:18:08 +0000: Non-store package - creating updater
23 Jan 2023 15:19:25 +0000: Importing image/vnd.adobe.photoshop to
application/x-krita. Location: C:/Users/emman/Desktop/6.psd. Real location:
C:/Users/emman/Desktop/6.psd. Batchmode: 0
23 Jan 2023 15:19:25 +0000: SAFE ASSERT (krita):
"!localResources.contains(KoResourceSP())" in file
C:/Packaging/workspace/Krita_Release_Windows64_Build/krita/libs/resources/KisLocalStrokeResources.cpp,
line 79
================================================================================



SESSION: 23 Jan 2023 15:19:29 +0000. Executing C:\Program Files\Krita
(x64)\bin\krita.exe

Krita Version: 5.1.5, Qt version compiled: 5.12.12, loaded: 5.12.12. Process
ID: 3080
-- -- -- -- -- -- -- --
23 Jan 2023 15:19:29 +0000: Style: fusion. Available styles: windowsvista,
Windows, Fusion
23 Jan 2023 15:19:30 +0000: Database is up to date. Version: 0.0.17, created by
Krita 5.1.4, at Sat Dec 31 15:02:37 2022
23 Jan 2023 15:19:30 +0000: Non-store package - creating updater
23 Jan 2023 15:26:47 +0000: CLOSING SESSION
================================================================================




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

Error occurred on Saturday, January 21, 2023 at 21:09:10.

krita.exe caused an Access Violation at location 00007FFE50C844B0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Saturday, January 21, 2023 at 21:09:22.

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

Error occurred on Saturday, January 21, 2023 at 21:10:08.

krita.exe caused an Access Violation at location 00007FFE50C844B0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Saturday, January 21, 2023 at 21:17:09.

krita.exe caused an Access Violation at location 00007FFE457648A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFE457648A0 000002B3BC946050 00007FFE4F380D47 000002B3C0778508 
libkritapigment.dll!KoPattern::hasAlpha+0x0
00007FFE4F4487BB 0000000000000000 0000000000000000 0000000000000000 
libkritaimage.dll!KisLsUtils::fillOverlayDevice+0x14b
00007FFE4F437AE9 000000BE38CFF420 00007FFE4F4335CD 000002B3B9D7AF51 
libkritaimage.dll!KisLsStrokeFilter::applyStroke+0x849
00007FFE4F437F49 000000BE38CFF628 00007FFE4F4278DE 0000000000000000 
libkritaimage.dll!KisLsStrokeFilter::processDirectly+0xb9
00007FFE4F41D22E 00007FFE4F53B9F0 000002B3C076F2A0 0000000000000000 
libkritaimage.dll!KisLayerStyleFilterProjectionPlane::recalculate+0xae
00007FFE4F4232D5 0000000000000000 00007FFEA334D87A 000002B3A87802E4 
libkritaimage.dll!KisLayerStyleProjectionPlane::recalculate+0x2a5
00007FFE4F2758D9 00007FFE4DB6B038 000002B3BA0419E0 0000000000000000 
libkritaimage.dll!KisAsyncMerger::startMerge+0x4d9
-------------------

Error occurred on Saturday, January 21, 2023 at 21:32:05.

krita.exe caused an Access Violation at location 00007FFE435548A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFE435548A0 000001D69ADFE7E0 00007FFE4D310D47 000001D69B14EA98 
libkritapigment.dll-------------------

Error occurred on Saturday, January 21, 2023 at 21:32:35.

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

Error occurred on Monday, January 23, 2023 at 14:48:12.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:48:30.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:48:54.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:51:08.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFEA85348A0 0000020E87DC5660 00007FFE920E0D47 0000020EF67BFEF8 
libkritapigment.dll-------------------

Error occurred on Monday, January 23, 2023 at 14:54:02.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:56:11.

krita.exe caused an Access Violation at location 00007FFE503448A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 15:12:48.

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

Error occurred on Monday, January 23, 2023 at 15:19:25.

krita.exe caused an Access Violation at location 00007FFE91B848A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params

//////////////////

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

Error occurred on Saturday, January 21, 2023 at 21:09:10.

krita.exe caused an Access Violation at location 00007FFE50C844B0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Saturday, January 21, 2023 at 21:09:22.

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

Error occurred on Saturday, January 21, 2023 at 21:10:08.

krita.exe caused an Access Violation at location 00007FFE50C844B0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Saturday, January 21, 2023 at 21:17:09.

krita.exe caused an Access Violation at location 00007FFE457648A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFE457648A0 000002B3BC946050 00007FFE4F380D47 000002B3C0778508 
libkritapigment.dll!KoPattern::hasAlpha+0x0
00007FFE4F4487BB 0000000000000000 0000000000000000 0000000000000000 
libkritaimage.dll!KisLsUtils::fillOverlayDevice+0x14b
00007FFE4F437AE9 000000BE38CFF420 00007FFE4F4335CD 000002B3B9D7AF51 
libkritaimage.dll!KisLsStrokeFilter::applyStroke+0x849
00007FFE4F437F49 000000BE38CFF628 00007FFE4F4278DE 0000000000000000 
libkritaimage.dll!KisLsStrokeFilter::processDirectly+0xb9
00007FFE4F41D22E 00007FFE4F53B9F0 000002B3C076F2A0 0000000000000000 
libkritaimage.dll!KisLayerStyleFilterProjectionPlane::recalculate+0xae
00007FFE4F4232D5 0000000000000000 00007FFEA334D87A 000002B3A87802E4 
libkritaimage.dll!KisLayerStyleProjectionPlane::recalculate+0x2a5
00007FFE4F2758D9 00007FFE4DB6B038 000002B3BA0419E0 0000000000000000 
libkritaimage.dll!KisAsyncMerger::startMerge+0x4d9
-------------------

Error occurred on Saturday, January 21, 2023 at 21:32:05.

krita.exe caused an Access Violation at location 00007FFE435548A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFE435548A0 000001D69ADFE7E0 00007FFE4D310D47 000001D69B14EA98 
libkritapigment.dll-------------------

Error occurred on Saturday, January 21, 2023 at 21:32:35.

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

Error occurred on Monday, January 23, 2023 at 14:48:12.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:48:30.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:48:54.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:51:08.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
00007FFEA85348A0 0000020E87DC5660 00007FFE920E0D47 0000020EF67BFEF8 
libkritapigment.dll-------------------

Error occurred on Monday, January 23, 2023 at 14:54:02.

krita.exe caused an Access Violation at location 00007FFEA85348A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 14:56:11.

krita.exe caused an Access Violation at location 00007FFE503448A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params
-------------------

Error occurred on Monday, January 23, 2023 at 15:12:48.

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

Error occurred on Monday, January 23, 2023 at 15:19:25.

krita.exe caused an Access Violation at location 00007FFE91B848A0 in module
libkritapigment.dll Reading from location 0000000000000030.

AddrPC           Params

ADDITIONAL INFO:

Please note I sanitized the log file because it contains data I don't want to
be shared.
Initially the psd file crashing Krita is not on the desktop, I shortened the
path moving it to desktop and issue remains.
If you need a specific action plan to be actionned with step by step
instructions, please supply it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to