Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2008 21:06:01 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Jos Backus <jos@catnook.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: firefox3-bin crashes near arc4random_buf()
Message-ID:  <20081006100601.GD18237@server.vk2pj.dyndns.org>
In-Reply-To: <20081006051424.GA5858@lizzy.catnook.local>
References:  <20081004080511.GA72641@lizzy.catnook.local> <20081004161024.GA67323@nagual.pp.ru> <20081004222249.GA48928@lizzy.catnook.local> <48E80F02.4070309@freebsd.org> <20081005233256.GB8507@lizzy.catnook.local> <48E95D0E.50202@freebsd.org> <20081006051424.GA5858@lizzy.catnook.local>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 2008-Oct-05 22:14:24 -0700, Jos Backus <jos@catnook.com> wrote:
>Yeah. Oddly enough the debug version seems to make a difference; firefox3
>hasn't crashed yet. Normally even without touching it firefox3 will segfault
>within an hour or so.  I will leave it up all night to see what happens.

Either you've found a heisenbug or there was something screwy with the
previous libc.so - if it doesn't die, you might like to do a 'strip -g'
on your new /lib/libc.so.7 and see how that behaves, possibly followed
by another
# cp /lib/libc.so.7 /lib/libc.so.7-debug
# cd /usr/src/lib/libc && make clean && make && make install

Assuming that the only difference in flags is '-g', and the stripped
debugging version of libc works whilst the non-debugging version
doesn't, it looks like a bug in gcc.  I haven't looked inside gcc 4.x
but in earlier versions, '-g' does far more than
  "if (option_g) emit_debugging_section()"
and can potentially change the generated code.

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjp4wkACgkQ/opHv/APuId2eACfffJJUvhpAO9lnclLisXfTDlV
N/cAnAg5wksQNYtgB6TpnsVVplS6Pjsr
=K1wF
-----END PGP SIGNATURE-----

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