Bug 414638 - transform tool near instantly crashes krita
Summary: transform tool near instantly crashes krita
Status: RESOLVED DUPLICATE of bug 414672
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 4.2.8
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 21:28 UTC by Brendan
Modified: 2019-11-30 19:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan 2019-11-28 21:28:39 UTC
SUMMARY
when i press on the transorm tool or use ctrl+t, krita crashes. sometimes it works fine for a minute or two before crashing, in one case crashing because i switched from it to the brush tool.

STEPS TO REPRODUCE
1. open krita
2. open or create a canvas
3. use the transform tool

SOFTWARE/OS VERSIONS
Linux (x86_64) release 5.3.13-arch1-1

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 28 Nov 2019 13:49:07 -0600. Executing krita

WARNING: This file contains information about your system and the
images you have been working with.

If you have problems with Krita, the Krita developers might ask
you to share this file with them. The information in this file is
not shared automatically with the Krita developers in any way. You
can disable logging to this file in Krita's Configure Krita Dialog.

Please review the contents of this file before sharing this file with
anyone.

Krita

 Version: 4.2.8
 Languages: C
 Hidpi: true

Qt

  Version (compiled): 5.13.2
  Version (loaded): 5.13.2

OS Information

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

OpenGL Info
 
  Vendor:  "X.Org" 
  Renderer:  "Radeon RX 560 Series (POLARIS11, DRM 3.33.0, 5.3.13-arch1-1, LLVM 9.0.0)" 
  Version:  "4.5 (Compatibility Profile) Mesa 19.2.6" 
  Shading language:  "4.50" 
  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.5, 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.5
     Supports deprecated functions true 
     is OpenGL ES: false 

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

Hardware Information

  GPU Acceleration: auto
  Memory: 7892 Mb
  Number of Cores: 4
  Swap Location: /tmp

Current Settings

	Current Swap Location: /tmp
	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


28 Nov 2019 13:49:24 -0600: CLOSING SESSION
Comment 1 reza arifandie 2019-11-30 11:05:16 UTC
Email address: rezaarifandee@gmail.com

I confirm this bug, but i can reproduce it everytime by using transform tool (either by pressing ctrl+t or clicking the transform tool's icon on the toolbar) and then pressing esc.

When i ran krita from terminal, i got error message below as the last meaningful message from krita. Seems like it got to do with Boost. Searching a bit i found that inkscape suffer from this too last year. Here is the link:

https://bugs.launchpad.net/inkscape/+bug/1780911


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

krita: /usr/include/boost/optional/optional.hpp:1207: boost::optional<T>::reference_type boost::optional<T>::get() [with T = ToolTransformArgs; boost::optional<T>::reference_type = ToolTransformArgs&]: Assertion `this->is_initialized()' failed.
Aborted (core dumped)

=============================================================================
Comment 2 Tiar 2019-11-30 19:21:50 UTC

*** This bug has been marked as a duplicate of bug 414672 ***