User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Chromium 'awww snap' errors on Pi 4 1Gb

Thu Jul 18, 2019 8:16 pm

I'm a new Pi user (picked up my Pi 4 B 1GB yesterday) -- love how it was amazingly easy to get up and running under Raspbian ... I am however getting a lot of 'awww snap' errors in the Chromium browser ... particularly on the Gmail page but others as well. ... any one else seeing this, is it common, is it possibly a heat or memory usage problem (I have had a few as two tabs open and still see it)

Thoughts? Ideas?

I've watched 'top' a bit and don't see anything too unusual...several chromium threads all at a few percent CPU up to maybe 30% ... most I've seen is 80% at one point...memory usage is generally small...
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

wildfire
Posts: 508
Joined: Sat Sep 03, 2016 10:39 am
Location: Dundee, Scotland

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Thu Jul 18, 2019 8:51 pm

Probably unrelated but possibly so I'll throw it out there...

Using Firefox ESR on a Pi 4b/4gb watching BBC iPlayer and after an hour or so FF crashes.

Using official supply, with fan, keyboard/mouse (wireless). Nothing else connected.

EDIT: Scratch that, tried with both smart tv and laptop and connection is stalling so most likely an ISP issue. Not connected to OP's problem.
NF

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5288
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Fri Jul 19, 2019 4:20 pm

Chromium does use a lot of memory and 1GB may be tight for heavy web sites (especially if multiple tabs are open).

gmail (despite appearances) is a very heavy web site. You can switch to the lighter html version from this link:
https://support.google.com/mail/answer/15049?hl=en

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Fri Jul 19, 2019 4:24 pm

dom wrote:
Fri Jul 19, 2019 4:20 pm
Chromium does use a lot of memory and 1GB may be tight for heavy web sites (especially if multiple tabs are open).

gmail (despite appearances) is a very heavy web site. You can switch to the lighter html version from this link:
https://support.google.com/mail/answer/15049?hl=en
Hmmmm.... Okay.... I was thinking that might be an issue so was watching the 'top' and 'task manager' ... didn't see anything spiking the memory.... typically running at about .5 GB free...

Oh and Thanks!!
Last edited by kennyc on Fri Jul 19, 2019 4:38 pm, edited 1 time in total.
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Fri Jul 19, 2019 4:25 pm

I do think I am going to get the/another Pi 4 with the 4Gb memory ... just cause this is such a wonderful computer/board when I can find one to buy. :) I'm very much impressed with this latest version in particular!
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
Gavinmc42
Posts: 3482
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 12:40 am

Been using the 4B1 for 2 weeks now, no issues with Chromium up to at least 20 tabs.
That many tabs with YT video playing and compiling with Laz/FPC, no problem.

The more recent Chromium releases now seem to use less memory per tabs than previous versions and Firefox
These two seem to tag team, for a while Firefox was beating Chromium on Gentoo64.
Now both are pretty good on Pi's.
I tested both open with 30+ tabs each on Gentoo64 on a 3B+.

Gmail I have not used, perhaps it is combined issue
Even in Windows I have issues with combinations, like Altium and Adobe Acrobat Reader.
Wonder if there is some high usage JS on those gmail pages?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 1:04 am

Gavinmc42 wrote:
Sat Jul 20, 2019 12:40 am
Been using the 4B1 for 2 weeks now, no issues with Chromium up to at least 20 tabs.
That many tabs with YT video playing and compiling with Laz/FPC, no problem.

The more recent Chromium releases now seem to use less memory per tabs than previous versions and Firefox
These two seem to tag team, for a while Firefox was beating Chromium on Gentoo64.
Now both are pretty good on Pi's.
I tested both open with 30+ tabs each on Gentoo64 on a 3B+.

Gmail I have not used, perhaps it is combined issue
Even in Windows I have issues with combinations, like Altium and Adobe Acrobat Reader.
Wonder if there is some high usage JS on those gmail pages?

