Alex313031 / Thorium-Special

Special builds of Thorium for SSE3 and different processors.
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
183 stars 5 forks source link

Problem with Google Sheets on MacOS M1 with 106.0.5212.0 #21

Closed aaykut closed 1 year ago

aaykut commented 2 years ago

Hi,

I'm probably being an absolute dolt but I have an issue with Thorium_MacOS_106.0.5212.0_ARM64 and Google Sheets. The Sheets page with all my sheets opens just fine, but when I try to get to any one of my files, I get an error:

image

Before this page, the sheet contents show up for a brief sec before the error page shows up. I have tried various things (logout/in, restart, clearing cookies, etc.) to no avail. No issues with Google Docs, or Slides, etc. just Sheets.

What am I doing wrong?

Thanks, Anthony

Alex313031 commented 2 years ago

@aaykut No you are not a dolt. I think this may be related to https://github.com/Alex313031/Thorium/issues/23

It seems to only show up sometimes, and I havent been able to recreate it, but you are the third person to comment on issues with either displaying improperly or tab crashing when using google sheets.

Also, you got to experience my easter egg in Thorium, changing Aw, Snap! to Aw, Fuck!, and chanding the "sad tab" icon to red lol.

m1m1s1ku commented 2 years ago

Got it too with the latest release. on an M1 Macbook Pro (12.5.1)

Sheet : https://docs.google.com/spreadsheets/d/19G4dCHRkee8aqZkOCpRPUlRGHzAmvJjl15p4mSGa-L4/edit

Works great with the exact same release on a x64 Macbook Pro (12.5.1 too)

m1m1s1ku commented 2 years ago

Same here : https://www.lfde.com/en-int/our-funds/echiquier-agenor-sri-mid-cap-europe-a/ (not google docs)

(Aw, fuck! (or code 11) happens only on M1 Macbook Pro, this website works great with Thorium latest on an Intel Core i5 Macbook Pro)

If I quickly "stop" downloading the page just after showing up, page works great 😅

Alex313031 commented 2 years ago

@aaykut @m1m1s1ku It would be alot easier for me to debug these if I actually had a macbook. I only make the source for it, @midzer build it for me on his mac, and he is in germany. So I cant really do local debugging. If this issue persists for more releases, then I will have a facetime with midzer and try to guide him through the phone on doing a debugging session.

m1m1s1ku commented 2 years ago

I will have a facetime with midzer and try to guide him through the phone on doing a debugging session.

If you have any guidelines on how to debug / what can be useful for you, let me know also ! Happens on random websites, a bit annoying but easy workaround (use safari 😓)

aaykut commented 2 years ago

Thanks @Alex313031 -- keep us posted on how it goes, we're on standby to do any testing if/when needed.

Alex313031 commented 2 years ago

@m1m1s1ku I mean the general way to start would be to launch thorium from the command line and then open developer tools, and then look for errors both in the dev tools console, and the terminal. If that doesn't show anything useful, then one would debug it according to https://chromium.googlesource.com/chromium/src/+/HEAD/docs/mac/debugging.md

Although there are two caveats, you would substitute chrome for thorium, since the executables are named differently. And 2, the thorium builds here are release builds, i.e. they have is_debug set to false, and have symbols stripped out. So debugging would be limited. If it comes down to having to do a low level debugging session like in that chromium doc, then I will have to have midzer make a debug release. Or someone else could do it, following the info in this dir in the thorium tree https://github.com/Alex313031/Thorium/tree/main/infra/DEBUG

abilashs1990 commented 2 years ago

Hi, I have been getting this for almost all websites.

  1. Google Calendar after I schedule a meeting using quick view.
  2. https://community.atlassian.com/t5/Jira-Software-questions/How-to-add-a-Assignee-filter-to-the-quick-filter/qaq-p/868866
  3. Google Sheets
  4. Sometimes on Tradingview
colin-campbell commented 2 years ago

Same issue with Google sheets and calendar. The VM just disappears from devtools but I have a strange warning on startup from console:

objc[47350]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x238568b68) and /Applications/Thorium.app/Contents/Frameworks/Thorium Framework.framework/Versions/107.0.5253.0/Libraries/libGLESv2.dylib (0x10513e810). One of the two will be used. Which one is undefined.

m1m1s1ku commented 2 years ago

