Subject: port-amd64/34037: X programs crash with signal 10 on amd64
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <eye.of.the.8eholder@gmail.com>
List: netbsd-bugs
Date: 07/19/2006 15:45:00
>Number: 34037
>Category: port-amd64
>Synopsis: X programs crash with signal 10 on amd64
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 19 15:45:00 +0000 2006
>Originator: Khelban Blackstaff
>Release: 3.99.22
>Organization:
>Environment:
NetBSD hostname 3.99.22 NetBSD 3.99.22 (mykern) #0:
Sun Jul 16 19:56:46 EEST 2006 root@hostname:/usr/obj/usr/src/sys/arch/amd64/compile/mykern amd64
>Description:
Loaded symbols for /usr/libexec/ld.elf_so
#0 0x00007f7ffc028e98 in XFindOnExtensionList ()
from /usr/pkg/xorg/lib/libX11.so.6
(gdb) quit
Programs that use libX11.so crash with signal 10 and leave a core.
This happens only on amd64 port. On i386 they work fine.
>How-To-Repeat:
Compile xorg-libs,xorg-server,xorg-clients and then run a program
e.g xterm.
>Fix:
Mihai CHELARU suggested compiling xorg-libs with the use of
"-fno-strict-aliasing" flag which corrects the problem.