[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2021-02-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=362964

Nate Graham  changed:

   What|Removed |Added

 Resolution|UPSTREAM|DUPLICATE
 CC||n...@kde.org

--- Comment #7 from Nate Graham  ---


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

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

[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-09-23 Thread Marco Martin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

Marco Martin  changed:

   What|Removed |Added

 CC||iskender...@gmail.com

--- Comment #6 from Marco Martin  ---
*** Bug 369221 has been marked as a duplicate of this bug. ***

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


[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-07-26 Thread Marco Martin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

Marco Martin  changed:

   What|Removed |Added

 CC||sc...@alfter.us

--- Comment #5 from Marco Martin  ---
*** Bug 366070 has been marked as a duplicate of this bug. ***

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


[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-05-12 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

Martin Gräßlin  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|UNCONFIRMED |RESOLVED

--- Comment #4 from Martin Gräßlin  ---
(In reply to Marco Martin from comment #3)
> may be that the platform window of the dialog got destroyed but the instance
> of dialog is still around?

No, that's not the problem here. This is the typically "Qt, I'm too stupid to
handle multiscreen" crash.

The platform window fails to be created as the QScreen is null. Which is
totally, utterly stupid that Qt does allow QScreen to be null on xcb. That's
something that cannot happen! There is always at least a virtual screen. For to
me unknown reasons Qt decided to bind a QScreen to an XRandR screen - which
doesn't have anything to do what screens are in X11, but who cares. That way we
can get rid of all QScreens when e.g. all screens go into DPMS and then we can
make all windows crash at random code positions. Good that we didn't point that
out to Qt before they changed it. Just they ignored our advice and wrote
something like "then KDE needs to fix their code". What a pity that I never saw
a single backtrace ending in our code.

After trying to fix these crashes for about two years, Qt finally gave up in Qt
5.6 and introduced a dummy QScreen in xcb plugin. So with Qt 5.6 this problem
should be fixed. Till then, sorry, there is nothing we can do about it.

We unfortunately even had security vulnerabilities due to this utterly stupid
behavior of Qt.

Now, I am aware that e.g. Kubuntu LTS ships with this horribly broken Qt, so
please nag your distribution to update it.

End of rant on Qt's multiscreen problems.

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

[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-05-12 Thread Marco Martin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

Marco Martin  changed:

   What|Removed |Added

 CC||mgraess...@kde.org,
   ||notm...@gmail.com

--- Comment #3 from Marco Martin  ---
it seems to crash when calling winId() of the dialog..
like in most of those backtraces
KWindowEffects::enableBlurBehind(q->winId(), true,
frameSvgItem->frameSvg()->mask());
may be that the platform window of the dialog got destroyed but the instance of
dialog is still around?

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


[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-05-11 Thread Andrew Wilcox via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

--- Comment #2 from Andrew Wilcox  ---
Application: kwin_x11 (5.6.3)
 (Compiled from sources)
Qt Version: 5.5.1
Frameworks Version: 5.21.0
Operating System: Linux 4.6.0-rc4-ciall x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2b5a899800 (LWP 3645))]

Thread 6 (Thread 0x7f2b43dde700 (LWP 3708)):
#0  0x7f2b5a1627fd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f2b585a0ac2 in poll (__timeout=-1, __nfds=1, __fds=0x7f2b43dddcc0)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x953790, cond=cond@entry=0x9537d0,
vector=vector@entry=0x0, count=count@entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.11.1/work/libxcb-1.11.1/src/xcb_conn.c:459
#3  0x7f2b585a272f in xcb_wait_for_event (c=0x953790) at
/var/tmp/portage/x11-libs/libxcb-1.11.1/work/libxcb-1.11.1/src/xcb_in.c:693
#4  0x7f2b4468ac95 in QXcbEventReader::run (this=0x966740) at
qxcbconnection.cpp:1229
#5  0x7f2b5885581e in QThreadPrivate::start (arg=0x966740) at
thread/qthread_unix.cpp:331
#6  0x7f2b5a424434 in start_thread (arg=0x7f2b43dde700) at
pthread_create.c:333
#7  0x7f2b5a16b8fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f2b3bfff700 (LWP 3714)):
#0  0x7f2b5a164503 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f2b58a3f874 in qt_safe_select (nfds=12, fdread=0x7f2b3a78,
fdwrite=0x7f2b3d08, fdexcept=0x7f2b3f98, orig_timeout=)
at kernel/qcore_unix.cpp:75
#2  0x7f2b58a4052b in QEventDispatcherUNIXPrivate::doSelect
(this=0x7f2b38e0, flags=..., timeout=0x0) at
kernel/qeventdispatcher_unix.cpp:192
#3  0x7f2b58a415df in QEventDispatcherUNIX::processEvents
(this=0x7f2b38c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x7f2b589f66fd in QEventLoop::processEvents (flags=..., this=) at kernel/qeventloop.cpp:128
#5  QEventLoop::exec (this=0x7f2b3bffedc0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x7f2b588522a9 in QThread::exec (this=) at
thread/qthread.cpp:503
#7  0x7f2b5305d246 in QQmlThreadPrivate::run (this=0xba5ae0) at
qml/ftw/qqmlthread.cpp:141
#8  0x7f2b5885581e in QThreadPrivate::start (arg=0xba5ae0) at
thread/qthread_unix.cpp:331
#9  0x7f2b5a424434 in start_thread (arg=0x7f2b3bfff700) at
pthread_create.c:333
#10 0x7f2b5a16b8fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2b2d14d700 (LWP 3718)):
#0  pthread_cond_wait () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f2b3aa41bb3 in cnd_wait (mtx=0xb73b50, cond=) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/include/c11/threads_posix.h:159
#2  pipe_semaphore_wait (sema=0xb73b50) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0xb73800) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:653
#4  0x7f2b3aa41307 in impl_thrd_routine (p=) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/include/c11/threads_posix.h:87
#5  0x7f2b5a424434 in start_thread (arg=0x7f2b2d14d700) at
pthread_create.c:333
#6  0x7f2b5a16b8fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f2b2be26700 (LWP 3739)):
#0  pthread_cond_wait () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f2b57a74aaa in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f2b57b53330 ) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x7f2b57a74a26 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f2b57b61404 ) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x7f2b5a424434 in start_thread (arg=0x7f2b2be26700) at
pthread_create.c:333
#4  0x7f2b5a16b8fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2b2c627700 (LWP 3803)):
#0  0x7f2b5a164503 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f2b58a3f874 in qt_safe_select (nfds=11, fdread=0x7f2b24000a58,
fdwrite=0x7f2b24000ce8, fdexcept=0x7f2b24000f78, orig_timeout=)
at kernel/qcore_unix.cpp:75
#2  0x7f2b58a4052b in QEventDispatcherUNIXPrivate::doSelect
(this=0x7f2b240008c0, flags=..., timeout=0x0) at
kernel/qeventdispatcher_unix.cpp:192
#3  0x7f2b58a415df in QEventDispatcherUNIX::processEvents
(this=0x7f2b24053b60, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x7f2b589f66fd in QEventLoop::processEvents (flags=..., this=) at kernel/qeventloop.cpp:128
#5  QEventLoop::exec (this=0x7f2b2c626dc0, flags=...) at
kernel/qeventloop.cpp:204
#6  

[plasmashell] [Bug 362964] Plasma crash after disconnecting and reconnecting monitor

2016-05-11 Thread Andrew Wilcox via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362964

--- Comment #1 from Andrew Wilcox  ---
Application: krunner (5.6.3)
 (Compiled from sources)
Qt Version: 5.5.1
Frameworks Version: 5.21.0
Operating System: Linux 4.6.0-rc4-ciall x86_64
Distribution (Platform): Gentoo Packages

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

Hotplugging monitor as noted in other comment in this bug (this is crash #2 of
3)

The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4b094ff7c0 (LWP 3647))]

Thread 4 (Thread 0x7f4af6140700 (LWP 3648)):
#0  0x7f4b05f2b7fd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f4b05436ac2 in poll (__timeout=-1, __nfds=1, __fds=0x7f4af613fd00)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0xf70a80, cond=cond@entry=0xf70ac0,
vector=vector@entry=0x0, count=count@entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.11.1/work/libxcb-1.11.1/src/xcb_conn.c:459
#3  0x7f4b0543872f in xcb_wait_for_event (c=0xf70a80) at
/var/tmp/portage/x11-libs/libxcb-1.11.1/work/libxcb-1.11.1/src/xcb_in.c:693
#4  0x7f4af764cc95 in QXcbEventReader::run (this=0xf6fea0) at
qxcbconnection.cpp:1229
#5  0x7f4b0659181e in QThreadPrivate::start (arg=0xf6fea0) at
thread/qthread_unix.cpp:331
#6  0x7f4b041cb434 in start_thread (arg=0x7f4af6140700) at
pthread_create.c:333
#7  0x7f4b05f348fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4ae98c3700 (LWP 3659)):
#0  pthread_cond_wait () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f4aef5d1bb3 in cnd_wait (mtx=0x104cb90, cond=) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/include/c11/threads_posix.h:159
#2  pipe_semaphore_wait (sema=0x104cb90) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x104c840) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:653
#4  0x7f4aef5d1307 in impl_thrd_routine (p=) at
/var/tmp/portage/media-libs/mesa-11.1.0/work/mesa-11.1.0/include/c11/threads_posix.h:87
#5  0x7f4b041cb434 in start_thread (arg=0x7f4ae98c3700) at
pthread_create.c:333
#6  0x7f4b05f348fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4ae8295700 (LWP 3669)):
#0  0x7f4b05f2b7fd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7f4b02042fd7 in g_main_context_poll (priority=0, context=, timeout=, fds=, n_fds=) at
/var/tmp/portage/dev-libs/glib-2.48.0/work/glib-2.48.0/glib/gmain.c:4135
#2  g_main_context_iterate (context=, block=,
dispatch=, self=) at
/var/tmp/portage/dev-libs/glib-2.48.0/work/glib-2.48.0/glib/gmain.c:3835
#3  0x7f4b020430ae in g_main_context_iteration (context=,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.48.0/work/glib-2.48.0/glib/gmain.c:3901
#4  0x7f4b0677f97c in QEventDispatcherGlib::processEvents
(this=0x7f4ae8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x7f4b067326fd in QEventLoop::processEvents (flags=..., this=) at kernel/qeventloop.cpp:128
#6  QEventLoop::exec (this=0x7f4ae8294e00, flags=...) at
kernel/qeventloop.cpp:204
#7  0x7f4b0658e2a9 in QThread::exec (this=) at
thread/qthread.cpp:503
#8  0x7f4b084e9246 in QQmlThreadPrivate::run (this=0x11d89c0) at
qml/ftw/qqmlthread.cpp:141
#9  0x7f4b0659181e in QThreadPrivate::start (arg=0x11d89c0) at
thread/qthread_unix.cpp:331
#10 0x7f4b041cb434 in start_thread (arg=0x7f4ae8295700) at
pthread_create.c:333
#11 0x7f4b05f348fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4b094ff7c0 (LWP 3647)):
[KCrash Handler]
#6  QScopedPointer::data
(this=) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper > (p=...) at
../../include/QtCore/../../src/corelib/global/qglobal.h:983
#8  QScreen::d_func (this=0x0) at
../../include/QtGui/../../src/gui/kernel/qscreen.h:59
#9  QScreen::handle (this=0x0) at kernel/qscreen.cpp:111
#10 0x7f4af764fa77 in QXcbIntegration::createPlatformWindow
(this=, window=0x7fff590c0720) at qxcbintegration.cpp:196
#11 0x7f4b06a63569 in QWindowPrivate::create (this=0xfeb610,
recursive=false) at kernel/qwindow.cpp:392
#12 0x7f4b06a639be in QWindow::create (this=) at
kernel/qwindow.cpp:548
#13 QWindow::winId (this=) at kernel/qwindow.cpp:567
#14 0x7f4b092716df in PlasmaQuick::DialogPrivate::updateTheme
(this=0xfef560) at
/var/tmp/portage/kde-frameworks/plasma-5.21.0/work/plasma-framework-5.21.0/src/plasmaquick/dialog.cpp:225
#15 0x7f4b06761860 in QMetaObject::activate (sender=0xfef5d8,
signalOffset=, local_signal_index=,
argv=) at