Re: Bug#492488: Reproduction of the Iceweasel crashes.
On Sun, Oct 26, 2008 at 08:09:29AM +0100, Mike Hommey wrote:
> On Sun, Oct 26, 2008 at 12:26:52PM +1300, Michael Cree wrote:
> > Charles Plessy wrote:
> >> I am contacting you because you reported crashes with Iceweasel. Do you still
> >> have this problem? If yes, are you running an up-to-date Lenny system now or
> >> can you upgrade?
> > Yes, the latest iceweasel (3.0.3-2) crashes on the Alpha architecture. I
> > am running an up-to-date Lenny system.
> > I've CCed this to Bob Tracy since he has done quite a bit of work trying
> > to track down the problem,, that is reported in the debian-alpha mail
> > list. He may wish to comment further.
> > Bob compiled vanilla 3.0.3 firefox sources, and I compiled 3.0.3-g1
> > icecat sources for testing (mainly because iceweasel was still back at
> > 3.0.1 at the time). These also crash. For me the symptom is that the
> > browser window opens on the screen and then immediately disappears again
> > with the crash.
> > Both Bob and I got working versions of firefox and icecat, respectively,
> > with a static link of the xul stuff, using --no-relax in the link stage,
> > and disabling optimisation. The following messages from debian-alpha
> > mail list discussion are the most relevant.
> > http://lists.debian.org/debian-alpha/2008/10/msg00022.html
> > http://lists.debian.org/debian-alpha/2008/10/msg00024.html
> > http://lists.debian.org/debian-alpha/2008/10/msg00028.html
> Note that we *do* use --no-relax on xulrunner-1.9, but in the CFLAGS.
> Without it, libxul.so won't build at all ; the same applies to webkit,
> OTOH, the crash on alpha may be unrelated to the other crash we're
> trying to tackle.
I could reproduce the crash on alpha and spotted it to be caused by
apparently bad g++ optimization on alpha. Adding:
MOZ_OPTIMIZE_FLAGS := -O0
in xulrunner's toolkit/components/url-classifier/src/Makefile.in makes
iceweasel work properly on albeniz.debian.org.