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
panic: send on closed channel #6815
Comments
You haven't provided any logs, so there is no indication where this is happening. |
Plenty of candidates in sentry though. https://sentry.syncthing.net/syncthing/syncthing/issues/2127/ looks like it might still be a thing |
Thanks guys for the immediate response. I already have logcats in text files locally, but there is absolutely tons of PII in there. On one hand I try and contribute as much as possible bug reports (and other resources) to F/LOSS, and on the other I am also privacy conscious person. So this seems to be a recurring issue for me. I had the idea a while back to make a simple sanitization script with sed which will read in some file with x,y and substitute any instance of x with y, then I have a simple text file I can just keep adding x,y as needed whenever I realize there is some other piece of PII I missed before. So I need to finish that first. In fact I am working on it right now. Sorry for offtopic idiotic ramblings, but this is something I planned to do for a while now anyway, so I guess this will be the push I need to finish that. In the meantime, I posted partial logs at the other linked issue. But I imagine there is not enough there to be helpful. |
A stacktrace has just references to already publicly known source code, no personal information in there (except if you built yourself, the path to your source might be personal info, but it doesn't get much more straightforward than getting rid of that). Or you could just follow the link @calmh posted, look at a stacktrace and report if it's equivalent to what you got or not. This issue has never been not a thing, except that it's impossible - well clearly it's not, but I looked so many times at it and keep failing to see how it can happen... |
This is Or should I be compiling logs from some other source? |
This is an interesting one. |
Well, I just spent the better part of today brushing up my sed and regex skills. 😄 I think/hope I managed to remove most if not all PII. Feedback welcome if anyone notices anything (I really don't know much about Android internals, so I made some guesses here and there). Also, I always knew there was a lot going on all the time in Android, but even knowing that, getting a really close look at those logs was still a real eye opener for me today. I think in the future I will just take a gander at logcat periodically, just to make sure nothing "funny" is going on. I already uninstalled some things immediately after today's exercise. Real GNU/Linux phones can not get here fast enough, I am so disgusted with Android/Google at this point. Anyway, here are the logs. Debian paste only allow 150kB per paste, so I had to split it up into four pastes:
I have set these pastes to expire after 90 days, I figured that should be sufficient. |
I received update today of syncthing-android (fork) via F-Droid, and when it restarted Syncthing, it stayed up without crashing and has been working ever since. I cannot explain this behaviour, but I thought I had better report it anyway. I also reported it in my original issue over at syncthing-android fork. EDIT: Almost forgot, I now have one device stuck "Syncing" at 49% with some folders "Out of Sync" on my Android. I imagine this is some side effect of all the earlier crashes (perhaps corrupting the database, or?). I do not know enough about Syncthing internals, so any advice how to proceed on that would be appreciated. |
Somehow I managed to overlook the fact that this latest release of syncthing-android (fork) also has bumped the core version from 1.6.0 to 1.7.0! So maybe something got fixed in there in the meantime? |
Remaining stuck bits revolved around a few apparently fairly run of the mill issues, which were easily solved with a little searching:
So, very happy to report, everything appears fully back working now! 🍻 Original (and main) issue, well I will leave that up to you guys what you want to do. I am not sure if 1.7.0 really solved it or what happened. But, so far, so good... 🤞 |
Closing as I don't see any send on closed channel events anymore in sentry. |
Good day. I have been Syncthing user for some years now, and never so much as a peep of trouble! Therefore I never had occasion to thank all of you for all of your work, and perhaps even more importantly, sharing it like civilized people. So, cheers! 🍻
Because I am using syncthing-android fork, I originally had lodged this issue over there, however Catfriend1 seems to have confirmed that this appears to be an issue in core and not his wrapper.
I copy/paste some of requested information from that thread here:
Description of the issue
Upon starting up the wrapper, the main Syncthing process seems to crash after only a few seconds.
Version Information
Device platform info
I did a little research into this, it looks to me like perhaps there may have been some possibly related issues however after reading a bit I very quickly realized I was in over my head and I should probably just post a new issue instead. Many of those look unresolved to me, frozen due to age, etc. but perhaps this has been fixed in the meantime, and/or someone more familiar with the codebase could refer me somewhere more relevant.
If above is not the case, I suppose you will want full logs for further troubleshooting, so let me work on sanitizing PII out of those and then I will try to find some place to upload them and share a link here. There are also perhaps relevant clues in that other thread, but I won't repeat those here (for now).
The text was updated successfully, but these errors were encountered: