Public bug reported:

environment 
* desktop: Ubuntu 22.04.3 LTS
* xwayland: 2:22.1.1-1ubuntu0.11
* kernel: 5.15.0-92-generic
* desktop: KDE (kwin 5.24.7)
* snap: 2.60.4
* snapcraft: 8.0.2

step to reproduce (with the snapcraft definition below):

* snapcraft try --lxd
* snap try
* snap remove vlc

my snapcraft.yaml file (I only kept the interesting bits):

```
base: core22
confinement: strict
compression: lzo
plugs:
  dot-config-aacs:
    interface: personal-files
    read:
    - $HOME/.config/aacs
apps:
  vlc:
    extensions:
      - kde-neon
    plugs:
      - unity7
      - network
      - network-bind
      - home
      - opengl
      - alsa
      - pulseaudio
      - mount-observe
      - optical-drive
      - camera
      - removable-media
      - screen-inhibit-control
      - x11
      - wayland
      - desktop
      - desktop-legacy
      - dvb
      - audio-playback
      - audio-record
      - jack1
      - avahi-control
      - dot-config-aacs
    slots:
      - mpris
```

xwayland backtrace gives me


```
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139859840395456) 
at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=139859840395456) at 
./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=139859840395456, signo=signo@entry=6) at 
./nptl/pthread_kill.c:89
#3  0x00007f33a87de476 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/posix/raise.c:26
#4  0x00007f33a87c47f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x0000558b0cfc12a0 in OsAbort () at ../os/utils.c:1353
#6  0x0000558b0cfccd3f in AbortServer () at ../os/log.c:879
#7  FatalError (f=0x558b0d020090 "Caught signal %d (%s). Server aborting\n") at 
../os/log.c:1017
#8  0x0000558b0cfbf494 in OsSigHandler (unused=<optimized out>, 
sip=0x7fff8fb38df0, signo=7) at ../os/osinit.c:156
#9  OsSigHandler (signo=7, sip=0x7fff8fb38df0, unused=<optimized out>) at 
../os/osinit.c:110
#10 <signal handler called>
#11 xwl_screen_destroy_drm_lease_device (xwl_screen=0x558b0e4cd770, 
wp_drm_lease_device_v1=0x558b0e668b20) at 
../hw/xwayland/xwayland-drm-lease.c:430
#12 0x00007f33a867be2e in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
#13 0x00007f33a8678493 in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
#14 0x00007f33a8e15ad0 in ?? () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
#15 0x00007f33a8e16243 in ?? () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
#16 0x00007f33a8e1643c in wl_display_dispatch_queue_pending () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
#17 0x0000558b0ce984bb in xwl_read_events (xwl_screen=0x558b0da53550) at 
../hw/xwayland/xwayland-screen.c:482
#18 xwl_read_events (xwl_screen=0x558b0da53550) at 
../hw/xwayland/xwayland-screen.c:469
#19 0x0000558b0cfc0a61 in ospoll_wait (ospoll=0x558b0da4f210, 
timeout=<optimized out>) at ../os/ospoll.c:657
#20 0x0000558b0cf00e30 in WaitForSomething (are_ready=0) at ../os/WaitFor.c:208
#21 Dispatch () at ../dix/dispatch.c:492
#22 0x0000558b0ce8ec63 in dix_main (envp=<optimized out>, argv=<optimized out>, 
argc=<optimized out>) at ../dix/main.c:271
#23 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at 
../dix/stubmain.c:34
```

