Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#614 Icon themes inheriting itself creates loop and segfaults


I used lxappearance once to alter something. Don't know what I did, maybe just opened it and clicked apply...

lxappearance ended up changing the index.theme of one of my icon themes, so that it Inherits=itself. This caused an endless loop when some programs began reading this and infinitely following the "inherits" field.

The result was that seemingly random programs began to segfault upon startup; mtpaint, sxiv, and so on. I had a hard time finding out the reason for this, but finally did.

Probably the lib that these programs use to read icons (or, that reads icons upon initialization or so) should be corrected and not follow inheritance loops But lxappearance probably should not create these either.

In my ~/.icons I happen to have a symlink "default" that points to one of my theme directories. If that could be the culprit...