Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2012 13:16:27 +0200
From:      "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Current <freebsd-current@freebsd.org>, freebsd-ports@freebsd.org
Subject:   www/firefox (13.0,1): SIGNAL 10 or SIGNAL 11 (gettimeofday())
Message-ID:  <4FD08D8B.3010105@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
Hello.

On one of my boxes I have a persistent problem with Firefox since the
last major update/recompilation a week ago due to the massive PNG
update. OS is FreeBSD 10.0-CURRENT/amd64, CLANG compiled.

First of all, neither firefox 12 nor 13 compile with CLANG. Firefox 12
also rejects compiling with legacy gcc 4.2.1.

Compiling with "USE_GCC= 4.6+" worked for Firefox 12 and it seems to be
now an option for 13, too.

Well, so far, I recompiled everything prerequisite for www/firefox with
"portmaster -f www/firefox", I did this twice.
On the box in question (it is the most modern hardware (Core-i7 3930K
with 32 GB RAM) I have around here, this is the delicate aspect, since
my private outdated very similar setup (Core2Duo with 8GB RAM) doesn't
suffer this crashes.

So far, I also removed the folder ~/.mozilla to asure having a clean
setup or tried to start firefox with "--safe-mode" to avoid faulty/foul
plugins or addons. it is always the same - I receive a SIGBUS or
SEGMENTATION FAULT (SIGNAL 10 or SIGNAL 11. SIGNAL 10 with option
"--safe-mode").

"truss firefox" shows up this:

[...]
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
35035021312 (0x828400000)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.018755810 })              = 0 (0x0)
clock_gettime(4,{11881.018816083 })              = 0 (0x0)
_umtx_op(0x8109ac6f0,0x11,0x0,0x0,0x0,0x8)       = 0 (0x0)
_umtx_op(0x8109ac6f0,0x16,0x0,0x0,0x0,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.018981257 })              = 0 (0x0)
gettimeofday({1339067570.994765 },0x0)           = 0 (0x0)
gettimeofday({1339067570.994882 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.020991081 })              = 0 (0x0)
gettimeofday({1339067570.996727 },0x0)           = 0 (0x0)
clock_gettime(4,{11881.021099055 })              = 0 (0x0)
clock_gettime(4,{11881.021136490 })              = 0 (0x0)
gettimeofday({1339067570.996871 },0x0)           = 0 (0x0)
gettimeofday({1339067570.996969 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.023170688 })              = 0 (0x0)
gettimeofday({1339067570.998883 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.023273494 })              = 0 (0x0)
clock_gettime(4,{11881.023303945 })              = 0 (0x0)
gettimeofday({1339067570.999034 },0x0)           = 0 (0x0)
gettimeofday({1339067570.999129 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.023606148 })              = 0 (0x0)
gettimeofday({1339067570.999317 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.023704974 })              = 0 (0x0)
clock_gettime(4,{11881.023734307 })              = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.024399965 })              = 0 (0x0)
gettimeofday({1339067571.000116 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.024519184 })              = 0 (0x0)
clock_gettime(4,{11881.024554593 })              = 0 (0x0)
gettimeofday({1339067571.000581 },0x0)           = 0 (0x0)
gettimeofday({1339067571.002458 },0x0)           = 0 (0x0)
clock_gettime(4,{11881.027489534 })              = 0 (0x0)
clock_gettime(4,{11881.027529833 })              = 0 (0x0)
clock_gettime(4,{11881.027608684 })              = 0 (0x0)
clock_gettime(4,{11881.027646328 })              = 0 (0x0)
gettimeofday({1339067571.003559 },0x0)           = 0 (0x0)
gettimeofday({1339067571.003667 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.028796824 })              = 0 (0x0)
gettimeofday({1339067571.004513 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.028916113 })              = 0 (0x0)
clock_gettime(4,{11881.028948379 })              = 0 (0x0)
clock_gettime(4,{11881.030049637 })              = 0 (0x0)
clock_gettime(4,{11881.030084697 })              = 0 (0x0)
gettimeofday({1339067571.005795 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.030320202 })              = 0 (0x0)
gettimeofday({1339067571.006030 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.030418050 })              = 0 (0x0)
clock_gettime(4,{11881.030447802 })              = 0 (0x0)
gettimeofday({1339067571.006204 },0x0)           = 0 (0x0)
gettimeofday({1339067571.006298 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0x10,0x7fffffff,0x0,0x0,0x8) = 0 (0x0)
clock_gettime(4,{11881.031855384 })              = 0 (0x0)
gettimeofday({1339067571.007571 },0x0)           = 0 (0x0)
_umtx_op(0x8006a40b0,0xf,0x0,0x18,0x7ffffedf6d88,0x7ffffedf6d88) = 0 (0x0)
clock_gettime(4,{11881.031972787 })              = 0 (0x0)
clock_gettime(4,{11881.032008127 })              = 0 (0x0)
SIGNAL 11 (SIGSEGV)
unlink("/home/ohartmann/.mozilla/firefox/ohartmann/lock") = 0 (0x0)
sigaction(SIGSEGV,{ SIG_DFL 0x0 ss_t },0x0)      = 0 (0x0)
sigprocmask(SIG_UNBLOCK,SIGSEGV,0x0)             = 0 (0x0)
getpid()                                         = 11058 (0x2b32)
kill(11058,SIGSEGV)                              = 0 (0x0)
SIGNAL 11 (SIGSEGV)
process exit, rval = 0




With "truss firefox --safe-mode" and disabling add-ons and resetting to
firefox' defaults, I receive this:

[...]

writev(0x4,0x7fffffffa7b0,0x3,0x0,0x7fffffffa954,0x7fffffffa950) = 8 (0x8)
poll({4/POLLIN},1,-1)                            = 1 (0x1)
read(4,"\^A\^A\^R\b\0\0\0\0W\^B\0\0\0\0"...,4096) = 32 (0x20)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.036257187 })              = 0 (0x0)
gettimeofday({1339067745.011974 },0x0)           = 0 (0x0)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.036370261 })              = 0 (0x0)
poll({5/POLLIN 4/POLLIN 9/POLLIN|POLLPRI 11/POLLIN|POLLPRI
14/POLLIN|POLLPRI 15/POLLIN|POLLPRI 22/POLLIN 20/POLLIN},8,500) = 1 (0x1)
gettimeofday({1339067745.018110 },0x0)           = 0 (0x0)
read(4,"\^F\0\^R\b\M-g\M-2\M-0\tW\^B\0\0"...,4096) = 32 (0x20)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.042556104 })              = 0 (0x0)
gettimeofday({1339067745.018291 },0x0)           = 0 (0x0)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
gettimeofday({1339067745.018367 },0x0)           = 0 (0x0)
poll({4/POLLIN|POLLOUT},1,-1)                    = 1 (0x1)
writev(0x4,0x7fffffffa360,0x3,0x0,0x7fffffffa504,0x7fffffffa500) = 8 (0x8)
poll({4/POLLIN},1,-1)                            = 1 (0x1)
read(4,"\^A\^A\^S\b\0\0\0\0W\^B\0\0\0\0"...,4096) = 32 (0x20)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
poll({4/POLLIN|POLLOUT},1,-1)                    = 1 (0x1)
writev(0x4,0x7fffffffa7b0,0x3,0x0,0x7fffffffa954,0x7fffffffa950) = 8 (0x8)
poll({4/POLLIN},1,-1)                            = 1 (0x1)
read(4,"\^A\^A\^T\b\0\0\0\0W\^B\0\0\0\0"...,4096) = 32 (0x20)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.044284677 })              = 0 (0x0)
gettimeofday({1339067745.020008 },0x0)           = 0 (0x0)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.044432740 })              = 0 (0x0)
poll({5/POLLIN 4/POLLIN 9/POLLIN|POLLPRI 11/POLLIN|POLLPRI
14/POLLIN|POLLPRI 15/POLLIN|POLLPRI 22/POLLIN 20/POLLIN},8,500) ERR#60
'Operation timed out'
clock_gettime(4,{12055.102978117 })              = 0 (0x0)
write(21,"\M-z",1)                               = 1 (0x1)
clock_gettime(4,{12055.103080854 })              = 0 (0x0)
gettimeofday({1339067745.078818 },0x0)           = 0 (0x0)
clock_gettime(4,{12055.103206987 })              = 0 (0x0)
read(20,"\M-z",1)                                = 1 (0x1)
gettimeofday({1339067745.078981 },0x0)           = 0 (0x0)
clock_gettime(4,{12055.103337800 })              = 0 (0x0)
clock_gettime(4,{12055.103376492 })              = 0 (0x0)
clock_gettime(4,{12055.103412600 })              = 0 (0x0)
gettimeofday({1339067745.079127 },0x0)           = 0 (0x0)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.103532867 })              = 0 (0x0)
poll({5/POLLIN 4/POLLIN 9/POLLIN|POLLPRI 11/POLLIN|POLLPRI
14/POLLIN|POLLPRI 15/POLLIN|POLLPRI 22/POLLIN 20/POLLIN},8,0) = 0 (0x0)
gettimeofday({1339067745.079290 },0x0)           = 0 (0x0)
clock_gettime(4,{12055.103646079 })              = 0 (0x0)
gettimeofday({1339067745.079358 },0x0)           = 0 (0x0)
read(4,0x81095902c,4096)                         ERR#35 'Resource
temporarily unavailable'
clock_gettime(4,{12055.103748536 })              = 0 (0x0)
poll({5/POLLIN 4/POLLIN 9/POLLIN|POLLPRI 11/POLLIN|POLLPRI
14/POLLIN|POLLPRI 15/POLLIN|POLLPRI 22/POLLIN 20/POLLIN},8,441) ERR#60
'Operation timed out'
clock_gettime(4,{12055.159428185 })              = 0 (0x0)
write(21,"\M-z",1)                               = 1 (0x1)
clock_gettime(4,{12055.159532808 })              = 0 (0x0)
gettimeofday({1339067745.135249 },0x0)           = 0 (0x0)
gettimeofday({1339067745.135303 },0x0)           = 0 (0x0)
clock_gettime(4,{12055.159666274 })              = 0 (0x0)
read(20,"\M-z",1)                                = 1 (0x1)
gettimeofday({1339067745.135425 },0x0)           = 0 (0x0)
clock_gettime(4,{12055.159781163 })              = 0 (0x0)
gettimeofday({1339067745.135496 },0x0)           = 0 (0x0)
gettimeofday({1339067745.135540 },0x0)           = 0 (0x0)
gettimeofday({1339067745.135693 },0x0)           = 0 (0x0)
gettimeofday({1339067745.135726 },0x0)           = 0 (0x0)
gettimeofday({1339067745.136030 },0x0)           = 0 (0x0)
gettimeofday({1339067745.136063 },0x0)           = 0 (0x0)
gettimeofday({1339067745.136096 },0x0)           = 0 (0x0)
SIGNAL 11 (SIGSEGV)
unlink("/home/ohartmann/.mozilla/firefox/ohartmann/lock") = 0 (0x0)
sigaction(SIGSEGV,{ SIG_DFL 0x0 ss_t },0x0)      = 0 (0x0)
sigprocmask(SIG_UNBLOCK,SIGSEGV,0x0)             = 0 (0x0)
getpid()                                         = 25672 (0x6448)
kill(25672,SIGSEGV)                              = 0 (0x0)
SIGNAL 11 (SIGSEGV)
process exit, rval = 0


Regards,
Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD08D8B.3010105>