-
Notifications
You must be signed in to change notification settings - Fork 53
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
tdlib
database making nchat
crash when highlighting problematic chat
#175
Comments
Hi @Kabouik - thanks for reporting a bug. I tried receiving a 30 MB video clip just now, and I don't see any issues. Yes, if you could share the video file it would be great, in case it's somehow related to the file/type. Perhaps via Telegram is easiest. Btw, is there any chance your system might've been low on storage space when you encountered the issue? Edit: Yes, if you still have the td.log file, please share it as well. It might give some hint. |
I am having the issue with another chat, a group chat this time. It is quite active so I am not sure which message is the cause, but you could try to join in, see if you can replicate. It happens regardless of the I tried getting the logs with
And this
I can send you the video and link to the other group tomorrow, they're on a different device (I don't have telegram-desktop on this one so getting the group URL won't be trivial). I'm not low on space or RAM on that system. I am on v4.21 on this machine and the problematic chat doesn't seem to make 4.13 crash on my second machine (aarch64), despite the same configuration files. However, I am pretty sure both crashed on the video file that made me open this issue (I even reported so). |
tdlib
database making nchat
crash on launchtdlib
database making nchat
crash when highlighting problematic chat
Could this be related to a bad connection (if so, I would assume that The said chat does not crash my |
Hi @Kabouik - thanks for sharing additional details. I'm not sure what could be the cause at this point. Btw, there was another crash issue reported yesterday #177 which could have same root cause as the crashes you were seeing. In case you were seeing |
No, this is all I get:
|
The crash in #177 has been fixed in b4d1fa5. It affected markdown conversion when receiving messages with certain formatting. It's possible such message existed in your chat and that the message was later deleted or edited to not have this particular formatting, so the issue went away. Since you're not seeing the crash anymore, I will proceed to close this issue. If you see it again, please try latest nchat (v4.23 or later) and feel free to re-open this issue if the crash is still observed there. |
Description:
Someone sent me a ~25-30MB video and I could download it just fine in
nchat
withC-r
, but then after I closed it, it would crash upon re-opening all the time, and immediately. I unfortunately have no logs (but I havetd.log
if that can be useful).How to reproduce it:
I tried deleting
nchat
's database but that did not help. I also tried deletingtdlib
's database and the issue persisted, but I had the impression that it would take a split second more before it crash (still immediate, I was not even sure there was a difference).I logged in Telegram desktop, deleted the video I received, quit.
nchat
would still crash on launch. Deleted thetdlib
sqlite files, and thennchat
runs normally. Somehow, that video, which is just a regular video recorded on a phone, made the whole thing crash while it worked fine on Telegram desktop, and also worked fine the first time innchat
.Not sure if the issue is with
nchat
ortdlib
.I can share the video file if that is relevant. I have not tried to reproduce the bug by asking the contact to send it again.
Environment:
nchat master
9df4833nchat
installed using Guix as package manager, v4.13 in that case)The text was updated successfully, but these errors were encountered: