-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
telega has a hard time starting, freezes #316
Comments
Please run: Try compiling telega-server without "appindicator" support, by editing |
ah, shucks. After the debugging and happiness I eventually had when I got the appindicator to work... okay. Done, so your command no longer shows that it was built with appindicator support. I rebuilt the server. However, the results are the same -- tried it on my prrimary process and it still hung on me. As a possibly relevant point of interest: when I try |
Not related, but good to know, to avoid this problem do |
Anyway, this is hard problem to approach, because many components are involved. I don't think anybody cat debug it, except yourself |
okay. I'll keep up work on this. I mostly wondered if there were recent changes that might have relation to xwindows. |
I attempted to start it while it was actually running correctly in the subprocess, hoping that maybe it would be jogged awake. As usual, it pops up asking me which account I want to use, but when I choose one, everything freezes -- even the account selection mini-buffer doesn't go away. I see that my telega-server.log ends with a number of these entries, perhaps indicating some kind of loop: |
Make sure you don’t run multiple telega instances on same database directory |
I never did solve this, but the problem went away eventually when I used different networks. It almost seemed like it was timing out until I got on a fast network and then it fixed, never to break since. |
This ticket resembles a problem I continue to have with GUI emacs (29 built today, but also for the last couple weeks). It clears a buffer, puts the header text in just before the chat listing, but the listing remains blank, and the buffer resizing message remains in the minibuffer/message area due to the UI being frozen. After thatit doesn't repaint so if I flip between desktops it just keeps whatever was on the last desktop in that location visible (but obv not interactive). Seems to start up ok when I use a non-GUI emacs, not even a pause. I even tried starting it in a server, which worked, but everything froze as soon as I connected with a GUI emacsclient. I also tried with a freshly started I cannot see anything of interest in the
with the last 2 messages repeated until I kill it. No idea whether that's useful, but at least you can see I'm running a freshly built tdlib. Earlier, I destroyed my I'm using a bleeding edge pgtk emacs, but this problem occurred when I built with lucid or without picking a kit (defaults to gtk3). If you like I can open a new ticket, but it does seem very much like the same symptoms as this one. |
I don’t think I can help you debug/fix this, sorry. I can’t reproduce this |
I am going to nudge this because I have further questions. The problem remains (exwm + guix).I have a working solution, but things I would think would be equivalent do not work. Failing: just start Telega in my regular exwm process. The system freezes and Telega never starts. Question: The process still fails (freezes) if I try to streamline it with some form of |
Set |
I can't get C-g to work -- it is too frozen. I am next trying to see if the problem is with having multiple accounts. But I did pick this out of the logs:
|
Empyting the DB folders so they start over did not produce a real difference in the behavior, though my primary sqlite DB went from 21 MB to just 4MB. Likewise setting
|
This log shows telega exit. Anyway, I don't think the problem is with your TDLib or telega. Try running telega with |
Returning to this (never resolved) I have some further weirdness. When I run emacs -e telega The whole process freezes, and I see looping in the debug.log with an endless:
This has been happening for years. When I start with two steps, it freezes for maybe 30-seconds (I can watch the thread running that thing maxing out) and then it works:
|
To stop telega from freezing up you need to find the reason of that freezes and make it go away. Unfortunately, I can't reproduce NOTE: There was a bug in Emacs display code (bug#39133) that might affect you. |
I use exwm. When I start telega on my primary process it starts to max out one of my threads and soon the whole process is frozen. However, when I start telega in an emacs sub-process, it starts after about 30 seconds.
Telega Setup
OS: openSUSE Tumbleweed
Emacs: GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0)
Telega: telega v0.7.70 (TDLib v1.7.7) (telega-server v0.7.13)
Current Behavior
When I start telega in my main exwm process, it freezes.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: