Bug 398702

Summary: Crashes when disk is full
Product: [Applications] konsole Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel
Priority: NOR Keywords: drkonqi
Version: 18.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjun AK 2018-09-16 08:48:31 UTC
Application: konsole (18.04.3)

Qt Version: 5.11.1
Frameworks Version: 5.48.0
Operating System: Linux 4.18.7-200.fc28.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Not just konsole, but all KDE apps (including drkonqi) starts crashing once my disk is full.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5be2eac940 (LWP 19585))]

Thread 10 (Thread 0x7f5bb9ffb700 (LWP 19595)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f5bba7fc700 (LWP 19594)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f5bbaffd700 (LWP 19593)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5bbb7fe700 (LWP 19592)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5bbbfff700 (LWP 19591)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5bc88e5700 (LWP 19590)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5bc9439700 (LWP 19589)):
#0  0x00007f5bed0b651c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bca415303 in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5bca41501b in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5bd17d3700 (LWP 19588)):
#0  0x00007f5bee4403e9 in poll () from /lib64/libc.so.6
#1  0x00007f5be7b32be6 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f5be7b32d10 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f5bef2f52ab in QEventDispatcherGlib::processEvents (this=0x7f5bc4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f5bef2a3b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:71
#5  0x00007f5bef10b6b6 in QThread::exec() () at thread/qthread.cpp:525
#6  0x00007f5bf4f187b9 in QDBusConnectionManager::run (this=0x7f5bf4f94060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f5bef114b4b in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5bd440a700 (LWP 19587)):
#0  0x00007f5bee4403e9 in poll () from /lib64/libc.so.6
#1  0x00007f5bec3ab04f in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f5bec3accaa in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f5bd65845a9 in QXcbEventReader::run (this=0x55ecee5d1500) at qxcbconnection.h:409
#4  0x00007f5bef114b4b in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#5  0x00007f5bed0b0594 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5bee44ae6f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5be2eac940 (LWP 19585)):
[KCrash Handler]
#6  _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f5b9e6f3000) at /usr/lib/gcc/x86_64-redhat-linux/8/include/emmintrin.h:1473
#7  qt_memfill32 (dest=<optimized out>, value=0, count=<optimized out>) at painting/qdrawhelper_sse2.cpp:272
#8  0x00007f5befac18e3 in fillRect_normalized (r=..., data=data@entry=0x55eceea38048, pe=pe@entry=0x55eceea37b60) at painting/qpaintengine_raster.cpp:1462
#9  0x00007f5befac2f2d in QRasterPaintEngine::fillRect(QRectF const&, QSpanData*) () at painting/qpaintengine_raster.cpp:1766
#10 0x00007f5befadd7e3 in QPainter::fillRect (this=this@entry=0x7ffcc3a10d08, r=..., color=...) at ../../include/QtCore/../../src/corelib/tools/qrect.h:269
#11 0x00007f5bd65a419a in QXcbBackingStore::beginPaint (this=<optimized out>, region=...) at qxcbbackingstore.cpp:770
#12 0x00007f5befa4a887 in QBackingStore::beginPaint (this=this@entry=0x55ecee776760, region=...) at ../../include/QtGui/5.11.1/QtGui/private/../../../../../src/gui/kernel/qhighdpiscaling_p.h:414
#13 0x00007f5befe47836 in QWidgetBackingStore::beginPaint (toCleanIsInTopLevelCoordinates=true, returnInfo=<synthetic pointer>, backingStore=0x55ecee776760, widget=<optimized out>, toClean=..., this=0x55ecee762d70) at kernel/qwidgetbackingstore.cpp:327
#14 QWidgetBackingStore::doSync() () at kernel/qwidgetbackingstore.cpp:1335
#15 0x00007f5befe48254 in QWidgetBackingStore::sync (this=0x55ecee762d70, exposedWidget=0x55ecee6aadd0, exposedRegion=...) at kernel/qwidgetbackingstore.cpp:1130
#16 0x00007f5befe94480 in QWidgetWindow::handleExposeEvent(QExposeEvent*) () at ../../include/QtGui/../../src/gui/kernel/qevent.h:437
#17 0x00007f5befe94da2 in QWidgetWindow::event (this=0x55ecee75e4a0, event=0x7ffcc3a113e0) at kernel/qwidgetwindow.cpp:326
#18 0x00007f5befe38475 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55ecee75e4a0, e=0x7ffcc3a113e0) at kernel/qapplication.cpp:3727
#19 0x00007f5befe3fb90 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3486
#20 0x00007f5bef2a4c36 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at kernel/qcoreapplication.cpp:1048
#21 0x00007f5bef8e7433 in QCoreApplication::sendSpontaneousEvent (event=0x7ffcc3a113e0, receiver=0x55ecee75e4a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#22 QGuiApplicationPrivate::processExposeEvent (e=0x55eceea34d40) at kernel/qguiapplication.cpp:3045
#23 0x00007f5bef8e810d in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55eceea34d40) at kernel/qguiapplication.cpp:1881
#24 0x00007f5bef8c346b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#25 0x00007f5bd66177cf in QPAEventDispatcherGlib::processEvents (this=0x55ecee63bef0, flags=...) at qeventdispatcher_glib.cpp:70
#26 0x00007f5bef2a3b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:71
#27 0x00007f5bef2abc46 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1336
#28 0x00007f5bf4c3eb9e in kdemain () from /lib64/libkdeinit5_konsole.so
#29 0x00007f5bee37411b in __libc_start_main () from /lib64/libc.so.6
#30 0x000055eced802b5a in _start ()

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2018-10-12 14:20:11 UTC
This has been reported before.  The only think Konsole could do is disable saving the scrollback if it is being written to disk.  In general if you run out of disk space, the OS is going to have issues.
Comment 2 Justin Zobel 2020-12-02 00:42:53 UTC
Thanks for the report.

As it's been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 3 Bug Janitor Service 2020-12-17 04:34:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-01 04:39:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!