Skip site navigation (1)Skip section navigation (2)
Date:      20 Dec 2002 23:33:52 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   HEADS UP: Nautilus 2 crashing on -CURRENT [FIXED]
Message-ID:  <1040445231.29101.37.camel@shumai.marcuscom.com>

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

--=-fenHe4nMBZEIlnPL1db8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I found the problem with Nautilus 2 on -CURRENT thanks to remote access
given by Mezz.  However, my temporary solution kind of sucks.  The
problem looks like an issue with gcc-3.2.1, and the code produced when
div.S is compiled on i386 (the problem is NOT with CPUTYPE as I had
initially suspected).

Basically, any call to div() is screwed.  Nautilus just happens to do
this when scaling pixbufs.  Therefore, you get a pixbuf full of garbage,
and Nautilus dies.  I've sent email to current@, and I plan to get the
GCC people involved.  For the time being, you can workaround this by
compiling the MI version of div(), div.c.  To do this, do the following:

* Edit /usr/src/lib/libc/i386/stdlib/Makefile.inc, and remove div.S from
the list of MDSRCS
* Move /usr/src/lib/libc/i386/stdlib/div.S to div.S.bak
* Recompile libc by going to /usr/src/lib/libc, and issuing a make clean
; make all install

Afterward, Nautilus should be better behaved.  I hope a real solution to
this problem can be found before 5.0-RELEASE.

Joe

--=20
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus@FreeBSD.org
http://www.FreeBSD.org/gnome

--=-fenHe4nMBZEIlnPL1db8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+A+8vb2iPiv4Uz4cRApfYAJ4/DlK5DHS+BVLOCCDmKsQZJ3tqPwCgqqPP
IGMKBKakje/JK6B+6IJC8vE=
=S0s+
-----END PGP SIGNATURE-----

--=-fenHe4nMBZEIlnPL1db8--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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