Summary: | Crashes when blur is unconstrained and x value is reduced to 1 while y is more than 8 | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Shrish Kumar <shrishkumar.nmims> |
Component: | Filters | Assignee: | vanyossi <ghevan> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ghevan, halla |
Priority: | NOR | ||
Version: | 4.2.8 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/5153b94529c1bcf1c460592c8f182371b1f1ca2a | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | a Krita file with only the necessary layers for reproduction of erro |
Description
Shrish Kumar
2020-01-14 11:03:31 UTC
Hi! Thanks for the report. I can confirm the issue: #0 0x00007ffff5456e39 in KisConvolutionWorkerSpatial<RepeatIteratorFactory>::loadPixelToCache(double**, unsigned char const*, int) (index=2, data=0x55556083c428 "7\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377\067\200\333\377"..., cache=0x7fff70926300, this=0x7fff70972300) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:143 #1 0x00007ffff5456e39 in KisConvolutionWorkerSpatial<RepeatIteratorFactory>::moveKernelRight(KisSharedPtr<KisRepeatVLineIteratorPixelBase<KisVLineIterator2> >&, double**) (this=this@entry=0x7fff70972300, kitSrc=..., pixelPtrCache=0x7fff70926300) at /home/boud/dev/krita/libs/image/kis_convolution_worker_spatial.h:331 #2 0x00007ffff545a5d0 in KisConvolutionWorkerSpatial<RepeatIteratorFactory>::execute(KisSharedPtr<KisConvolutionKernel>, KisSharedPtr<KisPaintDevice>, QPoint, QPoint, QSize, QRect const&) (this=0x7fff70972300, kernel=..., src=..., srcPos=..., dstPos=..., areaSize=..., dataRect=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:131 #3 0x00007ffff545381e in KisConvolutionPainter::applyMatrix(KisSharedPtr<KisConvolutionKernel>, KisSharedPtr<KisPaintDevice>, QPoint, QPoint, QSize, KisConvolutionBorderOp) (this=<optimized out>, kernel=..., src=..., srcPos=..., dstPos=..., areaSize=..., borderOp=BORDER_REPEAT) at /usr/include/c++/8/bits/atomic_base.h:295 #4 0x00007fffc39646d4 in KisBlurFilter::processImpl(KisSharedPtr<KisPaintDevice>, QRect const&, KisPinnedSharedPtr<KisFilterConfiguration>, KoUpdater*) const (this=<optimized out>, device=..., rect=..., _config=..., progressUpdater=0x7fff70918970) at /usr/include/c++/8/bits/atomic_base.h:295 #5 0x00007ffff6ac6a35 in KisFilterStrokeStrategy::doStrokeCallback(KisStrokeJobData*) (this= 0x555562a94b00, data=<optimized out>) at /usr/include/c++/8/bits/atomic_base.h:295 #6 0x00007ffff56da75c in non-virtual thunk to KisUpdateJobItem::run() () at /home/boud/dev/i-krita/lib/x86_64-linux-gnu/libkritaimage.so.19 #7 0x00007ffff322e472 in QThreadPoolThread::run() (this=0x5555620019a0) at thread/qthreadpool.cpp:99 #8 0x00007ffff322ab52 in QThreadPrivate::start(void*) (arg=0x5555620019a0) at thread/qthread_unix.cpp:360 #9 0x00007fffec4306db in start_thread (arg=0x7fff877fe700) at pthread_create.c:463 Merge request associated to this bug https://invent.kde.org/kde/krita/merge_requests/220 Git commit a07ef143f67bf5813e4c51d764207bd27f2f1930 by Boudewijn Rempt, on behalf of Ivan Yossi. Committed on 16/01/2020 at 09:01. Pushed by rempt into branch 'master'. Fix blur Filter inconsistencies Aspect ratio was sent incorrectly to MaskGenerator causing crashes and inconsisten behaviour. Also fixes Strength spinbox M +3 -5 plugins/filters/blur/kis_blur_filter.cpp M +6 -0 plugins/filters/blur/wdgblur.ui https://invent.kde.org/kde/krita/commit/a07ef143f67bf5813e4c51d764207bd27f2f1930 Git commit 5153b94529c1bcf1c460592c8f182371b1f1ca2a by Boudewijn Rempt, on behalf of Ivan Yossi. Committed on 28/01/2020 at 09:10. Pushed by rempt into branch 'krita/4.2'. Fix blur Filter inconsistencies Aspect ratio was sent incorrectly to MaskGenerator causing crashes and inconsisten behaviour. Also fixes Strength spinbox (cherry picked from commit a07ef143f67bf5813e4c51d764207bd27f2f1930) M +3 -5 plugins/filters/blur/kis_blur_filter.cpp M +6 -0 plugins/filters/blur/wdgblur.ui https://invent.kde.org/kde/krita/commit/5153b94529c1bcf1c460592c8f182371b1f1ca2a |