Bug 463022 - Segmentation fault in low disk space situations
Summary: Segmentation fault in low disk space situations
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: history (show other bugs)
Version: 21.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 22:17 UTC by Avamander
Modified: 2022-12-13 22:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avamander 2022-12-13 22:17:14 UTC
SUMMARY
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  std::__uniq_ptr_impl<Konsole::HistoryScroll, std::default_delete<Konsole::HistoryScroll> >::_M_ptr (this=0x1000000000068) at /usr/include/c++/11/bits/unique_ptr.h:173
#5  std::unique_ptr<Konsole::HistoryScroll, std::default_delete<Konsole::HistoryScroll> >::get (this=0x1000000000068) at /usr/include/c++/11/bits/unique_ptr.h:422
#6  std::unique_ptr<Konsole::HistoryScroll, std::default_delete<Konsole::HistoryScroll> >::operator-> (this=0x1000000000068) at /usr/include/c++/11/bits/unique_ptr.h:416
#7  Konsole::Screen::getHistLines (this=0x1000000000020) at ./src/Screen.cpp:1681
#8  0x00007f1582c412f5 in Konsole::ScreenWindow::fillUnusedArea (this=0x555b5acb1ab0) at ./src/ScreenWindow.cpp:79
#9  Konsole::ScreenWindow::getImage (this=0x555b5acb1ab0) at ./src/ScreenWindow.cpp:71
#10 0x00007f1582c859bb in Konsole::TerminalDisplay::updateImage (this=0x555b5a98a4e0) at ./src/terminalDisplay/TerminalDisplay.cpp:510
#11 0x00007f158194f793 in QtPrivate::QSlotObjectBase::call (a=0x7ffffdce5cd0, r=0x555b5abdffc0, this=0x555b5a85cf50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x555b5abdffc0, signal_index=7, argv=0x7ffffdce5cd0) at kernel/qobject.cpp:3886
#13 0x00007f1581948aa7 in QMetaObject::activate (sender=sender@entry=0x555b5abdffc0, m=m@entry=0x7f15829dd480 <QAbstractSlider::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffffdce5cd0) at kernel/qobject.cpp:3946
#14 0x00007f15825abaa2 in QAbstractSlider::valueChanged (this=this@entry=0x555b5abdffc0, _t1=<optimized out>, _t1@entry=1006) at .moc/moc_qabstractslider.cpp:309
#15 0x00007f15825ac22a in QAbstractSlider::setValue (this=this@entry=0x555b5abdffc0, value=1006) at widgets/qabstractslider.cpp:548
#16 0x00007f15825ac4a5 in QAbstractSlider::triggerAction (this=this@entry=0x555b5abdffc0, action=action@entry=QAbstractSlider::SliderMove) at widgets/qabstractslider.cpp:637
#17 0x00007f15825ac5fc in QAbstractSlider::setSliderPosition (this=this@entry=0x555b5abdffc0, position=<optimized out>, position@entry=1006) at widgets/qabstractslider.cpp:504
#18 0x00007f158265996d in QScrollBar::mouseMoveEvent (this=0x555b5abdffc0, e=0x7ffffdce6330) at widgets/qscrollbar.cpp:649
#19 0x00007f15824f54ee in QWidget::event (this=0x555b5abdffc0, event=0x7ffffdce6330) at kernel/qwidget.cpp:9033
#20 0x00007f15824b2713 in QApplicationPrivate::notify_helper (this=this@entry=0x555b598f1e30, receiver=receiver@entry=0x555b5abdffc0, e=e@entry=0x7ffffdce6330) at kernel/qapplication.cpp:3637
#21 0x00007f15824ba364 in QApplication::notify (this=<optimized out>, receiver=0x555b5abdffc0, e=0x7ffffdce6330) at kernel/qapplication.cpp:3081
#22 0x00007f1581917e3a in QCoreApplication::notifyInternal2 (receiver=0x555b5abdffc0, event=0x7ffffdce6330) at kernel/qcoreapplication.cpp:1064
#23 0x00007f15824b8e47 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x555b5abdffc0, event=event@entry=0x7ffffdce6330, alienWidget=alienWidget@entry=0x555b5a98a4e0, nativeWidget=0x555b59a40eb0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#24 0x00007f158250ed40 in QWidgetWindow::handleMouseEvent (this=0x555b59a6ef50, event=0x7ffffdce6600) at kernel/qwidgetwindow.cpp:683
#25 0x00007f1582511fd5 in QWidgetWindow::event (this=0x555b59a6ef50, event=0x7ffffdce6600) at kernel/qwidgetwindow.cpp:300
#26 0x00007f15824b2713 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555b59a6ef50, e=0x7ffffdce6600) at kernel/qapplication.cpp:3637
#27 0x00007f1581917e3a in QCoreApplication::notifyInternal2 (receiver=0x555b59a6ef50, event=0x7ffffdce6600) at kernel/qcoreapplication.cpp:1064
#28 0x00007f1581da9307 in QGuiApplicationPrivate::processMouseEvent (e=0x555b5b20ac60) at kernel/qguiapplication.cpp:2282
#29 0x00007f1581d7ea2c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#30 0x00007f157b7a4d6e in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#31 0x00007f157fae3d1b in g_main_dispatch (context=0x7f1574005010) at ../../../glib/gmain.c:3406
#32 g_main_context_dispatch (context=0x7f1574005010) at ../../../glib/gmain.c:4137
#33 0x00007f157fb386f8 in ?? () at ../../../glib/gmain.c:4224 from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x0000000000000000 in ?? ()
[Inferior 1 (process 1119030) detached]


STEPS TO REPRODUCE
1. Cause something to hog up a lot of disk space so that the available storage in the root partition (/home and /tmp excluded) drops near zero or zero.
2. Scroll up in history
3. Crash

OBSERVED RESULT
Konsole crashes when viewing history during low disk-space situations.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11