xc/programs/Xserver/dix/dispatch.c defines dispatchExceptionAtReset as char, but xc/programs/Xserver/os/utils.c externs it as an int, which causes a bus error due to misalignment on SPARC when you start the server with the -terminate flag which causes utils.c to try to write to the dispatchExceptionAtReset variable
Fix to xc/programs/Xserver/os/utils.c is trivial: -extern int dispatchExceptionAtReset; +extern char dispatchExceptionAtReset; Long term this may be better moved to globals.h or another header. (This was originally reported as Sun bug id #5017154.)
Log message: 58. -terminate option crashes Xserver. Bugzilla #367. (Alan Coopersmith) Modified files: ./: Tag: XORG-RELEASE-1 CHANGELOG-RELEASE-1 xc/programs/Xserver/os/: Tag: XORG-RELEASE-1 utils.c Revision Changes Path 1.1.2.41 +2 -1 xc/Attic/CHANGELOG-RELEASE-1 1.1.4.6.2.5 +2 -2 xc/programs/Xserver/os/utils.c
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.