Bug 414074

Summary: Everything breaks when I run SDL2-based applications
Product: [Plasma] plasmashell Reporter: dante.j.falzone
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.12.9   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dante.j.falzone 2019-11-12 20:07:55 UTC
Application: plasmashell (5.12.9)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 5.0.0-32-generic x86_64
Distribution: Ubuntu 18.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was running a program the I wrote in C, whose source can be found at https://github.com/DanteFalzone0/physics. The same thing happens if I run any of the C++ programs in https://github.com/DanteFalzone0/djf-3d.

- Unusual behavior I noticed:
The titlebars on all windows disappear and windows can no longer be dragged or resized. The crash occurs when I attempt to xkill the windows. Aside from this behaviour the programs all appear to work normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd360422800 (LWP 1081))]

Thread 8 (Thread 0x7fd28d53c700 (LWP 1205)):
#0  0x00007ffcbc9da66f in  ()
#1  0x00007fd359a06ea6 in __GI___clock_gettime (clock_id=1, tp=0x7fd28d53bad0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd35a3332b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd35a331ae9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd35a3320c5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd35a33370e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd354552b28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd3545534fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd35a33399b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd35a0f723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd28fe98747 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#13 0x00007fd35a0fc17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd35927d6db in start_thread (arg=0x7fd28d53c700) at pthread_create.c:463
#15 0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fd2a1ba5700 (LWP 1192)):
#0  0x00007ffcbc9da66f in  ()
#1  0x00007fd359a06ea6 in __GI___clock_gettime (clock_id=1, tp=0x7fd2a1ba4aa0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd35a3332b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd35a331ae9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd35a3320c5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd35a33370e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd354552b28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd3545534fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd35a33399b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd35a0f723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd35de032a6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fd35a0fc17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd35927d6db in start_thread (arg=0x7fd2a1ba5700) at pthread_create.c:463
#15 0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fd2aeb08700 (LWP 1185)):
#0  0x00007fd3592839f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5563771318ac) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fd3592839f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x556377131858, cond=0x556377131880) at pthread_cond_wait.c:502
#2  0x00007fd3592839f3 in __pthread_cond_wait (cond=0x556377131880, mutex=0x556377131858) at pthread_cond_wait.c:655
#3  0x00007fd2af5992cb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fd2af598ff7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fd35927d6db in start_thread (arg=0x7fd2aeb08700) at pthread_create.c:463
#6  0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fd339fa2700 (LWP 1171)):
#0  0x00007fd3592839f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fd35fdd8fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fd3592839f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fd35fdd8f68, cond=0x7fd35fdd8f90) at pthread_cond_wait.c:502
#2  0x00007fd3592839f3 in __pthread_cond_wait (cond=0x7fd35fdd8f90, mutex=0x7fd35fdd8f68) at pthread_cond_wait.c:655
#3  0x00007fd35fae25f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fd35fae2639 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fd35927d6db in start_thread (arg=0x7fd339fa2700) at pthread_create.c:463
#6  0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fd33bfff700 (LWP 1134)):
#0  0x00007fd3598f7f20 in __GI___errno_location () at errno-loc.c:26
#1  0x00007fd3545535d1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd35a33399b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd35a0f723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd35d2696f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd35a0fc17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd35927d6db in start_thread (arg=0x7fd33bfff700) at pthread_create.c:463
#9  0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fd342123700 (LWP 1130)):
#0  0x00007ffcbc9da66f in  ()
#1  0x00007fd359a06ea6 in __GI___clock_gettime (clock_id=1, tp=0x7fd342122af0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd35a3332b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd35a331ae9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd35a3320c5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd35a33370e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd354552b28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd3545534fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd35a33399b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd35a0f723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd35d2696f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fd35a0fc17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd35927d6db in start_thread (arg=0x7fd342123700) at pthread_create.c:463
#15 0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fd343b68700 (LWP 1104)):
#0  0x00007ffcbc9da66f in  ()
#1  0x00007fd359a06ea6 in __GI___clock_gettime (clock_id=1, tp=0x7fd343b67ae0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd35a3332b1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fd35a331ae9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd35a3320c5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd35a33370e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd354552b28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fd3545534fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd35a33399b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fd35a0f723a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fd35a7b0d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#13 0x00007fd35a0fc17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd35927d6db in start_thread (arg=0x7fd343b68700) at pthread_create.c:463
#15 0x00007fd3599f788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fd360422800 (LWP 1081)):
[KCrash Handler]
#6  0x00007fd34cb10aa9 in QXcbConnection::getSelectionOwner(unsigned int) const () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007fd34cb0c88b in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fd35df32a13 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007fd35df3b44e in QQuickTextEdit::q_canPasteChanged() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fd35df3f535 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fd35df40475 in QQuickTextEdit::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fd35d1bf78e in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fd35a309709 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd35ab34329 in QClipboard::emitChanged(QClipboard::Mode) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007fd34cb0da45 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007fd34cb13ca0 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007fd34cb147ec in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007fd35a30a1b2 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fd35b2e283c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fd35b2ea104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fd35a2da9c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fd35a2dd13d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fd35a334353 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fd354553417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fd354553650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fd3545536dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fd35a33397f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fd35a2d89fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fd35a2e1aa4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x0000556375cf9d6a in  ()
#31 0x00007fd3598f7b97 in __libc_start_main (main=0x556375cf9390, argc=1, argv=0x7ffcbc99e118, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcbc99e108) at ../csu/libc-start.c:310
#32 0x0000556375cfa10a in _start ()

Reported using DrKonqi
Comment 1 Marco Martin 2020-05-21 11:11:43 UTC

*** This bug has been marked as a duplicate of bug 421845 ***