Bug 485495 - MAcOS 10.13.5 - Krita 5.2.2 - 100% CRASH - Crashes during "Loading Main Window..." WORKAROUND Commented!
Summary: MAcOS 10.13.5 - Krita 5.2.2 - 100% CRASH - Crashes during "Loading Main Windo...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (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-04-13 17:50 UTC by brian.zenns
Modified: 2024-08-02 03:46 UTC (History)
2 users (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 brian.zenns 2024-04-13 17:50:27 UTC
SUMMARY - 100% Crash while Loading Main Window 

Not sure why its crashing now, but it was fine when I first launched the Krita 5.2.2 as a new user. I have completely remove all files even from {~/Library/Application Support) and reinstalled but it still persists 100% I tried setting my PRAM to no avail. All I do now is click the icon to launch and when it attempts to load main window; it crashes. Sorry I don't have a debugger installed.

Im comfused why it still wont run even after a complete uninstall/reinstall. when it was runnign fine prior.

STEPS TO REPRODUCE
1.  Click Krita Icon to launch program
2.
3. 

OBSERVED RESULT - Krita Sysinfo log / Krita log / Apple crash log
================================================================================
SESSION: 13 Apr 2024 09:42:44 -0700. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 1568
-- -- -- -- -- -- -- --
13 Apr 2024 09:42:44 -0700: Style: fusion. Available styles: macintosh, Windows, Fusion
13 Apr 2024 09:42:50 -0700: Creating database from scratch (database didn't exist, new schema version: 0.0.17).
13 Apr 2024 09:43:26 -0700: Importing image/tiff to application/x-krita. Location: /Users/home/Desktop/Art/dodle.tif. Real location: /Users/home/Desktop/Art/dodle.tif. Batchmode: 1
13 Apr 2024 09:43:27 -0700: Importing image/tiff to application/x-krita. Location: /Users/home/Desktop/Art/Poser.tif. Real location: /Users/home/Desktop/Art/Poser.tif. Batchmode: 1
13 Apr 2024 09:43:27 -0700: Loaded image from image/tiff. Size: 2480 * 3508 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 13 Apr 2024 10:06:15 -0700. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 5.2.2, Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 417
-- -- -- -- -- -- -- --
13 Apr 2024 10:06:15 -0700: Style: fusion. Available styles: macintosh, Windows, Fusion
13 Apr 2024 10:06:22 -0700: Database is up to date. Version: 0.0.17, created by Krita 5.2.2, at Sat Apr 13 09:42:50 2024
13 Apr 2024 10:06:29 -0700: Importing image/tiff to application/x-krita. Location: /Users/home/Desktop/Art/dodle.tif. Real location: /Users/home/Desktop/Art/dodle.tif. Batchmode: 1
13 Apr 2024 10:06:29 -0700: Importing image/tiff to application/x-krita. Location: /Users/home/Desktop/Art/Poser.tif. Real location: /Users/home/Desktop/Art/Poser.tif. Batchmode: 1
13 Apr 2024 10:06:30 -0700: Loaded image from image/tiff. Size: 2480 * 3508 pixels, 8.33333 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2


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: 17.7.0
  Pretty Productname: macOS High Sierra (10.13)
  Product Type: osx
  Product Version: 10.13

Locale

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

OpenGL Info
 
  Vendor:  "ATI Technologies Inc." 
  Renderer:  "ATI Radeon HD 5770 OpenGL Engine" 
  Driver version:  "4.1 ATI-1.68.25" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 10, greenBufferSize 10, blueBufferSize 10, alphaBufferSize 2, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::bt2020PQColorSpace, 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::bt2020PQColorSpace, profile  QSurfaceFormat::CoreProfile) 
  GL version: 4.1 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: false 
  forceDisableTextureBuffers: false 
  Extensions: 
     GL_NV_texture_barrier 
     GL_ARB_ES2_compatibility 
     GL_EXT_debug_marker 
     GL_ARB_transform_feedback3 
     GL_ARB_texture_buffer_object_rgb32 
     GL_ARB_vertex_type_2_10_10_10_rev 
     GL_ARB_texture_gather 
     GL_APPLE_object_purgeable 
     GL_EXT_texture_sRGB_decode 
     GL_ARB_sampler_objects 
     GL_ARB_shader_subroutine 
     GL_ARB_occlusion_query2 
     GL_ARB_transform_feedback2 
     GL_ARB_viewport_array 
     GL_ARB_separate_shader_objects 
     GL_APPLE_row_bytes 
     GL_ARB_instanced_arrays 
     GL_APPLE_container_object_shareable 
     GL_ARB_draw_buffers_blend 
     GL_ARB_draw_indirect 
     GL_ARB_sample_shading 
     GL_ARB_texture_query_lod 
     GL_ARB_shader_bit_encoding 
     GL_ARB_texture_storage 
     GL_ARB_internalformat_query 
     GL_APPLE_client_storage 
     GL_EXT_texture_filter_anisotropic 
     GL_ARB_shading_language_include 
     GL_ARB_timer_query 
     GL_APPLE_flush_render 
     GL_ARB_texture_swizzle 
     GL_APPLE_rgb_422 
     GL_EXT_debug_label 
     GL_ARB_texture_cube_map_array 
     GL_ARB_blend_func_extended 
     GL_ARB_explicit_attrib_location 
     GL_EXT_texture_mirror_clamp 
     GL_ARB_tessellation_shader 
     GL_ATI_texture_mirror_once 
     GL_EXT_texture_compression_s3tc 
     GL_ARB_gpu_shader5 
     GL_APPLE_texture_range 
     GL_ARB_texture_rgb10_a2ui 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: true 
  Detected renderers: 
    (Supported) ATI Radeon HD 5770 OpenGL Engine (4.1 ATI-1.68.25)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: desktop
  Memory: 65536 Mb
  Number of Cores: 24
  Swap Location: /private/var/folders/1b/2k9cvbz96g72h5dv_q45p15m0000gn/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/1b/2k9cvbz96g72h5dv_q45p15m0000gn/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_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: /Users/home/Library/Application Support/krita
  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


ADDITIONAL INFORMATION
Comment 1 brian.zenns 2024-04-13 18:19:56 UTC
ATI Radeon HD 5770:

  Chipset Model:	ATI Radeon HD 5770
  Type:	GPU
  Bus:	PCIe
  Slot:	Slot-1
  PCIe Lane Width:	x16
  VRAM (Dynamic, Max):	1024 MB
  Vendor:	AMD (0x1002)
  Device ID:	0x68b8
  Revision ID:	0x0000
  ROM Revision:	113-C0160C-155
  VBIOS Version:	113-C01601-103
  EFI Driver Version:	01.00.436
  Displays:
DELL U2211H:
  Resolution:	1920 x 1080 (1080p FHD - Full High Definition)
  UI Looks like:	1920 x 1080 @ 60 Hz
  Framebuffer Depth:	24-Bit Color (ARGB8888)
  Display Serial Number:	XVV5806MBF8L
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Rotation:	Supported
  Automatically Adjust Brightness:	No
  Connection Type:	DisplayPort
Comment 2 brian.zenns 2024-04-13 18:49:38 UTC
I uninstalled 5.2.2 and all Krita folders in (~/Library/Application Support) and installed 4.4.3 dmg and noticed the loading splash screen showed 5.2.2 and still crashed while loading Main Window so somewhere, somehow, its still thinks its version 5.2.2
Comment 3 brian.zenns 2024-04-13 19:28:27 UTC
WORKAROUND: 

1) Delete or move your saved Krita/tiff files of your artwork. 

