Bug 389889 - Assert of BufferInterface hit from ShadowInterface dtor
Summary: Assert of BufferInterface hit from ShadowInterface dtor
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kwayland
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 19:40 UTC by Martin Flöser
Modified: 2021-01-16 04:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2018-02-04 19:40:01 UTC
#0  0x00007ffff6a8544a in KWayland::Server::BufferInterface::unref (this=0x13a5050) at /home/martin/src/frameworks/kwayland/src/server/buffer_interface.cpp:209
#1  0x00007ffff6af4081 in KWayland::Server::ShadowInterface::Private::~Private (this=0x12c2db0, __in_chrg=<optimized out>)
    at /home/martin/src/frameworks/kwayland/src/server/shadow_interface.cpp:363
#2  0x00007ffff6af4188 in KWayland::Server::ShadowInterface::Private::~Private (this=0x12c2db0, __in_chrg=<optimized out>)
    at /home/martin/src/frameworks/kwayland/src/server/shadow_interface.cpp:372
#3  0x00007ffff6ad7a41 in QScopedPointerDeleter<KWayland::Server::Resource::Private>::cleanup (pointer=0x12c2db0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:60
#4  0x00007ffff6ad7811 in QScopedPointer<KWayland::Server::Resource::Private, QScopedPointerDeleter<KWayland::Server::Resource::Private> >::~QScopedPointer (this=0x12b1f90, 
    __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#5  0x00007ffff6ad746e in KWayland::Server::Resource::~Resource (this=0x12b1f80, __in_chrg=<optimized out>) at /home/martin/src/frameworks/kwayland/src/server/resource.h:46
#6  0x00007ffff6af4228 in KWayland::Server::ShadowInterface::~ShadowInterface (this=0x12b1f80, __in_chrg=<optimized out>)
    at /home/martin/src/frameworks/kwayland/src/server/shadow_interface.h:57
#7  0x00007ffff6af4258 in KWayland::Server::ShadowInterface::~ShadowInterface (this=0x12b1f80, __in_chrg=<optimized out>)
    at /home/martin/src/frameworks/kwayland/src/server/shadow_interface.h:57
#8  0x00007ffff563c2f0 in QObject::event (this=0x12b1f80, e=<optimized out>) at kernel/qobject.cpp:1237
#9  0x00007ffff5c20b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x12b1f80, e=0x1618800) at kernel/qapplication.cpp:3722
#10 0x00007ffff5c285a7 in QApplication::notify (this=0x7fffffffdc40, receiver=0x12b1f80, e=0x1618800) at kernel/qapplication.cpp:3481
#11 0x00007ffff560edf8 in QCoreApplication::notifyInternal2 (receiver=0x12b1f80, event=event@entry=0x1618800) at kernel/qcoreapplication.cpp:1018
#12 0x00007ffff56115db in QCoreApplication::sendEvent (event=0x1618800, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x632730) at kernel/qcoreapplication.cpp:1678
#14 0x00007ffff5661567 in QEventDispatcherUNIX::processEvents (this=0x651480, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#15 0x00007fffdd815a9d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#16 0x00007ffff560ce2a in QEventLoop::exec (this=this@entry=0x7fffffffd920, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#17 0x00007ffff5615d64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#18 0x00007fffeea1dbdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#19 0x00007ffff5c20af5 in QApplication::exec () at kernel/qapplication.cpp:2910
#20 0x0000000000409888 in main (argc=3, argv=<optimized out>) at /home/martin/src/kde/workspace/kwin/main_wayland.cpp:830
Comment 1 Martin Flöser 2018-02-04 19:40:57 UTC
Most important part:
Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x00007ffff6a8544a in KWayland::Server::BufferInterface::unref (this=0x13a5050) at /home/martin/src/frameworks/kwayland/src/server/buffer_interface.cpp:209
209         Q_ASSERT(d->refCount > 0);
Comment 2 Justin Zobel 2020-12-17 05:33:50 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2021-01-01 04:38:04 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 4 Bug Janitor Service 2021-01-16 04:36:57 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!