Bug 419415 - Frequently freezes up suddenly, sometimes crashes, with no apparent cause.
Summary: Frequently freezes up suddenly, sometimes crashes, with no apparent cause.
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 4.2.9
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 13:23 UTC by Tabitha
Modified: 2020-04-02 04:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tabitha 2020-03-30 13:23:46 UTC
SUMMARY
Frequently during drawing, krita freezes up. Occasionally it returns to normal, but only to freeze again later. Eventually the program crashes, or stays stuck in a permanent freeze where I can't click anything on my laptop and have to switch it off and restart.

STEPS TO REPRODUCE
1. Start drawing. I was drawing over an image, but it was a very small sized one, so it certainly didn't take up too much memory.
2. The onscreen cursor stops working and freezes in place.
3. It might start being movable again after a bit, or the cursor might change to a constant loading symbol. Crashes are possible at any time throughout this.

OBSERVED RESULT
Program is difficult to use, and loses work if you don't deliberately save every minute. Sometimes my whole computer freezes up and the fan starts working overtime. My computer doesn't freeze up when using any other application.

EXPECTED RESULT
For the program to not freeze up and/or crash.

SOFTWARE/OS VERSIONS
macOS: 10.14.6

ADDITIONAL INFORMATION
Below is the krita log for my most recent uses of the program.

SESSION: 29 Mar 2020 18:39:44 +0800. Executing /Applications/krita.app/Contents/MacOS/krita

Krita

 Version: 4.2.5
 Languages: en_AU
 Hidpi: true

Qt

  Version (compiled): 5.12.3
  Version (loaded): 5.12.3

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


Hardware Information

  GPU Acceleration: auto
  Memory: 4096 Mb
  Number of Cores: 4
  Swap Location: /Users/TabithaCatDeeks/Library/Application Support/krita/swap

29 Mar 2020 18:45:07 +0800: Closing.

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 29 Mar 2020 19:52:22 +0800. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 4.2.9, Qt version compiled: 5.12.7, loaded: 5.12.7. Process ID: 1413
-- -- -- -- -- -- -- --
29 Mar 2020 19:52:46 +0800: CLOSING SESSION
================================================================================
SESSION: 30 Mar 2020 20:33:24 +0800. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 4.2.9, Qt version compiled: 5.12.7, loaded: 5.12.7. Process ID: 2182
-- -- -- -- -- -- -- --

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 30 Mar 2020 20:33:32 +0800. Executing /Applications/krita.app/Contents/MacOS/krita

Krita Version: 4.2.9, Qt version compiled: 5.12.7, loaded: 5.12.7. Process ID: 2191
-- -- -- -- -- -- -- --
30 Mar 2020 20:33:49 +0800: Importing application/x-krita to application/x-krita. Location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Real location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Batchmode: 0
30 Mar 2020 20:33:49 +0800: Loaded image from application/x-krita. Size: 562 * 592 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 4
30 Mar 2020 20:35:50 +0800: Saving Document /Users/TabithaCatDeeks/Downloads/rantlebone.kra as /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). 562 * 592 pixels, 4 layers.  101 frames, 24 framerate. Export configuration: No configuration
30 Mar 2020 20:35:50 +0800: Create a simple backup for /Users/TabithaCatDeeks/Downloads/rantlebone.kra in the same location as the file.
30 Mar 2020 20:35:50 +0800: Converting from application/x-krita to application/x-krita. Location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Real location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Batchmode: 0. Configuration: none
30 Mar 2020 20:35:51 +0800: Completed saving /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). Result: OK. Size: 2157788. MD5 Hash: 6a65ab64b5ac802e401c166af58a6940
30 Mar 2020 20:35:51 +0800: Saving Completed
30 Mar 2020 20:38:15 +0800: Saving Document /Users/TabithaCatDeeks/Downloads/rantlebone.kra as /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). 562 * 592 pixels, 4 layers.  101 frames, 24 framerate. Export configuration: No configuration
30 Mar 2020 20:38:15 +0800: Create a simple backup for /Users/TabithaCatDeeks/Downloads/rantlebone.kra in the same location as the file.
30 Mar 2020 20:38:15 +0800: Converting from application/x-krita to application/x-krita. Location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Real location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Batchmode: 0. Configuration: none
30 Mar 2020 20:38:16 +0800: Completed saving /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). Result: OK. Size: 2161588. MD5 Hash: 52e88203a8be526ca2398b86a28f494a
30 Mar 2020 20:38:16 +0800: Saving Completed
30 Mar 2020 20:38:31 +0800: Saving Document /Users/TabithaCatDeeks/Downloads/rantlebone.kra as /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). 562 * 592 pixels, 4 layers.  101 frames, 24 framerate. Export configuration: No configuration
30 Mar 2020 20:38:31 +0800: Create a simple backup for /Users/TabithaCatDeeks/Downloads/rantlebone.kra in the same location as the file.
30 Mar 2020 20:38:31 +0800: Converting from application/x-krita to application/x-krita. Location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Real location: /Users/TabithaCatDeeks/Downloads/rantlebone.kra. Batchmode: 0. Configuration: none
30 Mar 2020 20:38:32 +0800: Completed saving /Users/TabithaCatDeeks/Downloads/rantlebone.kra (mime: application/x-krita). Result: OK. Size: 2161588. MD5 Hash: 4904164ba7095cd1a8aea34c2e6b4759
30 Mar 2020 20:38:32 +0800: Saving Completed

