snwh / paper-icon-theme

Paper Icon Theme
http://snwh.org/paper
Creative Commons Attribution Share Alike 4.0 International
1.57k stars 138 forks source link

Icon cache generation failed #254

Open pawelad opened 8 years ago

pawelad commented 8 years ago

While updating via apt-get update:

Preparing to unpack .../paper-icon-theme_1.3+r558~daily~ubuntu14.04.1_all.deb ...
Unpacking paper-icon-theme (1.3+r558~daily~ubuntu14.04.1) over (1.3+r544~daily~ubuntu14.04.1) ...
gtk-update-icon-cache-3.0: **
Gtk:ERROR:/build/gtk+3.0-XlVMWb/gtk+3.0-3.14.15/./gtk/updateiconcache.c:1117:write_bucket: assertion failed: (*offset == ftell (cache))
Aborted (core dumped)
WARNING: icon cache generation failed for /usr/share/icons/Paper
Konfigurowanie pakietu paper-icon-theme (1.3+r558~daily~ubuntu14.04.1) ...
gtk-update-icon-cache-3.0: **
Gtk:ERROR:/build/gtk+3.0-XlVMWb/gtk+3.0-3.14.15/./gtk/updateiconcache.c:1117:write_bucket: assertion failed: (*offset == ftell (cache))
Aborted (core dumped)
WARNING: icon cache generation failed for /usr/share/icons/Paper

And while doing that, the whole system (elementary OS Freya) freezes. Don't know if it's somehow connected to #228

snwh commented 8 years ago

I don't know what's going on with this.

c0b41 commented 8 years ago

Same problem

snwh commented 8 years ago

@c0b41 are you using 14.04?

c0b41 commented 8 years ago

@snwh ekran goruntusu - 2016-06-09 19 41 44

pawelad commented 8 years ago

I wonder if this somehow is a bug on elementrary OS side. I'll probably be moving to eOS Isis beta soon, so I'll be able to tell if it's also affected.

snwh commented 8 years ago

elementary freya is, for all intents and purposes, ubuntu 14.04. The related bug #228 seems to be limited to 14.04 as well.

pawelad commented 8 years ago

FYI - I know its not really helpful, but there's no such problem with Numix Icon Theme:

Preparing to unpack .../numix-icon-theme_0.3+808~201606182031~ubuntu14.04.1_all.deb ...
Unpacking numix-icon-theme (0.3+808~201606182031~ubuntu14.04.1) over (0.3+800~201606110011~ubuntu14.04.1) ...
Konfigurowanie pakietu numix-icon-theme (0.3+808~201606182031~ubuntu14.04.1) ...
gtk-update-icon-cache: Cache file created successfully.

I have no idea how icon theme debs wok, but I'll try to look for differences between Paper and Numix config files.

snwh commented 8 years ago

The problem seems to be with gtk-update-icon-cache and limited to ubuntu 14.04. My guess is it's to do with the sheer number of icons in Paper, but the same bug does not affect Moka.

Thanatermesis commented 8 years ago

Hi guys, I just found this issue and reported something similar in #343 , it happens too in a Debian Wheezy

Can you guys (affected ones) check this command?

du -hs /usr/share/icons/*/.icon-theme.cache

You should see a gigantic cache file, only for the Paper theme (other themes don't show any cache file here)

Thanatermesis commented 8 years ago

See my report for aditional comments about the issue with icon-cache

pawelad commented 8 years ago

I switched systems in the meantime so unfortunately I won't be of any help.

hiddenman commented 8 years ago

Hi all,

Have the same issue on ALT Linux.

ls -lh /usr/share/icons/Paper/.icon-theme.cache -rw-r--r-- 1 root root 2,1G окт 18 15:00 /usr/share/icons/Paper/.icon-theme.cache

And then it dies:

Gtk:ERROR:updateiconcache.c:1121:write_bucket: assertion failed: (*offset == ftell (cache))

sergio-xga commented 7 years ago

Same issue, did someone found a fix to this?

ciphersson commented 7 years ago

Same problem. Ubuntu.

(process:5206): GLib-ERROR (recursed) **: (NULL) messageAborted (core dumped) WARNING: icon cache generation failed for /usr/share/icons/Paper ciphersson@ciphersson:~$