Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 1998 14:35:20 +0100 (CET)
From:      Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
To:        freebsd-current@FreeBSD.ORG (freebsd-current@freebsd.org)
Subject:   ELFoized xtt-SVGA-1.0 & TrueType fonts => HANG
Message-ID:  <199811041335.OAA12936@kazi.dcse.fee.vutbr.cz>

next in thread | raw e-mail | index | archive | help

I have ELFoized -current:
	Main system (/usr/src): 98/09/28
	XFree86:  98/10/23
and I'm trying to use TrueType X server:
	XF86_SVGA.xtt: 98/11/04

With a.out, there was everything good. But in ELFoized version,
during attempt to display any TrueType font Xserver
hangs - ant it eats up to 80 % of system time.

Is this problem public or personal only?

Here is ktrace-dump just before hang (with running xfontsel):

   403 XF86_SVGA.xtt RET   writev 128/0x80
   403 XF86_SVGA.xtt CALL  gettimeofday(0xefbfd77c,0)
   403 XF86_SVGA.xtt RET   gettimeofday 0
   403 XF86_SVGA.xtt CALL  select(0x80,0x82af750,0,0,0xefbfd7c8)
   403 XF86_SVGA.xtt RET   select 2
   403 XF86_SVGA.xtt CALL  read(0xa,0x841a008,0x1000)
   403 XF86_SVGA.xtt GIO   fd 10 read 136 bytes
       "......-ttf-*-*-*-*-*-*-*-*-*-*-*-*-*......"
   403 XF86_SVGA.xtt RET   read 136/0x88
   403 XF86_SVGA.xtt CALL  madvise(0x8470000,0x1000,0x5)
   403 XF86_SVGA.xtt RET   madvise 0
   403 XF86_SVGA.xtt CALL  madvise(0x846f000,0x1000,0x5)
   403 XF86_SVGA.xtt RET   madvise 0
   403 XF86_SVGA.xtt CALL  munmap(0x28683000,0x5000)
   403 XF86_SVGA.xtt RET   munmap 0
   403 XF86_SVGA.xtt CALL  madvise(0x846e000,0x1000,0x5)
   403 XF86_SVGA.xtt RET   madvise 0
   403 XF86_SVGA.xtt CALL  gettimeofday(0xefbfd8bc,0)
   403 XF86_SVGA.xtt RET   gettimeofday 0
   403 XF86_SVGA.xtt CALL  break(0x8496000)
   403 XF86_SVGA.xtt RET   break 0
   403 XF86_SVGA.xtt CALL  open(0x846e000,0,0x282dda14)
   403 XF86_SVGA.xtt NAMI  "/usr/X11R6/lib/X11/fonts/TrueType/ariblk.ttf"
   403 XF86_SVGA.xtt RET   open 11/0xb
   403 XF86_SVGA.xtt CALL  fstat(0xb,0xefbfb55c)
   403 XF86_SVGA.xtt RET   fstat 0
   403 XF86_SVGA.xtt CALL  mmap(0,0x19638,0x1,0x2,0xb,0,0,0)
   403 XF86_SVGA.xtt RET   mmap 677953536/0x2868c000
   403 XF86_SVGA.xtt CALL  close(0xb)
   403 XF86_SVGA.xtt RET   close 0
   403 XF86_SVGA.xtt CALL  stat(0x282bf581,0xefbfb584)
   403 XF86_SVGA.xtt NAMI  "/usr/X11R6/lib/modules/codeconv"
   403 XF86_SVGA.xtt RET   stat 0
   403 XF86_SVGA.xtt CALL  open(0x282bf581,0x4,0x283743a0)
   403 XF86_SVGA.xtt NAMI  "/usr/X11R6/lib/modules/codeconv"
   403 XF86_SVGA.xtt RET   open 11/0xb
   403 XF86_SVGA.xtt CALL  fstat(0xb,0xefbfb584)
   403 XF86_SVGA.xtt RET   fstat 0
   403 XF86_SVGA.xtt CALL  fcntl(0xb,0x2,0x1)
   403 XF86_SVGA.xtt RET   fcntl 0
   403 XF86_SVGA.xtt CALL  fstatfs(0xb,0xefbfb484)
   403 XF86_SVGA.xtt RET   fstatfs 0
   403 XF86_SVGA.xtt CALL  getdirentries(0xb,0x847b000,0x1000,0x8452294)
   403 XF86_SVGA.xtt RET   getdirentries 512/0x200
   403 XF86_SVGA.xtt CALL  open(0x28271040,0,0x4000f930)
   403 XF86_SVGA.xtt NAMI  "/usr/X11R6/lib/modules/codeconv/ISO8859_1.so"
   403 XF86_SVGA.xtt RET   open 12/0xc
   403 XF86_SVGA.xtt CALL  read(0xc,0xefbfa5b8,0x1000)
   403 XF86_SVGA.xtt GIO   fd 12 read 4096 bytes
       "......"
   403 XF86_SVGA.xtt RET   read 4096/0x1000
   403 XF86_SVGA.xtt CALL  mmap(0,0x2000,0x5,0x2,0xc,0,0,0)
   403 XF86_SVGA.xtt RET   mmap 677339136/0x285f6000
   403 XF86_SVGA.xtt CALL  mmap(0x285f7000,0x1000,0x3,0x12,0xc,0,0,0)
   403 XF86_SVGA.xtt RET   mmap 677343232/0x285f7000
   403 XF86_SVGA.xtt CALL  close(0xc)
   403 XF86_SVGA.xtt RET   close 0
   403 XF86_SVGA.xtt CALL  munmap(0x285f6000,0x2000)
   403 XF86_SVGA.xtt RET   munmap 0
   403 XF86_SVGA.xtt CALL  open(0x28271040,0,0x4000f930)
   403 XF86_SVGA.xtt NAMI  "/usr/X11R6/lib/modules/codeconv/BIG5.so"
   403 XF86_SVGA.xtt RET   open 12/0xc
   403 XF86_SVGA.xtt CALL  read(0xc,0xefbfa5b8,0x1000)
   403 XF86_SVGA.xtt GIO   fd 12 read 4096 bytes
       "......"
   403 XF86_SVGA.xtt RET   read 4096/0x1000
   403 XF86_SVGA.xtt CALL  mmap(0,0xa000,0x5,0x2,0xc,0,0,0)
   403 XF86_SVGA.xtt RET   mmap 678060032/0x286a6000
   403 XF86_SVGA.xtt CALL  mmap(0x286a7000,0x9000,0x3,0x12,0xc,0,0,0)
   403 XF86_SVGA.xtt RET   mmap 678064128/0x286a7000
   403 XF86_SVGA.xtt CALL  close(0xc)
   403 XF86_SVGA.xtt RET   close 0

And why there are loaded modules "ISO8859_1.so" and "BIG5.so"?
In my fonts.dir there is only one line for ariblk.ttf:

ariblk.ttf	-ttf-arial black-medium-r-normal-tt-0-0-0-0-p-0-iso8859-2

Why nodule "ISO8859_2.so" is not loaded?

Thanks.

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
Rudolf Cejka  (cejkar@dcse.fee.vutbr.cz;  http://www.fee.vutbr.cz/~cejkar)
Technical University of Brno, Faculty of El. Engineering and Comp. Science
Bozetechova 2, 612 66  Brno, Czech Republic

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811041335.OAA12936>