KRITA DID NOT CLOSE CORRECTLY


And here is my system/OS information:

Krita

 Version: 4.2.9
 Languages: 
 Hidpi: true

Qt

  Version (compiled): 5.12.7
  Version (loaded): 5.12.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

OpenGL Info
 
  Vendor:  "Intel Inc." 
  Renderer:  "Intel(R) HD Graphics 6000" 
  Version:  "4.1 INTEL-12.10.17" 
  Shading language:  "4.10" 
  Requested format:  QSurfaceFormat(version 3.2, 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) 
     Version: 4.1
     Supports deprecated functions false 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 

Hardware Information

  GPU Acceleration: auto
  Memory: 4096 Mb
  Number of Cores: 4
  Swap Location: /Users/TabithaCatDeeks/Library/Application Support/krita/swap

Current Settings

  Current Swap Location: /Users/TabithaCatDeeks/Library/Application Support/krita/swap
  Undo Enabled: 1
  Undo Stack Limit: 30
  Use OpenGL: 1
  Use OpenGL Texture Buffer: 1
  Use AMD Vectorization Workaround: 0
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: 1
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Use Win8 Pointer Input: 0
  Use RightMiddleTabletButton Workaround: 0
  Levels of Detail Enabled: 0
  Use Zip64: 0


Display Information
Number of screens: 1
	Screen: 0
		Name: Color LCD
		Depth: 24
		Scale: 1
		Resolution in pixels: 1366x768
		Manufacturer: 
		Model: 
		Refresh Rate: 60
Comment 1 Halla Rempt 2020-04-01 14:17:03 UTC
Hi Tabitha,

Thanks for your report, and for immediately giving lots of useful information. 

Even though you only have 4gb of memory, your images are small, so that cannot be the problem. We have other users on macOS, and we hear of other macOS specific problems, I haven't heard of this one.

It looks like your mac is a 2015 macbook air, is that right?

Have you used older versions of Krita that did not hang for you? In other words, did this start happening when you updated to 4.2.9?

If you disable opengl in Krita's settings, does the problem go away?
Comment 2 Tabitha 2020-04-02 04:46:55 UTC
(In reply to Boudewijn Rempt from comment #1)
> Hi Tabitha,
> 
> Thanks for your report, and for immediately giving lots of useful
> information. 
> 
> Even though you only have 4gb of memory, your images are small, so that
> cannot be the problem. We have other users on macOS, and we hear of other
> macOS specific problems, I haven't heard of this one.
> 
> It looks like your mac is a 2015 macbook air, is that right?
>
> Yes.
> 
> Have you used older versions of Krita that did not hang for you? In other
> words, did this start happening when you updated to 4.2.9?
>
> It started to happen in 4.2.5.
> 
> If you disable opengl in Krita's settings, does the problem go away?
>
> Yes, actually. This has resolved it, and it doesn't crash any more. Thank you.