Skip to content

Enabling the plugin causes Google Chrome to crash. #1947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
wxyShine opened this issue May 7, 2025 · 52 comments
Closed
1 task

Enabling the plugin causes Google Chrome to crash. #1947

wxyShine opened this issue May 7, 2025 · 52 comments

Comments

@wxyShine
Copy link

wxyShine commented May 7, 2025

Which version of floccus are you using?

5.5.3

How many bookmarks do you have, roughly?

5k

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Google Drive

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

136.0.7103.93(正式版本) (64 位)

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

5.5.3 was functioning normally before the update, but after upgrading, Google Chrome became unusable. The browser crashes a few seconds after opening. Disabling this plugin allows the browser to function properly.

Expected Behavior

Open Google Chrome, and it automatically closes after a few seconds.

To Reproduce

Open Google Chrome, and it automatically closes after a few seconds.

Debug log provided

  • I have provided a debug log file
@wxyShine wxyShine added the bug label May 7, 2025
Copy link

github-actions bot commented May 7, 2025

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings.
I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient. It helps when you stick around to answer follow up questions I may have,
as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report
and the issue cannot be solved without it, I will have to close the issue after a while.
Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way,
I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already.
You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue!
Cheers 💙

@marcelklehr
Copy link
Member

Hello @wxyShine
Thank you for giving feedback by opening this issue! I appreciate it!
There is a similar report about Firefox. I will investigate.

@marcelklehr marcelklehr moved this to Triaging in Floccus May 7, 2025
@mkraftman
Copy link

I have exactly the same issue on both Chrome and Edge and on multiple PCs

@marcelklehr
Copy link
Member

The firefox issue turned out to be a non-issue. I can currently not reproduce this with 136.0.7103.92 on linux. Are you on Windows, Mac or Linux/Unix?

@K3NN-7
Copy link

K3NN-7 commented May 9, 2025

Confirming I also have this issue. Seems to be affecting Chromium based browsers. I have Brave, Edge, and Chrome on multiple windows pc. Browsers start up fine until Floccus starts syncing and immediately crashes them.

@markrousell
Copy link

markrousell commented May 10, 2025

Also experiencing it here. Running on Windows, I have multiple Edge and LibreWolf browser profiles and the problem only occurs in Edge profiles.

I am not yet certain but currently I think that it happens only when I have made a change in bookmarks in Edge browser profiles. Conversely, making a change in a LibreWolf browser profile and syncing to Edge does not seem to cause the problem.

Once it starts happening in any Edge browser profile, it continues happening as soon as Floccus begins to try and sync.

To cure the problem (at least until it begins again), I have to uninstall Floccus from Edge, reinstall it, recreate the Floccus profile, and then I can do an initial sync successfully.

Edge 136.0.3240.64 on Windows 11 Pro 22H2 (yes, I know, old).

Additional:-
In a possibly related issue, it seems to me that deletions done in Edge are not being synced outwards. If I delete a folder on Edge and then sync, no Edge or LibreWolf profile that I sync later will see that the folder has been deleted. If I delete the same folder on Librewolf and then sync, it will be deleted in Edge as expected.

@servicedevice
Copy link

servicedevice commented May 10, 2025

