sparc64/89486: firefox and thunderbird is broken on sparc64

Andrew Belashov bel at orel.ru
Thu Nov 24 01:00:10 PST 2005


>Number:         89486
>Category:       sparc64
>Synopsis:       firefox and thunderbird is broken on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-sparc64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 24 09:00:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Belashov
>Release:        FreeBSD 6.0-RELEASE sparc64
>Organization:
JSC CenterTelecomm
>Environment:
System: FreeBSD bel.localdomain 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov
18 09:18:09 MSK 2005 bel at bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64

Same result at FreeBSD 5.3, FreeBSD 5.4 and other versions.

$ pkg_info -r firefox-'*'
Information for firefox-1.0.7_4,1:

Depends on:
Dependency: pkgconfig-0.20
Dependency: expat-1.95.8_3
Dependency: xorg-fonts-encodings-6.8.2
Dependency: jpeg-6b_3
Dependency: libiconv-1.9.2_1
Dependency: gettext-0.14.5
Dependency: png-1.2.8_2
Dependency: freetype2-2.1.10_1
Dependency: perl-5.8.7
Dependency: fontconfig-2.3.2,1
Dependency: nspr-4.6_1
Dependency: nss-3.10
Dependency: glib-2.8.3
Dependency: libxml2-2.6.22
Dependency: xorg-libraries-6.8.2
Dependency: popt-1.7
Dependency: tiff-3.7.4
Dependency: bitstream-vera-1.10_2
Dependency: shared-mime-info-0.16_2
Dependency: xorg-fonts-truetype-6.8.2
Dependency: libIDL-0.8.6_1
Dependency: atk-1.10.3
Dependency: libXft-2.1.7
Dependency: hicolor-icon-theme-0.5
Dependency: gnomehier-2.0_7
Dependency: desktop-file-utils-0.10_3
Dependency: cairo-1.0.2
Dependency: pango-1.10.1
Dependency: gtk-2.8.6_1

>Description:
	The firefox is broken a long time.

	See also my old message from sparc64 mail list.
http://lists.freebsd.org/mailman/htdig/freebsd-sparc64/2004-October/002262.html

>How-To-Repeat:
	Run firefox.

$ firefox
Segmentation fault (core dumped)

$ gdb /usr/X11R6/lib/firefox/firefox-bin firefox-bin.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-marcel-freebsd"...
Core was generated by `firefox-bin'.
Program terminated with signal 11, Segmentation fault.
[...]
#0  0x0000000040244450 in reloc_jmpslot (wherep=0x0, target=0, obj=0x4026e000, 
    refobj=0x4026e000, rel=0x113780)
    at /usr/src/libexec/rtld-elf/sparc64/reloc.c:535
535                             where[2] = JMP   | LOVAL(target);
(gdb) bt full
#0  0x0000000040244450 in reloc_jmpslot (wherep=0x0, target=0, obj=0x4026e000, 
    refobj=0x4026e000, rel=0x113780)
    at /usr/src/libexec/rtld-elf/sparc64/reloc.c:535
        rela = (const Elf_Rela *) 0x113780
        offset = 0
        where = (Elf_Half *) 0x0
#1  0x00000000402455e4 in _rtld_bind (obj=0x4026e000, reloff=12768)
    at /usr/src/libexec/rtld-elf/rtld.c:485
        rel = (const Elf_Rel *) 0x113780
        def = (const Elf_Sym *) 0x101770
        defobj = (const Obj_Entry *) 0x4026e000
        where = (Elf_Addr *) 0x0
        target = 0
        lockstate = 1
#2  0x0000000040243a20 in _rtld_bind_start_1 ()
    at /usr/src/libexec/rtld-elf/sparc64/rtld_start.S:166
No locals.
#3  0x0000000040243a20 in _rtld_bind_start_1 ()
    at /usr/src/libexec/rtld-elf/sparc64/rtld_start.S:166
No locals.
Previous frame identical to this frame (corrupt stack?)
(gdb) p where
$1 = (Elf_Half *) 0x0
(gdb) up
#1  0x00000000402455e4 in _rtld_bind (obj=0x4026e000, reloff=12768)
    at /usr/src/libexec/rtld-elf/rtld.c:485
485         target = reloc_jmpslot(where, target, defobj, obj, rel);
Current language:  auto; currently c
(gdb) p rel[0]
$2 = {r_offset = 0, r_info = 0}
(gdb) quit

$ objdump -R /usr/X11R6/lib/firefox/firefox-bin | grep R_SPARC_NONE
0000000000000000 R_SPARC_NONE      *ABS*
0000000000000000 R_SPARC_NONE      *ABS*

>Fix:

	Unknown. The firefox cannot be compiled as static.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-sparc64 mailing list