Subject: Re: XFree86 4.2.0
To: None <port-i386@netbsd.org>
From: Oleg Polyanski <Oleg.Polianski@clear.co.nz>
List: port-i386
Date: 03/05/2002 12:04:27
Mark Davies <mark@mcs.vuw.ac.nz> writes:

 Can anyone confirm that XFree 4.2.0 does not crash if you use the
 font server? I have not had any problems with 4.2.0 since the
 moment it has been imported into our CVS repository and, yes, I
 have all font and GLX extensions loaded into X server and running
 just fine.

>> IIRC Martin (?) did some signal-related fixes after 4.2.0 was
>> imported. Can you try to compile & run with never xsrc/xfree?
>
> We also see XFree86 4.2.0 core dumping quite often with similar
> backtraces:
>
> #0  0x4824afbf in kill () from /usr/lib/libc.so.12
> #1  0x4824a7d0 in abort () from /usr/lib/libc.so.12
> #2  0x806cf4d in ddxGiveUp ()
> #3  0x806cfe6 in AbortDDX ()
> #4  0x80d40e0 in AbortServer ()
> #5  0x80d53d1 in FatalError ()
> #6  0x807ef51 in xf86SigHandler ()
> #7  0xbfbfdfdc in ?? ()
> #8  0x8202471 in ?? ()
> #9  0x80e1134 in FontFileOpenFont ()
> #10 0x80cc096 in doOpenFont ()
> #11 0x80cc40b in OpenFont ()
> #12 0x80b132b in ProcOpenFont ()
> #13 0x80afe8d in Dispatch ()
> #14 0x80bfe05 in main ()
> #15 0x806bbb0 in ___start ()
>
> This was with a freshly updated xsrc built from todays sources.  I
> currently have a repeatable way of causing it.  Trying to view a
> particular email message (that wants to use a korean font) in exmh
> knocks my X server over just about every time.
>
> A ktrace of a previous instance of it crashing gave:
>
>    555 XFree86  CALL  read(0x16,0x8a06000,0x1000)
>    555 XFree86  GIO   fd 22 read 80 bytes
>        "-\^X\^Q\0\M-(\0\M-`\^A6\0\0\0-misc-fixed-medium-r-normal-ko-12-*-*-*-*\
>         -*-iso10646-1\^D\0\M^W\^A\^C\0\M-(\0\M-`\^A\^A\0\0\0"
>    555 XFree86  RET   read 80/0x50
>    555 XFree86  CALL  open(0xbfbfbc54,0,0x646e6f63)
>    555 XFree86  NAMI  "/usr/X11R6/lib/X11/fonts/misc/18x18ko.pcf.gz"
>    555 XFree86  RET   open 23/0x17
>    555 XFree86  CALL  read(0x17,0x89af00c,0x2000)
>    555 XFree86  GIO   fd 23 read 4088 bytes
>        "\^_\M^K\b\0\M^]\M^JN<\0\^C\M-l\M-\e\M-\\M-df\M-A\M^?\M-ml\M^M\M-`\M-A\
>         \M^C\a\^ORH\M-Q\M-`)\M-5-\M-Th\v\M-4X\v\M-4\M-P\^B\^U\M-<x\M-q\M-b\M-A\
> 		[...]
> 	 [.. lots of reading of the file, it being 600k ...]
>         \M-|\M-o?\M^?\M-c\M-S\M-_\M-~\M-v\^?\^?\M-{\M-y\M-y\M-/\^?\M-{\M-}\M^?\
>         \^C\M-#\M-+u\M-AP\M^U-\0"
>    555 XFree86  RET   read 7311/0x1c8f
>    555 XFree86  PSIG  SIGALRM caught handler=0x80d54e8 mask=() code=0x0
>    555 XFree86  CALL  __sigreturn14(0xbfbfb880)
>    555 XFree86  RET   __sigreturn14 JUSTRETURN
>    555 XFree86  CALL  read(0x17,0x89af00c,0x2000)
>    555 XFree86  RET   read 0
>    555 XFree86  CALL  close(0x17)
>    555 XFree86  RET   close 0
>    555 XFree86  CALL  break(0xa11f000)
>    555 XFree86  RET   break 0
>    555 XFree86  PSIG  SIGALRM caught handler=0x80d54e8 mask=() code=0x0
>    555 XFree86  CALL  __sigreturn14(0xbfbfc2a0)
>    555 XFree86  RET   __sigreturn14 JUSTRETURN
>    555 XFree86  PSIG  SIGFPE caught handler=0x807eee0 mask=() code=0x0
>    555 XFree86  CALL  __sigaction14(0x8,0xbfbfc270,0xbfbfc258)
>    555 XFree86  RET   __sigaction14 0
>    555 XFree86  CALL  write(0x2,0x81cf000,0x1)
>    555 XFree86  GIO   fd 2 wrote 1 bytes
>        "
>        "
>    555 XFree86  RET   write 1
>    555 XFree86  CALL  write(0x2,0x81cf000,0x14)
>    555 XFree86  GIO   fd 2 wrote 20 bytes
>        "Fatal server error:
>        "
>
>
> Note the FPE.
>
> cheers
> mark

Oleg