REASON: Krita will look for your previous files to load during the recent files thumbnail splash screen. Somehow, one or more of those files became corrupted, so deleting them fixed the issue because there was no longer files and/or file path to find.
Comment 4 vanyossi 2024-04-13 19:32:15 UTC
could you attach or link to one of the corrupted files so we can take a look?
Comment 5 brian.zenns 2024-04-14 00:46:56 UTC
(In reply to vanyossi from comment #4)
> could you attach or link to one of the corrupted files so we can take a look?

Sorry, I deleted all the files from my Art folder.

Even after deleting my files 5.2.2 still won't successfully launch past the Loading Main Window sequence Even after ourgug the software from my system and rebooting... I was thinking maybe there is some built-in time stamp code for trial-period use; I can't explain why it still will no longer run. I didn't add anything new hardware. I did play with the vertical mode (90 degrree) and noticed Krita's cursor didn't support it very good. Howvever reverting back to horizontal mode doesn't fix the crashing while loading Main Window.

One thing important to note is Before I deleted those krita and tiff files, After removing Krita 5.2.2 and installing 4.4.3. When I launch the app the startup splash screen shows the 5.2.2 but I installed 4.4.3 So somehow those files were triggering the old splash screen and still crashing during the Main Window loading sequence.  After I deleted those krita and tiff files; the correct splash screen showed and 4.4.3 loaded correctly; however I missed some of the features in 5.2.2!
Comment 6 Bug Janitor Service 2024-04-14 03:47:57 UTC
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.
Comment 7 brian.zenns 2024-04-14 15:50:27 UTC
MORE INFO:

I can't load 5.2.2 anymore due to the crash but I do remember now at one time when I selected "New" file I did changed the color "depth" out of curiosity and vaguely remember (I could be wrong) changing it to 64-bit something and perhaps that setting is causing the crash.

Mow I know version 4.4.3 doesn't have 64-bit color depth, and perhaps version 5.2.2 doesn't either but I vaguely remember changing something to 64-bit.

Hope this might help.

From my understanding High Sierra is the only MAcOS to support 32-bit & 64-bit, and perhaps there is some residue memory not being garbage collected that causes Krita to keep old settings or files.
Comment 8 vanyossi 2024-07-02 20:07:34 UTC
If it is configuration related try to reestart krita to initial configuration https://docs.krita.org/en/KritaFAQ.html#resetting-krita-configuration, Application Support subfolder and Preferences are stored in different locations.

Does that resolve the issue?
Comment 9 Freya Lupen 2024-07-03 13:05:41 UTC
There was a bug loading .tiff recent document thumbnails on macOS, bug 487544, that was fixed for 5.2.3, could you test that version?
Comment 10 Bug Janitor Service 2024-07-18 03:46:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2024-08-02 03:46:40 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.