Yeah, I'm beginning to think it's the pages and their content....I'm surprised about your youtube as mine seems to slow significantly on even one youtube amongst the pages... I have four pages as my default when the browser comes up - news.google.com, gmail, TuneIn, and The Conversation. That combination of four tabs just about brings it to its knees and the errors "Aw, Snap!" tend to happen on the Gmail page/tab but sometimes others ...
Last edited by kennyc on Sat Jul 20, 2019 1:39 am, edited 1 time in total.
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
Gavinmc42
Posts: 3482
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 1:32 am

Well I am only using one 1280x1024 screen and the YT's are 480 lines but windowed.
Not exactly pushing it hard
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 1:49 am

Gavinmc42 wrote:
Sat Jul 20, 2019 1:32 am
Well I am only using one 1280x1024 screen and the YT's are 480 lines but windowed.
Not exactly pushing it hard
Thanks!
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

timur-m
Posts: 19
Joined: Thu Apr 04, 2019 10:50 am
Contact: Website

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 10:00 am

kennyc wrote:
Sat Jul 20, 2019 1:04 am
Yeah, I'm beginning to think it's the pages and their content...
I think the current version of Chromium in Buster (74.0.3729.157) is having an image caching bug. It does not seem to ever give up on any in-memory cached images. If you browse a site that keeps sending new images, you run out of memory in no time.

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 10:02 am

timur-m wrote:
Sat Jul 20, 2019 10:00 am
kennyc wrote:
Sat Jul 20, 2019 1:04 am
Yeah, I'm beginning to think it's the pages and their content...
I think the current version of Chromium in Buster (74.0.3729.157) is having an image caching bug. It does not seem to ever give up on any in-memory cached images. If you browse a site that keeps sending new images, you run out of memory in no time.
Hmmmm..... you may be on to something there.... Much appreciated .... I'll keep an eye on that possibility as well as 'bugs in that version...

Thank You!
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
HawaiianPi
Posts: 4476
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 11:11 am

kennyc wrote:
Fri Jul 19, 2019 4:25 pm
I do think I am going to get the/another Pi 4 with the 4Gb memory ... when I can find one to buy. :)
Pimoroni has all 3 flavors in stock at the moment (1/2/4 GB).
https://shop.pimoroni.com/products/rasp ... 7087445075

Okdo has 4GB in stock.
https://www.okdo.com/us/shop/raspberry- ... oard-only/

PiShop.us is out of 4GB models, but seems to have the 2GB in stock more often than not (that's where I got mine).
https://www.pishop.us/product/raspberry ... del-b-2gb/
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 11:20 am

HawaiianPi wrote:
Sat Jul 20, 2019 11:11 am
kennyc wrote:
Fri Jul 19, 2019 4:25 pm
I do think I am going to get the/another Pi 4 with the 4Gb memory ... when I can find one to buy. :)
Pimoroni has all 3 flavors in stock at the moment (1/2/4 GB).
https://shop.pimoroni.com/products/rasp ... 7087445075

Okdo has 4GB in stock.
https://www.okdo.com/us/shop/raspberry- ... oard-only/

