Bug 44184 - Программа виснет на сообщении "Ardour: [INFO]: Загружается файл /usr/share/ardour6/themes/dark-ardour.colors с описанием цветовой схемы"
Summary: Программа виснет на сообщении "Ardour: [INFO]: Загружается файл /usr/share/ar...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ardour (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 22:55 MSK by Norbert X
Modified: 2022-11-02 16:50 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norbert X 2022-10-31 22:55:32 MSK
У Ardour какие-то проблемы с парсингом тем Gtk2, он виснет при запуске. На полностью обновленной ALW p10 это проявляется так:

```
$ dconf reset -f /org/mate/marco/
$ gsettings list-recursively | grep "mate.*theme"
org.mate.NotificationDaemon theme 'coco'
org.mate.interface icon-theme 'menta'
org.mate.interface gtk-theme 'Menta'
org.mate.interface gtk-key-theme 'Default'
org.mate.file-views icon-theme 'crux_teal'
org.mate.peripherals-mouse cursor-theme 'mate-black'
org.mate.Marco.general theme 'Dopple'
org.mate.lockdown disable-theme-settings false
org.mate.control-center.appearance more-themes-url 'http://mate-desktop.org/themes/'
org.mate.screensaver themes ['screensavers-footlogo-floaters']
org.mate.screensaver lock-dialog-theme 'default'
org.mate.sound theme-name 'freedesktop'
$ ardour6
WARNING: Your system has a limit for maximum amount of locked memory!
         This might cause Ardour to run out of memory before your system runs
         out of memory. You can view the memory limit with 'ulimit -l', and it
         is normally controlled by /etc/security/limits.conf

bind txt domain [gtk2_ardour6] to /usr/share/ardour6/locale
Ardour6.8.0 (built using 6.8 and GCC version 10.3.1 20210702 (ALT Sisyphus 10.3.1-alt1))
Ardour: [INFO]: Your system is configured to limit Ardour to 16384 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: Loading user configuration file /home/nikolay/.config/ardour6/config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
Ardour: [INFO]: Using SSE optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/nikolay/.config/ardour6/ui_config
Ardour: [INFO]: Loading 452 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading color file /usr/share/ardour6/themes/dark-ardour.colors
```

и дальше ничего не происходит. Главное окно Ardour не появляется.


Решение есть в ветке https://bbs.archlinux.org/viewtopic.php?pid=1939167#p1939167 - запуск с передачей пустой переменной GTK2_RC_FILES позволяет нормально запускать Ardour:

```
GTK2_RC_FILES= ardour7
GTK2_RC_FILES= ardour6
```
Comment 1 Norbert X 2022-10-31 22:58:19 MSK
Баг создан по мотивам этих двух тем на форуме - https://forum.altlinux.org/index.php?topic=46884 и https://forum.altlinux.org/index.php?topic=46888 .
Comment 2 Sergey Bolshakov 2022-11-01 12:35:02 MSK
если выполнить
# set|grep ^GTK
что выведет ?
если в выводе есть GTK2_RC_FILES, то
# unset GTK2_RC_FILES
# ardour7 

работает ?
Comment 3 Repository Robot 2022-11-02 16:50:12 MSK
ardour-7.0-alt2 -> sisyphus:

 Wed Nov 02 2022 Sergey Bolshakov <sbolshakov@altlinux.ru> 7.0-alt2
 - added workaround for broken gtk2 themes (closes: 44184)