Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Chrome Crashing Overnight


  • Please log in to reply
33 replies to this topic

#16 Lorikeet

Lorikeet

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:04:02 PM

Posted 13 July 2023 - 11:11 PM

I've been having the exact same issue, and interestingly also on an Optiplex 7050.

 

I solved it, though - in my case, it was light-locker. This seems to get installed by default with most desktops like xfce, but it has hidden settings to lock sessions on power down events and the like which don't appear in the XFCE or Gnome settings panels (and I assume not in KDE either)

 

From what I could work out, not having a battery in the 7050 caused some sort of confusion between it and upower, and so when the optiplex woke up light-locker has a lot of timers go off for events and it flooded so many screen damage events ("session Locked! No it's not. Session locked! No it's not......") that Chrome, most times, just crashed.

 

Setting light-locker's settings to 0 might have worked, but seriously this is not easy to do!

 

So, Chrome is badly written (which we know) but light-locker is not particularly useful on the optiplex setup, so easiest fix - just remove the light-locker package and reboot. Haven't had the issue since, and upower alone handles my screen blanking and sleep just fine, and you can always install xscreensaver if you want that sort of thing.



BC AdBot (Login to Remove)

 


#17 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 17 July 2023 - 05:09 AM

So, Chrome is badly written (which we know) but light-locker is not particularly useful on the optiplex setup, so easiest fix - just remove the light-locker package and reboot. Haven't had the issue since, and upower alone handles my screen blanking and sleep just fine, and you can always install xscreensaver if you want that sort of thing.


It's not that Chrome is badly written because it isn't, it is likely the extension is poorly written and buggy if removing it solves the issue.

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#18 Lorikeet

Lorikeet

  •  Avatar image
  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:04:02 PM

Posted 17 July 2023 - 06:19 AM

light-locker isn't a chrome extension.
It's the screensaver/session locking service from light-dm, pretty much the standard display manager these days.

Almost certainly it's installed as a default by most distros. It's awesome on a laptop but I think the Optiplex ACPI doesn't report the lack of battery properly, and things break for a smallish number of people, probably doesn't warrant the debugging efforts. Took me long enough to identify light-locker's involvement, debugging code is for another lifetime.

Chrome crashed in the same way with no extensions running - Chrome can't handle that many events, and it gets overloaded so much it crashes WITHOUT writing to the crashlog - so, yeah - not an extension's fault, it's Chrome core.

#19 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 17 July 2023 - 06:33 AM

On your system run this

inxi -Fxrzc0 | nc termbin.com 9999

Share the link

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#20 rokytnji

rokytnji

  •  Avatar image
  • Members
  • 728 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:West Texas
  • Local time:11:02 PM

Posted 20 July 2023 - 02:57 PM

What did the chrome crash logs have to say also.

 

 

A crash dump file should appear in the directory ~/. config/chromium/Crash Reports .


Some times I take a crooked road to get my head straight.
Not all who wander are lost.

Not a Leader. Just another idiot with a internet connection.


#21 js10

js10
  • Topic Starter

  •  Avatar image
  • Members
  • 414 posts
  • OFFLINE
  •  
  • Local time:12:02 AM

Posted 20 July 2023 - 03:23 PM

I've been having the exact same issue, and interestingly also on an Optiplex 7050.

 

I solved it, though - in my case, it was light-locker. This seems to get installed by default with most desktops like xfce, but it has hidden settings to lock sessions on power down events and the like which don't appear in the XFCE or Gnome settings panels (and I assume not in KDE either)

 

From what I could work out, not having a battery in the 7050 caused some sort of confusion between it and upower, and so when the optiplex woke up light-locker has a lot of timers go off for events and it flooded so many screen damage events ("session Locked! No it's not. Session locked! No it's not......") that Chrome, most times, just crashed.

 

Setting light-locker's settings to 0 might have worked, but seriously this is not easy to do!

 

So, Chrome is badly written (which we know) but light-locker is not particularly useful on the optiplex setup, so easiest fix - just remove the light-locker package and reboot. Haven't had the issue since, and upower alone handles my screen blanking and sleep just fine, and you can always install xscreensaver if you want that sort of thing.

OP here. Thanks -- yes, it IS interesting that it's the same hardware! It sounds like you're far ahead of me in terms of tech skills. I don't even know what light-locker is. I am still, though, having that same problem intermittently. And I'm also skeptical about the possibility of an extension being the problem, as unlike some people, I simply don't run that many of them. 



#22 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 20 July 2023 - 03:46 PM

What extensions do you have?

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#23 js10

js10
  • Topic Starter

  •  Avatar image
  • Members
  • 414 posts
  • OFFLINE
  •  
  • Local time:12:02 AM

Posted 10 December 2023 - 11:16 AM

Okay, it's happening literally every night now where it used to happen only maybe once a week or so, and it's getting disruptive. To be clear, I haven't added any new extensions, in case someone thinks that that's what's responsible, and I've also disabled ALL of what extensions I do have at the end of the day. Yet, again, it's not just still happening, but happening much more often now.
 
It seems like I'm not the only one this is happening to, but I don't see a solution yet: https://support.google.com/chrome/thread/208813014/chrome-crashes-in-course-of-sleep-hibernation-and-wake-up-cycle-windows-11?hl=en . But this pertains to Windows while for me it's obviously with Linux. Thanks. 


#24 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 19 December 2023 - 11:39 AM


Okay, it's happening literally every night now where it used to happen only maybe once a week or so, and it's getting disruptive. To be clear, I haven't added any new extensions, in case someone thinks that that's what's responsible, and I've also disabled ALL of what extensions I do have at the end of the day. Yet, again, it's not just still happening, but happening much more often now.
 
It seems like I'm not the only one this is happening to, but I don't see a solution yet: https://support.google.com/chrome/thread/208813014/chrome-crashes-in-course-of-sleep-hibernation-and-wake-up-cycle-windows-11?hl=en . But this pertains to Windows while for me it's obviously with Linux. Thanks. 


Can you send me tabs you leave open so I can test on my desktop?

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#25 js10

js10
  • Topic Starter

  •  Avatar image
  • Members
  • 414 posts
  • OFFLINE
  •  
  • Local time:12:02 AM

Posted 23 December 2023 - 05:37 PM

 

Okay, it's happening literally every night now where it used to happen only maybe once a week or so, and it's getting disruptive. To be clear, I haven't added any new extensions, in case someone thinks that that's what's responsible, and I've also disabled ALL of what extensions I do have at the end of the day. Yet, again, it's not just still happening, but happening much more often now.
 
It seems like I'm not the only one this is happening to, but I don't see a solution yet: https://support.google.com/chrome/thread/208813014/chrome-crashes-in-course-of-sleep-hibernation-and-wake-up-cycle-windows-11?hl=en . But this pertains to Windows while for me it's obviously with Linux. Thanks. 


Can you send me tabs you leave open so I can test on my desktop?

 

Sorry I didn't see this sooner. The thing is, though, it's not like any one set of tabs that are open. It really just depends on the day and what I have going on. 

 

It's also, by the way, returned to "normal" a bit now, as in more like once or twice a week rather than every day. So even that's inconsistent!


Edited by js10, 23 December 2023 - 05:38 PM.


#26 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 23 December 2023 - 05:45 PM

Again what sites you can send them to my inbox

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#27 js10

js10
  • Topic Starter

  •  Avatar image
  • Members
  • 414 posts
  • OFFLINE
  •  
  • Local time:12:02 AM

Posted 23 December 2023 - 07:14 PM

But I just said that there is no "standard" set of sites -- it changes day-by-day! So there's really no answer to that question. 



#28 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 23 December 2023 - 07:16 PM

When you return to chrome what state is it in, and can you run chrome in a terminal to display logging activity?

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#29 js10

js10
  • Topic Starter

  •  Avatar image
  • Members
  • 414 posts
  • OFFLINE
  •  
  • Local time:12:02 AM

Posted 23 December 2023 - 07:19 PM

It's just disappeared from my screen. So if I had tabs of Chrome open in addition to an offline Linux window (the Documents window, for example), that offline window will then be what appears on my screen. And I have no idea what running Chrome in a terminal is! I've, of course, used the terminal to install things, but I had no idea that Chrome can be run in it. 



#30 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 33,826 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:05:02 AM

Posted 23 December 2023 - 07:23 PM

You type in

google-chrome-stable

It'll open up and you'll see activity and debugging information in the terminal.

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users