** Affects: xwayland (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xwayland in Ubuntu.
https://bugs.launchpad.net/bugs/2052512

Title:
  uninstalling snap crashes xwayland server

Status in xwayland package in Ubuntu:
  New

Bug description:
  environment 
  * desktop: Ubuntu 22.04.3 LTS
  * xwayland: 2:22.1.1-1ubuntu0.11
  * kernel: 5.15.0-92-generic
  * desktop: KDE (kwin 5.24.7)
  * snap: 2.60.4
  * snapcraft: 8.0.2

  step to reproduce (with the snapcraft definition below):

  * snapcraft try --lxd
  * snap try
  * snap remove vlc

  my snapcraft.yaml file (I only kept the interesting bits):

  ```
  base: core22
  confinement: strict
  compression: lzo
  plugs:
    dot-config-aacs:
      interface: personal-files
      read:
      - $HOME/.config/aacs
  apps:
    vlc:
      extensions:
        - kde-neon
      plugs:
        - unity7
        - network
        - network-bind
        - home
        - opengl
        - alsa
        - pulseaudio
        - mount-observe
        - optical-drive
        - camera
        - removable-media
        - screen-inhibit-control
        - x11
        - wayland
        - desktop
        - desktop-legacy
        - dvb
        - audio-playback
        - audio-record
        - jack1
        - avahi-control
        - dot-config-aacs
      slots:
        - mpris
  ```

  xwayland backtrace gives me

  
  ```
  #0  __pthread_kill_implementation (no_tid=0, signo=6, 
threadid=139859840395456) at ./nptl/pthread_kill.c:44
  #1  __pthread_kill_internal (signo=6, threadid=139859840395456) at 
./nptl/pthread_kill.c:78
  #2  __GI___pthread_kill (threadid=139859840395456, signo=signo@entry=6) at 
./nptl/pthread_kill.c:89
  #3  0x00007f33a87de476 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/posix/raise.c:26
  #4  0x00007f33a87c47f3 in __GI_abort () at ./stdlib/abort.c:79
  #5  0x0000558b0cfc12a0 in OsAbort () at ../os/utils.c:1353
  #6  0x0000558b0cfccd3f in AbortServer () at ../os/log.c:879
  #7  FatalError (f=0x558b0d020090 "Caught signal %d (%s). Server aborting\n") 
at ../os/log.c:1017
  #8  0x0000558b0cfbf494 in OsSigHandler (unused=<optimized out>, 
sip=0x7fff8fb38df0, signo=7) at ../os/osinit.c:156
  #9  OsSigHandler (signo=7, sip=0x7fff8fb38df0, unused=<optimized out>) at 
../os/osinit.c:110
  #10 <signal handler called>
  #11 xwl_screen_destroy_drm_lease_device (xwl_screen=0x558b0e4cd770, 
wp_drm_lease_device_v1=0x558b0e668b20) at 
../hw/xwayland/xwayland-drm-lease.c:430
  #12 0x00007f33a867be2e in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
  #13 0x00007f33a8678493 in ?? () from /lib/x86_64-linux-gnu/libffi.so.8
  #14 0x00007f33a8e15ad0 in ?? () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
  #15 0x00007f33a8e16243 in ?? () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
  #16 0x00007f33a8e1643c in wl_display_dispatch_queue_pending () from 
/lib/x86_64-linux-gnu/libwayland-client.so.0
  #17 0x0000558b0ce984bb in xwl_read_events (xwl_screen=0x558b0da53550) at 
../hw/xwayland/xwayland-screen.c:482
  #18 xwl_read_events (xwl_screen=0x558b0da53550) at 
../hw/xwayland/xwayland-screen.c:469
  #19 0x0000558b0cfc0a61 in ospoll_wait (ospoll=0x558b0da4f210, 
timeout=<optimized out>) at ../os/ospoll.c:657
  #20 0x0000558b0cf00e30 in WaitForSomething (are_ready=0) at 
../os/WaitFor.c:208
  #21 Dispatch () at ../dix/dispatch.c:492
  #22 0x0000558b0ce8ec63 in dix_main (envp=<optimized out>, argv=<optimized 
out>, argc=<optimized out>) at ../dix/main.c:271
  #23 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) 
at ../dix/stubmain.c:34
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xwayland/+bug/2052512/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to