<div dir="auto">Yeah, that was my mistake (never code while sleepy. Waqar is helping me to fix as I am away from the computer today) </div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Nov 2021 at 11:30 ratijas <<a href="mailto:bugzilla_noreply@kde.org">bugzilla_noreply@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><a href="https://bugs.kde.org/show_bug.cgi?id=445865" rel="noreferrer" target="_blank">https://bugs.kde.org/show_bug.cgi?id=445865</a><br>
<br>
Bug ID: 445865<br>
Summary: Konsole hangs at TerminalPainter<br>
Product: konsole<br>
Version: master<br>
Platform: Other<br>
OS: Linux<br>
Status: REPORTED<br>
Severity: normal<br>
Priority: NOR<br>
Component: kpart<br>
Assignee: <a href="mailto:konsole-devel@kde.org" target="_blank">konsole-devel@kde.org</a><br>
Reporter: <a href="mailto:me@ratijas.tk" target="_blank">me@ratijas.tk</a><br>
Target Milestone: ---<br>
<br>
SUMMARY<br>
<br>
Konsole (as well as Yakuake and any other software using kpart plugin) hangs<br>
when trying to draw my quick search menu (Ctrl+R which bound to fzf, A<br>
command-line fuzzy finder). Backtrace attached at the end.<br>
<br>
STEPS TO REPRODUCE<br>
1. Open Konsole<br>
2. Run fzf<br>
<br>
OBSERVED RESULT<br>
Sometimes it hangs completely. Other times it keeps running as normal.<br>
<br>
EXPECTED RESULT<br>
Shouldn't hang up.<br>
<br>
SOFTWARE/OS VERSIONS<br>
Operating System: Arch Linux<br>
KDE Plasma Version: 5.23.80<br>
KDE Frameworks Version: 5.89.0<br>
Qt Version: 5.15.2<br>
Kernel Version: 5.15.3-arch1-1 (64-bit)<br>
Graphics Platform: X11<br>
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz<br>
Memory: 15.6 GiB of RAM<br>
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2<br>
<br>
ADDITIONAL INFORMATION<br>
<br>
(gdb) attach 5412<br>
Attaching to process 5412<br>
[New LWP 5414]<br>
[New LWP 5415]<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/usr/lib/libthread_db.so.1".<br>
0x00007f82892f77e6 in operator() (__closure=0x7ffdd9f14800, column=1) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalPainter.cpp:99<br>
99 const auto isInsideDrawArea = [&](int column) {<br>
(gdb) info threads <br>
Id Target Id Frame <br>
* 1 Thread 0x7f82818f7f40 (LWP 5412) "konsole" 0x00007f82892f77e6 in<br>
operator() (__closure=0x7ffdd9f14800, column=1) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalPainter.cpp:99<br>
2 Thread 0x7f82813ce640 (LWP 5414) "QXcbEventQueue" 0x00007f8286219b2f in<br>
poll () from /usr/lib/libc.so.6<br>
3 Thread 0x7f827bfff640 (LWP 5415) "QDBusConnection" 0x00007f8286219b2f in<br>
poll () from /usr/lib/libc.so.6<br>
(gdb) bt<br>
#0 0x00007f82892f77e6 in operator() (__closure=0x7ffdd9f14800, column=1) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalPainter.cpp:99<br>
#1 0x00007f82892f7fd5 in Konsole::TerminalPainter::drawContents<br>
(this=0x565299c1dfb0, image=0x565299c92bd0, paint=..., rect=...,<br>
printerFriendly=false, imageSize=1920, bidiEnabled=true, lineProperties=...)<br>
at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalPainter.cpp:144<br>
#2 0x00007f82892f6e69 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1,<br>
2, 3, 4, 5, 6>, QtPrivate::List<Konsole::Character*, QPainter&, QRect const&,<br>
bool, int, bool, QVector<unsigned char> >, void, void<br>
(Konsole::TerminalPainter::*)(Konsole::Character*, QPainter&, QRect const&,<br>
bool, int, bool, QVector<unsigned char>)>::call (f=<br>
(void (Konsole::TerminalPainter::*)(Konsole::TerminalPainter * const,<br>
Konsole::Character *, QPainter &, const QRect &, bool, int, bool,<br>
QVector<unsigned char>)) 0x7f82892f78b8<br>
<Konsole::TerminalPainter::drawContents(Konsole::Character*, QPainter&, QRect<br>
const&, bool, int, bool, QVector<unsigned char>)>, o=0x565299c1dfb0,<br>
arg=0x7ffdd9f14b70) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152<br>
#3 0x00007f82892f660e in QtPrivate::FunctionPointer<void<br>
(Konsole::TerminalPainter::*)(Konsole::Character*, QPainter&, QRect const&,<br>
bool, int, bool, QVector<unsigned<br>
char>)>::call<QtPrivate::List<Konsole::Character*, QPainter&, QRect const&,<br>
bool, int, bool, QVector<unsigned char> >, void> (f=<br>
(void (Konsole::TerminalPainter::*)(Konsole::TerminalPainter * const,<br>
Konsole::Character *, QPainter &, const QRect &, bool, int, bool,<br>
QVector<unsigned char>)) 0x7f82892f78b8<br>
<Konsole::TerminalPainter::drawContents(Konsole::Character*, QPainter&, QRect<br>
const&, bool, int, bool, QVector<unsigned char>)>, o=0x565299c1dfb0,<br>
arg=0x7ffdd9f14b70) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185<br>
#4 0x00007f82892f5a67 in QtPrivate::QSlotObject<void<br>
(Konsole::TerminalPainter::*)(Konsole::Character*, QPainter&, QRect const&,<br>
bool, int, bool, QVector<unsigned char>), QtPrivate::List<Konsole::Character*,<br>
QPainter&, QRect const&, bool, int, bool, QVector<unsigned char> >, void>::impl<br>
(which=1, this_=0x565299c1e030, r=0x565299c1dfb0, a=0x7ffdd9f14b70, ret=0x0) at<br>
/usr/include/qt/QtCore/qobjectdefs_impl.h:418<br>
#5 0x00007f82869577ab in ?? () from /usr/lib/libQt5Core.so.5<br>
#6 0x00007f82892406a1 in Konsole::TerminalDisplay::drawContents<br>
(this=0x565299ad4400, _t1=0x565299c92bd0, _t2=..., _t3=..., _t4=false,<br>
_t5=1920, _t6=true, _t7=...)<br>
at<br>
/home/ratijas/kde/build/kde/applications/konsole/src/konsoleprivate_autogen/DRAQINE3W2/moc_TerminalDisplay.cpp:612<br>
#7 0x00007f82892e4734 in Konsole::TerminalDisplay::paintEvent<br>
(this=0x565299ad4400, pe=0x7ffdd9f14e90) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalDisplay.cpp:727<br>
#8 0x00007f82876740be in QWidget::event(QEvent*) () from<br>
/usr/lib/libQt5Widgets.so.5<br>
#9 0x00007f82892ed87c in Konsole::TerminalDisplay::event (this=0x565299ad4400,<br>
event=0x7ffdd9f14e90) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/terminalDisplay/TerminalDisplay.cpp:2561<br>
#10 0x00007f8287630d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)<br>
() from /usr/lib/libQt5Widgets.so.5<br>
#11 0x00007f82869203fa in QCoreApplication::notifyInternal2(QObject*, QEvent*)<br>
() from /usr/lib/libQt5Core.so.5<br>
#12 0x00007f828766bcf8 in QWidgetPrivate::sendPaintEvent(QRegion const&) ()<br>
from /usr/lib/libQt5Widgets.so.5<br>
#13 0x00007f828766c55c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion<br>
const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,<br>
QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5<br>
#14 0x00007f8287642278 in ?? () from /usr/lib/libQt5Widgets.so.5<br>
#15 0x00007f8287674829 in QWidget::event(QEvent*) () from<br>
/usr/lib/libQt5Widgets.so.5<br>
#16 0x00007f8288c8c5bf in KMainWindow::event (this=0x7f827c003760,<br>
ev=0x565299c91e50) at<br>
/home/ratijas/kde/src/frameworks/kxmlgui/src/kmainwindow.cpp:936<br>
#17 0x00007f8288ce169f in KXmlGuiWindow::event (this=0x7f827c003760,<br>
ev=0x565299c91e50) at<br>
/home/ratijas/kde/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:219<br>
#18 0x00007f8287630d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*)<br>
() from /usr/lib/libQt5Widgets.so.5<br>
#19 0x00007f82869203fa in QCoreApplication::notifyInternal2(QObject*, QEvent*)<br>
() from /usr/lib/libQt5Core.so.5<br>
#20 0x00007f82869234f9 in QCoreApplicationPrivate::sendPostedEvents(QObject*,<br>
int, QThreadData*) () from /usr/lib/libQt5Core.so.5<br>
#21 0x00007f82869799f4 in ?? () from /usr/lib/libQt5Core.so.5<br>
#22 0x00007f828428eaba in g_main_context_dispatch () from<br>
/usr/lib/libglib-2.0.so.0<br>
#23 0x00007f828428f2f2 in g_main_context_iterate () from<br>
/usr/lib/libglib-2.0.so.0<br>
#24 0x00007f828428f4ae in g_main_context_iteration () from<br>
/usr/lib/libglib-2.0.so.0<br>
#25 0x00007f8286979026 in<br>
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()<br>
from /usr/lib/libQt5Core.so.5<br>
#26 0x00007f828691ed6c in<br>
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from<br>
/usr/lib/libQt5Core.so.5<br>
#27 0x00007f82869272d4 in QCoreApplication::exec() () from<br>
/usr/lib/libQt5Core.so.5<br>
#28 0x000056529784498b in main (argc=1, argv=0x7ffdd9f15b48) at<br>
/home/ratijas/kde/src/kde/applications/konsole/src/main.cpp:242<br>
<br>
-- <br>
You are receiving this mail because:<br>
You are the assignee for the bug.</blockquote></div></div>