Bug 458585 - Wayland session crashed from click on tray icon
Summary: Wayland session crashed from click on tray icon
Status: RESOLVED DUPLICATE of bug 458598
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.25.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 23:23 UTC by iodreamify
Modified: 2022-09-01 16:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (9.51 KB, text/plain)
2022-08-31 23:23 UTC, iodreamify
Details
backtrace2 (9.89 KB, text/plain)
2022-08-31 23:33 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iodreamify 2022-08-31 23:23:56 UTC
Created attachment 151745 [details]
backtrace

SUMMARY
Wayland compositor crashed (and then restarted) after taking a screenshot with spectacle, annotating it and then clicking on telegram icon in system tray. It crashed exactly after clicking on the telegram icon. I could not reproduce it again but perhaps someone can notice anything in the backtrace.

KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-2310M CPU @ 2.10GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Comment 1 iodreamify 2022-08-31 23:33:51 UTC
Created attachment 151746 [details]
backtrace2

Just had another crash except this time i was doing something else entirely and then clicked on the systray expansion arrow
Comment 2 Nate Graham 2022-09-01 16:30:49 UTC
Pasting inline for searchability:

Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  KWin::Window::output (this=0x0)
    at /usr/src/debug/kwin-5.25.4/src/window.cpp:422
422         return m_output;
[Current thread is 1 (Thread 0x7fe522408f40 (LWP 418028))]
(gdb) bt full
#0  KWin::Window::output() const (this=0x0)
    at /usr/src/debug/kwin-5.25.4/src/window.cpp:422
#1  0x00007fe5290cc47a in KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::Window const*) const (this=0x5621df1d2ad0, opt=KWin::PlacementArea, window=0x0)
    at /usr/src/debug/kwin-5.25.4/src/workspace.cpp:2304
#2  0x00007fe5290629de in KWin::WorkspaceWrapper::clientArea(KWin::WorkspaceWrapper::ClientAreaOption, KWin::Window*) const
    (c=<optimized out>, option=<optimized out>, this=0x5621df43b740)
    at /usr/src/debug/kwin-5.25.4/src/scripting/workspace_wrapper.cpp:285

                  _r = {x1 = <optimized out>, y1 = <optimized out>, x2 = <optimized out>, y2 = <optimized out>}
        _t = 0x5621df43b740
#3  KWin::WorkspaceWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
    (_o=_o@entry=0x5621df43b740, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=96, _a=_a@entry=0x7fff880b0010)
    at /usr/src/debug/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:697

                  _r = {x1 = <optimized out>, y1 = <optimized out>, x2 = <optimized out>, y2 = <optimized out>}
        _t = 0x5621df43b740
#4  0x00007fe529063e43 in KWin::WorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**)
--Type <RET> for more, q to quit, c to continue without paging--c
    (this=this@entry=0x5621df43b740, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=96, _a=_a@entry=0x7fff880b0010) at /usr/src/debug/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:963
#5  0x00007fe529063e65 in KWin::DeclarativeScriptWorkspaceWrapper::qt_metacall(QMetaObject::Call, int, void**) (this=0x5621df43b740, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff880b0010) at /usr/src/debug/build/src/kwin_autogen/include/moc_workspace_wrapper.cpp:1343
#6  0x00007fe528a76994 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7fff880b02b0, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51
#7  0x00007fe52897a96c in CallMethod (callType=<optimized out>, callArgs=0x7fff880aff60, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=<optimized out>) at /usr/include/qt/QtCore/qvarlengtharray.h:189
        args = {a = 9, s = 3, ptr = 0x7fff880b0070, {array = "\240\337)\340!V\000\000\023\000\000@\345\177\000\000\r\000\000\000\000\000\000\000p\000\v\210\377\177\000\000\377\377\377\377", '\000' <repeats 12 times>, "\b\000\000\000\000\000\000\000\270_\311'\345\177\000\000\b\000\000\000\000\000\000\000\002\000\000\000\313\f\324\336\000\000\000\000\000\000\000\000r\004\000\200\377\377\377\377\v\000\000\000\000\000\000\000\300\000\v\210\377\177\000\000\377\377\377\377\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\063\372\312&\345\177\000\000\070\001\v\210\377\177\000\000\000~gk\313\f\324\336\060\001\v\210\377\177\000\000\360\376\377\377\377\377\377\377\v\000\000\000\000\000\000\000\300\001\v\210\377\177\000\000\240\337)\340!V\000\000\000\000\000\000\000\000\000\000"..., q_for_alignment_1 = 94703494750112, q_for_alignment_2 = 4.6789743297137187e-310}}
        argData = {a = 9, s = 3, ptr = 0x7fff880b0010, {array = "\254\337)\340!V\000\000\230\000\v\210\377\177\000\000\300\000\v\210\377\177\000\000\240\001\v\210\377\177\000\000x\002\v\210\377\177\000\000\220\001\v\210\377\177\000\000(R\312\337!V\000\000\000~gk\313\f\324ް\002\v\210\377\177\000", q_for_alignment_1 = 94703494750124, q_for_alignment_2 = 4.6789743297143116e-310}}
        args = <optimized out>
        storage = {a = 9, s = 0, ptr = 0x7fff880affd0, {array = "`\265,\340!V\000\000\377\377\377\377\000\000\377\377\000\000\000\000\000\000\000\000\000~gk\313\f\324\336\060\024\330", <incomplete sequence \337>, q_for_alignment_1 = 94703494935904, q_for_alignment_2 = 4.6789743388930631e-310}}
        unknownTypeError = {d = 0x7fe527d75ec0 <QArrayData::shared_null>}
        returnType = <optimized out>
#8  CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x5621df518a70, callArgs=callArgs@entry=0x7fe5103c0690, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1568
        args = <optimized out>
        storage = {a = 9, s = 0, ptr = 0x7fff880affd0, {array = "`\265,\340!V\000\000\377\377\377\377\000\000\377\377\000\000\000\000\000\000\000\000\000~gk\313\f\324\336\060\024\330", <incomplete sequence \337>, q_for_alignment_1 = 94703494935904, q_for_alignment_2 = 4.6789743388930631e-310}}
        unknownTypeError = {d = 0x7fe527d75ec0 <QArrayData::shared_null>}
        returnType = <optimized out>
#9  0x00007fe52897bf6d in CallOverloaded (callType=QMetaObject::InvokeMetaMethod, propertyCache=0x5621df3a8750, callArgs=0x7fe5103c0690, engine=0x5621df518a70, data=..., object=...) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1644
        best = {m_flags = {otherBits = 0, isConstantORisVMEFunction = 0, isWritableORhasArguments = 1, isResettableORisSignal = 0, isAliasORisVMESignal = 0, isFinalORisV4Function = 0, isSignalHandler = 0, isOverload = 1, isRequiredORisCloned = 0, isConstructor = 0, isDirect = 1, isOverridden = 1, type = 1, notFullyResolved = 0, overrideIndexIsProperty = 0}, m_coreIndex = 101, m_propType = 19, m_notifyIndex = -1, m_overrideIndex = 100, m_revision = 0 '\000', m_typeMinorVersion = 0 '\000', m_metaObjectOffset = 1, m_arguments = 0x5621e015daf0, m_staticMetaCallFunction = 0x0}
        attempt = <optimized out>
        argumentCount = 2
        bestParameterScore = 0
        bestMatchScore = 20
        dummy = {m_flags = {otherBits = 0, isConstantORisVMEFunction = 0, isWritableORhasArguments = 0, isResettableORisSignal = 0, isAliasORisVMESignal = 0, isFinalORisV4Function = 0, isSignalHandler = 0, isOverload = 0, isRequiredORisCloned = 0, isConstructor = 0, isDirect = 0, isOverridden = 0, type = 0, notFullyResolved = 0, overrideIndexIsProperty = 0}, m_coreIndex = -1, m_propType = 0, m_notifyIndex = -1, m_overrideIndex = -1, m_revision = 0 '\000', m_typeMinorVersion = 0 '\000', m_metaObjectOffset = -1, m_arguments = 0x0, m_staticMetaCallFunction = 0x0}
        v4 = 0x5621df518a70
        object = {<QQmlMetaObject> = {_m = {ptr_value = 94703479064400, static FlagBit = 1, static Flag2Bit = 2, static FlagsMask = 3}}, ptr = {ptr_value = 94703479666496, static Flag2Bit = 2, static FlagsMask = 3}}
        method = {m_flags = {otherBits = 0, isConstantORisVMEFunction = 0, isWritableORhasArguments = 1, isResettableORisSignal = 0, isAliasORisVMESignal = 0, isFinalORisV4Function = 0, isSignalHandler = 0, isOverload = 1, isRequiredORisCloned = 0, isConstructor = 0, isDirect = 1, isOverridden = 0, type = 1, notFullyResolved = 0, overrideIndexIsProperty = 0}, m_coreIndex = 102, m_propType = 19, m_notifyIndex = -1, m_overrideIndex = 101, m_revision = 0 '\000', m_typeMinorVersion = 0 '\000', m_metaObjectOffset = 1, m_arguments = 0x5621e024e070, m_staticMetaCallFunction = 0x0}
        scope = {engine = 0x5621df518a70, mark = 0x7fe5103c0690}
        cData = {scope = @0x7fff880b02a0, argc = 2, args = 0x7fe5103c05f0, thisObject = 0x7fe5103c05d8}
        callData = 0x7fe5103c0690
