Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2003 20:02:16 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        FreeBSD GNOME Users <gnome@FreeBSD.org>
Subject:   Possible fix for AbiWord crash
Message-ID:  <1048640536.63807.71.camel@gyros>

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

--=-G4eXCaX2OaqlnJ2FV+go
Content-Type: multipart/mixed; boundary="=-AHUUaad+aADKoJjYd/D5"


--=-AHUUaad+aADKoJjYd/D5
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Guys, can someone try this patch, and see if it fixes the AbiWord
crash?  You will have to delete your /etc/malloc.conf link for a
sufficient test.  It works for me, but the fix is really weird.  The
problem looks like a stack overflow issue maybe.

Joe

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



--=-AHUUaad+aADKoJjYd/D5
Content-Disposition: attachment; filename=patch-src_af_xap_unix_xap_UnixEncodingManager.cpp
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c++; name=patch-src_af_xap_unix_xap_UnixEncodingManager.cpp;
	charset=ISO8859-1

--- src/af/xap/unix/xap_UnixEncodingManager.cpp.orig	Fri Mar  7 02:33:39 20=
03
+++ src/af/xap/unix/xap_UnixEncodingManager.cpp	Tue Mar 25 19:49:09 2003
@@ -475,6 +475,7 @@
 	NativeUnicodeEncodingName =3D "UTF-8";
 	LanguageISOName =3D "en";
 	LanguageISOTerritory =3D "US";  =20
+	XAP_EncodingManager::initialize();
=20
 	if (!*locname || !strcmp(locname,"C"))
 	{ 	/* paranoic case - broken system */
@@ -582,6 +583,5 @@
 			FREEP(mod);
 		}
 	}
-	XAP_EncodingManager::initialize();
 	describe();
 };

--=-AHUUaad+aADKoJjYd/D5--

--=-G4eXCaX2OaqlnJ2FV+go
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)

iD4DBQA+gPwYb2iPiv4Uz4cRAn6OAJjxGuxvEuF1YL5u3zLf2kwZr4RvAKCwfvf1
aftFpeqAMHooSPVzomqV0A==
=X240
-----END PGP SIGNATURE-----

--=-G4eXCaX2OaqlnJ2FV+go--


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?1048640536.63807.71.camel>