[Bug 2003031] Re: [i915] Using gnome-shell with a USB-C dock causes the kernel to log "adding CRTC not allowed without modesets" and crashes in drm_atomic_check_only

2023-07-21 Thread Ghadi Rahme
This issue might be kernel related and not mutter related. I am running
kubuntu 23.04 with kde plasma 5.27.4 with kwin under wayland and when
plugging in to a usbc to HDMI adapter I received the kernel warning:
"adding CRTC not allowed without modesets: requested 0x2, affected 0x3".

Machine: Dell XPS 17 9720 (2022)
CPU: intel core i9 12900HK
GPU: RTX 3060 6GB + intel Xe graphics
Nvidia driver: 535.54.03-0ubuntu1 (proprietary)
OS: Kubuntu 23.04 (Lunar)
Desktop environment: Plasma 5.27.4
Compositor: Wayland
Window manager: Kwin
kernel: 6.2.0-25-generic

Attached is my dmesg output.


** Attachment added: "kern-drm-crash.log"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2003031/+attachment/5687763/+files/kern-drm-crash.log

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

Title:
  [i915] Using gnome-shell with a USB-C dock causes the kernel to log
  "adding CRTC not allowed without modesets" and crashes in
  drm_atomic_check_only

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-07-17 Thread Ghadi Rahme
Hi Sebastien,

Yes the fix was SRUed but I was under the impression that if the patch
changes upstream it would need to be updated here as well, but I guess
it isn't the case after all. Sorry for the confusion.

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-07-10 Thread Ghadi Rahme
** Patch added: "[mantic]flush-signal-handler-on-udev-timeout.diff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5685191/+files/%5Bmantic%5Dflush-signal-handler-on-udev-timeout.diff

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-07-10 Thread Ghadi Rahme
** Patch added: "[lunar]flush-signal-handler-on-udev-timeout.diff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5685190/+files/%5Blunar%5Dflush-signal-handler-on-udev-timeout.diff

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-07-10 Thread Ghadi Rahme
Below are the updated patches for each release. The changes are now the same as 
upstream and I renamed the patch for jammy and mantic to be more indicative of 
what the patches do (as well as to be the same as lunar).
If anything needs changing please let me know!

** Patch added: "[jammy]flush-signal-handler-on-udev-timeout.diff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5685189/+files/%5Bjammy%5Dflush-signal-handler-on-udev-timeout.diff

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-06-29 Thread Ghadi Rahme
Hey everyone,

Today the changes were merged upstream after I did some slight
modifications to the patch last week. The change is mainly esthetic and
is not related to any possible regressions mentioned by upstream.

https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/210

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-06-14 Thread Ghadi Rahme
Hello Everyone,

It seems that the regression that appeared in the autopkgtest for Jammy
has been resolved and now the test succeeds on all architectures.

However the test for Lunar fails due to an issue related to the
autopkgtest script. The test in question that is failing is the
"testcase_nvme_basic" test and the issue seems to be related to the test
itself since the logs report a segfault occurring in the "test-
functions" script. QEMU is also reporting multiple warnings about the
use of a deprecated variable name being used by the test. The logs of
the error can be found here:
https://pastebin.canonical.com/p/cTc2RQN84m/

Also this error is occurring very early on in the boot phase (before the
kernel is even up and running) so I cannot see the GDM patch being the
reason or the cause of the issue.

I would love for someone to chime in and confirm if my analysis is
correct or not.

Regards,
Ghadi

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1974293] Re: gnome-shell crashed on logout with SIGSEGV in js::gc::Cell::storeBuffer() from js::gc::PostWriteBarrierImpl()

2023-06-05 Thread Ghadi Rahme
Hi Steve,

I was able to confirm the fix for Jammy in a VM:

1. ghadi@ghadi-Standard-PC-Q35-ICH9-2009:~$ sudo apt list gjs
Listing... Done
gjs/jammy-proposed,now 1.72.2-0ubuntu2 amd64 [installed]
gjs/jammy-proposed 1.72.2-0ubuntu2 i386

