Bug#909361: kdenlive: Exiting kdenlive full screen preview kills whole gnome wayland session

2018-09-24 Thread Patrick Matthäi
reassign #909361 weston
thanks


Am 22.09.2018 um 15:25 schrieb Mikko Rapeli:
> On an update Debian sid with Gnome 3 with wayland graphics,
> exiting full screen preview in kdenlive manages to kill the whole
> Gnome session.
>
> This does not happen if Gnome is started with Xorg graphics stack.

Hi,

it is your graphic stack which crashes. That is not a bug of kdenlive.
Also you said, that it does not appear with the Xorg stack. So I
reassign this to the wayland package. I hope weston is correct here?

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/



Bug#909361: kdenlive: Exiting kdenlive full screen preview kills whole gnome wayland session

2018-09-22 Thread Mikko Rapeli
Package: kdenlive
Version: 18.08.1-1
Severity: normal

Dear Maintainer,

On an update Debian sid with Gnome 3 with wayland graphics,
exiting full screen preview in kdenlive manages to kill the whole
Gnome session.

This does not happen if Gnome is started with Xorg graphics stack.

Steps to reproduce:

 * login to Gnome3 with wayland
 * start kdenlive with and empty project
 * double click with mouse to project monitor to start full screen
   preview
 * press ESC key or double click with mouse to exit the preview.

After this the whole gnome session is killed and user is greeted by
gdm3 for login. Expectation is that the full screen mode is exited and
kdelive window displayed.

systemd journal has only these hints of the event:

Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.Sharing.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.Wacom.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.Datetime.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.Housekeeping.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.Mouse.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session[8998]: gnome-session-binary[8998]: WARNING:
 Application 'org.gnome.SettingsDaemon.PrintNotifications.desktop' killed by sig
nal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 'org.gno
me.SettingsDaemon.Sharing.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 'org.gno
me.SettingsDaemon.Wacom.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 
'org.gnome.SettingsDaemon.Datetime.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 
'org.gnome.SettingsDaemon.Housekeeping.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 
'org.gnome.SettingsDaemon.Mouse.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-session-binary[8998]: WARNING: Application 
'org.gnome.SettingsDaemon.PrintNotifications.desktop' killed by signal 15
Sep 22 14:54:27 dumppi gnome-shell[9006]: Connection to xwayland lost
Sep 22 14:54:27 dumppi at-spi-bus-launcher[9022]: XIO:  fatal IO error 11 
(Resource temporarily unavailable) on X server ":1024"
Sep 22 14:54:27 dumppi at-spi-bus-launcher[9022]:   after 21 requests (21 
known processed) with 0 events remaining.
Sep 22 14:54:27 dumppi systemd-logind[534]: Session c16 logged out. Waiting for 
processes to exit.
Sep 22 14:54:27 dumppi systemd-logind[534]: Removed session c16.
Sep 22 14:54:27 dumppi systemd[1]: user-runtime-dir@118.service: Unit not 
needed anymore. Stopping.
Sep 22 14:54:27 dumppi systemd[1]: Stopping User Manager for UID 118...
Sep 22 14:54:27 dumppi systemd[8983]: Stopping Accessibility services bus...
Sep 22 14:54:27 dumppi systemd[8983]: Stopping Sound Service...
Sep 22 14:54:27 dumppi systemd[8983]: Stopped target Default.
Sep 22 14:54:27 dumppi systemd[8983]: Stopping D-Bus User Message Bus...
Sep 22 14:54:27 dumppi systemd[8983]: Stopped D-Bus User Message Bus.
Sep 22 14:54:27 dumppi systemd[8983]: Stopped Accessibility services bus.
Sep 22 14:54:27 dumppi systemd[8983]: Stopped Sound Service.

strace of kdenlive shows a crash:

8728  munmap(0x7f07d5541000, 2113776)   = 0
8728  munmap(0x7f07d5746000, 2113864)   = 0
8728  munmap(0x7f07d0b25000, 2434056)   = 0
8728  munmap(0x7f07d08d8000, 2410928)   = 0
8728  munmap(0x7f07d078, 1407712)   = 0
8764  <... nanosleep resumed> 0x7f07c51a2c10) = 0
8764  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, 
si_addr=0x7f07d4a2c815} ---
8764  rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[ALRM], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f081b6d8fc0}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
8764  alarm(3)  = 0
8728  munmap(0x7f07f82b3000, 24592 
8764  prlimit64(0, RLIMIT_NOFILE, NULL,  
8728  <... munmap resumed> )= 0
8764  <... prlimit64 resumed> {rlim_cur=1024, rlim_max=4*1024}) = 0
8733  <... poll resumed> )  = 1 ([{fd=9, revents=POLLIN}])
8733  write(8, "\1\0\0\0\0\0\0\0", 8)   = 8
8733  recvmsg(9, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="l\4\1\1)\0\0\0\23\0\0\0\211\0\0\0", iov_len=16}], 
msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) 
= 16
8733  poll([{fd=9, events=POLLIN}], 1, 0) = 1 ([{fd=9, revents=POLLIN}])
...
8736  <... poll resumed> ) = ?
8753  +++ killed by SIGHUP +++
8763  +++ killed by SIGHUP +++
8755  +++ killed by SIGHUP +++
8736