-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
telegram-desktop crashes #32053
Comments
Please launch it under strace to figure out what it's failing to open. |
This is weird,
|
|
FWIW it's working fine here. I will update the rest of desktop and try again. |
I have found this issue in the telegram repository. Maybe it is worth using the old version for now? |
Are you using Xorg or Wayland? I see these same errors:
but then things work just fine. But if it's smashing stack, it could be many different things, including system fonts being processed wrongly, so what fonts you have installed could make a difference, as could many other things. If we can look at a backtrace via a core file or something, we might be able to see if the segfault is also musl detecting the stack smashing or something else. |
I don't know why exactly, but I cannot create a core dump file.
I am not very experienced with this, but from reading |
It should be created... How are you checking for its presence? Do you have |
Could you try When I downgraded to the previous version (2.8.4), there was an message in my stdout, which explained to me why I previously had the default qt theme when selecting a file and why the newer version crashes:
It looks like they removed the message and unsetting the enviroments in desktop-app/lib_base@f493a81#diff-5d8c1fecd0ee047b9263a26b184089db23769254a398648acc9a2078a58accbeL226-L227 |
That does not work for me.
Maybe it really has to do something with fonts? Could you show me your list of installed fonts?
|
Hi @husio, could you paste output of |
Sure, log.txt Found all the core dumps as well! 😂
I don't know how to analyze a core dump file properly, here is some random output:
|
I can also reproduce it locally(on musl +Xorg, but not on every try), backtrace with debugging symbols: https://pastebin.com/raw/HrS2efe4. |
Can also confirm that this has been biting me on musl+X11 with the same errors and backtraces that were already posted here |
(i saw reference from this issue in tdesktop repo)
The thing is, process of the service should exit with the main process, so it should always be false. Assertion violation is valid, such situation should never happen...
Yeah, gtk usage was moved to separate processes, so this shouldn't be needed anymore. |
For now, I have installed back old version (2.8.4_1.x86_64-musl) from the cache and locked telegram-desktop from upgrading. You can find the description of how to do this on void wiki. This seems to be a cross-distribution issue. Although the telegram team seem to be in denial of a potential bug, it would be a big coincidence that all distributions are packaging the application wrong and only after an upgrade. |
your problem has nothing to do with that unconfirmed stack smashing issue |
Can you test if this still happens with 2.9. |
Yes, it is still crashing.
I am running musl, X11, i3. All in the latest available versions. What other information might be helpful? I don't know if this is expected, but every time I downgrade telegram and run it, all configuration is gone, and I must configure it from scratch. As if the new crashing instance was first upgrading or deleting all configuration and older version was no longer able to read it. |
Can confirm that it is still the case with |
There is some race condition happening in the code path for loading the gtk libs when resizing it immediately after starting it (as will be done by i3 and other tiling manager). You should be able to start it reliable by starting it in e.g. floating mode. The offending code path is removed in Telegram 3.0.2. |
Telegram 3.1.0 is in the repos now. |
On Tue, Sep 21 2021 08:04, John Zimmermann wrote:
would be nice if someone could quickly verify if it is also fine for
them now.
Based on a cursory test, I can confirm that the issue is fixed for me.
|
I have upgraded to |
After an upgrade of the
telegram-desktop
package, application is crashing just after starting (I can see the window blinking).Suspected commit is 279e2e4
I am running musl version, source-revisions: telegram-desktop:279e2e42c2
The text was updated successfully, but these errors were encountered: