rxvt-unicode hangs with wrong .Xdefaults/.Xresources tab color settings

John Hendy jw.hendy at gmail.com
Mon May 24 17:35:56 CEST 2021


Greetings,


I recently submitted a bug on Arch linux, as I found that after a
system-wide update urxvt hung with 100% CPU usage and I had to force
kill.[1]  I thought it was a package error, but it turns out that something
about 9.26 (vs. 9.22 which was my previous version) didn't like one of my
.Xdefaults settings.

I wasn't sure which one, but got it working eventually. I attached the one
that broke along with what is now working. The urxvt maintainer at Arch
proposed that the offending settings were:
```
URxvt*tab-bg
URxvt*tab-fg
URxvt*tabbar-bg
URxvt*tabbar-fg
```

...and that I was missing the 'tabbedex' prefix:
```
URxvt*tabbedex.tab-bg
```

I noticed in my .Xdefaults (made some time ago) that I likely was confused
about . vs. * at the time, so I looked into this and my recent
understanding is that . should match a specific setting heirarchy. On the
other hand, I thought * would fuzzy match anything that followed.[2] If
this is the case, it's not clear to me that I'd have to insert tabbedex, as
* should match any combo?
```
Urxvt.[something or nothing.]tab-bg
```

After learning this "bug" was ultimately a config file issue, I thought it
might still be good to report, as I would generally expect something like a
goofed color setting to fall back on a default or simply error out and not
start vs. hanging.

In any case, I'm passing this along for reference. Thanks for taking a look!


Best regards,
John

[1] https://bugs.archlinux.org/task/70952
[2]
https://unix.stackexchange.com/questions/388582/xresources-xdefaults-period-or-asterisk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20210524/39657f40/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xdefaults-working
Type: application/octet-stream
Size: 1504 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20210524/39657f40/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xdefaults-bad
Type: application/octet-stream
Size: 1601 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20210524/39657f40/attachment-0001.obj>


More information about the rxvt-unicode mailing list