telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.94k stars 5.14k forks source link

Freezes on text expansion or paste #3970

Closed RazerM closed 4 years ago

RazerM commented 6 years ago
### Steps to reproduce 1. Paste in text or use a TextExpander snippet (which pastes in a text expansion) ### Expected behaviour The text is pasted or snippet is expanded. ### Actual behaviour Rarely, this will cause the application to freeze (infinite beachball, have to force quit). ### Configuration **Operating system:** macOS Sierra 10.12.6 **Version of Telegram Desktop:** 1.1.23 **Used theme**: default
Logs: log.txt: ``` [01:56:55.293 01-0106597] MTP Info: restarting Connection (connection.cpp : 1070) [01:56:55.293 01-0106598] MTP Info: restart timeout: 1ms (connection.cpp : 1101) [01:56:55.295 01-0106599] MTP Info: creating IPv4 connection to 149.154.167.51:443 (tcp) and 149.154.167.51:443 (http)... (connection.cpp : 1048) [01:56:55.295 01-0106600] MTP Info: creating IPv6 connection to [2001:067c:04e8:f002:0000:0000:0000:000a]:443 (tcp) and [149.154.167.51]:443 (http)... (connection.cpp : 1049) [01:56:55.295 01-0106602] Connection Info: sending fake req_pq through HTTP/IPv4 transport (connection_auto.cpp : 184) [01:56:55.295 01-0106605] Connection Info: sending fake req_pq through HTTP/IPv6 transport (connection_auto.cpp : 184) [01:56:55.304 01-0106607] Connection Info: sending fake req_pq through TCP/IPv6 transport (connection_auto.cpp : 70) [01:56:55.305 01-0106609] Connection Info: sending fake req_pq through TCP/IPv4 transport (connection_auto.cpp : 70) [01:56:55.313 01-0106613] Connection Info: TCP/IPv6-transport chosen by pq-response (connection_auto.cpp : 280) [01:56:55.313 01-0106614] MTP Info: connection through IPv6 succeed, waiting IPv4 for 1000ms. (connection.cpp : 2283) [01:56:55.315 01-0106617] Connection Info: TCP/IPv4-transport chosen by pq-response (connection_auto.cpp : 280) [01:56:55.315 01-0106618] MTP Info: connection through IPv4 succeed. (connection.cpp : 2262) [01:56:55.315 01-0106619] AuthKey Info: Connection updating key from Session, dc 2 (connection.cpp : 2314) [01:56:55.315 01-0106620] AuthKey Info: Connection update key from Session, dc 2 result: 1A F2 BE F0 67 ED 95 2D (connection.cpp : 2331) [01:56:55.357 01-0106622] Connection Info: already using tcp, ignoring http response (connection_auto.cpp : 235) ``` mtp.txt ``` [01:56:55.293 01-0106596] (dc:2) Restarting after error in connection, error code: -499... ``` tcp.txt ``` [01:56:55.293 01-0106594] TCP Info: remote host closed socket connection - The remote host closed the connection [01:56:55.293 01-0106595] TCP Error 1, restarting! - The remote host closed the connection [01:56:55.295 01-0106601] HTTP Info: address is http://149.154.167.51:80/api [01:56:55.295 01-0106603] HTTP Info: sending 40 len request [01:56:55.295 01-0106604] HTTP Info: address is http://[2001:67c:4e8:f002::a]:80/api [01:56:55.295 01-0106606] HTTP Info: sending 40 len request [01:56:55.304 01-0106608] TCP Info: write 1 packet 41 [01:56:55.305 01-0106610] TCP Info: write 1 packet 41 [01:56:55.313 01-0106611] TCP Info: read 85 bytes [01:56:55.313 01-0106612] TCP Info: packet received, size = 84 [01:56:55.315 01-0106615] TCP Info: read 85 bytes [01:56:55.315 01-0106616] TCP Info: packet received, size = 84 [01:56:55.357 01-0106621] HTTP Info: read 84 bytes ```

The logs mention a connection error, but this is definitely correlated with the exact moment of text expansion on my end.

ghost commented 5 years ago

Hey there!

We're automatically closing this issue since there was no activity in this issue since 362 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

RazerM commented 5 years ago

I still get this problem

Aokromes commented 4 years ago

this bug is still valid? if yes plz click send crash on next crash and paste id here.

Aokromes commented 4 years ago

no answer after 1 month, if this bug is still valid, open a new ticket with one updated telegram version downloaded from desktop.telegram.org or github.com

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.