[email protected]
[Top] [All Lists]

Bug#318764: marked as forwarded (gkrellm is unable to load PCF fonts wit

Subject: Bug#318764: marked as forwarded gkrellm is unable to load PCF fonts with libpango >= 1.9.0
From: Debian Bug Tracking System
Date: Mon, 25 Jul 2005 16:03:10 -0700
Your message dated Mon, 25 Jul 2005 18:48:50 -0400
with message-id <[email protected]>
has caused the Debian Bug report #318764,
regarding gkrellm is unable to load PCF fonts with libpango >= 1.9.0
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 318764-forwarded) by bugs.debian.org; 25 Jul 2005 22:49:00 +0000
>From [email protected] Mon Jul 25 15:48:59 2005
Return-path: <[email protected]>
Received: from master.debian.org [146.82.138.7] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DxBkj-0004SR-00; Mon, 25 Jul 2005 15:48:53 -0700
Received: from bma by master.debian.org with local (Exim 3.35 1 (Debian))
        id 1DxBkg-00070i-00; Mon, 25 Jul 2005 17:48:50 -0500
Date: Mon, 25 Jul 2005 18:48:50 -0400
From: Brian Almeida <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [[email protected]: Bug#318764: gkrellm is unable to load PCF fonts with 
libpango >= 1.9.0]
Message-ID: <[email protected]>
Reply-To: [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Sender: Brian Almeida <[email protected]>
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

----- Forwarded message from "Jan C. Nordholz" <[email protected]> -----

>From bma  Sun Jul 17 10:41:18 2005
Subject: Bug#318764: gkrellm is unable to load PCF fonts with libpango >= 1.9.0
Reply-To: [email protected], [email protected]
X-Debian-PR-Message: report 318764
X-Debian-PR-Package: gkrellm
X-Debian-PR-Keywords: experimental
X-Authenticated: #6819316
Date: Sun, 17 Jul 2005 16:55:36 +0200
From: "Jan C. Nordholz" <[email protected]>
To: [email protected]
X-Y-GMX-Trusted: 0
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

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 /usr/lib/libpangoft2-1.0.so.0
#33 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#34 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#35 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#36 0xb7ba1aad in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#37 0xb7ba1c50 in pango_layout_get_cursor_pos () from /usr/lib/libpango-1.0.so.0
#38 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#39 0xb77d00a8 in pango_fc_font_get_type () from /usr/lib/libpangoft2-1.0.so.0
(More stack frames follow...)
#94057 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#94058 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#94059 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#94060 0xb7ba1aad in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94061 0xb7ba1c50 in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94062 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#94063 0xb77d00a8 in pango_fc_font_get_type () from 
/usr/lib/libpangoft2-1.0.so.0
#94064 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#94065 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#94066 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#94067 0xb7ba1aad in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94068 0xb7ba1c50 in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94069 0xb7ba1ee7 in pango_layout_get_extents () from /usr/lib/libpango-1.0.so.0
#94070 0xb77d00a8 in pango_fc_font_get_type () from 
/usr/lib/libpangoft2-1.0.so.0
#94071 0xb7b95ec8 in pango_font_get_metrics () from /usr/lib/libpango-1.0.so.0
#94072 0xb7ba433f in pango_layout_line_get_x_ranges () from 
/usr/lib/libpango-1.0.so.0
#94073 0xb7ba484a in pango_layout_line_get_extents () from 
/usr/lib/libpango-1.0.so.0
#94074 0xb7ba1aad in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94075 0xb7ba1c50 in pango_layout_get_cursor_pos () from 
/usr/lib/libpango-1.0.so.0
#94076 0xb7ba53a6 in pango_layout_get_iter () from /usr/lib/libpango-1.0.so.0
#94077 0x080b4bfa in gkrellm_text_extents ()
#94078 0x080a89d7 in gkrellm_create_decal_pixmap ()
#94079 0x080a8a6d in gkrellm_create_decal_text ()
#94080 0x080723fd in update_host ()
#94081 0x0805c42d in gkrellm_build ()
#94082 0x0805cd94 in main ()
===

The stack looks nearly the same when trying to change the font to
a PCF one via the configuration menu (also an infinite loop over
font_get_metrics(), layout_get_extents(), layout_get_cursor_pos()).

I presume this is more likely a bug in libpango1.0 than in gkrellm,
but I didn't want to file directly against libpango without prior
inspection of gkrellm's calls to it - and I'm not familiar enough
with gkrellm's source code to do that myself. ;-)
Besides, e.g. gimp is able to open all kinds of fonts, even with the
new libpango...


Let me know if I can be of further assistance.

Best regards,

Jan

===
Dependency Versions:
libatk1.0-0    : 1.10.1-2
libc6          : 2.3.5-1
libgcrypt11    : 1.2.1-2
libglib2.0-0   : 2.7.2-1
libgnutls11    : 1.0.16-13.1
libgtk2.0-0    : 2.7.2-1
libice6        : 6.8.2.dfsg.1-2
libpango1.0-0  : 1.9.0-1
libsm6         : 6.8.2.dfsg.1-2
libx11-6       : 6.8.2.dfsg.1-2
gkrellm-common : 2.2.7-2

-- 
Jan C. Nordholz
<jckn At gmx net>



----- End forwarded message -----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#318764: marked as forwarded (gkrellm is unable to load PCF fonts with libpango >= 1.9.0), Debian Bug Tracking System <=