Same issue with the latest release (when https://keplr.app is finished loading as an example, or link shared above)

markounikau commented 2 years ago

I confirm that the issue persists on Apple Silicon. MacOS 12.5.1, Thorium 107.0.5279.0 (arm64). Getting "Oh, Snap!" for https://anaconda.org/ https://finance.yahoo.com/ https://console.cloud.google.com/ when opening spreadsheets via https://docs.google.com/spreadsheets and for many other URLs

aaykut commented 2 years ago

@Alex313031 : fyi, these problems still persist with M107.0.5279.0

abilashs1990 commented 2 years ago

Downgraded my browser to 105.0.5194.0 (Official Build) (arm64) and I don't see this problem. It looks like it started in versions after this build

aaykut commented 2 years ago

Downgraded my browser to 105.0.5194.0 (Official Build) (arm64) and I don't see this problem. It looks like it started in versions after this build

@abilashs1990 @Alex313031 I can confirm! Downgrading to this build takes away both the google sheets issue & the jittery webgl gfx issue for me.

markoffkin commented 2 years ago

@abilashs1990 @Alex313031 @aaykut Also confirm that 105.0.5194.0 (Official Build) (arm64) works like a charm for me.

Alex313031 commented 2 years ago

@colin-campbell @aaykut @m1m1s1ku @markoffkin @abilashs1990 See if latest release fixes issues.

aaykut commented 2 years ago

@Alex313031 Google Sheets are still broken for me.

markoffkin commented 2 years ago

@Alex313031 Nope, all issues are still there.

chanours75001 commented 2 years ago

@Alex313031 I confirm, since version 105.0.5194.0 google sheet and other sites return error 11. I have tested all versions since and always the same error. Macbook Pro (M1 Pro) 13.0.1

BTW, thanks a lot for your great work

limex commented 1 year ago

+1 for me on multiple Sites. Any chance to get a new release soon? Anyone who can confirm which older release of Thorium works without crash?

foxt commented 1 year ago

visiting https://tetr.io in Thorium 109.5361.0 on M1 Max causes instant crash.

limex commented 1 year ago

New Release https://github.com/Alex313031/Thorium-Special/releases/tag/M109.0.5414.120-2 still crashes for me on multiple sites (i.e. hosted confluence therefore I cant share it here ;) ). Anyone here with better results on their problems?

gz83 commented 1 year ago

New Release https://github.com/Alex313031/Thorium-Special/releases/tag/M109.0.5414.120-2 still crashes for me on multiple sites (i.e. hosted confluence therefore I cant share it here ;) ). Anyone here with better results on their problems?

@limex Does the browser crash when in incognito mode or with clean user data?

limex commented 1 year ago

@gz83 tnx 4 quick answer.

gz83 commented 1 year ago

@gz83 tnx 4 quick answer.

  • Incognito: page works!
  • "Normal" (Non-Incognito) + Cleared all browsing data + disabled all extensions: page crashes!

@limex Please continue to follow the steps below to troubleshoot:

  1. Open chrome://flags, make sure that the experimental feature flag is not turned on, and restart the browser to check again.

  2. Completely close the browser, move the User Data folder from the user data directory (remember to back it up), reopen the browser (at this time the browser operates under clean user data), and then test again.

limex commented 1 year ago

@gz83 I understand that with "User Data Folder" you mean the /Users/MYUSERNAME/Library Folder.

It would not be wise to move a 14GB big folder that stores almost everything from every app just to find out if Thorium crashes or not!

Any idea what Thorium specific folders I can rename to have a fresh Thorium?

/Library/Application Support/Thorium/ /Library/Caches/Thorium/ /Library/Saved Application State/org.chromium.Thorium.savedState

... is what I found. But I don't know what is hidden in different folder names.

gz83 commented 1 year ago

@gz83 I understand that with "User Data Folder" you mean the /Users/MYUSERNAME/Library Folder.

It would not be wise to move a 14GB big folder that stores almost everything from every app just to find out if Thorium crashes or not!

Any idea what Thorium specific folders I can rename to have a fresh Thorium?

/Library/Application Support/Thorium/ /Library/Caches/Thorium/ /Library/Saved Application State/org.chromium.Thorium.savedState

... is what I found. But I don't know what is hidden in different folder names.

@limex Regarding the user data folder, you can refer to the official documentation provided by Google for details https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md#Mac-OS-X

limex commented 1 year ago

According to the link above, I did a Rename of ... /Library/Application Support/Thorium/ /Library/Caches/Thorium/ /Library/Saved Application State/org.chromium.Thorium.savedState ... to get the same issue:

image

UPDATE 2023-02-13: I checked the Dev Console. No Errors, just 48 Depreciated.

I'm out of this. I wish all others more luck with their issues. I'm moving to Canary. The Browser. Not the island. ;)

Alex313031 commented 1 year ago

@limex This is strange indeed, that incognito worked but not regular browsing. @midzer We are gonna have to make some mac builds with vanilla build.gns, and then release those to the public with a disclaimer that performance will be similar to a vanilla chromium release, to get feedback from users on if it fixes their page loading problems. @gz83 Thanks for helping him with the user data dir.

Thorium aims to increase performance and usability, and it's not reaching that goal very well if it is crashing! Sorry to anyone whose workflow this interrupted, I will be putting the MacOS M1 and Windows AVX2 bugs at a higher priority now that we at least got another release out after months.

m1m1s1ku commented 1 year ago

Looks like latest release fixes the issue ! (This one : https://github.com/Alex313031/Thorium-Special/releases/tag/M110.0.5481.178-2)

Google sheets and other websites mentioned there working perfectly on a Mac Studio

Alex313031 commented 1 year ago

@gz83 @midzer @m1m1s1ku This is good news. We were trying to fix the arm64 version for M110 release. I made a bold fonted comment at the top to tell people to please file/update their bugs. I have no mac so I cant test the in-progress fixes, I have to rely on the community.

limex commented 1 year ago

Fix for me as well. This is very good news! Thanks so much! 👍

Alex313031 commented 1 year ago

@midzer Looks like we finally fixed the M1 builds lol.

markounikau commented 1 year ago

@Alex313031 The new M110 works for me, too. Great to be up-to-date again, thanks a lot!