Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Germano Massullo
Il 13/04/2017 18:41, Martin Gräßlin ha scritto: > Am 2017-04-13 17:19, schrieb Germano Massullo: >> Il 13/04/2017 16:49, Martin Gräßlin ha scritto: >>> Am 2017-04-13 16:08, schrieb Germano Massullo: Il 13/04/2017 13:12, David Edmundson ha scritto: > ​"echo 0 | sudo tee /proc/sys/kernel/yam

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Martin Gräßlin
Am 2017-04-13 17:19, schrieb Germano Massullo: Il 13/04/2017 16:49, Martin Gräßlin ha scritto: Am 2017-04-13 16:08, schrieb Germano Massullo: Il 13/04/2017 13:12, David Edmundson ha scritto: ​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB as root) David As root in tty3 I

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Germano Massullo
Il 13/04/2017 16:49, Martin Gräßlin ha scritto: > Am 2017-04-13 16:08, schrieb Germano Massullo: >> Il 13/04/2017 13:12, David Edmundson ha scritto: >>> ​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB >>> as root) >>> >>> David >> As root in tty3 I attached GDB to kwin_wayland

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Martin Gräßlin
Am 2017-04-13 16:08, schrieb Germano Massullo: Il 13/04/2017 13:12, David Edmundson ha scritto: ​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB as root) David As root in tty3 I attached GDB to kwin_wayland and as soon I got back to the graphical session, the system got st

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Germano Massullo
Il 13/04/2017 13:12, David Edmundson ha scritto: > ​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB > as root) > > David As root in tty3 I attached GDB to kwin_wayland and as soon I got back to the graphical session, the system got stuck and I could not neither return back to tt

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Germano Massullo
Il 13/04/2017 13:12, David Edmundson ha scritto: > ​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB > as root) > > David # cat /proc/sys/kernel/yama/ptrace_scope 0 so it seems that ptrace_scope is already setted to 0

Re: [Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread David Edmundson
​"echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" (or run GDB as root) David

[Wayland] plasma crashes and cannot attach gdb to kwin_wayland

2017-04-13 Thread Germano Massullo
Hi there, I am testing Plasma 5.9.4 on Wayland (on Fedora 25) and I am filling various bugreports. If I run plasmashell from bash, when it crashes I obtain message so I started trying to attach gdb to kwin_wayland process. I followed https://community.kde.org/KWin/Debugging and I tried to run $ gd