2. Used the desktop for around 15 minutes. Opened browser tabs, scrolled
through the calendar for over 30s and scrolled through the launcher

3. Logged out of the session and logged back in.

4. ghadi@ghadi-Standard-PC-Q35-ICH9-2009:~$ ls /var/crash
ghadi@ghadi-Standard-PC-Q35-ICH9-2009:~$ 

Hope this helps.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

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

Title:
  gnome-shell crashed on logout with SIGSEGV in
  js::gc::Cell::storeBuffer() from
  js::gc::PostWriteBarrierImpl()

To manage notifications about this bug go to:
https://bugs.launchpad.net/gjs/+bug/1974293/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-06-02 Thread Ghadi Rahme
** Description changed:

  gdm3 version: 42.0-1ubuntu7.22.04.2
  Ubuntu version: Ubuntu 22.04.2 LTS
  
  [Description]
  Installing or removing snap packages through NICE DCV on AWS will cause the 
user to be kicked out of their session. The issue happens on machines running 
nvidia GPUs (passed through to a VM) with the GRID driver installed as well as 
the normal nvidia driver.
  
  [Steps to reproduce]
  Simply install or remove any snap through the snap store will trigger the 
issue, for example:
  $ snap install skype
  
  also running any of the following commands will also trigger the issue:
  $ snap connect skype:opengl :opengl
  $ snap disconnect skype:opengl :opengl
  $ snap connect skype:camera :camera
  $ snap disconnect skype:camera :camera
  
  After further investigation I was able to pin down the issue to udev and 
could reproduce the issue by running the following command:
  $ sudo udevadm trigger 
--parent-match=/sys/devices/pci:00/:00:1e.0/drm/card0
  
  where "/sys/devices/pci:00/:00:1e.0/drm/card0" corresponds to
  the nvidia GPU of my instance.
  
  A more generic way of triggering the issue would be running:
  $ sudo udevadm trigger
  
  [Solution]
  
  I have investigated the issue and discovered that it lies within GDM3 in the 
"udev_is_settled" function (daemon/gdm-local-display-factory.c).
  In the case where the udev is settled the line "g_clear_signal_handler 
(>uevent_handler_id, factory->gudev_client);" at the end of the 
function is triggered however this is not the case when the function returns 
early and will lead to the user being logged out. In its current implementation 
there are three different return points before "g_clear_signal_handler" is 
executed where the udev devices would already have settled.
  
  I have written a patch that fixes this issue by making sure the function
  "g_clear_signal_handler" is executed in all cases for which the udev is
  settled.
  
  [possible regressions]
  
  Excessive clearing of the signal handler might cause a case where it is
  not being re-initialized the next time it is needed.
+ 
+ [Base test plan]
+ 
+ This test plan is to make sure the issue listed in the description
+ section is fixed.
+ 
+ 1. Create a new nvidia accelerated VM instance on AWS with NICE DCV and
+ the GRID driver (or normal driver) installed. Make sure the GPU is being
+ fully passed through to the instance (do not slice the GPU).
+ 
+ 2. Access the instance using the NICE DCV client and login.
+ 
+ 3. Install any snap package (E.g $ snap install skype).
+ 
+ 4. Verify there are no new sessions being launched with the user being gdm.
+ $ sudo loginctl
+ Also make sure that you don't get logged out of your own session.
+ 
+ 5. Repeat step 4 while running the following command as well:
+ $ sudo udevadm trigger
+ 
+ 6. If the current session stays active and no new sessions spawn while
+ performing step 3 or 5, the test succeeded.
+ 
+ [Extra tests]
+ 
+ This test plan is a sanity check to make sure no regressions have been
+ created.
+ 
+ 1. Login to the session
+ 
+ 2. Run a few applications (E.g: Nautilus, gedit, terminal, firefox,
+ skype, libreoffice, mpv, vlc...) and use some on the built in features
+ (E.g: the launcher, search...)
+ 
+ 3. Switch sessions without terminating the current one.
+ 
+ 4. Login as a separate user and repeat step 2
+ 
+ 5. Go back to the first session and make sure everything behaves as
+ expected
+ 
+ 6. Switch to init 3:
+ $ init 3
+ and go back to init 5 afterwards:
+ $ init 5
+ 
+ 7. If no issues were found, the test succeeded.

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-06-01 Thread Ghadi Rahme
** Description changed:

  gdm3 version: 42.0-1ubuntu7.22.04.2
  Ubuntu version: Ubuntu 22.04.2 LTS
  
  [Description]
  Installing or removing snap packages through NICE DCV on AWS will cause the 
