[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #58 from Jiri Palecek --- (In reply to Vlad Zahorodnii from comment #57) > Git commit ddd60a0c1b6a6bbf7a1ba7e34cdc63582048b862 by Vlad Zahorodnii, on > behalf of Aleix Pol. > Committed on 11/01/2023 at 14:37. > Pushed by vladz into branch 'master'. > > backgroundcontrast: Guard against calling a nullptr > > There are cases where GLVertexBuffer::map will return null (as seen in > kwinglutils.cpp:1816) which does happen (as seen in the backtrace of bug > 462017) > Make sure we don't call the null map in that case. > https://invent.kde.org/plasma/kwin/commit/ddd60a0c1b6a6bbf7a1ba7e34cdc63582048b862 Are you sure this fixes the problem? In many of the backtraces, you can see that the map pointer isn't actually zero, although some of the backtraces seem different and I suspect they might indicate a different problem. Did you try to reproduce it and confirm it is fixed, by the procedure in my other comment? I used to have this problem, but since then I've changed my computer. I still have the graphics card in question around so maybe I could try to see what it does, but I can't promise anything. Without a clear idea of what's wrong and how to fix it, I don't think this can move forward. It seems like some peculiarity of NVidia drivers, but then again, other gl apps don't crash on Nvidia, or do they? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added Version Fixed In||5.27 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added Latest Commit|https://commits.kde.org/kwi |https://invent.kde.org/plas |n/212d87a32ef15b9baf6102060 |ma/kwin/commit/ddd60a0c1b6a |639c06fa580e965 |6bbf7a1ba7e34cdc63582048b86 ||2 Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #57 from Vlad Zahorodnii --- Git commit ddd60a0c1b6a6bbf7a1ba7e34cdc63582048b862 by Vlad Zahorodnii, on behalf of Aleix Pol. Committed on 11/01/2023 at 14:37. Pushed by vladz into branch 'master'. backgroundcontrast: Guard against calling a nullptr There are cases where GLVertexBuffer::map will return null (as seen in kwinglutils.cpp:1816) which does happen (as seen in the backtrace of bug 462017) Make sure we don't call the null map in that case. M +10 -3src/effects/backgroundcontrast/contrast.cpp M +1-1src/effects/backgroundcontrast/contrast.h M +10 -4src/effects/blur/blur.cpp M +1-1src/effects/blur/blur.h https://invent.kde.org/plasma/kwin/commit/ddd60a0c1b6a6bbf7a1ba7e34cdc63582048b862 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Bug Janitor Service changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #56 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3415 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 aut...@cyfox.net changed: What|Removed |Added CC|aut...@cyfox.net| -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added Priority|NOR |VHI --- Comment #55 from Nate Graham --- Raising priority due to number of duplicates. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added CC||jonathanirvin...@gmail.com --- Comment #54 from Nate Graham --- *** Bug 463039 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added CC||matt.fagn...@bell.net --- Comment #51 from David Edmundson --- *** Bug 462017 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #53 from David Edmundson --- *** Bug 435763 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added CC||mikon55...@bcpfm.com --- Comment #52 from David Edmundson --- *** Bug 429365 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #50 from David Edmundson --- *** Bug 419177 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added Priority|VHI |NOR -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||k21gcy...@relay.firefox.com --- Comment #49 from Vlad Zahorodnii --- *** Bug 431783 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added Status|REOPENED|CONFIRMED Priority|NOR |VHI --- Comment #48 from Nate Graham --- Tons of dupes, raising priority. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added CC||293...@pw.edu.pl --- Comment #47 from Nate Graham --- *** Bug 430699 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added CC||laur...@imbert-pro.fr --- Comment #46 from Nate Graham --- *** Bug 423295 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Alex Bradatan changed: What|Removed |Added CC|alex.bradata...@yahoo.it| -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #45 from Szőts Ákos --- Created attachment 133825 --> https://bugs.kde.org/attachment.cgi?id=133825&action=edit New crash information added by DrKonqi kwin_x11 (5.20.3) using Qt 5.15.2 - What I was doing when the application crashed: Switched back from tty1 to tty7. 1. Coming back from suspend-to-ram 2. init 3 && killall kwin_x11 (needed to do both because KWin was still running) 3. init 5 and started Plasma session normally 4. Switched back to TTY1 (Ctrl+Alt+F1) and then back to TTY7 5. KWin crashed - NVIDIA driver 455.38 - Qt 5.15.2 - KWin 5.20.3 -- Backtrace (Reduced): #4 0x7f6432729e3e in KWin::ContrastEffect::uploadRegion(QVector2D*&, QRegion const&) (this=, region=..., map=: ) at /usr/src/debug/kwin5-5.20.3-1.2.x86_64/effects/backgroundcontrast/contrast.cpp:301 #5 KWin::ContrastEffect::uploadGeometry(KWin::GLVertexBuffer*, QRegion const&) (this=0x560beaab7c80, region=..., vbo=0x560beab3d240) at /usr/src/debug/kwin5-5.20.3-1.2.x86_64/effects/backgroundcontrast/contrast.cpp:328 #6 KWin::ContrastEffect::doContrast(KWin::EffectWindow*, QRegion const&, QRect const&, float, QMatrix4x4 const&) (screenProjection=..., opacity=1, screen=..., shape=..., w=0x560bead9d740, this=0x560beaab7c80) at /usr/src/debug/kwin5-5.20.3-1.2.x86_64/effects/backgroundcontrast/contrast.cpp:471 #7 KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x560beaab7c80, w=, mask=2, region=..., data=...) at /usr/src/debug/kwin5-5.20.3-1.2.x86_64/effects/backgroundcontrast/contrast.cpp:447 #8 0x7f6434280211 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) (this=0x560beab27060, w=, mask=, region=..., data=...) at /usr/src/debug/kwin5-5.20.3-1.2.x86_64/effects.cpp:463 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 jasonsoci...@protonmail.com changed: What|Removed |Added CC||jasonsoci...@protonmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #44 from jasonsoci...@protonmail.com --- Created attachment 129418 --> https://bugs.kde.org/attachment.cgi?id=129418&action=edit New crash information added by DrKonqi kwin_x11 (5.18.5) using Qt 5.14.2 - What I was doing when the application crashed: resume from suspend this is the first time this happened, been runing Fedora32 for just over a week Last night I finished installing v4l2loopback to use my DSLR as a webcam before suspending for the night Using NVDIA drivers - I noticed this in other bug reports, not sure if it's relevant -- Backtrace (Reduced): #4 0x7f3d65638b81 in KWin::ContrastEffect::uploadRegion(QVector2D*&, QRegion const&) () from /lib64/libkwin4_effect_builtins.so.1 #5 0x7f3d65638c49 in KWin::ContrastEffect::uploadGeometry(KWin::GLVertexBuffer*, QRegion const&) () from /lib64/libkwin4_effect_builtins.so.1 #6 0x7f3d6563a8fa in KWin::ContrastEffect::doContrast(KWin::EffectWindow*, QRegion const&, QRect const&, float, QMatrix4x4 const&) () from /lib64/libkwin4_effect_builtins.so.1 #7 0x7f3d6563b1c1 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib64/libkwin4_effect_builtins.so.1 #8 0x7f3d66d6fbbf in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion const&, KWin::WindowPaintData&) () from /lib64/libkwin.so.5 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Christoph Feck changed: What|Removed |Added CC||vest.nik...@gmail.com --- Comment #43 from Christoph Feck --- *** Bug 420372 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Yaroslav Sidlovsky changed: What|Removed |Added CC||zawer...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Christoph Feck changed: What|Removed |Added CC||co...@mimas.ru --- Comment #42 from Christoph Feck --- *** Bug 418068 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||szots...@gmail.com --- Comment #41 from Vlad Zahorodnii --- *** Bug 418978 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Christoph Feck changed: What|Removed |Added CC||bartovic.mi...@gmail.com --- Comment #40 from Christoph Feck --- *** Bug 417120 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #39 from Jiri Palecek --- Please have a look at https://phabricator.kde.org/D27924. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Christoph Feck changed: What|Removed |Added CC||jesterflint...@gmail.com --- Comment #38 from Christoph Feck --- *** Bug 417779 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #37 from Jiri Palecek --- (In reply to David Edmundson from comment #36) > Could you test https://phabricator.kde.org/P548 as an alternate fix Yes. Still crashes, unfortunately. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #36 from David Edmundson --- Could you test https://phabricator.kde.org/P548 as an alternate fix -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added CC||k...@davidedmundson.co.uk --- Comment #35 from David Edmundson --- That's very interesting! Thank you so much. In theory the VBO should be reset inside resetCompositing, but the fact that it comes after a queued event could be problematic. Maybe another paint() is scheduled whilst we're in that silly usleep which means we end up painting before we've actually performed the reset? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #34 from Jiri Palecek --- Created attachment 126458 --> https://bugs.kde.org/attachment.cgi?id=126458&action=edit A crude patch which reinitializes the VBO -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #33 from Jiri Palecek --- Good news everyone! I've been experiencing similar crashes, and after finding an easy way to reproduce, I've been able to dissect it further. My crash is this: #4 0xb7eeebb8 in () #5 0xb5878691 in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const (this=0xbfe81d84, type=7, vertices=0xa94b9b60, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1171 #6 0xad9b362d in KWin::SceneOpenGL2Window::performPaint(int, QRegion, KWin::WindowPaintData) (this=0xbfe81fc4, mask=-1075306552, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1431 also caused by vbo mapping pointing to inaccessible memory. I reproduced it by putting kwin under stress with this (don't laugh): ( for((;;)); do qdbus org.kde.kopete /kopete/MainWindow_1 org.qtproject.Qt.QWidget.minimumHeight 100; qdbus org.kde.kopete /kopete/MainWindow_1 org.qtproject.Qt.QWidget.maximumHeight 100; qdbus org.kde.kopete /kopete/MainWindow_1 org.qtproject.Qt.QWidget.maximumHeight 1600; for i in $(seq 1 10); do qdbus org.kde.kopete /kopete/MainWindow_1 org.qtproject.Qt.QWidget.minimumHeight $((i*100)); done; done ) & and then provoke the crash by cycling the computer through suspend-to-ram: for i in $(seq 1 60); do rtcwake -m mem -s 30; sleep 20; done In my experience, kwin crashes within the first 10 iterations if vulnerable to this particular bug. With this, I found that: 1) KWIN_PERSISTENT_VBO=0 avoids the crash 2) reinitializing GLVertexBuffer::streamingBuffer while handling graphics reset also avoids the crash. I hope with this a way to fix this bug can be found. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0 |1 Resolution|FIXED |--- --- Comment #32 from Vlad Zahorodnii --- The crash still happens in KDE Plasma 5.18 beta. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #31 from Vlad Zahorodnii --- *** Bug 416498 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added CC||dmitry.s.lisov...@gmail.com --- Comment #30 from David Edmundson --- *** Bug 417109 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||michaelsbarr...@gmail.com --- Comment #29 from Vlad Zahorodnii --- *** Bug 416472 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #28 from David Edmundson --- Note, I could not reproduce this crash and this fix is based on a strong theory. If we get a duplicate with Plasma 5.18beta or newer, please reopen. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added Latest Commit||https://commits.kde.org/kwi ||n/212d87a32ef15b9baf6102060 ||639c06fa580e965 Resolution|--- |FIXED Status|REPORTED|RESOLVED --- Comment #27 from David Edmundson --- Git commit 212d87a32ef15b9baf6102060639c06fa580e965 by David Edmundson. Committed on 10/01/2020 at 14:24. Pushed by davidedmundson into branch 'master'. [scenes/opengl] Remove outdated hack to reset vertex buffers Summary: Scene opengl has a callback for when we have a GL error. One of the handlers for an error calls scheduleVboReInit the history shows it was a forerunner to the GLX_NV_robustness_video_memory_purge but resetting only one tiny part based on debug output. When we get here we schedule a reset of the vertex buffer, via a timer. When the timer is caled we have no idea what GL context was last current, if it's not the currect context then the main scene GLVertexBuffer will be deleted but not correctly re-initialised. We have two very common crashes with a corrupted GLVertexBuffer::streamingBuffer() which would match up perfectly. Given that we now have a proper mechanism to reset the entire scene, we don't need this timer based hack and resolve that problem. Related: bug 399499 Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D26556 M +0-31 plugins/scenes/opengl/scene_opengl.cpp https://commits.kde.org/kwin/212d87a32ef15b9baf6102060639c06fa580e965 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #26 from Vlad Zahorodnii --- *** Bug 415775 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||kvanton@yandex.ru --- Comment #25 from Vlad Zahorodnii --- *** Bug 414461 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||jesa...@gmail.com --- Comment #24 from Vlad Zahorodnii --- *** Bug 414199 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||softw...@glockenstein.de --- Comment #23 from Vlad Zahorodnii --- *** Bug 412883 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||t.ki...@gmail.com --- Comment #22 from Vlad Zahorodnii --- *** Bug 412911 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #21 from Vlad Zahorodnii --- *** Bug 411824 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||alex.bradata...@yahoo.it --- Comment #20 from Vlad Zahorodnii --- *** Bug 411625 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||ffiarpg+kdeb...@gmail.com --- Comment #19 from Vlad Zahorodnii --- *** Bug 411409 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zahorodnii changed: What|Removed |Added CC||elxr...@gmail.com --- Comment #18 from Vlad Zahorodnii --- *** Bug 409900 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||piercing-hu...@gmx.net --- Comment #17 from Vlad Zagorodniy --- *** Bug 409733 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 988a...@mail.ru changed: What|Removed |Added CC||988a...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 avemi...@protonmail.com changed: What|Removed |Added CC||avemi...@protonmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||autumnont...@gmail.com --- Comment #16 from Vlad Zagorodniy --- *** Bug 405248 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 2012g...@web.de changed: What|Removed |Added CC||2012g...@web.de -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||superap...@gmail.com --- Comment #15 from Vlad Zagorodniy --- *** Bug 396264 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added Flags||Intel- -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added Flags||NVIDIA+ -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||schneider.a...@gmail.com --- Comment #14 from Vlad Zagorodniy --- *** Bug 403863 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #13 from Kirill Romanov --- Created attachment 117511 --> https://bugs.kde.org/attachment.cgi?id=117511&action=edit New crash information added by DrKonqi kwin_x11 (5.14.5) using Qt 5.11.2 - What I was doing when the application crashed: Just open my laptop after suspen. This happens to me only when second monitor connected to my laptop -- Backtrace (Reduced): #6 KWin::ContrastEffect::uploadRegion (this=this@entry=0x564330207890, map=@0x7ffdb34cd698: 0x7f2954425790, region=...) at ./effects/backgroundcontrast/contrast.cpp:281 #7 0x7f2975638404 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x564330207890, vbo=vbo@entry=0x5643303b5230, region=...) at ./effects/backgroundcontrast/contrast.cpp:299 #8 0x7f2975639965 in KWin::ContrastEffect::doContrast (this=this@entry=0x564330207890, w=w@entry=0x564330563d50, shape=..., screen=..., opacity=0, screenProjection=...) at ./effects/backgroundcontrast/contrast.cpp:442 #9 0x7f297563a35b in KWin::ContrastEffect::drawWindow (this=this@entry=0x564330207890, w=w@entry=0x564330563d50, mask=mask@entry=2, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:419 #10 0x7f29788ab11e in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x5643303fd890, w=w@entry=0x564330563d50, mask=mask@entry=2, region=..., data=...) at ./effects.cpp:456 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Kirill Romanov changed: What|Removed |Added CC||djal...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||danielhal...@gmail.com --- Comment #12 from Vlad Zagorodniy --- *** Bug 402976 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||asca...@q.com --- Comment #11 from Vlad Zagorodniy --- *** Bug 399876 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Vlad Zagorodniy changed: What|Removed |Added CC||aleksandar.vassilev@gmail.c ||om --- Comment #10 from Vlad Zagorodniy --- *** Bug 399800 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Tony changed: What|Removed |Added CC||jodr...@live.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #9 from Tony --- Created attachment 115311 --> https://bugs.kde.org/attachment.cgi?id=115311&action=edit New crash information added by DrKonqi kwin_x11 (5.14.80) using Qt 5.11.2 - What I was doing when the application crashed: Resuming out os suspend mode. Using NVIDIA's 390.86 on opensuse tumbleweed. -- Backtrace (Reduced): #6 0x7f4ab29efb11 in KWin::ContrastEffect::uploadRegion (this=this@entry=0x5575e168cde0, map=@0x7fffa3865868: 0x7f4a991f4f50, region=...) at /usr/include/qt5/QtCore/qrect.h:269 #7 0x7f4ab29efbd4 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x5575e168cde0, vbo=vbo@entry=0x5575e15a3dd0, region=...) at /usr/src/debug/kwin5-5.14.80git.20180928T202124~72ad5dc89-6.1.x86_64/effects/backgroundcontrast/contrast.cpp:299 #8 0x7f4ab29f1135 in KWin::ContrastEffect::doContrast (this=this@entry=0x5575e168cde0, w=w@entry=0x5575e1b736d0, shape=..., screen=..., opacity=1, screenProjection=...) at /usr/src/debug/kwin5-5.14.80git.20180928T202124~72ad5dc89-6.1.x86_64/effects/backgroundcontrast/contrast.cpp:442 #9 0x7f4ab29f1b13 in KWin::ContrastEffect::drawWindow (this=this@entry=0x5575e168cde0, w=w@entry=0x5575e1b736d0, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.14.80git.20180928T202124~72ad5dc89-6.1.x86_64/effects/backgroundcontrast/contrast.cpp:419 #10 0x7f4ab3f09f13 in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x5575e1728b10, w=w@entry=0x5575e1b736d0, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.14.80git.20180928T202124~72ad5dc89-6.1.x86_64/effects.cpp:456 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Jiri Palecek changed: What|Removed |Added CC||jpale...@web.de --- Comment #8 from Jiri Palecek --- I just want to add that I am seeing this crash as well, after resume w/ NVidia 390.77 driver, and it seems vbo.d->persistent is true, but vbo.d->map is not pointing to accessible memory (although set). -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #7 from David Edmundson --- >From the comment above: Other report was on resume from suspend, which means it's probably fallout from that nvidia graphics reset and us not resetting the vertex. I'll look into it. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 David Edmundson changed: What|Removed |Added CC||wesley.gr...@gmail.com --- Comment #6 from David Edmundson --- *** Bug 396227 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #5 from Dakota Sullivan --- Created attachment 113741 --> https://bugs.kde.org/attachment.cgi?id=113741&action=edit New crash information added by DrKonqi kwin_x11 (5.13.2) using Qt 5.11.0 - What I was doing when the application crashed: Switching back from tty1 to tty7 I am running KDE Neon on a Lenovo ThinkPad T470 laptop with NVIDIA GeForce 940MX hybrid graphics, with two external displays connected through a dock. This issue just started happening after upgrading xorg to the HWE version so that I could stop screen tearing. When I was running xorg 1.18 I didn't have any issues regardless of if the NVIDIA GPU was enabled or not. I'm also running the latest nvidia-390 display drivers. -- Backtrace (Reduced): #6 KWin::ContrastEffect::uploadRegion (this=this@entry=0x19c8550, map=@0x7ffdc02346a8: 0x7f2be05c56f0, region=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:281 #7 0x7f2c02c009a4 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x19c8550, vbo=vbo@entry=0x191a200, region=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:299 #8 0x7f2c02c01ea4 in KWin::ContrastEffect::doContrast (this=this@entry=0x19c8550, w=w@entry=0x226a940, shape=..., screen=..., opacity=1, screenProjection=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:442 #9 0x7f2c02c02929 in KWin::ContrastEffect::drawWindow (this=this@entry=0x19c8550, w=w@entry=0x226a940, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:419 #10 0x7f2c05e9a16e in KWin::EffectsHandlerImpl::drawWindow (this=0x19c2e90, w=w@entry=0x226a940, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:456 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Dakota Sullivan changed: What|Removed |Added CC||dakota.sullivan@madwiremedi ||a.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Martin Gräßlin changed: What|Removed |Added CC||dima...@gmail.com --- Comment #4 from Martin Gräßlin --- *** Bug 373248 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #3 from Martin Gräßlin --- > My mesa version is 13.0.0. Please tell me when you need further information That's what I feared :-( Mesa 13 has a change that when a graphics reset happens some methods will return a nullptr. And I think you run into that problem here. To fix will be difficult as it can be many calls affected, so it will be a little bit like whack-a-mole. Important question: are you able to trigger the problem at will? If yes that could end up super helpful as I could provide patches which should address it. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #2 from Marc Schiffbauer --- Hi Martin, great to see my report has your attention ;-) My mesa version is 13.0.0. Please tell me when you need further information TIA -Marc -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 --- Comment #1 from Martin Gräßlin --- which mesa version are you using? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 372305] Crash in ContrastEffect::uploadRegion
https://bugs.kde.org/show_bug.cgi?id=372305 Martin Gräßlin changed: What|Removed |Added Summary|kwin crash after|Crash in |disconnecting external |ContrastEffect::uploadRegio |monitor (including |n |resolution change) | -- You are receiving this mail because: You are watching all bug changes.