You are not logged in.

#1 2007-05-11 18:07:07

/home/usr1
Member
Registered: 2007-04-12
Posts: 12

ttm locale problem

When I start ttm(http://code.google.com/p/ttm/) (via terminal) I get this:

Using locale: (null)

and ttm doesn't start further.
I have configured my locales in rc.conf.
Does anybody know what's wrong?

Offline

#2 2007-05-11 18:50:04

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: ttm locale problem

I have the same Problem

[flo@orion ~]$ tint
Using locale: (null)

(process:31447): Pango-CRITICAL **: pango_font_description_from_string: assertion `str != NULL' failed
Segmentation fault
[flo@orion ~]$

Last few lines from strace tint

NLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=72, ...}) = 0
read(4, "\4\374\2\374\1\0\0\0H\0\0\0 \0\0\0008\0\0\0\0\0\0\0008"..., 72) = 72
close(4)                                = 0
stat64("/usr/share/fonts/encodings/large", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/cache/fontconfig/5ca8086aeacc9c68e81a71e7ef846b3b-x86.cache-2", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=88, ...}) = 0
read(4, "\4\374\2\374\1\0\0\0X\0\0\0 \0\0\0H\0\0\0\0\0\0\0H\0\0"..., 88) = 88
close(4)                                = 0
stat64("/usr/lib/pango/1.6.0/modules/pango-basic-fc.so", {st_mode=S_IFREG|0755, st_size=12086, ...}) = 0
open("/usr/lib/pango/1.6.0/modules/pango-basic-fc.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\16"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=12086, ...}) = 0
mmap2(NULL, 11804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7924000
mmap2(0xb7926000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1) = 0xb7926000
close(4)                                = 0
open("/usr/share/fonts/TTF/times.ttf", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=330412, ...}) = 0
mmap2(NULL, 330412, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb78d3000
close(4)

= 0


Have you tried to turn it off and on again?

Offline

#3 2007-06-07 16:48:09

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: ttm locale problem

fk wrote:

I have the same Problem

[flo@orion ~]$ tint
Using locale: (null)

(process:31447): Pango-CRITICAL **: pango_font_description_from_string: assertion `str != NULL' failed
Segmentation fault
[flo@orion ~]$

Last few lines from strace tint

NLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=72, ...}) = 0
read(4, "\4\374\2\374\1\0\0\0H\0\0\0 \0\0\0008\0\0\0\0\0\0\0008"..., 72) = 72
close(4)                                = 0
stat64("/usr/share/fonts/encodings/large", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/cache/fontconfig/5ca8086aeacc9c68e81a71e7ef846b3b-x86.cache-2", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=88, ...}) = 0
read(4, "\4\374\2\374\1\0\0\0X\0\0\0 \0\0\0H\0\0\0\0\0\0\0H\0\0"..., 88) = 88
close(4)                                = 0
stat64("/usr/lib/pango/1.6.0/modules/pango-basic-fc.so", {st_mode=S_IFREG|0755, st_size=12086, ...}) = 0
open("/usr/lib/pango/1.6.0/modules/pango-basic-fc.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\16"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=12086, ...}) = 0
mmap2(NULL, 11804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7924000
mmap2(0xb7926000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1) = 0xb7926000
close(4)                                = 0
open("/usr/share/fonts/TTF/times.ttf", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=330412, ...}) = 0
mmap2(NULL, 330412, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb78d3000
close(4)

= 0

Try the new svn version of TTM, this problem was caused in the older version. The newer one fixes this, I had the same problem. You will also need to use the new config example that is provided with the svn.

Last edited by twiistedkaos (2007-06-07 16:50:07)

Offline

Board footer

Powered by FluxBB