Summary: | Crash when clicking around in the predefined brush tab. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | wolthera <griffinvalley> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dimula73, griffinvalley, halla, tamtamy.tymona |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
wolthera
2021-05-04 13:37:49 UTC
Do you remember which brush tip were you selecting/trying to select? Or at least which area? It seems to be a crash in the brush tips/dabs Pyramid (from what I can tell, at least), which is what Krita uses to paint different sizes of one brush. It says the crashing thread is thread 1, but it's actually this bit: Thread 32 (Thread 0x7f8d2498e700 (LWP 3411191)): [KCrash Handler] #4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #5 0x00007f8db7159859 in __GI_abort () at abort.c:79 #6 0x00007f8db71c43ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f8db72ee07c "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155 #7 0x00007f8db7266b4a in __GI___fortify_fail (msg=msg@entry=0x7f8db72ee064 "stack smashing detected") at fortify_fail.c:26 #8 0x00007f8db7266b16 in __stack_chk_fail () at stack_chk_fail.c:24 #9 0x00007f8db7c04c1b in () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #10 0x00007f8db7c04c4f in QImage::QImage(QSize const&, QImage::Format) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #11 0x00007f8db7c04c8d in QImage::QImage(int, int, QImage::Format) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #12 0x00007f8db7c05a22 in QImage::copy(QRect const&) const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #13 0x00007f8db70e41f3 in QImage::copy(int, int, int, int) const (h=<optimized out>, w=<optimized out>, y=-1, x=-1, this=0x7f8d2498d6f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:184 #14 KisQImagePyramid::appendPyramidLevel(QImage const&) (this=0x7f8d6c2df560, image=...) at /home/wolthera/krita/src/libs/brush/kis_qimage_pyramid.cpp:251 #15 0x00007f8db70e43c5 in KisQImagePyramid::KisQImagePyramid(QImage const&, bool) (this=0x7f8d6c2df560, baseImage=..., useSmoothingForEnlarging=true) at /home/wolthera/krita/src/libs/brush/kis_qimage_pyramid.cpp:39 And that looks like our old friend, the Qt 5.15 QImage crash that also causes the gbr test to fail. Created attachment 138392 [details]
New crash information added by DrKonqi
krita (5.0.0-prealpha (git 46469ed)) using Qt 5.15.2
- What I was doing when the application crashed:
This time the crash was caused by me messing with the merged color smudge. I assume the testing appimages up till now haven't been build with asserts enabled.
-- Backtrace (Reduced):
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5 0x00007f6a1062c859 in __GI_abort () at abort.c:79
[...]
#7 0x00007f6a10739b4a in __GI___fortify_fail (msg=msg@entry=0x7f6a107c1064 "stack smashing detected") at fortify_fail.c:26
#8 0x00007f6a10739b16 in __stack_chk_fail () at stack_chk_fail.c:24
[...]
#10 0x00007f6a110d7c4f in QImage::QImage(QSize const&, QImage::Format) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
Yes, that also looks like the QImage optimization bug in Qt 5.15 QT 5.15 TEST I suspect this one may have gotten fixed after some update to Qt 5.15, given that I haven't come across it for at the least half a year, though I'll admit I haven't painted much. The bug in particular seemed to be related to the lightness brushes, so perhaps do a drawing with those? Yeah, this crash is clearly related to a broken version of Qt. The crash doesn't seem to happen in the current master (with 5.15.7), so let's close the bug. |