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

tildearrow <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1
         Resolution|BACKTRACE                   |---

--- Comment #2 from tildearrow <[email protected]> ---
I have reproduced this crash again and got a backtrace using gdb.

Backtrace of crashing thread:
```
Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0
--xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority
/run/user/1000/xauth_XwBoKY --xwayland'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (Thread 0x710c1b2ddb80 (LWP 1670))]
(gdb) 
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
#1  <signal handler called>
#2  disk_cache_has_key () at ../mesa-26.0.1/src/util/disk_cache.c:680
#3  0x0000710c11123651 in can_skip_compile () at
../mesa-26.0.1/src/compiler/glsl/glsl_parser_extras.cpp:2336
#4  0x0000710c11126684 in _mesa_glsl_compile_shader () at
../mesa-26.0.1/src/compiler/glsl/glsl_parser_extras.cpp:2411
#5  0x0000710c1104c8d5 in _mesa_compile_shader () at
../mesa-26.0.1/src/mesa/main/shaderapi.c:1273
#6  0x0000710c25020d09 in KWin::GLShader::compile
(this=this@entry=0x5b068fc8a420, program=32, shaderType=shaderType@entry=35632,
source=...)
    at /usr/src/debug/kwin/kwin-6.6.2/src/opengl/glshader.cpp:123
#7  0x0000710c25021054 in KWin::GLShader::load (this=<optimized out>,
vertexSource=..., fragmentSource=...)
    at /usr/src/debug/kwin/kwin-6.6.2/src/opengl/glshader.cpp:173
#8  0x0000710c25028518 in KWin::ShaderManager::generateCustomShader
(this=this@entry=0x5b06901c0f00, traits=..., vertexSource=..., 
    fragmentSource=...) at /usr/include/c++/15.2.1/optional:330
#9  0x0000710c250285b7 in KWin::ShaderManager::generateShader
(this=this@entry=0x5b06901c0f00, traits=..., traits@entry=...)
    at /usr/src/debug/kwin/kwin-6.6.2/src/opengl/glshadermanager.cpp:234
#10 0x0000710c25028e8f in KWin::ShaderManager::shader (this=0x5b06901c0f00,
traits=...)
    at /usr/src/debug/kwin/kwin-6.6.2/src/opengl/glshadermanager.cpp:344
#11 0x0000710c2500b040 in KWin::EglContext::checkSupported
(this=0x5b0690652d90) at
/usr/src/debug/kwin/kwin-6.6.2/src/opengl/eglcontext.cpp:492
#12 0x0000710c2500556b in KWin::EglContext::create (display=0x5b068de69070,
config=0x5b068dea8410, 
    sharedContext=sharedContext@entry=0x5b068df7c250) at
/usr/src/debug/kwin/kwin-6.6.2/src/opengl/eglcontext.cpp:45
#13 0x00005b065c8bc506 in KWin::QPA::EGLPlatformContext::create
(this=this@entry=0x5b069045edb0, format=..., 
    shareContext=shareContext@entry=0x5b068df7c250) at
/usr/src/debug/kwin/kwin-6.6.2/src/plugins/qpa/eglplatformcontext.cpp:198
#14 0x00005b065c8bcb44 in KWin::QPA::EGLPlatformContext::EGLPlatformContext
(this=0x5b069045edb0, context=0x5b068fe314b0, display=0x5b068de69070)
    at /usr/src/debug/kwin/kwin-6.6.2/src/plugins/qpa/eglplatformcontext.cpp:46
#15 KWin::QPA::Integration::createPlatformOpenGLContext (this=<optimized out>,
context=0x5b068fe314b0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/plugins/qpa/integration.cpp:170
#16 0x0000710c232adb92 in QOpenGLContext::create (this=0x5b068fe314b0) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:374
#17 0x0000710c24f8b344 in KWin::OffscreenQuickView::OffscreenQuickView
(this=<optimized out>, exportMode=<optimized out>, alpha=<optimized out>, 
    this=<optimized out>, exportMode=<optimized out>, alpha=<optimized out>)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/offscreenquickview.cpp:122
#18 0x0000710c24f97fb3 in KWin::QuickSceneView::QuickSceneView (this=<optimized
out>, effect=<optimized out>, screen=<optimized out>, 
    this=<optimized out>, effect=<optimized out>, screen=<optimized out>) at
/usr/src/debug/kwin/kwin-6.6.2/src/effect/quickeffect.cpp:96
#19 0x0000710c24f98458 in std::make_unique<KWin::QuickSceneView,
KWin::QuickSceneEffect*&, KWin::LogicalOutput*&> ()
    at /usr/include/c++/15.2.1/bits/unique_ptr.h:1084
#20 KWin::QuickSceneViewIncubator::setInitialState
(this=this@entry=0x5b0690897c10, object=0x5b0690cbedf0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/quickeffect.cpp:43
#21 0x0000710c2422ce79 in QQmlIncubatorPrivate::incubate
(this=this@entry=0x5b0691059a60, i=...)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlincubator.cpp:323
#22 0x0000710c2422d2d8 in QQmlEnginePrivate::incubate (this=0x5b068e82ecc0,
i=..., forContext=...)
    at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlincubator.cpp:53
#23 0x0000710c241e3911 in QQmlComponent::create (this=<optimized out>,
incubator=..., context=<optimized out>, context@entry=0x5b0690364d30, 
    forContext=forContext@entry=0x0) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlcomponent.cpp:1585
#24 0x0000710c24f97915 in KWin::QuickSceneEffect::addScreen
(this=this@entry=0x5b068e9b1b10, screen=0x5b068e87e3e0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/quickeffect.cpp:468
#25 0x0000710c24f9a337 in KWin::QuickSceneEffect::startInternal
(this=0x5b068e9b1b10)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/quickeffect.cpp:529
#26 0x00005b065c9091bb in operator() (__closure=<optimized out>,
status=<optimized out>)
    at
/usr/src/debug/kwin/kwin-6.6.2/src/plugins/overview/overvieweffect.cpp:54
#27 operator() (__closure=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:116
#28 QtPrivate::FunctorCallBase::call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>,
QtPrivate::List<KWin::EffectTogglableState::Status>, void,
KWin::OverviewEffect::OverviewEffect()::<lambda(KWin::EffectTogglableState::Status)>
>::call(KWin::OverviewEffect::OverviewEffect()::<lambda(KWin::EffectTogglableState::Status)>&,
void**)::<lambda()> > (args=<optimized out>, fn=...)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#29 QtPrivate::FunctorCall<std::integer_sequence<long unsigned int, 0>,
QtPrivate::List<KWin::EffectTogglableState::Status>, void,
KWin::OverviewEffect::OverviewEffect()::<lambda(KWin::EffectTogglableState::Status)>
>::call (f=..., arg=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:115
#30
QtPrivate::FunctorCallable<KWin::OverviewEffect::OverviewEffect()::<lambda(KWin::EffectTogglableState::Status)>,
KWin::EffectTogglableState::Status>::call<QtPrivate::List<KWin::EffectTogglableState::Status>,
void> (f=..., arg=<optimized out>)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:337
#31
QtPrivate::QCallableObject<KWin::OverviewEffect::OverviewEffect()::<lambda(KWin::EffectTogglableState::Status)>,
QtPrivate::List<KWin::EffectTogglableState::Status>, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized
out>, this_=<optimized out>, 
    r=<optimized out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:547
#32 0x0000710c22686f0f in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, 
    r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#33 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#34 0x0000710c24f7d24a in QMetaObject::activate<void,
KWin::EffectTogglableState::Status> (sender=0x5b068e9ffbc0, 
    mo=0x710c2557e680 <KWin::EffectTogglableState::staticMetaObject>,
local_signal_index=4, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#35 KWin::EffectTogglableState::statusChanged (this=this@entry=0x5b068e9ffbc0,
_t1=<optimized out>, 
    _t1@entry=KWin::EffectTogglableState::Status::Active) at
/usr/src/debug/kwin/build/src/kwin_autogen/include/moc_effecttogglablestate.cpp:181
#36 0x0000710c24f80f49 in KWin::EffectTogglableState::setStatus
(this=0x5b068e9ffbc0, status=KWin::EffectTogglableState::Status::Active)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/effecttogglablestate.cpp:90
#37 0x0000710c24f80f8c in KWin::EffectTogglableState::activate
(this=this@entry=0x5b068e9ffbc0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/effecttogglablestate.cpp:48
#38 0x0000710c24f80fec in KWin::EffectTogglableState::toggle
(this=0x5b068e9ffbc0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/effect/effecttogglablestate.cpp:115
#39 0x00005b065c9087ea in KWin::OverviewEffect::borderActivated
(this=<optimized out>, border=<optimized out>)
    at
/usr/src/debug/kwin/kwin-6.6.2/src/plugins/overview/overvieweffect.cpp:288
#40 0x0000710c24f5554b in KWin::Effect::qt_static_metacall (_c=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _a=0x7ffeb1c3db90)
    at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_effect.cpp:76
#41 KWin::Effect::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffeb1c3db90)
    at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_effect.cpp:71
#42 0x0000710c22630b1b in QMetaMethodInvoker::invokeImpl (self=...,
target=target@entry=0x5b068e9b1b10, connectionType=<optimized out>, 
    connectionType@entry=Qt::AutoConnection, paramCount=paramCount@entry=2,
parameters=parameters@entry=0x7ffeb1c3db90, typeNames=0x7ffeb1c3dba0, 
    metaTypes=0x7ffeb1c3dbb0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:2897
#43 0x0000710c226313fc in QMetaObject::invokeMethodImpl (obj=<optimized out>,
member=0x5b068ebfca70 "borderActivated", 
    type=type@entry=Qt::AutoConnection, paramCount=paramCount@entry=2,
parameters=parameters@entry=0x7ffeb1c3db90, 
    typeNames=typeNames@entry=0x7ffeb1c3dba0, metaTypes=0x7ffeb1c3dbb0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:1710
#44 0x0000710c250abd5b in QMetaObject::invokeMethod<bool, QMetaMethodArgument>
(c=Qt::AutoConnection, obj=<optimized out>, 
    member=<optimized out>, r=...) at /usr/include/qt6/QtCore/qobjectdefs.h:398
#45 QMetaObject::invokeMethod<bool, QMetaMethodArgument> (obj=<optimized out>,
member=<optimized out>, r=...)
    at /usr/include/qt6/QtCore/qobjectdefs.h:423
#46 KWin::Edge::handleByCallback (this=this@entry=0x5b068ee8b9a0) at
/usr/src/debug/kwin/kwin-6.6.2/src/screenedge.cpp:455
#47 0x0000710c250b3dd5 in KWin::Edge::handle (this=this@entry=0x5b068ee8b9a0,
cursorPos=...)
    at /usr/src/debug/kwin/kwin-6.6.2/src/screenedge.cpp:389
#48 0x0000710c250b3f43 in KWin::Edge::check (this=0x5b068ee8b9a0,
cursorPos=..., triggerTime=std::chrono::duration = { 28194858239us }, 
    forceNoPushBack=forceNoPushBack@entry=false) at
/usr/src/debug/kwin/kwin-6.6.2/src/screenedge.cpp:326
#49 0x0000710c250b41f2 in KWin::ScreenEdges::handlePointerMotion
(this=0x5b068e7ed820, pos=..., 
    timestamp=std::chrono::duration = { 28194858239us }) at
/usr/src/debug/kwin/kwin-6.6.2/src/screenedge.cpp:1433
#50 0x0000710c24fb2291 in KWin::ScreenEdgeInputFilter::pointerMotion
(this=<optimized out>, event=0x7ffeb1c3dda0)
    at /usr/src/debug/kwin/kwin-6.6.2/src/input.cpp:1947
#51 0x0000710c2505c383 in KWin::InputRedirection::processFilters<bool
(KWin::InputEventFilter::*)(KWin::PointerMotionEvent*),
KWin::PointerMotionEvent*> (this=<optimized out>, method=<optimized out>) at
/usr/src/debug/kwin/kwin-6.6.2/src/input.h:153
#52 KWin::PointerInputRedirection::processMotionInternal (this=0x5b068dd34e90,
pos=..., delta=..., deltaNonAccelerated=..., time=..., 
    device=0x5b068ea1cac0,
type=KWin::PointerInputRedirection::MotionType::Motion) at
/usr/src/debug/kwin/kwin-6.6.2/src/pointer_input.cpp:283
#53 0x0000710c2505d5a4 in KWin::PointerInputRedirection::processMotion
(this=<optimized out>, delta=..., deltaNonAccelerated=..., time=..., 
    device=<optimized out>) at
/usr/src/debug/kwin/kwin-6.6.2/src/pointer_input.cpp:252
#54 0x0000710c22686fd8 in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, 
    r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#55 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=<optimized out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#56 0x0000710c24eee5d9 in QMetaObject::activate<void, QPointF, QPointF,
std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice*>
(sender=<optimized out>, mo=0x710c255765a0
<KWin::InputDevice::staticMetaObject>, local_signal_index=3, ret=0x0)
    at /usr/include/qt6/QtCore/qobjectdefs.h:319
#57 KWin::InputDevice::pointerMotion (this=<optimized out>, _t1=..., _t2=...,
_t3=std::chrono::duration = { 28194858239us }, _t4=<optimized out>)
    at
/usr/src/debug/kwin/build/src/kwin_autogen/include/moc_inputdevice.cpp:737
#58 0x0000710c25230f3a in KWin::LibInput::Connection::processEvents
(this=0x5b068de43450)
    at /usr/src/debug/kwin/kwin-6.6.2/src/backends/libinput/connection.cpp:380
#59 0x0000710c22674474 in QObject::event (this=<optimized out>, e=<optimized
out>)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#60 0x0000710c23715380 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x5b068dd447e0, e=0x710bdc012150)
    at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#61 0x0000710c22619f48 in QCoreApplication::notifyInternal2
(receiver=0x5b068dd447e0, event=event@entry=0x710bdc012150)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#62 0x0000710c2261a320 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=0x710bdc012150)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#63 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x5b068d9a4730)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#64 0x0000710c227de0cd in QEventDispatcherUNIX::processEvents
(this=0x5b068d9d19c0, flags=flags@entry=...)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:440
#65 0x0000710c23445cf3 in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...)
    at
/usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:28
#66 0x0000710c22624cf6 in QEventLoop::processEvents (this=0x7ffeb1c3e430,
flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#67 QEventLoop::exec (this=0x7ffeb1c3e430, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#68 0x0000710c2261e9f1 in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#69 0x0000710c237104ea in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2575
#70 0x00005b065c8938a0 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kwin/kwin-6.6.2/src/main_wayland.cpp:641
```

Judging by disk_cache_has_key I fear this may be a Mesa bug...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to