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

            Bug ID: 423752
           Summary: Crash can be induced with 4.3.0 onwards after copying
                    a vector layer to another open image
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Layers/Vector
          Assignee: krita-bugs-n...@kde.org
          Reporter: ahab.greybe...@hotmail.co.uk
  Target Milestone: ---

SUMMARY
This is observed with the 4.3.0 and the Jun 30 4.3.1 alpha (git eccf4e1) and
the Jun 30 5.0.0 prealpha (git 8dccf4f) appimages.

STEPS TO REPRODUCE
1. Create a new image and add a vector layer then make a vector shape in it.
2. Create a second new image.
3. In the first image, select the vector layer and do Copy Layer
4. In the second image, do Paste Layer. (This works ok)
5. Close each of the images without saving.
6. Create a New image
[NOTE: it instantly crashes and vanishes]

OBSERVED RESULT
See Steps To Reproduce.
This only happens with vector layers or a group layer that contains a vector
layer.
It does not happen if you copy a vector object from one image to another (that
also has a vector layer).

The log has an ASSERT of the following nature:
=================================================
01 Jul 2020 17:26:41 +0100: ASSERT (krita): "this->image()" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/ui/flake/kis_shape_layer.cc,
line 260

KRITA DID NOT CLOSE CORRECTLY
================================================

Versions 4.2.8 onwards crash as noted above

Versions 4.2.0 to 4.2.7.1 show on screen Asserts of the following nature when
closing the open images without saving:
================================================
01 Jul 2020 17:43:11 +0100: SAFE ASSERT (krita):
"!sanityCheckPointer.isValid()" in file
/home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/KisDocument.cpp,
line 515
=================================================
These Asserts can be ignored and there is no crash.

EXPECTED RESULT
It doesn't crash

SOFTWARE/OS VERSIONS
Krita

 Version: 5.0.0-prealpha (git 8dccf4f)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.9
  Version (loaded): 5.12.9

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-9-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10
  Desktop: MATE

OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 440.82" 
  Shading language:  "4.60 NVIDIA" 
  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 4.6, 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) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

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

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

Reply via email to