user to be kicked out of their session. The issue happens on machines running 
nvidia GPUs (passed through to a VM) with the GRID driver installed as well as 
the normal nvidia driver.
  
  [Steps to reproduce]
  Simply install or remove any snap through the snap store will trigger the 
issue, for example:
  $ snap install skype
  
  also running any of the following commands will also trigger the issue:
  $ snap connect skype:opengl :opengl
  $ snap disconnect skype:opengl :opengl
  $ snap connect skype:camera :camera
  $ snap disconnect skype:camera :camera
  
  After further investigation I was able to pin down the issue to udev and 
could reproduce the issue by running the following command:
  $ sudo udevadm trigger 
--parent-match=/sys/devices/pci:00/:00:1e.0/drm/card0
  
  where "/sys/devices/pci:00/:00:1e.0/drm/card0" corresponds to
  the nvidia GPU of my instance.
  
  A more generic way of triggering the issue would be running:
  $ sudo udevadm trigger
  
  [Solution]
  
  I have investigated the issue and discovered that it lies within GDM3 in the 
"udev_is_settled" function (daemon/gdm-local-display-factory.c).
  In the case where the udev is settled the line "g_clear_signal_handler 
(>uevent_handler_id, factory->gudev_client);" at the end of the 
function is triggered however this is not the case when the function returns 
early and will lead to the user being logged out. In its current implementation 
there are three different return points before "g_clear_signal_handler" is 
executed where the udev devices would already have settled.
  
  I have written a patch that fixes this issue by making sure the function
  "g_clear_signal_handler" is executed in all cases for which the udev is
  settled.
+ 
+ [possible regressions]
+ 
+ Excessive clearing of the signal handler might cause a case where it is
+ not being re-initialized the next time it is needed.

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-05-31 Thread Ghadi Rahme
** Patch added: "gdm3-logout-patch-mantic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5676937/+files/gdm3-logout-patch-mantic.debdiff

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-05-31 Thread Ghadi Rahme
** Patch added: "gdm3-logout-patch-lunar.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5676936/+files/gdm3-logout-patch-lunar.debdiff

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-05-31 Thread Ghadi Rahme
** Also affects: gdm3 (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Changed in: gdm3 (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: gdm3 (Ubuntu Jammy)
 Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

** Changed in: gdm3 (Ubuntu Jammy)
   Status: New => In Progress

** Also affects: gdm3 (Ubuntu Mantic)
   Importance: High
 Assignee: Ghadi Rahme (ghadi-rahme)
   Status: In Progress

** Also affects: gdm3 (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Changed in: gdm3 (Ubuntu Lunar)
   Importance: Undecided => High

** Changed in: gdm3 (Ubuntu Lunar)
 Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

** Changed in: gdm3 (Ubuntu Lunar)
   Status: New => In Progress

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1974293] Re: gnome-shell crashed on logout with SIGSEGV in js::gc::Cell::storeBuffer() from js::gc::PostWriteBarrierImpl()

2023-05-30 Thread Ghadi Rahme
Here is the Merge request: https://salsa.debian.org/gnome-
team/gjs/-/merge_requests/22

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

Title:
  gnome-shell crashed on logout with SIGSEGV in
  js::gc::Cell::storeBuffer() from
  js::gc::PostWriteBarrierImpl()

To manage notifications about this bug go to:
https://bugs.launchpad.net/gjs/+bug/1974293/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1974293] Re: gnome-shell crashed on logout with SIGSEGV in js::gc::Cell::storeBuffer() from js::gc::PostWriteBarrierImpl()

2023-05-29 Thread Ghadi Rahme
Sure thing, I am still waiting for my account to be approved to get
access to debian salsa. Once I get access I'll create the merge request.

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

Title:
  gnome-shell crashed on logout with SIGSEGV in
  js::gc::Cell::storeBuffer() from
  js::gc::PostWriteBarrierImpl()

To manage notifications about this bug go to:
https://bugs.launchpad.net/gjs/+bug/1974293/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-05-24 Thread Ghadi Rahme
Here is the merge request:
https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/210

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] Re: Installing or removing apps through snap-store launches another gdm session

2023-05-24 Thread Ghadi Rahme
** Patch added: "gdm3-logout-patch.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2020641/+attachment/5675266/+files/gdm3-logout-patch.debdiff

** Changed in: gdm3 (Ubuntu)
   Importance: Undecided => High

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2020641] [NEW] Installing or removing apps through snap-store launches another gdm session

