Bug 426435 - Crash in GlxBackend::initRenderingContext()
Summary: Crash in GlxBackend::initRenderingContext()
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 427062 429383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-12 10:21 UTC by Szőts Ákos
Modified: 2022-12-31 05:25 UTC (History)
4 users (show)

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 Szőts Ákos 2020-09-12 10:21:04 UTC
Application: kwin_x11 (5.19.5)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.8.4-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

After suspend to memory compositing gets disabled. When I go to the compositor settings page, re-enable the detection, make it turn on during startup, and click on Apply, KWin reproducibly crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f31e2dee539 in __GI_abort () at abort.c:79
#6  0x00007f31e25eb16e in glx_provider_resolver () at /usr/lib64/libepoxy.so.0
#7  glx_single_resolver (provider=<optimized out>, entrypoint_offset=<optimized out>) at src/glx_generated_dispatch.c:3423
#8  0x00007f31e264ed05 in epoxy_glXCreateContextAttribsARB_resolver () at src/glx_generated_dispatch.c:4240
#9  epoxy_glXCreateContextAttribsARB_global_rewrite_ptr (dpy=0x557d88181a50, config=0x557d884ec3a0, share_context=0x0, direct=1, attrib_list=0x557d884bec00) at src/glx_generated_dispatch.c:4240
#10 0x00007f31dc0a8d63 in KWin::GlxBackend::initRenderingContext() (this=0x557d884edb10) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/plugins/platforms/x11/standalone/glxbackend.h:96
#11 KWin::GlxBackend::init() (this=<optimized out>) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/plugins/platforms/x11/standalone/glxbackend.cpp:203
#12 0x00007f31d5096b5e in KWin::SceneOpenGL::createScene(QObject*) (parent=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/plugins/scenes/opengl/scene_opengl.cpp:461
#13 0x00007f31d50a49c9 in KWin::OpenGLFactory::create(QObject*) const (this=<optimized out>, parent=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/plugins/scenes/opengl/scene_opengl.cpp:2712
#14 0x00007f31e4812833 in KWin::Compositor::setupStart() (this=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/composite.cpp:257
#15 0x00007f31e48130c5 in KWin::Compositor::setupStart() (this=this@entry=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/composite.cpp:190
#16 0x00007f31e4816a7a in KWin::X11Compositor::start() (this=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/composite.cpp:982
#17 0x00007f31e48148b3 in KWin::Compositor::reinitialize() (this=0x557d8825bcc0) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/composite.cpp:546
#18 0x00007f31e47d1be3 in KWin::CompositorDBusInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x557d882566a0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffe3eecca80) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/build/kwin_autogen/EWIEGA46WW/moc_dbusinterface.cpp:356
#19 0x00007f31e45d35d9 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:201
#20 0x00007f31e347cb61 in QObject::event(QEvent*) (this=0x557d882566a0, e=0x7f31d0012630) at kernel/qobject.cpp:1314
#21 0x00007f31e3fa80cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x557d882566a0, e=0x7f31d0012630) at kernel/qapplication.cpp:3671
#22 0x00007f31e3450c3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557d882566a0, event=0x7f31d0012630) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#23 0x00007f31e3453661 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x557d8815a580) at kernel/qcoreapplication.cpp:1815
#24 0x00007f31e34a554a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557d88239ac0, flags=...) at kernel/qeventdispatcher_unix.cpp:468
#25 0x00007f31dd7622ee in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557d88239ac0, flags=...) at qxcbeventdispatcher.cpp:60
#26 0x00007f31e344f5fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe3eecce20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#27 0x00007f31e3457860 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x0000557d87b5ff83 in main(int, char**) (argc=<optimized out>, argv=0x7ffe3eecd0a8) at /usr/src/debug/kwin5-5.19.5-1.1.x86_64/main_x11.cpp:479
[Inferior 1 (process 20972) detached]

Possible duplicates by query: bug 425869, bug 425041, bug 424911, bug 423964, bug 423951.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2021-01-13 12:24:31 UTC
*** Bug 429383 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2021-01-13 12:26:35 UTC
*** Bug 427062 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2021-01-13 12:36:44 UTC
If someone has this vaguely reliably, can they test https://bugsfiles.kde.org/attachment.cgi?id=130816 applied to kwin.

It seems to match this, and the logic in that patch is sound.
Comment 4 Nate Graham 2021-02-09 17:48:35 UTC
Similar to Bug 432570 but the backtrace is not exactly the same.
Comment 5 Justin Zobel 2022-12-01 05:22:07 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2022-12-16 05:15:03 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 7 Bug Janitor Service 2022-12-31 05:25:09 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!