Bug#318764: Bug #318764: gkrellm is unable to load PCF fonts with libpango = 1.9.0 [SOLVED]

2005-08-18 Thread Jan C. Nordholz
Hi,

whatever exactly the problem was, it has vanished
now (with libpango1.0-0 = 0.10.0-1). I don't think
it would be worth the time to hunt this down, so
I'd suggest closing this bug.


Thanks for your attention!

Jan

-- 
Jan C. Nordholz
jckn At gmx net


signature.asc
Description: Digital signature


Bug#318764: gkrellm is unable to load PCF fonts with libpango = 1.9.0

2005-07-17 Thread Jan C. Nordholz
Package: gkrellm
Version: 2.2.7-2
Severity: normal
Tags: experimental

Hi,

since libpango's upgrade from unstable's 1.8.1-1 to
experimental's 1.9.0-1, I am unable to choose a PCF
font for gkrellm - I get a segfault when I try to do
so. Here's what strace says... (gkrellm is trying to
load the PCF font at startup, as dictated by
~/.gkrellm2/theme_config)

===
15:08:47.457912 stat64(/usr/lib/pango/1.4.0/modules/pango-basic-fc.so, 
{st_mode=S_IFREG|0644, st_size=7172, ...}) = 0
15:08:47.458267 open(/usr/lib/pango/1.4.0/modules/pango-basic-fc.so, 
O_RDONLY) = 7
15:08:47.458360 read(7, 
\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\r\0\000..., 512) = 512
15:08:47.458468 fstat64(7, {st_mode=S_IFREG|0644, st_size=7172, ...}) = 0
15:08:47.458571 old_mmap(NULL, 10236, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb7278000
15:08:47.458666 old_mmap(0xb727a000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x1000) = 0xb727a000
15:08:47.458834 close(7)= 0
15:08:47.460453 open(/usr/X11R6/lib/X11/fonts/100dpi/luRS08.pcf.gz, O_RDONLY) 
= 7
15:08:47.460667 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
15:08:47.460732 fstat64(7, {st_mode=S_IFREG|0644, st_size=13963, ...}) = 0
15:08:47.460827 mmap2(NULL, 13963, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb7274000
15:08:47.460917 close(7)= 0
15:08:47.518680 brk(0x830c000)  = 0x830c000
15:08:47.519660 brk(0x830b000)  = 0x830b000
[ goes on brk()ing for another 1.4 secs]
15:08:48.944907 brk(0x914c000)  = 0x914c000
15:08:48.956924 brk(0x916d000)  = 0x916d000
15:08:48.957150 brk(0x916c000)  = 0x916c000
15:08:48.966385 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
15:08:48.966566 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
15:08:48.972097 +++ killed by SIGSEGV +++
===

... ltrace...

===
gtk_widget_create_pango_layout(0x814f0f0, 0, 0x81b97c0, 0x8167024, 1)= 
0x81c1070
pango_layout_set_font_description(0x81c1070, 0x818ddd0, 0x81b97c0, 0x8167024, 
1) = 0
g_utf8_validate(0x80c101e, -1, 0, 0x8167024, 1)  = 1
pango_layout_set_text(0x81c1070, 0x80c101e, 4, 0x8167024, 1) = 0
pango_layout_get_iter(0x81c1070, 0x80c101e, 4, 0x8167024, 1 unfinished ...
--- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
===

... and the gdb:

===
(gdb) bt 40
#0  0xb7b71fef in g_source_set_closure () from /usr/lib/libgobject-2.0.so.0
#1  0xb7b75a1f in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#2  0xb7b733c5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#3  0xb7b5f08f in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4  0xb7b5e82f in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5  0xb7b5eee0 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6  0xb7b5e51b in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7  0xb77c65e0 in _pango_cairo_fc_font_new () from 
/usr/lib/libpangocairo-1.0.so.0
#8  0xb77c6b45 in pango_cairo_fc_font_map_get_type () from 
/usr/lib/libpangocairo-1.0.so.0
#9  0xb77d1963 in _pango_fc_font_map_remove () from 
/usr/lib/libpangoft2-1.0.so.0
#10 0xb77d20bf in _pango_fc_font_map_remove () from 
/usr/lib/libpangoft2-1.0.so.0
#11 0xb7b9d66a in pango_font_map_load_font () from /usr/lib/libpango-1.0.so.0
#12 0xb7b9ac23 in pango_context_load_font () from /usr/lib/libpango-1.0.so.0
#13 0xb7ba431f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#14 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#15 0xb7ba1aad in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#16 0xb7ba1c50 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#17 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#18 0xb77d00a8 in pango_fc_font_get_type () from /usr/lib/libpangoft2-1.0.so.0
#19 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#20 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#21 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#22 0xb7ba1aad in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#23 0xb7ba1c50 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#24 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#25 0xb77d00a8 in pango_fc_font_get_type () from /usr/lib/libpangoft2-1.0.so.0
#26 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#27 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#28 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#29 0xb7ba1aad in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#30 0xb7ba1c50 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#31 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#32 0xb77d00a8 in pango_fc_font_get_type () from