I might have useful information (EDIT: maybe not, see bottom) as to why this is happening. I have only had floccus for three weeks or so, but in the last week this has been happening to me as well. This seems to happen, at least for me, during the quirk that exists wherein if you close the browser during a sync, the extension exercises caution such that reopening the browser results in a "sync scheduled" notification that leads to no sync for two hours, for whatever mysterious reason (all this is in the FAQ on the floccus site). Every time this happens to me, that is what floccus is saying on that browser in the two seconds I have before Chrome closes--that the sync is scheduled, pending things getting sorted out. The browser on the other device without the warning will stay open just fine. Reinstalling floccus fixes it until the sync is scheduled again (presumably because you closed the browser during a sync, but I can't swear to that), and then you are out of luck all over again. No way out except reinstalling (or, once it is reinstalled, opting for manual syncs only to avoid closing the browser mid-sync. Or you could just always make sure it is not caught mid-sync when you close your browser, assuming this bug is not resulting in a scheduled state for some other reason. Not great options, but hopefully will tide people over until the developer can make a fix). It is possible I am misinterpreting, and the scheduled state results from the initial crash, but the extension is capable of carrying on normally without crashing Chrome for days, so it does seem possibly related.

EDIT: decided to close the browser during a sync to force the issue. Sync is now scheduled but the browser stays open. Would this be different if another element had been different ( I did have autosync turned off at the time for at least one of the devices, and it may have also previously been an issue of the browser getting closed from the other device first rather than on the same machine)? Maybe? But I don't have the time to experiment endlessly, so that's all from my end.

@marcelklehr
Copy link
Member

I got a hold of a Windows machine, but have so far been unsucessful in reproducing this :/

Edge 136.0.3240.64
Chrome 136.0.7103.93

@mkraftman
Copy link

I think we are all syncing to Google Drive. Have you tested with that?

@marcelklehr
Copy link
Member

Yes, Google Drive and WebDAV with a few thousand bookmarks on both Edge on Windows and Chrome on Windows. I have a hunch it may have to do with the new logging system, which may be accumulating too much data.

Could you try downloading the debug logs in the profile settings of a profile of your choice. Would be interesting to see how large that file is.

@mkraftman
Copy link

mkraftman commented May 10, 2025 via email

@marcelklehr
Copy link
Member

Tried with 18k Bookmarks, via both GDrive and WebDAV. This produced 100MB of logs for me but nothing crashed. Is there a way to find out more about these crashes from your end? Any details you can gather from a crash report or something?

@mkraftman
Copy link

mkraftman commented May 10, 2025 via email

@marcelklehr
Copy link
Member

Can you confirm that using an older version of chrome does not show this behavior?

@mkraftman
Copy link

mkraftman commented May 10, 2025 via email

@marcelklehr marcelklehr pinned this issue May 11, 2025
@jdpctp
Copy link

jdpctp commented May 11, 2025

I am experiencing the same issue, but in my case, I am syncing with Nextcloud. The behavior is essentially identical: Microsoft Edge automatically closes a few seconds after opening. However, if I quickly disable the Floccus extension before the crash occurs, the browser functions normally and does not close.

@georgethemarmot
Copy link

Same issue here:
Windows 11 23H3
Edge 136.0.3240.64
floccus 5.5.3
Sync over Google Drive.
Edge crashes as soon as sync starts.

@marcelklehr
Copy link
Member

It only started happening following the latest update.

I believe this is a bug in Chromium's garbage collector, judging from similar issues on their issue tracker. Finger's crossed that the next update will resolve this.

Chrome Debug Log

The debug log was not much help unfortunately, it merely confirms that after floccus starts the logs soon end (crash). The last error log entry may or may not be related, but unintelligble to me

[18256:90620:0510/172314.389:ERROR:gpu\ipc\client\command_buffer_proxy_impl.cc:327] GPU state invalid after WaitForGetOffsetInRange.

@marcelklehr
Copy link
Member

It would be interesting if it also crashes with an earlier version of floccus from the v5.4 series. Could you try installing this and reproducing? https://github.com/floccusaddon/floccus/releases/tag/v5.4.5

@mkraftman
Copy link

mkraftman commented May 12, 2025 via email

@ChrisF0
Copy link

ChrisF0 commented May 12, 2025

It's happening to me on Chrome 136.0.7103.93 (Official Build) (arm64) syncing with github. I have only about 2100 bookmarks.

@markrousell
Copy link

markrousell commented May 13, 2025

It would be interesting if it also crashes with an earlier version of floccus from the v5.4 series. Could you try installing this and reproducing? https://github.com/floccusaddon/floccus/releases/tag/v5.4.5

I have avoided the problem for some time by making only small changes (additions, deletions, edits) in LibreWolf before syncing over to Edge. However, my luck ran out and on the latest sync Edge began to crash again. I decided to try Floccus 5.4.5 and I was able to sync successfully. Specifically I did the following:
(1) Removed Floccus 5.5.3 from Edge. (Edge 136.0.3240.64),
(2) Closed all Edge instances and restarted the one that crashed.
(3) I did NOT delete my bookmarks from Edge. I left them in the state they were when Edge was hanging.
(4) Installed Floccus 5.4.5 manually.
(5) Manually re-created my Floccus profile.
(6) Did a sync. It worked successfully.

Annoyingly, the hanging issue seems difficult to reproduce consistently although on previous occasions with 5.5.3 and Edge 136.0.3240.64), it seemed that the only way to avoid it once it had started was to remove and replace Floccus and remove all my bookmarks from within Edge and allow them to be repopulated by Floccus from the server.

