Subject: pkg/35160: firefox-bin and firefox2-bin segfaults with
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 11/30/2006 17:30:00
>Number:         35160
>Category:       pkg
>Synopsis:       firefox-bin and firefox2-bin segfaults with
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 30 17:30:00 +0000 2006
>Originator:     guilherme m. schroeder
>Release:        3.1 and -CURRENT
central informatica de vendas ltda
NetBSD mocreia 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006 i386

NetBSD dub 4.99.4 NetBSD 4.99.4 (SPIKE) #3: Thu Nov 30 10:20:41 BRST 2006  root@dub:/usr/obj/sys/arch/i386/compile/SPIKE i386

When you install firefox-bin or firefox2-bin and had installed from pkgsrc/meta-pkgs/xorg, firefox won't start. It gives a segfault.

$ firefox-linux
[1]   Segmentation fault (core dumped) "${prog}" ${1+"$...

Just install NetBSD 3.1 or -CURRENT without XFree86 package and them install pkgsrc/www/firefox-bin or pkgsrc/www/firefox2-bin.

Them try:

$ firefox-linux
As suse100_fontconfig-10.0nb2 installs /emul/linux/etc/fonts/* with default paths, it doesn't know the path from pkgsrc installation. The segfaults occur because it don't find the fonts.
The solution i found was to symlink fonts to linux emulation ambient.

# ln -s /usr/pkg/xorg/lib/X11/fonts /emul/linux/usr/X11R6/lib/X11/fonts/