#10 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2132
        v4 = 0x5621df518a70
        object = {<QQmlMetaObject> = {_m = {ptr_value = 94703479064400, static FlagBit = 1, static Flag2Bit = 2, static FlagsMask = 3}}, ptr = {ptr_value = 94703479666496, static Flag2Bit = 2, static FlagsMask = 3}}
        method = {m_flags = {otherBits = 0, isConstantORisVMEFunction = 0, isWritableORhasArguments = 1, isResettableORisSignal = 0, isAliasORisVMESignal = 0, isFinalORisV4Function = 0, isSignalHandler = 0, isOverload = 1, isRequiredORisCloned = 0, isConstructor = 0, isDirect = 1, isOverridden = 0, type = 1, notFullyResolved = 0, overrideIndexIsProperty = 0}, m_coreIndex = 102, m_propType = 19, m_notifyIndex = -1, m_overrideIndex = 101, m_revision = 0 '\000', m_typeMinorVersion = 0 '\000', m_metaObjectOffset = 1, m_arguments = 0x5621e024e070, m_staticMetaCallFunction = 0x0}
        scope = {engine = 0x5621df518a70, mark = 0x7fe5103c0690}
        cData = {scope = @0x7fff880b02a0, argc = 2, args = 0x7fe5103c05f0, thisObject = 0x7fe5103c05d8}
        callData = 0x7fe5103c0690
#11 0x00007fe52899de7e in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=2, argv=0x7fe5103c05f0, thisObject=0x7fe5103c05d8, this=0x7fff880b03f8) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h:202
        l = <optimized out>
        f = {<QV4::StaticValue> = {_val = 140621571160960, static NaNEncodeMask = 18445618173802708992, static Immediate_Mask_64 = 131072, static Immediate_Mask_32 = 2147352576}, <No data fields>}
#12 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value const&, unsigned int, QV4::Value*, int) (engine=0x5621df518a70, base=..., index=<optimized out>, argv=0x7fe5103c05f0, argc=2) at /usr/src/debug/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:1460
        l = <optimized out>
        f = {<QV4::StaticValue> = {_val = 140621571160960, static NaNEncodeMask = 18445618173802708992, static Immediate_Mask_64 = 131072, static Immediate_Mask_32 = 2147352576}, <No data fields>}
#13 0x00007fe51a5d12b1 in  ()
#14 0x00007fff880b0630 in  ()
#15 0x0000000000000000 in  ()
Comment 3 Nate Graham 2022-09-01 16:31:19 UTC
Are you using any 3rd-party KWin scripts? If so, can you disable them all and see if it still happens?
Comment 4 iodreamify 2022-09-01 16:37:42 UTC
(In reply to Nate Graham from comment #3)
> Are you using any 3rd-party KWin scripts? If so, can you disable them all
> and see if it still happens?

Right now i have only one - Kde snap assist - which is enabled. But i was trying out new things today and honestly do not remember if i had it enabled yesterday. I will try to disable it and report if it happens again. 
On other slightly good news - it hasn't crashed since yesterday.
Comment 5 Nate Graham 2022-09-01 16:44:23 UTC
Ah, that one. In that case I'm 99% sure it's Bug 458598. Make sure you have the pygdbmi python module installed.

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