PiShop.us is out of 4GB models, but seems to have the 2GB in stock more often than not (that's where I got mine).
https://www.pishop.us/product/raspberry ... del-b-2gb/
Thank You! Was trying to locate one in/near me/U.S. with minimal shipping time and shipping cost. LOL!

I did see the Okdo in stock but have never dealt/heard of them.... no idea about shipping time/cost either.

as it turns out I think (please don't let this jinx it!) I have one on the way to arrive today ... we'll see...

also fans/heat sinks and a high end micro SD card (in case the cheapo I'm using is potentially an issue .. dunno)

Much appreciated for the links etc... Lovin' this li'l 'puter. :)
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sat Jul 20, 2019 11:23 am

and to continue.... interestingly chromium appears to crash (maybe) every time on this forum page:

https://pluspora.com/stream

maybe others could try it and see what happens on their Pi's ...
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sun Jul 21, 2019 12:57 am

Wow! Just received my Pi 4 4GB.... transferred the sd card from the 1GB and man.... completely different behavior.... no delays all my tabs open and pages loading very fast....the 1Gb was slow slow slow compared to this.

Same amount of memory being used ... about 600MB ... but man ... the difference!! I'm thinking the 1Gb version I bought may have a problem...

I'll keep an eye on this and see if I get any 'Aw, Snap!' errors... if not I'm going to return the 1GB to Micro Center!!

Wow! Vast Difference in behavior and experience!!!
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Sun Jul 21, 2019 7:58 pm

And in further news.... just back from getting a replacement 1GB board and unfortunately it gave the same behavior as the first one....though I've not seen any browser crashes .... yet .... with the "Aw, Snap!" error, still everything is just slow slow slow in responding.....

Not sure what the difference is... I mean.... memory yeah, but according to the Task Manager and Top they are both using about the same 500-600 MB of memory...but the 1MB model is incredibly slow/hesitant/laggy when doing ANYTHING.....

Hmmm....


I've only got the one OS micro SD card (swapping back and forth between them) but may create another one and let them both run for a bit....
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

Hillphanton
Posts: 6
Joined: Sat Jul 13, 2019 6:12 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Mon Jul 22, 2019 6:59 pm

Hi all, here from another post Pi4 Crashes randomly and just wanted to add I am having the same experience with my 1 GB (crashing) and a rock star no crash awesome experience with my 4 GB model. I also have many other versions of PI, and even my ZERO out preforms the 4 1GB when playing video and browsing the web. My Pi3 runs circles around my pi4 1GB in almost all aspects.

On my other thread, the Raspi folks got back to me and says there is currently no known issue like we are describing above so please keep posting to let the great folks at Raspi know many of us are having the same issues with the 1 GB.

They suggested returning to reseller, of course reseller suggests hitting up Raspi Foundation and forums so it's going to be a run around but my purpose really is just to let them know there is in fact a bug on many of these 1 GB cards.

Thank you for you time in reading. Good luck and if I find anything else out I will post to update. For now, 100% loving 4GB model and I am able to do all I need to do for work on it. The only thing is, it's oddly quiet in my office, love it.

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Mon Jul 22, 2019 7:12 pm

Hillphanton wrote:
Mon Jul 22, 2019 6:59 pm
Hi all, here from another post Pi4 Crashes randomly and just wanted to add I am having the same experience with my 1 GB (crashing) and a rock star no crash awesome experience with my 4 GB model. I also have many other versions of PI, and even my ZERO out preforms the 4 1GB when playing video and browsing the web. My Pi3 runs circles around my pi4 1GB in almost all aspects.

On my other thread, the Raspi folks got back to me and says there is currently no known issue like we are describing above so please keep posting to let the great folks at Raspi know many of us are having the same issues with the 1 GB.

They suggested returning to reseller, of course reseller suggests hitting up Raspi Foundation and forums so it's going to be a run around but my purpose really is just to let them know there is in fact a bug on many of these 1 GB cards.

Thank you for you time in reading. Good luck and if I find anything else out I will post to update. For now, 100% loving 4GB model and I am able to do all I need to do for work on it. The only thing is, it's oddly quiet in my office, love it.
Thanks for that and for the confirmation of the issue. Same experience here. Love the 4Gb, but the 1Gb is hardly usable for browser/desktop. :(
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
Gavinmc42
Posts: 3482
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 1:52 am

Thanks for that and for the confirmation of the issue. Same experience here. Love the 4Gb, but the 1Gb is hardly usable for browser/desktop.
Anyone got a 2GB version?

My 1GB is fine but I am not pushing it.
Every update/upgrade/dist-upgrade seems to make it better/cooler.
It got a bit warm 75C when compiling so I shut down the browser while compiling big stuff.

Looks like my local supplier only has 1GB and 2GB while the 4GB is on backorder till Sep.

I guess you guys are going to the big bloaty webpages?
many of us are having the same issues with the 1 GB
Wonder if there are webpages designed to test browsers?
Going to random, have to login pages is not ideal.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 3482
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 1:55 am

I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 9:18 am

Gavinmc42 wrote:
Tue Jul 23, 2019 1:52 am
Thanks for that and for the confirmation of the issue. Same experience here. Love the 4Gb, but the 1Gb is hardly usable for browser/desktop.
Anyone got a 2GB version?

My 1GB is fine but I am not pushing it.
Every update/upgrade/dist-upgrade seems to make it better/cooler.
It got a bit warm 75C when compiling so I shut down the browser while compiling big stuff.

Looks like my local supplier only has 1GB and 2GB while the 4GB is on backorder till Sep.

I guess you guys are going to the big bloaty webpages?
many of us are having the same issues with the 1 GB
Wonder if there are webpages designed to test browsers?
Going to random, have to login pages is not ideal.
Yes, that would be interesting.....I'm tempted to get one just to find out.

BTW (I'm relearning everything I've forgotten or never knew about Linux) watching 'top' with the 1gb it appears to be consuming the swap memory and that is causing the slowdown. This replacement 1Gb board doesn't crash with the "Aw, Snap!" errors the way its predecessor did but it slows/stops making it almost unusable with my four default tabs. If I close everything but Gmail it is usable but....

as far as availability.... Canakit and Amazon have the 2Gb (in the U.S.) in fact I ordered the 4Gb canakit basic from Amazon and did the One-Day Delivery... it arrived by 6 P.M. ... first time I've tried that one-day thing.... quite pleased...

Will consider getting the 2Gb.....I'm sure I could use it for something.... hmmm....hmmmm...
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
Gavinmc42
Posts: 3482
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 10:39 am

BTW (I'm relearning everything I've forgotten or never knew about Linux) watching 'top' with the 1gb it appears to be consuming the swap memory and that is causing the slowdown.
That's very interesting.
I do a lot of compiling so I have increased my swap file.
To increase the size of the swap file follow these simple instructions courtesy of our good friend Hans Otten:

sudo nano /etc/dphys-swapfile

Edit the CONF_SWAPSIZE value to be 1000 or greater

sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
ls -lh /var

And check that the file "swap" is now the size specified above
Could the fix be a swap file increase?
I don't worry about "top" these days ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 10:48 am

Gavinmc42 wrote:
Tue Jul 23, 2019 10:39 am
BTW (I'm relearning everything I've forgotten or never knew about Linux) watching 'top' with the 1gb it appears to be consuming the swap memory and that is causing the slowdown.
That's very interesting.
I do a lot of compiling so I have increased my swap file.
To increase the size of the swap file follow these simple instructions courtesy of our good friend Hans Otten:

sudo nano /etc/dphys-swapfile

Edit the CONF_SWAPSIZE value to be 1000 or greater

sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
ls -lh /var

And check that the file "swap" is now the size specified above
Could the fix be a swap file increase?
I don't worry about "top" these days ;)
I'll give it a try .... may be a bit...
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 3:39 pm

Okay I tried it. That helped a bit. I increased the swap to 1000 as the posted procedure indicated (which for some reason seems a lot to me).

I'm actually posting this from the 1Gb Pi4 with this setting and my other tabs are running up as well....still significant time when switching between tabs but not nearly as bad as at the '100' default setting.

top is showing the swap space used at around 300-400 which is way more than 100 as it was before... there is still 'free' swap of 700-800 so if I"m guessing right Raspbian is swapping out these 300-400 memory blocks to the disk/sd card and that sort of makes sense since the Task Manager shows the Chromium processes (tabs?) as about that same size 300-400 Mb..

Hmmm...

Still slow, but somewhat usable.

Thanks for that suggestion @Gavinmc42 !!
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

User avatar
kennyc
Posts: 74
Joined: Mon Jul 15, 2019 9:26 am

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Tue Jul 23, 2019 10:30 pm

Yes, it is usable with the increased swapfile size....been using it off and on all day to browse, mail, visit this forum, etc, etc..

Going to try a faster SDHC card and see what that does...if anything...
Kenny A. Chaffin
Blog: http://mansionsofthemind.blogspot.com/
Art: https://www.deviantart.com/kennyc
"Strive on with Awareness" - Siddhartha Gautama

Return to “Troubleshooting”