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

            Bug ID: 411536
           Summary: Weird resize crash only when specific values are used
           Product: krita
           Version: git master
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Resize/Scale Image/Layer
          Assignee: krita-bugs-n...@kde.org
          Reporter: storm.ant...@gmail.com
  Target Milestone: ---

I can crash Krita with 100% consistency using canvas resize and image rescale
with specific values, but when I use slightly different values, it doesn't
crash. More interestingly, I can reproduce in both master, and the 4.2 Alpha
appimage.


STEPS TO REPRODUCE
1. Open the template file:
https://www.dropbox.com/s/25s09dsxqm67gxs/1.41%5B%E2%88%9A2%5D%7C420x297mm%22A3%22%5B4962x3509px%5D.kra?dl=0
2. Resize canvas (constraint proportion UN-ticked) to 410 * 287 mm
3. Scale image (constraint proportions and adjust print separately are
UN-ticked) to 584 *  410 mm

OBSERVED RESULT
Krita crashes promptly


Krita

 Version: 4.3.0-prealpha (git e96181d)
 Languages: en_US
 Hidpi: false

Qt

  Version (compiled): 5.13.0
  Version (loaded): 5.13.0

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.2.11-arch1-1-ARCH
  Pretty Productname: Arch Linux
  Product Type: arch
  Product Version: unknown


Hardware Information

  GPU Acceleration: auto
  Memory: 16006 Mb
  Number of Cores: 8
  Swap Location: /tmp

02 Sep 2019 19:41:06 +0200: Importing application/x-krita to
application/x-krita. Location: /home/storm/.local/share/krita/templates/Art
Templates by Storm/.source/1.41[√2]|420x297mm"A3"[4962x3509px].kra. Real
location: /home/storm/.local/share/krita/templates/Art Templates by
Storm/.source/1.41[√2]|420x297mm"A3"[4962x3509px].kra. Batchmode: 0
02 Sep 2019 19:41:07 +0200: Instant Preview Setting: 0
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Enabled stabilizer.
02 Sep 2019 19:41:07 +0200: Instant Preview Setting: 0
02 Sep 2019 19:41:10 +0200: Instant Preview Setting: 0
02 Sep 2019 19:42:22 +0200: ASSERT (krita): "row < 0x7FFF && col < 0x7FFF" in
file
/home/storm/misc/git-repos/krita/master/libs/image/tiles3/kis_tile_hash_table2.h,
line 133
OpenGL Info

  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 435.21" 
  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 
== log ==
 Supported renderers: QFlags(0x2|0x4) 
Surface format preference list: 
* 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) 
    2 
* 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) 
    4 
Probing format... QSurfaceFormat::DefaultColorSpace 2 
Found 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) 
    2 

== end log ==

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

Reply via email to