[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with Bug#434721: perlprimer: first display of tabs is slow on a fast machine.



Hi all,

Here is a bug I reported on perlprimer for which I would be interested
to read your comments... Maybe it is not a bug after all? Also, I am
only running Etch machines, so I would be interested to know if it is
reproducible on Lenny or Sid. And even on other Etch installs.

PS: I hope your spam filters will not delete this message: it is amazing
how many Bug #123456 spams we get those days...

Have a nice day,

-- Charles

----- Forwarded message from Charles Plessy <charles-debian-nospam@plessy.org> -----

Date: Thu, 26 Jul 2007 17:03:29 +0900
From: Charles Plessy <charles-debian-nospam@plessy.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: [Debian-med-packaging] Bug#434721: perlprimer: first display of
	tabs is slow on a fast machine.
X-Mailer: reportbug 3.31
Reply-To: Charles Plessy <charles-debian-nospam@plessy.org>,
	434721@bugs.debian.org

Package: perlprimer
Version: 1.1.14-1
Severity: normal

Perlprimer is very slow to display contents for the first time. If I swich to a
previously unused tab, I can see the window being drawn element by element.
However, when swiching back to a previously used tab, the display is
instantaneous.

Using strace, I realised that it seems that PerlPrimer is looking for fonts
when the display is slow: 

readv(3, [{"6-misc-fixed-bold-r-normal--14-1"..., 56}, {"", 0}], 2) = 56
writev(3, [{"1\30\0\r\0\1\0+", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 43}, {"\0", 1}], 3) = 52
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1?E\364\0\0\0\16\0\1\360$\20\34\364\24\20\35W\340\0\0"..., 32) = 32
readv(3, [{"6-misc-fixed-bold-r-normal--14-1"..., 56}, {"", 0}], 2) = 56
writev(3, [{"1\30\0\17\0\1\0001", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 49}, {"\0\0\0", 3}], 3) = 60
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1?E\365\0\0\0\20\0\1\360$\20\34\364\24\20\35W\340\0\0"..., 32) = 32
readv(3, [{"?-misc-fixed-medium-r-normal--14"..., 64}, {"", 0}], 2) = 64
writev(3, [{"1\30\0\16\0\1\0000", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 48}], 2) = 56
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\227E\366\0\0\0\20\0\0016\370\21V>P\0\0\0\6\377\227\243"..., 32) = 32
readv(3, [{"?-daewoo-gothic-medium-r-normal-"..., 64}, {"", 0}], 2) = 64
writev(3, [{"1\30\0\16\0\1\0/", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 47}, {"\0", 1}], 3) = 56
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\227E\367\0\0\0\21\0\0016\370\21V>P\0\0\0\6\377\227\243"..., 32) = 32
readv(3, [{"A-isas-fangsong ti-medium-r-norm"..., 68}, {"", 0}], 2) = 68
writev(3, [{"1\30\0\17\0\1\0001", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 49}, {"\0\0\0", 3}], 3) = 60
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\227E\370\0\0\0\20\0\0016\370\21V>P\0\0\0\6\377\227\243"..., 32) = 32
readv(3, [{">-misc-fixed-medium-r-normal--14"..., 64}, {"", 0}], 2) = 64
writev(3, [{"1\30\0\17\0\1\0001", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 49}, {"\0\0\0", 3}], 3) = 60
read(3, 0xffa75c58, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\227E\371\0\0\0\20\0\0016\370\21V>P\0\0\0\6\377\227\243"..., 32) = 32
readv(3, [{">-misc-fixed-medium-r-normal--14"..., 64}, {"", 0}], 2) = 64
writev(3, [{"1\30\0\r\0\1\0,", 8}, {"-*-*-*-R-Normal--14-130-75-75-*-"..., 44}], 2) = 52
read(3, 0xffa75c98, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

The reason why I file this bug is that I do not rembember seeing this on OSX.

Attached is the full strace of a minimal session.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages perlprimer depends on:
ii  libwww-perl                  5.805-1     WWW client/server library for Perl
ii  perl-tk                      1:804.027-7 Perl module providing the Tk graph

Versions of packages perlprimer recommends:
pn  ncbi-tools-bin                <none>     (no description available)

-- no debconf information


_______________________________________________
Debian-med-packaging mailing list
Debian-med-packaging@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging

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

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan



Reply to: