Skip to content
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

Openning the app I get just an infinite loading screen #27930

Closed
raulgrangeiro opened this issue May 17, 2024 · 38 comments
Closed

Openning the app I get just an infinite loading screen #27930

raulgrangeiro opened this issue May 17, 2024 · 38 comments

Comments

@raulgrangeiro
Copy link

Steps to reproduce

  1. Connect your telegram on PC
  2. On other day (my case was 3 days later) open the app again
  3. See it loading infinitely.

Expected behaviour

Open the app and use it to chat

Actual behaviour

Open the app ang it gets loading infinitely.

Operating system

Ubuntu 23.10, Gnome Shell 45.2, Wayland.

Version of Telegram Desktop

4.16.8

Installation source

Snap

Crash ID

No response

Logs

raulgrangeiro@RAUL-PC-2:~$ telegram-desktop --debugmode
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed

** (telegram-desktop:11984): WARNING **: 08:44:29.202: atk-bridge: get_device_events_reply: unknown signature
@raulgrangeiro raulgrangeiro changed the title Openning the app I get just a blank screen showing loading icon Openning the app I get just an infinite loading screen May 17, 2024
@ilya-fedin
Copy link
Contributor

What do you mean by "loading screen"? 🤔

@raulgrangeiro
Copy link
Author

What do you mean by "loading screen"? 🤔

I'm sorry I forgot to send a screenshot, I'll send it now!

Captura de tela de 2024-05-17 08-41-28

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 17, 2024