2023-05-24 Thread Ghadi Rahme
Public bug reported:

gdm3 version: 42.0-1ubuntu7.22.04.2
Ubuntu version: Ubuntu 22.04.2 LTS

[Description]
Installing or removing snap packages through NICE DCV on AWS will cause the 
user to be kicked out of their session. The issue happens on machines running 
nvidia GPUs (passed through to a VM) with the GRID driver installed as well as 
the normal nvidia driver.

[Steps to reproduce]
Simply install or remove any snap through the snap store will trigger the 
issue, for example:
$ snap install skype

also running any of the following commands will also trigger the issue:
$ snap connect skype:opengl :opengl
$ snap disconnect skype:opengl :opengl
$ snap connect skype:camera :camera
$ snap disconnect skype:camera :camera

After further investigation I was able to pin down the issue to udev and could 
reproduce the issue by running the following command:
$ sudo udevadm trigger 
--parent-match=/sys/devices/pci:00/:00:1e.0/drm/card0

where "/sys/devices/pci:00/:00:1e.0/drm/card0" corresponds to
the nvidia GPU of my instance.

A more generic way of triggering the issue would be running:
$ sudo udevadm trigger

[Solution]

I have investigated the issue and discovered that it lies within GDM3 in the 
"udev_is_settled" function (daemon/gdm-local-display-factory.c).
In the case where the udev is settled the line "g_clear_signal_handler 
(>uevent_handler_id, factory->gudev_client);" at the end of the 
function is triggered however this is not the case when the function returns 
early and will lead to the user being logged out. In its current implementation 
there are three different return points before "g_clear_signal_handler" is 
executed where the udev devices would already have settled.

I have written a patch that fixes this issue by making sure the function
"g_clear_signal_handler" is executed in all cases for which the udev is
settled.

** Affects: gdm3 (Ubuntu)
 Importance: High
 Assignee: Ghadi Rahme (ghadi-rahme)
 Status: New


** Tags: patch

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

Title:
  Installing or removing apps through snap-store launches another gdm
  session

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1974293] Re: gnome-shell crashed on logout with SIGSEGV in js::gc::Cell::storeBuffer() from js::gc::PostWriteBarrierImpl()

2023-05-19 Thread Ghadi Rahme
This is the back port of the fix for jammy

** Patch added: "jammy-gnome-shell-crash-fix.debdiff"
   
https://bugs.launchpad.net/oem-priority/+bug/1974293/+attachment/5674170/+files/jammy-gnome-shell-crash-fix.debdiff

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

Title:
  gnome-shell crashed on logout with SIGSEGV in
  js::gc::Cell::storeBuffer() from
  js::gc::PostWriteBarrierImpl()

To manage notifications about this bug go to:
https://bugs.launchpad.net/gjs/+bug/1974293/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs