Bug#878000: ardour5 does not start on debian/testing it spins trying to load GTK2 breeze theme

wzabolot at elektron.elka.pw.edu.pl wzabolot at elektron.elka.pw.edu.pl
Sun Oct 8 12:38:01 UTC 2017


W dniu 08.10.2017 o 14:13, Jonas Smedegaard pisze:
> Hi Wojciech,
>
> First of all, thanks for reporting this!
>
> Quoting Wojciech Zabołotny (2017-10-08 13:34:16)
>> When I start the jack server, and then ardour5, it does not start.
>> The "top" shows that ardour5 uses one CPU core in 100%.
>> When I start it via "strace", I get the following messages displayed
>> repeatedly:
> [...]
>> It looks, that ardour tries to load the Breeze gtk theme, and when it fails,
>> it repeats that forever.
>> I can see two problems there:
>> 1. ardour should depend on the appropriate package providing the required
>>    GUI theme
>> 2. ardour should fail, displaying the reasonable error message without
>>    looping forever.
> Ardour does _not_ depend on a specific GTK+ widget theme.
>
> Perhaps a bug elsewhere - e.g. in GTK+ or that particular theme - is 
> triggered?
>
> Did you configure your environment to use Breeze?  Could you please try 
> switch to a different GTK+ theme instead?
>
> Perhaps create a temporary new user on your system and start Ardour from 
> there - to help avoid cruft in your own $HOME environment interfering.
>
Dear Jonas,

Thanks a lot for your suggestions.

That's interesting. Of course, I have cleaned up the ~/.config/ardour4
and ~/.config/ardour5 directories before submitting the first report,
and it didn't help.

However indeed, when I logged in as another user, ardour started correctly.

I have dumped the whole strace output with : "strace -o
/tmp/ardour_strace.txt ardour5"
And then I've checked what config files are read before the first
access("/usr/share/themes/Breeze/gtk-2.0/widgets/../assets/check-unchecked.png",
F_OK) = -1 ENOENT (No such file or directory)

The problematic file was:
open("/home/wzab/.gtkrc-2.0", O_RDONLY) = 11
with the following content:

=======================
include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"
style "user-font"
{
    font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 10"
gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1
=======================

After I have renamed that file to "/home/wzab/.gtkrc-2.0.deleted" , the
problem disappeared.
So the problem probably indeed is not ardour related (however I don't
know why only ardour suffers from that).

Regards,
Wojtek

PS. Is it possible that
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874598 is caused by
the same problem?

-- 
Wojciech M Zabolotny, PhD
Institute of Electronic Systems
Faculty of Electronics and Information Technology
Warsaw University of Technology



More information about the pkg-multimedia-maintainers mailing list