Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 14:34:35 -0500 (EST)
From:      Frank Seltzer <frank_s@bellsouth.net>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Firefox 19.0,1 crashes at startup
Message-ID:  <alpine.BSF.2.00.1302210743040.1511@Ace.nina.org>

next in thread | raw e-mail | index | archive | help
I am getting this on 2 machines, both at 9.1-STABLE FreeBSD 9.1-STABLE #0 
r247001.  Both have GENERIC kernel, no edits.  Both have the linux module 
loaded if that matters.

First machine dmesg:

Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-STABLE #0 r247001: Tue Feb 19 23:09:04 EST 2013
     frank_s@x.x.x:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.76-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf41  Family = 0xf  Model = 0x4  Stepping 
= 1

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR>
   AMD Features=0x20100000<NX,LM>
   TSC: P-state invariant
real memory  = 3221225472 (3072 MB)
avail memory = 3135553536 (2990 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <DELL   WS 670 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP/HT): APIC ID:  1

Second machine:

Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-STABLE #0 r247001: Tue Feb 19 23:01:16 EST 2013
     frank_s@x.x.x:/usr/obj/usr/src/sys/GENERIC i386
CPU: AMD Phenom(tm) II X6 1035T Processor (2593.55-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x100fa0  Family = 0x10  Model = 0xa 
Stepping = 0

Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x802009<SSE3,MON,CX16,POPCNT>
   AMD 
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
   AMD 
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
   TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 3400425472 (3242 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <DELL   FX09    >
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  2
  cpu3 (AP): APIC ID:  3
  cpu4 (AP): APIC ID:  4
  cpu5 (AP): APIC ID:  5

I have moved the .mozilla directory out of the way so both start clean.

Output from ktrace:

31893 firefox  PSIG  SIGSEGV caught handler=0x281b7be0 mask=0x0 code=0x2
  31893 firefox  CALL  sigprocmask(SIG_SETMASK,0xbfbf981c,0)
  31893 firefox  RET   sigprocmask 0
  31893 firefox  CALL  unlink(0x285db2c0)
  31893 firefox  NAMI 
"/home/frank_s/.mozilla/firefox/atflhbg0.default/lock"
  31893 firefox  RET   unlink 0
  31893 firefox  CALL  sigprocmask(SIG_SETMASK,0x281bf824,0xbfbf946c)
  31893 firefox  RET   sigprocmask 0
  31893 firefox  CALL  sigaction(SIGSEGV,0xbfbf9454,0xbfbf943c)
  31893 firefox  RET   sigaction 0
  31893 firefox  CALL  sigprocmask(SIG_SETMASK,0xbfbf946c,0)
  31893 firefox  RET   sigprocmask 0
  31893 firefox  CALL  sigprocmask(SIG_UNBLOCK,0xbfbf94a0,0)
  31893 firefox  RET   sigprocmask 0
  31893 firefox  CALL  thr_kill(0x1894e,SIGSEGV)
  31893 firefox  RET   thr_kill 0
  31893 firefox  PSIG  SIGSEGV SIG_DFL code=0x10007
  31893 Timer    RET   _umtx_op -1 errno 4 Interrupted system call
  31893 Gecko_IOThread GIO   fd 8 wrote 20 bytes
        0x0000 0900 0000 ffff 0100 0000 0000 0000 0000 0303 0300 
|....................|

  31893 Cache I/O RET   _umtx_op -1 errno 4 Interrupted system call
  31893 Gecko_IOThread RET   kevent -1 errno 4 Interrupted system call
  31893 JS GC Helper RET   _umtx_op -1 errno 4 Interrupted system call
  31893 XPCOM CC RET   _umtx_op -1 errno 4 Interrupted system call
  31893 firefox  RET   _umtx_op -1 errno 4 Interrupted system call
  31893 mozStorage #2 RET   _umtx_op -1 errno 4 Interrupted system call
  31893 Hang Monitor RET   _umtx_op -1 errno 4 Interrupted system call
  31893 HTML5 Parser RET   _umtx_op -1 errno 4 Interrupted system call
  31893 mozStorage #3 RET   _umtx_op -1 errno 4 Interrupted system call
  31893 mozStorage #1 RET   _umtx_op -1 errno 4 Interrupted system call
  31893 JS Watchdog RET   _umtx_op -1 errno 4 Interrupted system call
  31893 Socket Thread RET   poll -1 errno 4 Interrupted system call
  31893 StreamTrans #4 RET   _umtx_op -1 errno 4 Interrupted system call
  31893 firefox  NAMI  "firefox.core"

gdb output:

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 "i386-marcel-freebsd"...(no debugging symbols 
found)...
(gdb) run
Starting program: /usr/local/bin/firefox
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...[New LWP 100460]
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...[New Thread 
28501080 (LWP 100460/firefox)]
(no debugging symbols found)...(no debugging symbols found)...[New Thread 
28501d00 (LWP 100886/firefox)]
[New Thread 28502200 (LWP 101390/firefox)]
[New Thread 28502e80 (LWP 101397/firefox)]
[New Thread 28503380 (LWP 101398/firefox)]
[New Thread 28504780 (LWP 101399/firefox)]
[New Thread 28504a00 (LWP 101400/firefox)]
[New Thread 28504c80 (LWP 101401/firefox)]
[New Thread 28506300 (LWP 101403/firefox)]
[New Thread 2d1c5f80 (LWP 101407/firefox)]
[New Thread 2d1c7880 (LWP 101413/firefox)]
[New Thread 2d533d00 (LWP 101449/firefox)]
[New Thread 2dba8d00 (LWP 100888/firefox)]
[New Thread 2dd7f800 (LWP 100889/firefox)]
[New Thread 2dd80700 (LWP 101451/firefox)]
[New Thread 2dedc480 (LWP 101461/firefox)]
[Thread 2d533d00 (LWP 101449/StreamTrans #1) exited]
[New Thread 2d533d00 (LWP 101449/StreamTrans #1)]
[New Thread 2f47f080 (LWP 100890/firefox)]
[New Thread 2f887380 (LWP 101479/firefox)]
[New Thread 2f888000 (LWP 101480/firefox)]
[New Thread 2f888780 (LWP 101481/firefox)]
[New Thread 2f889180 (LWP 101482/firefox)]
[Thread 2dd80700 (LWP 101451/StreamTrans #2) exited]
[New Thread 2f88aa80 (LWP 100891/firefox)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 28501080 (LWP 100460/firefox)]
0x28c8ce49 in std::_Rb_tree<unsigned long long, std::pair<unsigned long 
long const, nsRefPtr<nsContentView> >, std::_Select1st<std::pair<unsigned 
long long const, nsRefPtr<nsContentView> > >, std::less<unsigned long 
long>, std::allocator<std::pair<unsigned long long const, 
nsRefPtr<nsContentView> > > >::_M_insert_unique () from 
/usr/local/lib/firefox/libxul.so
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x28222deb in thr_kill () from /lib/libc.so.7
(gdb) cont
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

Both are without debug symbols.

[Later}

I tried to compile firefox with debugging symbols but apparently 4 GB of 
memory is not enough.

Thanks,
Frank



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1302210743040.1511>