You have been subscribed to a public bug:
I installed some new fonts today, copied them manually into ~/.fonts so I
proceeded with:
$ fc-cache -f
$ mkfontscale ~/.fonts
...at which point mkfontscale failed with:
zsh: bus error mkfontscale
I tried the same with "mkfontdir" and the same thing happened. However
both tools did create a "fonts.{scale,dir}" file respectively, both
empty files. I checked my kernel logs and found many of these messages:
======================================================
ecryptfs_read_lower: octets_read = [-21]; expected [4096]
ecryptfs_read_lower: octets_read = [-21]; expected [4096]
ecryptfs_read_lower: octets_read = [-21]; expected [4096]
======================================================
... and nothing else. What follows is the output of `strace
mkfontscale`
======================================================
execve("/usr/bin/mkfontscale", ["mkfontscale"], [/* 57 vars */]) = 0
brk(0) = 0x9599000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=119571, ...}) = 0
mmap2(NULL, 119571, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fb5000
close(3) = 0
open("/usr/lib/libfontenc.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\r\0\0004\0\0\0004"..., 512) = 512
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fb4000
fstat64(3, {st_mode=S_IFREG|0755, st_size=30063, ...}) = 0
mmap2(NULL, 24288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7fae000
mmap2(0xb7fb3000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7fb3000
close(3) = 0
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`}\0\0004\0\0\0,"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=604088, ...}) = 0
mmap2(NULL, 542228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f29000
mmap2(0xb7faa000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81) = 0xb7faa000
close(3) = 0
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\30\0\0004\0\0\0\30"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=82987, ...}) = 0
mmap2(NULL, 78844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f15000
mmap2(0xb7f28000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7f28000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220k\1\0004\0\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1584604, ...}) = 0
mmap2(NULL, 1333512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7dcf000
mmap2(0xb7f0f000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x140) = 0xb7f0f000
mmap2(0xb7f12000, 10504, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f12000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7dce000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dce8d0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0xb7f0f000, 8192, PROT_READ) = 0
mprotect(0xb7ff0000, 4096, PROT_READ) = 0
munmap(0xb7fb5000, 119571) = 0
getcwd("/home/lunch/.fonts"..., 1023) = 19
brk(0) = 0x9599000
brk(0x95ba000) = 0x95ba000
open("./", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
open("./fonts.scale", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
getdents(3, /* 80 entries */, 32768) = 2304
open("./.", O_RDONLY) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fstat64(5, {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
mmap2(NULL, 16384, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7fcf000
close(5) = 0
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
======================================================
** Affects: ecryptfs
Importance: Low
Assignee: Tyler Hicks (tyhicks)
Status: Fix Released
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: kernel
--
ecryptfs_read_lower errors
https://bugs.launchpad.net/bugs/400443
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs