[konsole] [Bug 440619] paste in Konsole tab failed, then crash

Ömer Fadıl USTA bugzilla_noreply at kde.org
Mon Aug 16 01:15:50 BST 2021


https://bugs.kde.org/show_bug.cgi?id=440619

Ömer Fadıl USTA <omerusta at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |omerusta at gmail.com

--- Comment #2 from Ömer Fadıl USTA <omerusta at gmail.com> ---
not sure if it is same bug or not but just 1 minutes ago i hit this bug
(on my recent kdesrc-build 's build)

Here is the backtrace (for my bug ) 

Application: Konsole (konsole), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007fe011346d22 in raise () from /usr/lib/libc.so.6
#6  0x00007fe011330862 in abort () from /usr/lib/libc.so.6
#7  0x00007fe0118db94e in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt5Core.so.5
#8  0x00007fe0118dacd1 in qt_assert(char const*, char const*, int) () from
/usr/lib/libQt5Core.so.5
#9  0x00007fe01443a0a1 in Konsole::Screen::copyLineToStream
(this=0x5633703e5980, line=1042, start=0, count=236, decoder=0x7fffe8eb0a60,
appendNewLine=false, isBlockSelectionMode=false, options=...) at
/home/kde-dev/kde/src/utilities/konsole/src/Screen.cpp:1547
#10 0x00007fe014439c08 in Konsole::Screen::writeToStream (this=0x5633703e5980,
decoder=0x7fffe8eb0a60, startIndex=245440, endIndex=246147, options=...) at
/home/kde-dev/kde/src/utilities/konsole/src/Screen.cpp:1450
#11 0x00007fe01443a509 in Konsole::Screen::writeLinesToStream
(this=0x5633703e5980, decoder=0x7fffe8eb0a60, fromLine=1040, toLine=1042) at
/home/kde-dev/kde/src/utilities/konsole/src/Screen.cpp:1613
#12 0x00007fe01441c17e in Konsole::Emulation::writeToStream
(this=0x5633705c4ff0, decoder=0x7fffe8eb0a60, startLine=1040, endLine=1042) at
/home/kde-dev/kde/src/utilities/konsole/src/Emulation.cpp:262
#13 0x00007fe01444587f in Konsole::SearchHistoryTask::executeOnScreenWindow
(this=0x563370908930, session=..., window=...) at
/home/kde-dev/kde/src/utilities/konsole/src/SearchHistoryTask.cpp:115
#14 0x00007fe01444546b in Konsole::SearchHistoryTask::execute
(this=0x563370908930) at
/home/kde-dev/kde/src/utilities/konsole/src/SearchHistoryTask.cpp:29
#15 0x00007fe014509e7b in Konsole::SessionController::beginSearch
(this=0x563370381130, text=..., direction=Konsole::Enum::ForwardsSearch) at
/home/kde-dev/kde/src/utilities/konsole/src/session/SessionController.cpp:1491
#16 0x00007fe01450a3c5 in Konsole::SessionController::findPreviousInHistory
(this=0x563370381130) at
/home/kde-dev/kde/src/utilities/konsole/src/session/SessionController.cpp:1540
#17 0x00007fe0144d3738 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::SessionController::*)()>::call(void
(Konsole::SessionController::*)(), Konsole::SessionController*, void**)
(f=(void (Konsole::SessionController::*)(Konsole::SessionController * const))
0x7fe01450a2dc <Konsole::SessionController::findPreviousInHistory()>,
o=0x563370381130, arg=0x7fffe8eb0d40) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#18 0x00007fe0144d348b in QtPrivate::FunctionPointer<void
(Konsole::SessionController::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::SessionController::*)(), Konsole::SessionController*, void**)
(f=(void (Konsole::SessionController::*)(Konsole::SessionController * const))
0x7fe01450a2dc <Konsole::SessionController::findPreviousInHistory()>,
o=0x563370381130, arg=0x7fffe8eb0d40) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#19 0x00007fe0144d3327 in QtPrivate::QSlotObject<void
(Konsole::SessionController::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x5633705f3de0, r=0x563370381130, a=0x7fffe8eb0d40, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#20 0x00007fe011b458b5 in ?? () from /usr/lib/libQt5Core.so.5
#21 0x00007fe01440cc93 in Konsole::IncrementalSearchBar::findPreviousClicked
(this=0x5633703d1270) at
/home/kde-dev/kde/build/utilities/konsole/src/konsoleprivate_autogen/IMAN36LHMA/moc_IncrementalSearchBar.cpp:280
#22 0x00007fe0144ab10c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::IncrementalSearchBar::*)()>::call(void
(Konsole::IncrementalSearchBar::*)(), Konsole::IncrementalSearchBar*, void**)
(f=(void (Konsole::IncrementalSearchBar::*)(Konsole::IncrementalSearchBar *
const)) 0x7fe01440cc6a <Konsole::IncrementalSearchBar::findPreviousClicked()>,
o=0x5633703d1270, arg=0x7fffe8eb0f50) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#23 0x00007fe0144aada6 in QtPrivate::FunctionPointer<void
(Konsole::IncrementalSearchBar::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::IncrementalSearchBar::*)(), Konsole::IncrementalSearchBar*, void**)
(f=(void (Konsole::IncrementalSearchBar::*)(Konsole::IncrementalSearchBar *
const)) 0x7fe01440cc6a <Konsole::IncrementalSearchBar::findPreviousClicked()>,
o=0x5633703d1270, arg=0x7fffe8eb0f50) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#24 0x00007fe0144aa9d9 in QtPrivate::QSlotObject<void
(Konsole::IncrementalSearchBar::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x563370416e90, r=0x5633703d1270, a=0x7fffe8eb0f50, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#25 0x00007fe011b458b5 in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007fe012949817 in QAbstractButton::clicked(bool) () from
/usr/lib/libQt5Widgets.so.5
#27 0x00007fe012949ac0 in ?? () from /usr/lib/libQt5Widgets.so.5
#28 0x00007fe01294b758 in ?? () from /usr/lib/libQt5Widgets.so.5
#29 0x00007fe01294b989 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#30 0x00007fe012a4d5af in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libQt5Widgets.so.5
#31 0x00007fe012893fce in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#32 0x00007fe01284fff6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#33 0x00007fe012857e59 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#34 0x00007fe011b0e1aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#35 0x00007fe0128568ff in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /usr/lib/libQt5Widgets.so.5
#36 0x00007fe0128ade98 in ?? () from /usr/lib/libQt5Widgets.so.5
#37 0x00007fe0128b1215 in ?? () from /usr/lib/libQt5Widgets.so.5
#38 0x00007fe01284fff6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#39 0x00007fe011b0e1aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#40 0x00007fe011fe0c60 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt5Gui.so.5
#41 0x00007fe011fb5b15 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
#42 0x00007fe00c4ab800 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#43 0x00007fe00f43610c in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#44 0x00007fe00f489b99 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007fe00f433871 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#46 0x00007fe011b67aca in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#47 0x00007fe011b0ca5b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#48 0x00007fe011b15248 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#49 0x000056336eb6f694 in main (argc=1, argv=0x7fffe8eb1df8) at
/home/kde-dev/kde/src/utilities/konsole/src/main.cpp:220
[Inferior 1 (process 2514) detached]


In screen.cpp it was hitting this assert line :
Q_ASSERT(screenLine <= _screenLinesSize);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list