[konsole] [Bug 439634] New: Segfault on launch/invalid memory access
Martin Sandsmark
bugzilla_noreply at kde.org
Thu Jul 8 10:38:22 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439634
Bug ID: 439634
Summary: Segfault on launch/invalid memory access
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: martin.sandsmark at kde.org
Target Milestone: ---
Only seems to trigger with ASAN enabled, might be because it is trying to use
uninitialized memory and ASAN zeroes out memory AFAIK:
==447177==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000068 (pc
0x55ddebab2a31 bp 0x7ffcd73eeca0 sp 0x7ffcd73eec90 T0)
==447177==The signal is caused by a READ memory access.
==447177==Hint: address points to the zero page.
#0 0x55ddebab2a31 in Konsole::TerminalDisplay::lines() const
../src/terminalDisplay/TerminalDisplay.h:174
#1 0x55ddebab1664 in Konsole::TerminalScrollBar::setScroll(int, int)
../src/terminalDisplay/TerminalScrollBar.cpp:57
#2 0x55ddeba6a4fd in Konsole::TerminalDisplay::updateImage()
../src/terminalDisplay/TerminalDisplay.cpp:526
#3 0x55ddebaa0f02 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::TerminalDisplay::*)()>::call(void
(Konsole::TerminalDisplay::*)(), Konsole::TerminalDisplay*, void**)
/usr/include/qt/QtCore/qobjectdefs_impl.h:152
#4 0x55ddeba9fee9 in void QtPrivate::FunctionPointer<void
(Konsole::TerminalDisplay::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::TerminalDisplay::*)(), Konsole::TerminalDisplay*, void**)
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#5 0x55ddeba9dc51 in QtPrivate::QSlotObject<void
(Konsole::TerminalDisplay::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#6 0x7fd3a2f9275a (/usr/lib/libQt5Core.so.5+0x2f075a)
#7 0x55ddeb8eeede in Konsole::ScreenWindow::outputChanged()
src/konsoleprivate_autogen/EWIEGA46WW/moc_ScreenWindow.cpp:186
#8 0x55ddeb9810c4 in Konsole::ScreenWindow::notifyOutputChanged()
../src/ScreenWindow.cpp:331
#9 0x55ddeb929ea5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::ScreenWindow::*)()>::call(void
(Konsole::ScreenWindow::*)(), Konsole::ScreenWindow*, void**)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e5ea5)
#10 0x55ddeb92950d in void QtPrivate::FunctionPointer<void
(Konsole::ScreenWindow::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::ScreenWindow::*)(), Konsole::ScreenWindow*, void**)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e550d)
#11 0x55ddeb928661 in QtPrivate::QSlotObject<void
(Konsole::ScreenWindow::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e4661)
#12 0x7fd3a2f9275a (/usr/lib/libQt5Core.so.5+0x2f075a)
#13 0x55ddeb8eb0f8 in Konsole::Emulation::outputChanged()
src/konsoleprivate_autogen/EWIEGA46WW/moc_Emulation.cpp:530
#14 0x55ddeb925141 in Konsole::Emulation::showBulk()
../src/Emulation.cpp:268
#15 0x55ddeb9298e7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Konsole::Emulation::*)()>::call(void
(Konsole::Emulation::*)(), Konsole::Emulation*, void**)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e58e7)
#16 0x55ddeb92942a in void QtPrivate::FunctionPointer<void
(Konsole::Emulation::*)()>::call<QtPrivate::List<>, void>(void
(Konsole::Emulation::*)(), Konsole::Emulation*, void**)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e542a)
#17 0x55ddeb927fdb in QtPrivate::QSlotObject<void
(Konsole::Emulation::*)(), QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(/home/sandsmark/src/konsole/build/bin/konsole+0x2e3fdb)
#18 0x7fd3a2f9275a (/usr/lib/libQt5Core.so.5+0x2f075a)
#19 0x7fd3a2f9672a in QTimer::timeout(QTimer::QPrivateSignal)
(/usr/lib/libQt5Core.so.5+0x2f472a)
#20 0x7fd3a2f8841e in QObject::event(QEvent*)
(/usr/lib/libQt5Core.so.5+0x2e641e)
#21 0x7fd3a3ad8d61 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt5Widgets.so.5+0x15ad61)
#22 0x7fd3a2f5b3a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt5Core.so.5+0x2b93a9)
#23 0x7fd3a2fb334c in QTimerInfoList::activateTimers()
(/usr/lib/libQt5Core.so.5+0x31134c)
#24 0x7fd3a2fb1828 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt5Core.so.5+0x30f828)
#25 0x7fd39a56737e (/usr/lib/libQt5XcbQpa.so.5+0x6337e)
#26 0x7fd3a2f59d1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt5Core.so.5+0x2b7d1b)
#27 0x7fd3a2f62283 in QCoreApplication::exec()
(/usr/lib/libQt5Core.so.5+0x2c0283)
#28 0x55ddeb8d6d14 in main ../src/main.cpp:220
#29 0x7fd3a2786b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
#30 0x55ddeb8d3dad in _start
(/home/sandsmark/src/konsole/build/bin/konsole+0x28fdad)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list