[konsole] [Bug 463022] New: Segmentation fault in low disk space situations

Avamander bugzilla_noreply at kde.org
Tue Dec 13 22:17:14 GMT 2022


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

            Bug ID: 463022
           Summary: Segmentation fault in low disk space situations
    Classification: Applications
           Product: konsole
           Version: 21.12.3
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: history
          Assignee: konsole-devel at kde.org
          Reporter: Avamander at gmail.com
  Target Milestone: ---

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 at entry=0x555b5abdffc0, m=m at entry=0x7f15829dd480
<QAbstractSlider::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7ffffdce5cd0)
at kernel/qobject.cpp:3946
#14 0x00007f15825abaa2 in QAbstractSlider::valueChanged
(this=this at entry=0x555b5abdffc0, _t1=<optimized out>, _t1 at entry=1006) at
.moc/moc_qabstractslider.cpp:309
#15 0x00007f15825ac22a in QAbstractSlider::setValue
(this=this at entry=0x555b5abdffc0, value=1006) at widgets/qabstractslider.cpp:548
#16 0x00007f15825ac4a5 in QAbstractSlider::triggerAction
(this=this at entry=0x555b5abdffc0,
action=action at entry=QAbstractSlider::SliderMove) at
widgets/qabstractslider.cpp:637
#17 0x00007f15825ac5fc in QAbstractSlider::setSliderPosition
(this=this at entry=0x555b5abdffc0, position=<optimized out>, position at 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 at entry=0x555b598f1e30, receiver=receiver at entry=0x555b5abdffc0,
e=e at 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 at entry=0x555b5abdffc0, event=event at entry=0x7ffffdce6330,
alienWidget=alienWidget at 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 at 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

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


More information about the konsole-devel mailing list