Bug 455841 - "QOpenGLContext::surface() const" crash
Summary: "QOpenGLContext::surface() const" crash
Status: RESOLVED DUPLICATE of bug 454680
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.5
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 11:47 UTC by hasezoey
Modified: 2022-06-24 08:07 UTC (History)
1 user (show)

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


Attachments
gdb bt (4.50 KB, text/plain)
2022-06-23 11:47 UTC, hasezoey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hasezoey 2022-06-23 11:47:53 UTC
Created attachment 150089 [details]
gdb bt

SUMMARY
When i tried to take a screenshot with "Spectacle" in "Window under Cursor" mode, kwin_wayland had crashed before being able to select a window to screenshot


STEPS TO REPRODUCE
i have not been able to reproduce it yet

OBSERVED RESULT
kwin_wayland crash

EXPECTED RESULT
No crash (able to select window to screenshot)

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.18.5-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX Vega

ADDITIONAL INFORMATION
i am pretty sure i have seen a issue before with the same signature, but i could not find it anymore

Display config:
- 1x HDMI 1920x1080
- 1x DP 2560x1440
- 1x DP 1920x1080
Comment 1 Nate Graham 2022-06-23 13:21:48 UTC
Pasting the full text here for searchability:

#0  0x00007f13babb47d4 in QOpenGLContext::surface() const () at /usr/lib/libQt5Gui.so.5
#1  0x00007f13bc0614f1 in  () at /usr/lib/libQt5Quick.so.5
#2  0x00007f13bc061993 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f13bc0eede8 in QQuickTextNode::addGlyphs(QPointF const&, QGlyphRun const&, QColor const&, QQuickText::TextStyle, QColor const&, QSGNode*) ()
    at /usr/lib/libQt5Quick.so.5
#4  0x00007f13bc0fe401 in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f13bc0ebeb2 in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () at /usr/lib/libQt5Quick.so.5
#6  0x00007f13bc0f5904 in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () at /usr/lib/libQt5Quick.so.5
#7  0x00007f13bc0decb8 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#8  0x00007f13bc0df4c5 in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5
#9  0x00007f13bc0cfc79 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5
#10 0x00007f13bc062ff2 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007f13bc064175 in  () at /usr/lib/libQt5Quick.so.5
#12 0x00007f13bab8bc57 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#13 0x00007f132de3bc16 in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
#14 0x00007f13bb28ca7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f13ba7a0b28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007f13bab7f9d4 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
#17 0x00007f13bab5e965 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#18 0x00007f13bab5eaa1 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#19 0x00007f13bab6bc8c in QPlatformWindow::setVisible(bool) () at /usr/lib/libQt5Gui.so.5
#20 0x00007f13bab82aca in QWindowPrivate::setVisible(bool) () at /usr/lib/libQt5Gui.so.5
#21 0x00007f13bbcbce82 in  () at /usr/lib/libQt5Qml.so.5
#22 0x00007f13bbd126d5 in  () at /usr/lib/libQt5Qml.so.5
#23 0x00007f13bbd19d2e in  () at /usr/lib/libQt5Qml.so.5
#24 0x00007f13bbd19813 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /usr/lib/libQt5Qml.so.5
#25 0x00007f13bbcf756f in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#26 0x00007f13ba7d0d7d in  () at /usr/lib/libQt5Core.so.5
#27 0x000055f3c3c782b6 in  ()
#28 0x000055f3c3c7896e in  ()
#29 0x000055f3c3c79f81 in  ()
#30 0x00007f13bcb32ecf in  () at /usr/lib/libQt5DBus.so.5
#31 0x00007f13bcaf94e4 in  () at /usr/lib/libQt5DBus.so.5
#32 0x00007f13bcafa1ca in  () at /usr/lib/libQt5DBus.so.5
#33 0x00007f13bcafa20c in  () at /usr/lib/libQt5DBus.so.5
#34 0x00007f13ba7c4430 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007f13bb28ca7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f13ba7a0b28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#37 0x00007f13ba7a1623 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#38 0x00007f13ba7eab87 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x000055f3c3cc0242 in  ()
#40 0x00007f13ba7992ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007f13ba7a3dd9 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#42 0x000055f3c3bcf1a6 in  ()
#43 0x00007f13b9dab290 in __libc_start_call_main (main=main@entry=0x55f3c3bccda0, argc=argc@entry=14, argv=argv@entry=0x7ffe4252e238)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007f13b9dab34a in __libc_start_main_impl
     (main=0x55f3c3bccda0, argc=14, argv=0x7ffe4252e238, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4252e228)
    at ../csu/libc-start.c:389
#45 0x000055f3c3bd0925 in  ()
Comment 2 Vlad Zahorodnii 2022-06-24 08:04:59 UTC
*** This bug has been marked as a duplicate of bug 454680 ***
Comment 3 hasezoey 2022-06-24 08:07:10 UTC
(In reply to Vlad Zahorodnii from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 454680 ***

now that i have read bug 454680, i can confirm that i also had "Color Picker" open in the background, which i thought not related (because i had so much open)