Update at 01:14 GMT on 20250514
Having gone back to 5.4.5 on Edge, things are entirely stable now. I have not experienced a hang since going back to 5.4.5. Also, sync reliability is better. In 5.5.3 on Edge, I found I often had to sync twice to receive changes I made in LibreWolf. Also, changes I made in Edge were not always synced to LibreWolf. Now with 5.4.5, none of those things are a problem. It is all back to working stably and reliably. Note that I am still running 5.5.3 on LibreWolf.

@markrousell
Copy link

markrousell commented May 13, 2025

Hi

I’ve successfully downloaded 5.4.5 but it is not clear to me how to install that into Chrome. Could you please explain how to do that?

Not sure if you've got it installed but this should help if not (assuming you are on Windows):
(1) Download the .crx file for 5.4.5 from Marcel's link.
(2) Remove/uninstall Floccus from your extensions.
(3) Close all Chrome instances.
(4) Use Task Manager to make sure all Chrome instances have ceased running.
(5) Run the Chrome profile you want to test.
(6) Enable Developer mode in Chrome.
(7) Drag the .crx file you downloaded onto the Extensions page in Chrome.
(8) Follow the instructions at this page to enable the extension: https://techjourney.net/chrome-edge-disables-crx-installed-extensions-workarounds-to-turn-on/ (Method 1 seems easiest).

Now it should work.

@thermodyn
Copy link

I have been struggling with this as well. I run a couple of different versions of browsers.

Chrome Development - Started to have an issue last week
Chrome Canary worked fine until today.

As of today - Chrome Canary is crashing too.

It's weird - if I remove the plugin, then setup - it does the first sync no problem and seems to work fine.

But then the next day it's crashing, or a couple hours later.

Windows 11
Chrome Dev 138.07166.3
Chrome Canary 138.07177.0
Sync Method: Google drive

@therealbstern
Copy link

I am experiencing this syncing to WebDAV, running under Linux 64-bit. Happens on multiple systems.

Chrome 136.0.7103.59

@mewinners
Copy link

I have exactly the same issue on Edge and on multiple PCs

@mkraftman
Copy link

mkraftman commented May 15, 2025 via email

@thermodyn
Copy link

thermodyn commented May 15, 2025

I can confirm this is now working for me as well on Chrome Dev and Chrome Canary. Installed the newest version (rollback).

Thanks for your effort!

@gaberilde
Copy link

The reason for this crash is due to this massive ( >1gb ) MANIFEST file located in the extension directory.
Image

@github-project-automation github-project-automation bot moved this from Triaging to Done in Floccus May 17, 2025
@spacorum
Copy link

The reason for this crash is due to this massive ( >1gb ) MANIFEST file located in the extension directory. Image

I can verify this, I also have a >1GB MANIFEST file in "AppData\Local\Google\Chrome\User Data\Default\IndexedDB"

But what should we do now? Can we safely delete that file and Chrome will rebuild it? I don´t know exactly what to do with this information.

@gaberilde
Copy link

The reason for this crash is due to this massive ( >1gb ) MANIFEST file located in the extension directory. Image

