Subject: xsrc/18178: XalphaNetBSD is core dumped
To: None <gnats-bugs@gnats.netbsd.org>
From: None <h-masuda@ootani.nagata.kobe.jp>
List: netbsd-bugs
Date: 09/05/2002 21:51:11
>Number: 18178
>Category: xsrc
>Synopsis: XalphaNetBSD dumps core by SEGV during startup
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 05 05:52:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: MASUDA Hideo
>Release: NetBSD 1.6G
>Organization:
MASUDA-NET
>Environment:
System: NetBSD meril.mangajian.net 1.6G NetBSD 1.6G (MERIL-$Revision: 1.3 $-$NetBSD: 1.211 $) #10: Wed Sep 4 19:44:49 JST 2002 h-masuda@meril.mangajian.net:/usr/current/src/sys/arch/alpha/compile/MERIL alpha
Architecture: alpha
Machine: alpha
tga0 at pci0 dev 13 function 0: TGA2 pass 2, board type T8-02
tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
tga0: interrupting at dec 6600 irq 32
wsdisplay0 at tga0 (kbdmux ignored): console (std, vt100 emulation)
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux ignored): console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 (mux ignored)
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay1 at vga0 (kbdmux ignored)
>Description:
XalphaNetBSD dumps core by SEGV after background is white
and printed text on console is black.
I try to re-make XalphaNetBSD with CDEBUGFLAGS="-g -O0".
But it also dumps core. With gdb, I get the following.
(gdb) run
Starting program: /usr/current/xsrc/xc/programs/Xserver/./XalphaNetBSD
Program received signal SIGSEGV, Segmentation fault.
0x1200f8a80 in cfbFillBoxTile32 (pDrawable=0x120440a00, nBox=0,
pBox=0x1fffff9e8, tile=0x1204bfc80) at cfbpntwin.c:700
700 ;,
(gdb) where
#0 0x1200f8a80 in cfbFillBoxTile32 (pDrawable=0x120440a00, nBox=0,
pBox=0x1fffff9e8, tile=0x1204bfc80) at cfbpntwin.c:700
#1 0x1200f7a04 in cfbPaintWindow (pWin=0x120440a00, pRegion=0x1fffff9e8,
what=0) at cfbpntwin.c:88
#2 0x1201d7f40 in miSpritePaintWindowBackground (pWin=0x120440a00,
pRegion=0x1fffff9e8, what=0) at misprite.c:726
#3 0x1201bae7c in miWindowExposures (pWin=0x120440a00, prgn=0x1fffff9e8,
other_exposed=0x0) at miexpose.c:495
#4 0x120067d74 in MapWindow (pWin=0x120440a00, client=0x120440000)
at window.c:2811
#5 0x1200608fc in InitRootWindow (pWin=0x120440a00) at window.c:484
#6 0x1200424cc in main (argc=1, argv=0x1fffffab0) at main.c:394
>How-To-Repeat:
install x*.tgz into alpha system and just type "startx".
>Fix:
I don't know.
But cfb/cfbpntwin.c:cfbGetLongWidthAndPointer() (this is a macro
defined in cfb/cfb.h) is very suspicious (LP64 problem ?)
>Release-Note:
>Audit-Trail:
>Unformatted: