[kwin] [Bug 427382] kwin crashes under wayland

2020-10-12 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=427382

Méven Car  changed:

   What|Removed |Added

 CC||meven@enioka.com

--- Comment #7 from Méven Car  ---
(In reply to Peter L. Steger from comment #5)
> installed the packages, reboot and started the debugging with the command
> you provided and got the following results (incl. after entering 'c' + 'RET':
> 
> sudo gdb -pid `pidof plasmashell`
> GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> Attaching to process 15111
> [New LWP 15112]
> [New LWP 15113]
> [New LWP 15130]
> [New LWP 15131]
> [New LWP 15132]
> [New LWP 15133]
> [New LWP 15134]
> [New LWP 15182]
> [New LWP 15183]
> [New LWP 15184]
> [New LWP 15185]
> [New LWP 15268]
> [New LWP 15335]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> --Type  for more, q to quit, c to continue without paging--c
> 0x7f8b05d3aaff in __GI___poll (fds=0x5566bc5bee20, nfds=11, timeout=16)
> at ../sysdeps/unix/sysv/linux/poll.c:29
> 29  ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht
> gefunden.
> (gdb) 
> 
Did you enter "c" as instructed ? This traces is not a backtrace just the
output of gdb when starting.
What you did is paused plasmashell which would make it unresponsive, please
retry typing in the gdb command prompt "c" for continue and then hit "enter" .

When this is working it should display :
--Type  for more, q to quit, c to continue without paging--
0x7f36c2305aff in __GI___poll (fds=0x55dfc53d7c10, nfds=13, timeout=245)
at ../sysdeps/unix/sysv/linux/poll.c:29
29  ../sysdeps/unix/sysv/linux/poll.c: Aucun fichier ou dossier de ce type.
(gdb) c
Continuing.


Then when a crash happen you will get the backtrace in the console.

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-11 Thread Peter L. Steger
https://bugs.kde.org/show_bug.cgi?id=427382

--- Comment #6 from Peter L. Steger  ---
Just want to re-confirm that it is related to plasmashell and wayland.
Installation works fine with X11, no crashes of plasmashell.

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-10 Thread Peter L. Steger
https://bugs.kde.org/show_bug.cgi?id=427382

--- Comment #5 from Peter L. Steger  ---
installed the packages, reboot and started the debugging with the command you
provided and got the following results (incl. after entering 'c' + 'RET':

sudo gdb -pid `pidof plasmashell`
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 15111
[New LWP 15112]
[New LWP 15113]
[New LWP 15130]
[New LWP 15131]
[New LWP 15132]
[New LWP 15133]
[New LWP 15134]
[New LWP 15182]
[New LWP 15183]
[New LWP 15184]
[New LWP 15185]
[New LWP 15268]
[New LWP 15335]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type  for more, q to quit, c to continue without paging--c
0x7f8b05d3aaff in __GI___poll (fds=0x5566bc5bee20, nfds=11, timeout=16) at
../sysdeps/unix/sysv/linux/poll.c:29
29  ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht
gefunden.
(gdb) 

I belive that there was something going wrong... in addition another crash
happend without any log/trace back

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-10 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=427382

Méven Car  changed:

   What|Removed |Added

 CC||meve...@gmail.com

--- Comment #4 from Méven Car  ---
(In reply to Peter L. Steger from comment #3)
> unfortunately I can not find kdelib5-dbg on my system:
> 
> sudo apt search kdelibs5-dbg  kde5libs-dbg  kdelib5-dbg  kde5lib-dbg  
> Sortierung... Fertig
> Volltextsuche... Fertig
> 
> I have the User-version not the Developer version installed. Which packages
> or ppa's do I have to install in order to get access to the debugging
> packages?

I believe the debug symbols are in the normal repository, the are postfixed by
-dbgsym for neon or ubuntu.

You probably want to install kwin-wayland-dbgsym , kwin-common-dbgsym or 
plasma-desktop-dbgsym

> 
> No crash-Dialog appears. Only one of the screens turns to black/white and
> the kwin-menu bars are not responding anymore.
> 
> The output of gdb does not give me further information either:
> 
> gdb kwin
> GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from kwin...
> (No debugging symbols found in kwin)
> (gdb) thread apply all backtrace
> (gdb) 

Here you don't nothing. To use gdb you'd want next to launch the program using
"r" command (for run).
But in wayland you can't debug kwin_wayland from within the session or you lose
ALL keyboard input and will be forced a hard reboot.
> 
> For the restart of kwin I use the following (hotkey with script)
> 
> killall plasmashell
> plasmashell &
> 
> After this the system is responsible again, No (other) application is
> affected.

The process here does not affect kwin, plasmashell is an independent program,
handling the session UI, taskbar...
For wayland kwin program is kwin_wayland.
So it seems to me your bug relates to plasmashell.

You might want to reproduce your crash running beforehand :
sudo gdb -pid `pidof plasmashell` # to attach gdb to the running plasmashell
process
# then in the gdb console type "c" (for continue) and hit enter, this might
take a few seconds...

The next time plasmashell crashes you will get a back trace in the console.

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-07 Thread Peter L. Steger
https://bugs.kde.org/show_bug.cgi?id=427382

--- Comment #3 from Peter L. Steger  ---
unfortunately I can not find kdelib5-dbg on my system:

sudo apt search kdelibs5-dbg  kde5libs-dbg  kdelib5-dbg  kde5lib-dbg  
Sortierung... Fertig
Volltextsuche... Fertig

I have the User-version not the Developer version installed. Which packages or
ppa's do I have to install in order to get access to the debugging packages?

No crash-Dialog appears. Only one of the screens turns to black/white and the
kwin-menu bars are not responding anymore.

The output of gdb does not give me further information either:

gdb kwin
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kwin...
(No debugging symbols found in kwin)
(gdb) thread apply all backtrace
(gdb) 

For the restart of kwin I use the following (hotkey with script)

killall plasmashell
plasmashell &

After this the system is responsible again, No (other) application is affected.

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-07 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=427382

--- Comment #2 from Vlad Zahorodnii  ---
> The applications still are working. Killall and restart of kwin resolves for 
> some time.

kwin can't be restarted on wayland at the moment. Please provide the output of
`qdbus org.kde.KWin /KWin supportInformation` along the backtrace.

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

[kwin] [Bug 427382] kwin crashes under wayland

2020-10-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427382

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Status|REPORTED|NEEDSINFO
 Resolution|--- |BACKTRACE

--- Comment #1 from Nate Graham  ---
Can you attach the crash log? See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

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