I can verify this, I also have a >1GB MANIFEST file in "AppData\Local\Google\Chrome\User Data\Default\IndexedDB"

But what should we do now? Can we safely delete that file and Chrome will rebuild it? I don´t know exactly what to do with this information.

You can delete it, then id recommend exporting your profiles and make sure you install the non affected version which means you probably need to delete and reimport anyways, but deleting will at least stop it crashing so you can export if you didn't have a profile export already.

@artemdruzhinin
Copy link

Chrome - solved with rollback! Edge - what is the status?

@marcelklehr
Copy link
Member

The rollback is still in review from Microsoft. :/

@gaberilde
Copy link

The rollback is still in review from Microsoft. :/

Owch i just reverted mine manually as don't mind doing the process as this issue was making the extension unusable for me and im quite good with tech stuff

@balthanon
Copy link

balthanon commented May 20, 2025

I was having this issue with Edge as well apparently. I had thought it was something more generic for the browser; reinstalled completely and it seemed to be resolved, I just tried again and I'm back to crashing unfortunately.

Deleting the contents of the LevelDB folder seemed to slow the crashing enough that I could disable Floccus at least. I might just leave it disabled in Edge for the moment as I don't really use it often.

Image

@marcelklehr
Copy link
Member

marcelklehr commented May 21, 2025

Since the crash doesn't happen on my devices, can you please test the following build of v5.5.3, which hopefully does not have the crash issue and report back here:

floccus-build-v5.5.3.2-chrome.zip

(And as comparison, this should have the crash issue: floccus-build-v5.5.3-chrome.zip)

How to install alpha/beta versions

Chrome (separate testing installation)

  • Download the build
  • Create a new folder
  • Unzip the zip file there
  • In chrome go to chrome://extensions/
  • Enable developer mode
  • Click Load unpacked extension and select the folder you created

@marcelklehr marcelklehr reopened this May 21, 2025
@github-project-automation github-project-automation bot moved this from Done to Backlog in Floccus May 21, 2025
@marcelklehr
Copy link
Member

@balthanon Would you mind testing?

@gaberilde
Copy link

It would be interesting if it also crashes with an earlier version of floccus from the v5.4 series. Could you try installing this and reproducing? https://github.com/floccusaddon/floccus/releases/tag/v5.4.5

Just for info i reverted to previous and for me has been fine so far

@balthanon
Copy link

balthanon commented May 28, 2025

@balthanon Would you mind testing?

Didn't see this till just now-- I'll test that later today.

@balthanon
Copy link

Tested the new release and from what I can see, it isn't causing the same crashes. I only set up one of my three profiles tonight though; I'll try and set up the other two (which are larger) tomorrow.

@balthanon
Copy link

balthanon commented May 29, 2025

Edge is back to my standard set up with my full bookmark sync; no issues so far. I'll keep it running for today and see if it ends up with any issues as logs build up. (Edit: After a full day, no crashes or other issues that I detected; so seems like it fixed it to me.)

@marcelklehr
Copy link
Member

Thank you @balthanon

@github-project-automation github-project-automation bot moved this from Backlog to Done in Floccus May 30, 2025
@marcelklehr
Copy link
Member

@balthanon If you still have some time, could you verify that the faulty build I linked above does crash for you, so we can be sure that we would have seen a crash if there was a problem? :D

@marcelklehr
Copy link
Member

@all-contributors Please add @balthanon as a contributor for ideas, feedback and bug hunting. ♥️

Copy link
Contributor

@marcelklehr

I've put up a pull request to add @balthanon! 🎉

@balthanon
Copy link

@balthanon If you still have some time, could you verify that the faulty build I linked above does crash for you, so we can be sure that we would have seen a crash if there was a problem? :D

Forgot to do that-- just loading it hasn't actually crashed Edge. I'll leave it running for a bit to test again.

@balthanon
Copy link

Updating this-- I haven't had a ton of activity, but still no crashing at this point with the second build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests