https://bugs.kde.org/show_bug.cgi?id=427866
Bug ID: 427866
Summary: Crash on loading a file with Fill Layer (crash on
pattern->name())
Product: krita
Version: 4.4.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Layer Stack
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 132474
--> https://bugs.kde.org/attachment.cgi?id=132474&action=edit
File that crashes Krita
SUMMARY
Trying to open the attached file in 4.4.0 results in a crash.
Git blame gave me this:
ef2d269778b3da7a4950183de4a1e65dcd865afd is the first bad commit
commit ef2d269778b3da7a4950183de4a1e65dcd865afd
Author: Wolthera van Hövell tot Westerflier <[email protected]>
Date: Thu May 21 13:33:50 2020 +0200
Implement transformed patterns and a rotation slider in the pattern fill
layer.
First part of a set of experiments to allow transforms on patterned areas.
:040000 040000 5944cfce5d7026d51de2dc0970791b551b97e5c0
7ff7c8e353853a778913abff443fff936298613e M libs
:040000 040000 502d300963852a678a0a0d5a051bc2184f14f27f
25563900ee7099257bb740db689fb11aeced2cbc M plugins
STEPS TO REPRODUCE
1. Open Krita.
2. Try to open the file attached to this bug report.
OBSERVED RESULT
Crash
EXPECTED RESULT
No crash
SOFTWARE/OS VERSIONS
Krita
Version: 4.3.1-alpha (git cc94dd5)
Languages: en_US, en, en_US, en, en_US, en, pl_PL, pl, pl_PL, pl
Hidpi: true
Qt
Version (compiled): 5.11.1
Version (loaded): 5.11.1
ADDITIONAL INFORMATION
Short backtrace:
Thread 34 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff967f8700 (LWP 25036)]
0x00007ffff2bdfca4 in KoResource::name() const () at
/media/tymon/Dane/Development/devsec/krita/libs/pigment/resources/KoResource.cpp:127
127 return d->name;
(gdb) bt
#0 0x00007ffff2bdfca4 in KoResource::name() const (this=0x0) at
/media/tymon/Dane/Development/devsec/krita/libs/pigment/resources/KoResource.cpp:127
#1 0x00007ffff5be8158 in KisFillPainter::fillRectNoCompose(QRect const&,
KoPattern const*, QTransform) (this=0x7fff967f7ab0, rc=..., pattern=0x0,
transform=...)
at
/media/tymon/Dane/Development/devsec/krita/libs/global/kis_shared_ptr.h:179
#2 0x00007fffcc6ad90e in
KoPatternGenerator::generate(KisProcessingInformation, QSize const&,
KisPinnedSharedPtr<KisFilterConfiguration>, KoUpdater*) const (this=<optimized
out>, dstInfo=..., size=..., config=..., progressUpdater=0x55556710a780) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:134
#3 0x00007ffff5b3ac3d in KisGeneratorStrokeStrategy::<lambda()>::operator()
(__closure=0x5555676f8740) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:119
#4 0x00007ffff5b3ac3d in std::_Function_handler<void (),
KisGeneratorStrokeStrategy::createJobsData(KisSharedPtr<KisGeneratorLayer>,
QSharedPointer<bool>, KisSharedPtr<KisGenerator>, KisSharedPtr<KisPaintDevice>,
QRegion const&,
KisPinnedSharedPtr<KisFilterConfiguration>)::{lambda()#2}>::_M_invoke(std::_Any_data
const&) (__functor=...) at /usr/include/c++/8/bits/std_function.h:297
#5 0x00007ffff5e4635c in non-virtual thunk to KisUpdateJobItem::run() () at
/media/tymon/Dane/Development/devsec/install/lib/x86_64-linux-gnu/libkritaimage.so.20
#6 0x00007ffff45cbf71 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007ffff45d3c87 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007ffff1ba3182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#9 0x00007ffff3ea0b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--
You are receiving this mail because:
You are watching all bug changes.