Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: net/tdesktop 6.1.3 segmentation fault on 7.8
To:
Chris Billington <emulti@disroot.org>, ports@openbsd.org
Date:
Thu, 30 Apr 2026 16:01:06 +0000

Download raw body.

Thread
30.04.2026 16:02, Chris Billington пишет:
> net/tdesktop was previously working for me on 7.8.

What version on what OS version used to work?

What are you doing to reproduce the crash?

Either way, please try -current;  I have neither the time, nor the energy
to debug Telegram bugs in old versions.

If you have clear instructions for recent net/tdesktop, we can work with that.

> 
> But now I get:
> 
> $ Telegram
> 
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolButtonPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ButtonPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::CheckBoxPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::RadioButtonPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::HeaderPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ItemViewPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MessageBoxLabelPelette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TabBarPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::LabelPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::GroupBoxPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuBarPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextLineEditPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolTipPalette
> virtual QVariant Qt6CTPlatformTheme::themeHint(QPlatformTheme::ThemeHint) const
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
> virtual const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
> Segmentation fault (core dumped)
> 
> 
> I attempted to run with gdb. tdesktop seems to already contain debugging symbols, but gdb exits before I am able to 'run' it:

Telegram is huge and I recently started stripping to reduce binary size
by hundreds of megabytes;  debug symbols hardly helped and proper debug
builds have long been broken due to dwz(1) being unable to cope with
Telegram's size, anyway.

> 
> $ egdb Telegram
> GNU gdb (GDB) 16.3
> Copyright (C) 2024 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-unknown-openbsd7.8".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from Telegram...
> Recursive internal problem.
> Abort trap (core dumped)
> 
> Is anyone else seeing this?
> Maybe the coming release of 7.9 with newer versions and debugging symbols stripped will resolve it?
> 
> Chris
>