The "Logs" part of your issue seem to have not logs but terminal output (it's described how to get logs when creating issue)

@raulgrangeiro
Copy link
Author

raulgrangeiro commented May 17, 2024

The "Logs" part of your issue seem to have not logs but terminal output (it's described how to get logs when creating issue)

I'm sorry, I thought I was sendind the right thing. Could you send the link where that is explained?

Meanwhile, when I openned the app for the third or fourth time now it has openned normally. That's weird, becase the previous times I got the loading screen which I sent the screenshot.

The app is working normally now:

Captura de tela de 2024-05-17 09-10-25

Is it possible to get logs for the errors from the previous times it didn't open normally?

@ilya-fedin
Copy link
Contributor

Could you send the link where that is explained?

Well, not sure it could be linked... When you click new issue.

@ilya-fedin
Copy link
Contributor

Is it possible to get logs for the errors from the previous times it didn't open normally?

No, it gets rewritten :(

@raulgrangeiro
Copy link
Author

raulgrangeiro commented May 17, 2024

Could you send the link where that is explained?

Well, not sure it could be linked... When you click new issue.

I openned this link and didn't understand how to get the logs, that's why I sent the debugmode on the terminal. Would you, please, explain to me hot to use this viewlog function?

Is it possible to get logs for the errors from the previous times it didn't open normally?

No, it gets rewritten :(

Oh, sorry. I'll learn how to get the logs and if it happens again I'll send the logs right away!

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 17, 2024

Would you, please, explain to me hot to use this viewlog function?

🤔 the linked page explains it

You can get access to hidden functionality by entering a cheat code blindly in settings (like in a game).

This not clear enough?

@raulgrangeiro
Copy link
Author

Would you, please, explain to me hot to use this viewlog function?

🤔 the linked page explains it

You can get access to hidden functionality by entering a cheat code blindly in settings (like in a game).

This not clear enough?

I'm sorry, friend. It's not for me. I type telegram-desktop --viewlogs on terminal and it just open the app and shows the terminal output. On the Cheat Code page it says it would open the logs folder, but it doesnt do it.

@raulgrangeiro
Copy link
Author

The problem just happened again and I don't know hot to get the logs, I'm sorry. As soon as I learn I'll send it. I'll search here how to do it.

@ilya-fedin
Copy link
Contributor

I type telegram-desktop --viewlogs on terminal

You need to open settings in application and type viewlogs blindly there...

@raulgrangeiro
Copy link
Author

I type telegram-desktop --viewlogs on terminal

You need to open settings in application and type viewlogs blindly there...

Thank you, friend! I did and it worked! As soon as it happens again I'll send the logs!

@Roverp1
Copy link

Roverp1 commented May 28, 2024

I have the same issue, on arch linux with Hyprland.

telegram-desktop randomly freezes when launched, it opens only after full reboot. For me it happens every few reboots.

It is also impossible to type viewlogs in settings because Telegram is not responding to clicks.

@ilya-fedin
Copy link
Contributor

telegram-desktop

That might indicate you have a third party build. Official build is named Telegram and the first thing to do is to switch to it.

@Roverp1
Copy link

Roverp1 commented May 28, 2024

That might indicate you have a third party build

  • there is no Telegram package in the official arch-linux repository, only telegram-desktop
    image

Seach for Telegram package in arch linux repository

@ilya-fedin
Copy link
Contributor

"official arch linux repository" is a third party project to Telegram. The only official build is at https://desktop.telegram.org.

@Aokromes
Copy link
Collaborator

plz try downloading official static (non-flakpak, non-snap) version from https://desktop.telegram.org

@Roverp1
Copy link

Roverp1 commented May 28, 2024

Downloading from official website changed very little if nothing.

That is what i see after running ./Telegram from tsetup:
image

Nothing is clickable, so standard method of retrieving logs is not available.
Terminal output similar to one in the issue:

❯ ./Telegram
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter

@ilya-fedin
Copy link
Contributor

Does it unfreeze if you wait multiple minutes?

@Roverp1
Copy link

Roverp1 commented May 28, 2024

Kind of. I left it running for about an hour and it loaded my chats, but it's not functional because it processes 1 click in ~2 minutes. So far it behaves the same as the telegram-desktop from arch repo.

console output:

❯ ./Telegram
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.network.http2: stream 1 finished with error: "Connection closed"
qt.gui.imageio.jpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected.```

@ilya-fedin
Copy link
Contributor

Maybe your system is slow at providing proxy settings? Check how long it takes for busctl --user call org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ProxyResolver Lookup s none: to return.

@Roverp1
Copy link

Roverp1 commented May 28, 2024

It executed instantly:

❯ busctl --user call org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.ProxyResolver Lookup s none:
as 1 "direct://"
I was able to get the logs [2024.05.28 16:59:39] Launched version: 5000003, install beta: [FALSE], alpha: 0, debug mode: [FALSE] [2024.05.28 16:59:39] Executable dir: /home/roverp/Downloads/tsetup.5.0.3/Telegram/, name: Telegram [2024.05.28 16:59:39] Initial working dir: /home/roverp/Downloads/tsetup.5.0.3/Telegram/ [2024.05.28 16:59:39] Working dir: /home/roverp/.local/share/TelegramDesktop/ [2024.05.28 16:59:39] Command line: ./Telegram [2024.05.28 16:59:39] Executable path before check: /home/roverp/Downloads/tsetup.5.0.3/Telegram/Telegram [2024.05.28 16:59:39] Logs started [2024.05.28 16:59:39] App ID: org.telegram.desktop._641321d99b29f8d50d04deded6b70feb [2024.05.28 16:59:39] Connecting local socket to 4be62706ca0612ff2974d69de28e5b8a-TelegramDesktop... [2024.05.28 16:59:39] Socket connect error 0, starting server and app... [2024.05.28 16:59:39] Moved logging from '/home/roverp/.local/share/TelegramDesktop/log_start0.txt' to '/home/roverp/.local/share/TelegramDesktop/log.txt'! [2024.05.28 16:59:39] Opened '/home/roverp/.local/share/TelegramDesktop/tdata/working' for reading, the previous Telegram Desktop launch was not finished properly :( Crash log size: 0 [2024.05.28 16:59:39] Global devicePixelRatio: 1 [2024.05.28 16:59:39] Primary screen DPI: 96, Base: 96. [2024.05.28 16:59:39] Computed screen scale: 100 [2024.05.28 16:59:39] DevicePixelRatio: 1 [2024.05.28 16:59:39] ScreenScale: 100 [2024.05.28 16:59:39] Icon theme: Adwaita [2024.05.28 16:59:39] Fallback icon theme: [2024.05.28 16:59:39] Media Info: Type Playback, default: JBL TUNE520BT, list: { "JBL TUNE520BT" , "Built-in Audio Analog Stereo" }, full list refresh: true [2024.05.28 16:59:39] Media Info: Type Capture, default: Built-in Audio Analog Stereo, list: { "Built-in Audio Analog Stereo" , "Monitor of Built-in Audio Analog Stereo" , "JBL TUNE520BT" , "Monitor of JBL TUNE520BT" }, full list refresh: true [2024.05.28 16:59:39] Media Info: Type Camera, default: usb-0000:00:14.0-7, list: { "USB2.0 HD UVC WebCam: USB2.0 HD" }, full list refresh: true [2024.05.28 16:59:39] System tray available: [TRUE] [2024.05.28 16:59:39] App Info: reading settings... [2024.05.28 16:59:39] App Info: reading encrypted settings... [2024.05.28 16:59:39] Lang Info: Loaded cached, keys: 6906 [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-Regular.ttf' loaded 'Open Sans' [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-Italic.ttf' loaded 'Open Sans' [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-SemiBold.ttf' loaded 'Open Sans' [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-SemiBold.ttf' loaded 'Open Sans Semibold' [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-SemiBoldItalic.ttf' loaded 'Open Sans' [2024.05.28 16:59:39] Font: from ':/gui/fonts/OpenSans-SemiBoldItalic.ttf' loaded 'Open Sans Semibold' [2024.05.28 16:59:39] Font: from ':/gui/fonts/Vazirmatn-UI-NL-Regular.ttf' loaded 'Vazirmatn UI NL' [2024.05.28 16:59:39] Font: from ':/gui/fonts/Vazirmatn-UI-NL-SemiBold.ttf' loaded 'Vazirmatn UI NL' [2024.05.28 16:59:39] Font: from ':/gui/fonts/Vazirmatn-UI-NL-SemiBold.ttf' loaded 'Vazirmatn UI NL SemiBold' [2024.05.28 16:59:39] OpenAL Logging Level: (not set) [2024.05.28 16:59:39] OpenGL Profile: Compatibility. [2024.05.28 16:59:39] OpenGL Renderer: Mesa Intel(R) UHD Graphics (TGL GT1) [2024.05.28 16:59:39] OpenGL Vendor: Intel [2024.05.28 16:59:39] OpenGL Version: 4.6 (Compatibility Profile) Mesa 24.0.8-arch1.1 [2024.05.28 16:59:39] OpenGL Extensions: GL_ARB_internalformat_query2, GL_ARB_ES3_2_compatibility, GL_EXT_depth_bounds_test, GL_NV_texture_barrier, GL_ARB_multisample, GL_EXT_blend_minmax, GL_ARB_texture_rectangle, GL_ARB_program_interface_query, GL_ARB_ES3_compatibility, GL_MESA_pack_invert, GL_ARB_half_float_vertex, GL_ARB_map_buffer_alignment, GL_ARB_transform_feedback_instanced, GL_OES_read_format, GL_NV_depth_clamp, GL_ARB_shader_bit_encoding, GL_INTEL_performance_query, GL_AMD_pinned_memory, GL_EXT_texture_shared_exponent, GL_EXT_gpu_program_parameters, GL_IBM_multimode_draw_arrays, GL_ARB_provoking_vertex, GL_ARB_pixel_buffer_object, GL_EXT_texture_sRGB_R8, GL_EXT_framebuffer_multisample, GL_EXT_semaphore, GL_EXT_debug_label, GL_ARB_explicit_attrib_location, GL_EXT_subtexture, GL_EXT_fog_coord, GL_ARB_point_parameters, GL_ARB_conditional_render_inverted, GL_ARB_depth_buffer_float, GL_EXT_stencil_wrap, GL_ARB_texture_cube_map, GL_ARB_copy_image, GL_MESA_texture_const_bandwidth, GL_NV_texture_rectangle, GL_ARB_compatibility, GL_ARB_gpu_shader5, GL_INTEL_shader_atomic_float_minmax, GL_ARB_invalidate_subdata, GL_ARB_texture_query_levels, GL_INGR_blend_func_separate, GL_ARB_indirect_parameters, GL_EXT_EGL_image_storage, GL_KHR_blend_equation_advanced, GL_ARB_texture_env_add, GL_ARB_explicit_uniform_location, GL_ATI_texture_env_combine3, GL_EXT_texture_env_combine, GL_ARB_texture_env_dot3, GL_ARB_fragment_shader, GL_AMD_conservative_depth, GL_ARB_enhanced_layouts, GL_ARB_query_buffer_object, GL_NV_light_max_exponent, GL_AMD_vertex_shader_viewport_index, GL_ARB_vertex_attrib_64bit, GL_ARB_fragment_program, GL_EXT_polygon_offset_clamp, GL_EXT_multi_draw_arrays, GL_EXT_rescale_normal, GL_AMD_multi_draw_indirect, GL_AMD_query_buffer_object, GL_ARB_separate_shader_objects, GL_EXT_EGL_sync, GL_ARB_seamless_cubemap_per_texture, GL_EXT_texture_sRGB, GL_EXT_framebuffer_object, GL_EXT_direct_state_access, GL_ARB_shader_image_load_store, GL_KHR_robustness, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_ballot, GL_AMD_shader_stencil_export, GL_ARB_robustness, GL_EXT_memory_object, GL_ARB_framebuffer_sRGB, GL_KHR_debug, GL_ARB_shading_language_100, GL_ARB_texture_swizzle, GL_SGIS_generate_mipmap, GL_ARB_map_buffer_range, GL_SUN_multi_draw_arrays, GL_ARB_copy_buffer, GL_KHR_blend_equation_advanced_coherent, GL_ARB_instanced_arrays, GL_ARB_shader_group_vote, GL_ARB_get_texture_sub_image, GL_ARB_uniform_buffer_object, GL_NV_texgen_reflection, GL_ARB_base_instance, GL_ARB_fragment_program_shadow, GL_EXT_bgra, GL_EXT_packed_depth_stencil, GL_ARB_viewport_array, GL_EXT_texture_sRGB_decode, GL_ARB_ES2_compatibility, GL_KHR_no_error, GL_ARB_texture_compression, GL_EXT_timer_query, GL_EXT_transform_feedback, GL_S3_s3tc, GL_EXT_texture_cube_map, GL_ARB_shader_image_size, GL_ARB_seamless_cube_map, GL_ARB_shader_subroutine, GL_NV_fragment_shader_interlock, GL_ARB_post_depth_coverage, GL_EXT_memory_object_fd, GL_ARB_timer_query, GL_ARB_draw_buffers, GL_NV_compute_shader_derivatives, GL_ARB_framebuffer_no_attachments, GL_EXT_copy_texture, GL_ARB_fragment_coord_conventions, GL_ARB_transpose_matrix, GL_EXT_texture_buffer_object, GL_EXT_texture_lod_bias, GL_ARB_draw_buffers_blend, GL_EXT_texture_swizzle, GL_ARB_multi_bind, GL_ARB_texture_view, GL_EXT_draw_buffers2, GL_ARB_occlusion_query, GL_ARB_texture_filter_anisotropic, GL_ATI_blend_equation_separate, GL_ARB_polygon_offset_clamp, GL_ARB_texture_buffer_object, GL_ARB_half_float_pixel, GL_ARB_texture_float, GL_EXT_blend_subtract, GL_EXT_packed_pixels, GL_ARB_robust_buffer_access_behavior, GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_vertex_array, GL_INTEL_shader_integer_functions2, GL_EXT_texture_integer, GL_NV_primitive_restart, GL_EXT_point_parameters, GL_ANGLE_texture_compression_dxt5, GL_ARB_fragment_shader_interlock, GL_EXT_shader_integer_mix, GL_NV_fog_distance, GL_EXT_demote_to_helper_invocation, GL_ARB_texture_stencil8, GL_EXT_texture_env_dot3, GL_MESA_texture_signed_rgba, GL_ARB_texture_env_combine, GL_KHR_parallel_shader_compile, GL_ARB_point_sprite, GL_EXT_texture_env_add, GL_ARB_spirv_extensions, GL_SGIS_texture_lod, GL_ARB_texture_non_power_of_two, GL_AMD_vertex_shader_layer, GL_EXT_blend_func_separate, GL_AMD_performance_monitor, GL_EXT_blend_equation_separate, GL_ARB_debug_output, GL_ARB_gpu_shader_int64, GL_ARB_buffer_storage, GL_ARB_texture_storage_multisample, GL_EXT_framebuffer_multisample_blit_scaled, GL_AMD_shader_trinary_minmax, GL_ANGLE_texture_compression_dxt3, GL_NV_blend_square, GL_ARB_texture_mirror_clamp_to_edge, GL_SGIS_texture_edge_clamp, GL_EXT_separate_specular_color, GL_ARB_clear_buffer_object, GL_ARB_transform_feedback2, GL_NV_alpha_to_coverage_dither_control, GL_EXT_texture_filter_anisotropic, GL_ARB_texture_env_crossbar, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_multisample, GL_ATI_separate_stencil, GL_EXT_vertex_attrib_64bit, GL_EXT_shader_framebuffer_fetch, GL_ARB_pipeline_statistics_query, GL_MESA_framebuffer_flip_y, GL_ARB_transform_feedback3, GL_ATI_texture_compression_3dc, GL_ARB_vertex_shader, GL_EXT_texture_compression_rgtc, GL_ARB_arrays_of_arrays, GL_ARB_depth_clamp, GL_ARB_shader_viewport_layer_array, GL_MESA_shader_integer_functions, GL_EXT_texture, GL_EXT_abgr, GL_ARB_shader_atomic_counter_ops, GL_ARB_texture_barrier, GL_ARB_tessellation_shader, GL_IBM_rasterpos_clip, GL_NV_ES1_1_compatibility, GL_MESA_window_pos, GL_AMD_seamless_cubemap_per_texture, GL_EXT_pixel_buffer_object, GL_NV_half_float, GL_ARB_vertex_attrib_binding, GL_ARB_window_pos, GL_NV_conditional_render, GL_ATI_fragment_shader, GL_ARB_texture_buffer_range, GL_EXT_texture_compression_dxt1, GL_SGIS_texture_border_clamp, GL_NV_copy_image, GL_ARB_internalformat_query, GL_ARB_ES3_1_compatibility, GL_EXT_compiled_vertex_array, GL_EXT_gpu_shader4, GL_ARB_texture_rgb10_a2ui, GL_ARB_compressed_texture_pixel_storage, GL_AMD_texture_texture4, GL_EXT_texture_shadow_lod, GL_ARB_texture_rg, GL_ARB_shading_language_include, GL_ARB_framebuffer_object, GL_ARB_vertex_array_object, GL_ARB_sample_shading, GL_EXT_texture3D, GL_ARB_texture_compression_bptc, GL_EXT_shadow_funcs, GL_EXT_framebuffer_sRGB, GL_OES_EGL_image, GL_EXT_texture_object, GL_EXT_framebuffer_blit, GL_ATI_draw_buffers, GL_ARB_gpu_shader_fp64, GL_ARB_vertex_array_bgra, GL_EXT_texture_compression_s3tc, GL_ARB_stencil_texturing, GL_ARB_texture_cube_map_array, GL_ARB_multi_draw_indirect, GL_ARB_vertex_buffer_object, GL_ARB_clip_control, GL_ARB_draw_indirect, GL_EXT_packed_float, GL_ARB_gl_spirv, GL_EXT_texture_array, GL_ARB_blend_func_extended, GL_APPLE_packed_pixels, GL_IBM_texture_mirrored_repeat, GL_ARB_compute_variable_group_size, GL_ARB_shader_draw_parameters, GL_ARB_vertex_program, GL_ARB_occlusion_query2, GL_EXT_secondary_color, GL_NV_packed_depth_stencil, GL_ARB_compute_shader, GL_ARB_parallel_shader_compile, GL_AMD_draw_buffers_blend, GL_ARB_conservative_depth, GL_ARB_cull_distance, GL_ARB_draw_elements_base_vertex, GL_ARB_shader_precision, GL_ARB_texture_gather, GL_EXT_draw_range_elements, GL_EXT_shader_samples_identical, GL_ARB_shader_clock, GL_ARB_texture_compression_rgtc, GL_ATI_texture_float, GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_multitexture, GL_ARB_vertex_type_10f_11f_11f_rev, GL_EXT_texture_compression_latc, GL_EXT_blend_color, GL_ARB_texture_storage, GL_EXT_texture_rectangle, GL_KHR_robust_buffer_access_behavior, GL_EXT_stencil_two_side, GL_KHR_texture_compression_astc_sliced_3d, GL_ARB_shader_texture_lod, GL_EXT_texture_snorm, GL_ARB_texture_mirrored_repeat, GL_KHR_context_flush_control, GL_NV_texture_env_combine4, GL_ARB_texture_border_clamp, GL_EXT_semaphore_fd, GL_AMD_depth_clamp_separate, GL_ARB_shader_atomic_counters, GL_ARB_vertex_type_2_10_10_10_rev, GL_INTEL_blackhole_render, GL_ARB_draw_instanced, GL_ARB_texture_query_lod, GL_3DFX_texture_compression_FXT1, GL_ARB_derivative_control, GL_ARB_shading_language_420pack, GL_ARB_depth_texture, GL_ARB_transform_feedback_overflow_query, GL_ARB_clear_texture, GL_KHR_texture_compression_astc_ldr, GL_EXT_texture_edge_clamp, GL_ARB_get_program_binary, GL_ARB_sampler_objects, GL_ARB_shader_texture_image_samples, GL_EXT_draw_instanced, GL_ARB_fragment_layer_viewport, GL_EXT_provoking_vertex, GL_ARB_sync, GL_ARB_color_buffer_float, GL_ARB_shader_stencil_export, GL_EXT_vertex_array_bgra, GL_ARB_direct_state_access, GL_ARB_shader_objects [2024.05.28 16:59:39] OpenGL: QOpenGLContext created, version: 4.4. [2024.05.28 16:59:39] App Info: reading accounts info... [2024.05.28 16:59:39] App Info: reading encrypted info... [2024.05.28 16:59:39] App Info: reading map... [2024.05.28 16:59:39] App Info: reading encrypted map... [2024.05.28 16:59:39] App Info: reading encrypted user settings... [2024.05.28 16:59:39] App Info: encrypted user settings read. [2024.05.28 16:59:39] App Info: reading encrypted mtp data... [2024.05.28 16:59:39] MTP Info: read keys, current: 5, to destroy: 0 [2024.05.28 16:59:39] Map read time: 0 [2024.05.28 16:59:39] App Info: reading encrypted mtp config... [2024.05.28 16:59:39] Export Info: Destroy top bar by controller removal. [2024.05.28 16:59:39] OpenGL: [TRUE] (Window) [2024.05.28 17:04:39] API Warning: not loaded minimal channel applied. [2024.05.28 17:05:30] API Warning: not loaded minimal channel applied. [2024.05.28 17:05:30] Notification daemon product name: com.github.Aylur.ags [2024.05.28 17:05:30] Notification daemon vendor name: Aylur [2024.05.28 17:05:30] Notification daemon version: 1.8.2 [2024.05.28 17:05:30] Notification daemon specification version: 1.2 [2024.05.28 17:05:30] Notification daemon capabilities: action-icons, actions, body, body-hyperlinks, body-markup, icon-static, persistence, sound [2024.05.28 17:05:30] RPC Error: request 49 got fail with code 400, error CHANNEL_PRIVATE [2024.05.28 17:05:30] RPC Error: request 61 got fail with code 400, error CHANNEL_PRIVATE [2024.05.28 17:05:30] RPC Error: request 62 got fail with code 400, error CHANNEL_PRIVATE [2024.05.28 18:14:27] API Warning: not loaded minimal channel applied. [2024.05.28 18:33:04] Audio Info: recreating audio device and reattaching the tracks [2024.05.28 18:35:34] Audio Info: Closing audio playback device.
[log.txt](https://github.com/telegramdesktop/tdesktop/files/15473264/log.txt)

@ilya-fedin
Copy link
Contributor

Try to start tdesktop like ./Telegram -debug, it has a deadlock detector in debug mode which could detect your hangs and do std::abort which will lead to creating a crash dump with could point where it hangs.

Ensure you fully quit tdesktop first or it will just give focus to already running instance.

@Roverp1
Copy link

Roverp1 commented May 28, 2024

Here is the archive with DebugLogs/ and log.txt:
DebugLogs.zip

last 100 lines `of log_19_00.txt`, as it looked the most interesting

[19:09:21.626 01-0000858] AuthKey Info: checking chosen key for pq inner... (mtproto_dc_key_creator.cpp : 25)
[19:09:21.626 01-0000859] AuthKey Info: chosen key for pq inner is good. (mtproto_dc_key_creator.cpp : 25)
[19:09:21.626 01-0000860] AuthKey Info: sending Req_DH_params... (mtproto_dc_key_creator.cpp : 25)
[19:09:21.626 01-0000861] AuthKey Info: sending request, size: 96, time: 1716916161 (mtproto_dc_key_creator.cpp : 25)
[19:09:21.626 01-0000862] Connection 1(dc:2,149.154.167.50:443) Info: TCP Info: write packet 409 bytes. (connection_abstract.cpp : 25)
[19:09:21.669 00-0000863] App Info: failed to open '0000000000000000' for reading (storage_file_utilities.cpp : 25)
[19:09:21.680 00-0000864] App Info: failed to open '0000000000000000' for reading (storage_file_utilities.cpp : 25)
[19:09:21.680 00-0000865] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000866] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000867] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000868] MTP Info: tryToSend for dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000869] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000871] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000872] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000873] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000870] MTP Info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 01-0000874] MTP Info: tryToSend for dc 2. (session_private.cpp : 25)
[19:09:21.680 01-0000875] MTP Info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000876] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000877] MTP Info: tryToSend for dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000878] MTP Info: dcWithShift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000879] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000880] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000881] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000882] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000883] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000884] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 00-0000886] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000885] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.680 01-0000887] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 01-0000888] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.680 01-0000889] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.680 00-0000890] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.680 01-0000891] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000892] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000893] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000894] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 00-0000895] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.681 01-0000896] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000897] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000898] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000899] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000900] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000901] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000902] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000903] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000904] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000905] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000906] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000907] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000908] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000909] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 00-0000910] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.681 01-0000911] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000912] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 00-0000913] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.681 00-0000914] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.681 01-0000915] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000916] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000917] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000918] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 00-0000919] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.681 01-0000920] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.681 01-0000921] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.681 00-0000922] window pos: saving non-maximized position: 0, 24, 1908, 1004 (main_window.cpp : 25)
[19:09:21.681 00-0000923] window pos: screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 25)
[19:09:21.681 00-0000924] window pos: writing: 0, 24, 1908, 1004 (scale 100%, maximized [false]) (main_window.cpp : 25)
[19:09:21.681 00-0000925] window pos: saving non-maximized position: 0, 24, 1908, 1004 (main_window.cpp : 25)
[19:09:21.681 00-0000926] window pos: screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 25)
[19:09:21.693 00-0000927] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.693 00-0000928] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.693 00-0000929] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.693 01-0000930] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.693 00-0000931] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.693 01-0000932] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.693 00-0000933] mtp info: dcwithshift 2 stopped send timer, can wait for 0ms from current 0 (session.cpp : 25)
[19:09:21.693 01-0000934] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000935] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000936] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000937] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000938] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000939] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000940] mtp info: trytosend for dc 2. (session_private.cpp : 25)
[19:09:21.693 01-0000941] mtp info: not yet with auth key in dc 2. (session_private.cpp : 25)
[19:09:21.693 00-0000942] window pos: saving maximized position. (main_window.cpp : 25)
[19:09:21.693 00-0000943] window pos: writing: 0, 24, 1908, 1004 (scale 100%, maximized [true]) (main_window.cpp : 25)
[19:09:21.693 00-0000944] window pos: saving maximized position. (main_window.cpp : 25)
[19:09:22.143 01-0000945] connection 1(dc:2,149.154.167.50:443) info: read 716 bytes (connection_abstract.cpp : 25)
[19:09:22.143 01-0000946] connection 1(dc:2,149.154.167.50:443) info: packet received, size = 712. (connection_abstract.cpp : 25)
[19:09:22.143 01-0000947] authkey info: receiving answer for temporary... (mtproto_dc_key_creator.cpp : 25)
[19:09:22.143 01-0000948] authkey info: receiving req_dh_params answer... (mtproto_dc_key_creator.cpp : 25)
[19:09:22.146 01-0000949] authkey info: sending req_client_dh_params... (mtproto_dc_key_creator.cpp : 25)
[19:09:22.146 01-0000950] authkey info: sending request, size: 107, time: 1716916227 (mtproto_dc_key_creator.cpp : 25)
[19:09:22.146 01-0000951] connection 1(dc:2,149.154.167.50:443) info: tcp info: write packet 453 bytes. (connection_abstract.cpp : 25)
[19:09:22.188 01-0000952] connection 1(dc:2,149.154.167.50:443) info: read 133 bytes (connection_abstract.cpp : 25)
[19:09:22.188 01-0000953] connection 1(dc:2,149.154.167.50:443) info: packet received, size = 132. (connection_abstract.cpp : 25)
[19:09:22.188 01-0000954] authkey info: receiving answer for temporary... (mtproto_dc_key_creator.cpp : 25)
[19:09:22.188 01-0000955] authkey info: receiving req_client_dh_params answer... (mtproto_dc_key_creator.cpp : 25)
[19:09:22.188 01-0000956] authkey info: unbound key creation succeed, ids: (14099514304940445968, 0) server salts: (16539890250217039799, 0) (session_private.cpp : 25)
[19:09:22.188 01-0000957] mtp info: auth key id set to id 14099514304940445968 (session_private.cpp : 25)
[19:09:22.188 01-0000958] mtp info: setting server_session: 5820751992092027931 (session_private.cpp : 25)
[19:09:22.188 01-0000959] authkey info: connection update key from session, dc 2 result: 10 91 83 d3 8e 89 ab c3 (session_private.cpp : 25)

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 28, 2024

haven't you got a crash instead of freezing?

@Roverp1
Copy link

Roverp1 commented May 28, 2024

I did got a crash after like 1-2 minutes of loading chats window. It still generated new log.txt and -debug flag also created DebugLogs/ directory, which wasn't present earlier in ~/.local/share/TelegramDesktop/

@ilya-fedin
Copy link
Contributor

I did got a crash after like 1-2 minutes of loading chats window.

Upload the newest dump from tdata/dumps

@Roverp1
Copy link

Roverp1 commented May 28, 2024

dumps.zip

@hlecuanda
Copy link

having the same issue, i'll make sure to upload logs and dump shortly

@ilya-fedin
Copy link
Contributor

dumps.zip

How fast this command returns?
busctl --user call org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver GetSessionIdleTime

@Roverp1
Copy link

Roverp1 commented May 30, 2024

it fails:

❯ busctl --user call org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver GetSessionIdleTime
Call failed: Unknown method GetSessionIdleTime or interface org.freedesktop.ScreenSaver.

@ilya-fedin
Copy link
Contributor

but how fast?

@Roverp1
Copy link

Roverp1 commented May 31, 2024

immediately

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 31, 2024

Interesting, all your dumps point to the code doing this call. Do you have the issue with X11 session?

@Roverp1
Copy link

Roverp1 commented May 31, 2024

Do you mean if I have the same problem in an X11 session?
If so, I will try to check it the next time telegram starts freezing. But I have doubts about how accurate this check will be, as this problem is quite random, and changing the session from wayland to X11 may affect the current behaviour.

@ilya-fedin
Copy link
Contributor

Do you mean if I have the same problem in an X11 session?

Yes

as this problem is quite random

ah

@Roverp1
Copy link

Roverp1 commented May 31, 2024

However, I have only recently switched from dwm to hyprland and the problem was never present before the switch.

Copy link

github-actions bot commented Jun 1, 2024

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@github-actions github-actions bot closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants