You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open tdesktop, move it from one display to another and back to the original
Open any image from a chat or a profile
Expected behaviour
tdesktop shows the image normally
Actual behaviour
tdesktop freezes for 5-10s, then opens the image and freezes for another 20-60s.
If you open any more image afterwards, tdesktop opens that very image.
After pressing "quit Telegram" in tray, it crashes with segfault at opengl free (backtrace from Arch Linux repo build).
Thread 1 (Thread 0x7fffe1c4d400 (LWP 19474) "telegram-deskto"):
#0 je_free_default (ptr=0x20000002901) at src/jemalloc.c:3014
#1 0x00007fffafd19889 in delete_renderbuffer() () at ../mesa-23.1.3/src/mesa/main/renderbuffer.c:81
#2 0x00007fffafd19761 in _mesa_reference_renderbuffer_ () at ../mesa-23.1.3/src/mesa/main/renderbuffer.c:437
#3 _mesa_reference_renderbuffer () at ../mesa-23.1.3/src/mesa/main/renderbuffer.h:66
#4 _mesa_free_framebuffer_data () at ../mesa-23.1.3/src/mesa/main/framebuffer.c:213
#5 _mesa_destroy_framebuffer () at ../mesa-23.1.3/src/mesa/main/framebuffer.c:189
#6 _mesa_destroy_framebuffer() () at ../mesa-23.1.3/src/mesa/main/framebuffer.c:186
#7 0x00007fffafd21409 in _mesa_reference_framebuffer_() () at ../mesa-23.1.3/src/mesa/main/framebuffer.c:249
#8 0x00007fffafd33934 in _mesa_reference_framebuffer () at ../mesa-23.1.3/src/mesa/main/framebuffer.h:60
#9 _mesa_DeleteFramebuffers() () at ../mesa-23.1.3/src/mesa/main/fbobject.c:3402
#10 0x00007ffff4b878bf in QOpenGLFunctions::glDeleteFramebuffers(int, unsigned int const*) (framebuffers=0x7fffffffb9fc, n=1, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/opengl/qopenglfunctions.h:1291
#11 (anonymous namespace)::freeFramebufferFunc(QOpenGLFunctions*, GLuint) (funcs=<optimized out>, id=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/opengl/qopenglframebufferobject.cpp:450
#12 0x00007ffff32a5b8d in QOpenGLSharedResourceGuard::freeResource(QOpenGLContext*) (context=0x7fff9a652370, this=0x7fff9bde3320) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qopenglcontext.cpp:1171
#13 QOpenGLSharedResourceGuard::freeResource(QOpenGLContext*) (this=0x7fff9bde3320, context=0x7fff9a652370) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qopenglcontext.cpp:1167
#14 0x00007ffff32a70ec in QOpenGLContextGroupPrivate::deletePendingResources(QOpenGLContext*) (this=0x7fffa2a38a00, ctx=0x7fff9a652370) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qopenglcontext.cpp:1092
#15 0x00007ffff32a7f8c in QOpenGLSharedResource::free() (this=0x7fff9bde3320) at /usr/src/debug/qt6-base/build/include/QtGui/../../../qtbase-everywhere-src-6.5.1/src/gui/kernel/qopenglcontext.h:45
#16 0x00007ffff4b8ed5d in QOpenGLFramebufferObject::~QOpenGLFramebufferObject() (this=0x7fff9b17a8c0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/opengl/qopenglframebufferobject.cpp:1017
#17 0x00007ffff4b8ee3d in QOpenGLFramebufferObject::~QOpenGLFramebufferObject() (this=0x7fff9b17a8c0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/opengl/qopenglframebufferobject.cpp:1024
#18 0x00007ffff6f31806 in QOpenGLWidgetPrivate::destroyFbos() (this=this@entry=0x7fffa2a6f600) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/openglwidgets/qopenglwidget.cpp:1012
#19 0x00007ffff6f32cff in QOpenGLWidgetPrivate::reset() (this=0x7fffa2a6f600) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/openglwidgets/qopenglwidget.cpp:692
#20 0x00007ffff6f32db5 in QOpenGLWidget::~QOpenGLWidget() (this=0x7fffa2838080, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/openglwidgets/qopenglwidget.cpp:1145
#21 0x0000555557d6f636 in non-virtual thunk to Ui::GL::(anonymous namespace)::SurfaceOpenGL::~SurfaceOpenGL() () at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/lib_ui/ui/gl/gl_surface.cpp:28
#22 0x000055555758a574 in std::default_delete<Ui::RpWidgetWrap>::operator()(Ui::RpWidgetWrap*) const (__ptr=<optimized out>, this=<optimized out>, this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:93
#23 std::unique_ptr<Ui::RpWidgetWrap, std::default_delete<Ui::RpWidgetWrap> >::~unique_ptr() (this=0x7fffa2846c40, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:404
#24 Media::View::OverlayWidget::~OverlayWidget() (this=0x7fffa2846c00, this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp:1766
#25 0x0000555556be2a92 in Media::View::OverlayWidget::~OverlayWidget() (this=0x7fffa2846c00, this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp:1761
#26 std::default_delete<Media::View::OverlayWidget>::operator()(Media::View::OverlayWidget*) const (__ptr=0x7fffa2846c00, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:99
#27 std::__uniq_ptr_impl<Media::View::OverlayWidget, std::default_delete<Media::View::OverlayWidget> >::reset(Media::View::OverlayWidget*) (__p=0x0, this=0x7fffe18c8660) at /usr/include/c++/13.1.1/bits/unique_ptr.h:211
#28 std::unique_ptr<Media::View::OverlayWidget, std::default_delete<Media::View::OverlayWidget> >::reset(Media::View::OverlayWidget*) (__p=0x0, this=0x7fffe18c8660) at /usr/include/c++/13.1.1/bits/unique_ptr.h:509
#29 std::unique_ptr<Media::View::OverlayWidget, std::default_delete<Media::View::OverlayWidget> >::operator=(decltype(nullptr)) (this=0x7fffe18c8660) at /usr/include/c++/13.1.1/bits/unique_ptr.h:442
#30 Core::Application::~Application() (this=0x7fffe18c8500, this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/application.cpp:206
#31 0x0000555556c49363 in Core::Application::~Application() (this=0x7fffe18c8500, this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/application.cpp:240
#32 std::default_delete<Core::Application>::operator()(Core::Application*) const (__ptr=0x7fffe18c8500, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:99
#33 std::__uniq_ptr_impl<Core::Application, std::default_delete<Core::Application> >::reset(Core::Application*) (__p=0x0, this=0x7fffffffd160) at /usr/include/c++/13.1.1/bits/unique_ptr.h:211
#34 std::unique_ptr<Core::Application, std::default_delete<Core::Application> >::reset(Core::Application*) (__p=0x0, this=0x7fffffffd160) at /usr/include/c++/13.1.1/bits/unique_ptr.h:509
#35 std::unique_ptr<Core::Application, std::default_delete<Core::Application> >::operator=(decltype(nullptr)) (this=0x7fffffffd160) at /usr/include/c++/13.1.1/bits/unique_ptr.h:442
#36 Core::Sandbox::closeApplication() (this=this@entry=0x7fffffffd100) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:640
#37 0x0000555556c49666 in operator() (__closure=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:155
#38 Core::Sandbox::customEnterFromEventLoop<Core::Sandbox::start()::<lambda()>::<lambda()> > (callable=<optimized out>, this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.h:51
#39 operator() (__closure=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:154
#40 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Core::Sandbox::start()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
--Type <RET> for more, q to quit, c to continue without paging--
#41 QtPrivate::Functor<Core::Sandbox::start()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:241
#42 QtPrivate::QFunctorSlotObject<Core::Sandbox::start()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:409
#43 0x00007ffff23915d9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbde0, r=0x7fffffffd100, this=0x7fffe199c460, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobjectdefs_impl.h:363
#44 doActivate<false>(QObject*, int, void**) (sender=0x7fffffffd100, signal_index=3, argv=0x7fffffffbde0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobject.cpp:3992
#45 0x00007ffff233b3be in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) (_t1=..., this=<optimized out>) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qcoreapplication.cpp:324
#46 QCoreApplication::exit(int) (returnCode=returnCode@entry=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1495
#47 0x00007ffff233b3eb in QCoreApplication::event(QEvent*) (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:2023
#48 0x00007ffff417145b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7fffffffbde0, receiver=0x7fffffffd100, receiver@entry=0x7fffe199c460, e=e@entry=0x7fffffffbf30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/widgets/kernel/qapplication.cpp:3287
#49 0x00007ffff4173279 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7fffffffd100, receiver=0x7fffe199c460, receiver@entry=0x7fffffffd100, e=e@entry=0x7fffffffbf30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/widgets/kernel/qapplication.cpp:3049
#50 0x0000555556c4928f in Core::Sandbox::notifyOrInvoke(QObject*, QEvent*) (e=0x7fffffffbf30, receiver=0x7fffffffd100, this=0x7fffffffd100) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:587
#51 Core::Sandbox::notify(QObject*, QEvent*) (this=0x7fffffffd100, receiver=0x7fffffffd100, e=0x7fffffffbf30) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:603
#52 0x00007ffff233aad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffffffd100, event=0x7fffffffbf30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1115
#53 0x00007ffff233ab2d in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1547
#54 0x00007ffff2faa266 in QGuiApplicationPrivate::processApplicationTermination(QWindowSystemInterfacePrivate::WindowSystemEvent*) (windowSystemEvent=0x7fffffffbf80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qguiapplication.cpp:3693
#55 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=0x7fffffffbf80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qguiapplication.cpp:2071
#56 0x00007ffff2fb2300 in QWindowSystemEventHandler::sendEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (this=<optimized out>, e=0x7fffffffbf80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qwindowsysteminterface.cpp:190
#57 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::WindowSystemEvent, QWindowSystemInterfacePrivate::EventType>(QWindowSystemInterfacePrivate::EventType) () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qwindowsysteminterface.cpp:102
#58 QWindowSystemHelper<QWindowSystemInterface::SynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::WindowSystemEvent, QWindowSystemInterfacePrivate::EventType>(QWindowSystemInterfacePrivate::EventType) () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qwindowsysteminterface.cpp:96
#59 handleWindowSystemEvent<QWindowSystemInterfacePrivate::WindowSystemEvent, QWindowSystemInterface::SynchronousDelivery, QWindowSystemInterfacePrivate::EventType> () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qwindowsysteminterface.cpp:138
#60 QWindowSystemInterface::handleApplicationTermination<QWindowSystemInterface::SynchronousDelivery>() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qwindowsysteminterface.cpp:275
#61 QPlatformIntegration::quit() const (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qplatformintegration.cpp:532
#62 QGuiApplicationPrivate::quit() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qguiapplication.cpp:3685
#63 0x00007ffff23915d9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffc0b0, r=0x7fffcf886680, this=0x7fffcf752ec0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobjectdefs_impl.h:363
#64 doActivate<false>(QObject*, int, void**) (sender=0x7fffcf886680, signal_index=7, argv=0x7fffffffc0b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobject.cpp:3992
#65 0x00007ffff3303c27 in QAction::triggered(bool) (_t1=<optimized out>, this=0x7fffcf886680) at /usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qaction.cpp:638
#66 QAction::activate(QAction::ActionEvent) (this=0x7fffcf886680, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/gui/kernel/qaction.cpp:1104
#67 0x00007ffff237d3c7 in QObject::event(QEvent*) (this=0x7fffcf886680, e=0x7fffddc44b00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qobject.cpp:1391
#68 0x00007ffff417145b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7fffe183c400, receiver=receiver@entry=0x7fffcf886680, e=e@entry=0x7fffddc44b00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/widgets/kernel/qapplication.cpp:3287
#69 0x00007ffff4173279 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7fffffffd100, receiver=receiver@entry=0x7fffcf886680, e=e@entry=0x7fffddc44b00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/widgets/kernel/qapplication.cpp:3049
#70 0x0000555556c4928f in Core::Sandbox::notifyOrInvoke(QObject*, QEvent*) (e=0x7fffddc44b00, receiver=0x7fffcf886680, this=0x7fffffffd100) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:587
#71 Core::Sandbox::notify(QObject*, QEvent*) (this=0x7fffffffd100, receiver=0x7fffcf886680, e=0x7fffddc44b00) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:603
#72 0x00007ffff233aad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffcf886680, event=event@entry=0x7fffddc44b00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1115
#73 0x00007ffff233ae5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fffddc44b00, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1533
#74 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x7fffe1880c00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1895
#75 0x00007ffff2536624 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcoreapplication.cpp:1754
#76 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7fffe1944870) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#77 0x00007ffff3f0fa31 in g_main_dispatch (context=0x7fffdfa01180) at ../glib/glib/gmain.c:3460
#78 g_main_context_dispatch (context=0x7fffdfa01180) at ../glib/glib/gmain.c:4200
#79 0x00007ffff3f6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7fffdfa01180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#80 0x00007ffff3f0d0e2 in g_main_context_iteration (context=0x7fffdfa01180, may_block=1) at ../glib/glib/gmain.c:4343
#81 0x00007ffff25344d4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffe192ad20, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
--Type <RET> for more, q to quit, c to continue without paging--
#82 0x00007ffff2344cd3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fffffffc5a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventloop.cpp:100
#83 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffc5a0, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventloop.cpp:182
#84 0x00005555576e762d in operator() (__closure=0x7fffd9202460) at /usr/include/qt6/QtCore/qflags.h:74
#85 std::__invoke_impl<void, Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication()::<lambda()>&> (__f=...) at /usr/include/c++/13.1.1/bits/invoke.h:61
#86 std::__invoke<Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication()::<lambda()>&> (__fn=...) at /usr/include/c++/13.1.1/bits/invoke.h:96
#87 std::invoke<Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication()::<lambda()>&> (__fn=...) at /usr/include/c++/13.1.1/functional:113
#88 sigc::adaptor_functor<Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication()::<lambda()> >::operator()<> (this=0x7fffd9202460) at /usr/include/sigc++-3.0/sigc++/adaptors/adaptor_trait.h:100
#89 sigc::internal::slot_call<Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication()::<lambda()>, void>::call_it(sigc::internal::slot_rep *) (rep=<optimized out>) at /usr/include/sigc++-3.0/sigc++/functors/slot.h:154
#90 0x00007ffff697bb5d in std::__invoke_impl<void, void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(std::__invoke_other, void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__f=<optimized out>) at /usr/include/c++/12.2.1/bits/invoke.h:60
#91 std::__invoke<void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__fn=<optimized out>) at /usr/include/c++/12.2.1/bits/invoke.h:96
#92 std::invoke<void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__fn=<optimized out>) at /usr/include/c++/12.2.1/functional:110
#93 sigc::slot<void ()>::operator()() const (this=0x7fffe19f4f68) at /usr/include/sigc++-3.0/sigc++/functors/slot.h:222
#94 Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (self=<optimized out>, data=0x7fffe19f4f60) at ../glibmm/glib/glibmm/signalproxy.cc:92
#95 0x00007ffff64de6c0 in g_closure_invoke (closure=0x7fffd9215e30, return_value=0x0, n_param_values=1, param_values=0x7fffffffc7a0, invocation_hint=0x7fffffffc720) at ../glib/gobject/gclosure.c:832
#96 0x00007ffff650ccbb in signal_emit_unlocked_R.isra.0 (node=node@entry=0x7fffa2d8e120, detail=detail@entry=0, instance=instance@entry=0x7fffa2c26590, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffc7a0) at ../glib/gobject/gsignal.c:3883
#97 0x00007ffff64fdaa7 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffc940) at ../glib/gobject/gsignal.c:3565
#98 0x00007ffff64fdd34 in g_signal_emit (instance=instance@entry=0x7fffa2c26590, signal_id=<optimized out>, detail=detail@entry=0) at ../glib/gobject/gsignal.c:3622
#99 0x00007ffff1d07575 in g_application_register (application=application@entry=0x7fffa2c26590, cancellable=cancellable@entry=0x0, error=error@entry=0x7fffffffcab0) at ../glib/gio/gapplication.c:2213
#100 0x00007ffff1d07e89 in g_application_run (application=0x7fffa2c26590, argc=<optimized out>, argv=0x0) at ../glib/gio/gapplication.c:2547
#101 0x00005555576d20b0 in Platform::(anonymous namespace)::LinuxIntegration::LaunchNativeApplication() () at /usr/include/c++/13.1.1/bits/shared_ptr_base.h:1665
#102 0x00007ffff697b8e9 in std::__invoke_impl<void, void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(std::__invoke_other, void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__f=<optimized out>) at /usr/include/c++/12.2.1/bits/invoke.h:61
#103 std::__invoke<void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__fn=<optimized out>) at /usr/include/c++/12.2.1/bits/invoke.h:96
#104 std::invoke<void (*)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&>(void (*&&)(sigc::internal::slot_rep*), sigc::internal::slot_rep*&) (__fn=<optimized out>) at /usr/include/c++/12.2.1/functional:110
#105 sigc::slot<void ()>::operator()() const (this=<optimized out>) at /usr/include/sigc++-3.0/sigc++/functors/slot.h:222
#106 (anonymous namespace)::glibmm_source_callback_once(void*) (data=<optimized out>) at ../glibmm/glib/glibmm/main.cc:221
#107 0x00007ffff3f0fa31 in g_main_dispatch (context=0x7fffdfa01180) at ../glib/glib/gmain.c:3460
#108 g_main_context_dispatch (context=0x7fffdfa01180) at ../glib/glib/gmain.c:4200
#109 0x00007ffff3f6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7fffdfa01180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#110 0x00007ffff3f0d0e2 in g_main_context_iteration (context=0x7fffdfa01180, may_block=1) at ../glib/glib/gmain.c:4343
#111 0x00007ffff25344d4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffe192ad20, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#112 0x00007ffff2344cd3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7fffffffce70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventloop.cpp:100
#113 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffce70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/kernel/qeventloop.cpp:182
#114 0x00007ffff233e378 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/corelib/global/qflags.h:74
#115 0x00007ffff416df8a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.5.1/src/widgets/kernel/qapplication.cpp:2566
#116 0x0000555556c26955 in Core::Sandbox::start() (this=0x7fffffffd100) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/sandbox.cpp:180
#117 Core::Launcher::executeApplication() (this=this@entry=0x7fffe183d150) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/launcher.cpp:569
#118 0x0000555556c27a60 in Core::Launcher::exec() (this=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/core/launcher.cpp:376
#119 0x0000555555ef8781 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/telegram-desktop/tdesktop-4.8.4-full/Telegram/SourceFiles/main.cpp:12
If the whole system freezes then you have a problem with your display server as application shouldn't be able to do such things at all, so it's most likely a bug of your display server, maybe it doesn't handle some combination of valid protocol requests or something. The trace suggests it's something to do with mesa you can try with reporting to mesa first.
Steps to reproduce
Expected behaviour
tdesktop shows the image normally
Actual behaviour
tdesktop freezes for 5-10s, then opens the image and freezes for another 20-60s.
If you open any more image afterwards, tdesktop opens that very image.
After pressing "quit Telegram" in tray, it crashes with segfault at opengl free (backtrace from Arch Linux repo build).
Operating system
Arch Linux, KDE
Version of Telegram Desktop
4.8.4
Installation source
Static binary from official website
Crash ID
No response
Logs
The text was updated successfully, but these errors were encountered: