From owner-freebsd-mozilla Fri Apr 14 15:17:38 2000 Delivered-To: freebsd-mozilla@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id B201C37B672 for ; Fri, 14 Apr 2000 15:17:36 -0700 (PDT) (envelope-from klui@cup.hp.com) Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19]) by palrel1.hp.com (Postfix) with ESMTP id 951F51832 for ; Fri, 14 Apr 2000 15:16:33 -0700 (PDT) Received: from cup44ux.cup.hp.com (cup44ux.cup.hp.com [15.13.168.124]) by l3107mxr.atl.hp.com (Postfix) with ESMTP id CD212501C1 for ; Fri, 14 Apr 2000 17:08:59 -0400 (EDT) Received: from localhost (klui@localhost) by cup44ux.cup.hp.com with ESMTP (8.9.3 (PHNE_18979)/8.7.3 TIS 5.0.1) id PAA24943 for ; Fri, 14 Apr 2000 15:08:58 -0700 (PDT) Date: Fri, 14 Apr 2000 15:08:58 -0700 (PDT) From: Ken Lui To: freebsd-mozilla@freebsd.org Subject: M16 with FreeBSD 3.2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I downloaded the latest nightly Mozilla source dated 4/14/2000 10:03 from and after the compile, I get a core dump at $ .mozilla .//run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=/home/klui/tmp/mozilla/dist/bin LD_LIBRARY_PATH=/home/klui/tmp/mozilla/dist/bin SHLIB_PATH=/home/klui/tmp/mozilla/dist/bin LIBPATH=/home/klui/tmp/mozilla/dist/bin MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded JS Component Loader: WARNING /home/klui/tmp/mozilla/dist/bin/components/ nsSample.js:26 deprecated getter usage JS Component Loader: WARNING /home/klui/tmp/mozilla/dist/bin/components/ nsSample.js:27 deprecated setter usage Segmentation fault - core dumped $ I understand that the problem is due to the way dlopen() works for FreeBSD 3.x prior to 3.4 as discussed here: Is there a back patch for FreeBSD 3.2 so that I won't need to upgrade my installation of 3.2 to 3.4? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Fri Apr 14 16:40: 6 2000 Delivered-To: freebsd-mozilla@freebsd.org Received: from bab71-131.optonline.net (bab71-131.optonline.net [167.206.71.131]) by hub.freebsd.org (Postfix) with ESMTP id C01D137C05C for ; Fri, 14 Apr 2000 16:39:41 -0700 (PDT) (envelope-from pete@postpagan.com) Received: from postpagan.com (localhost [127.0.0.1]) by bab71-131.optonline.net (8.9.3/8.9.3) with ESMTP id TAA29199; Fri, 14 Apr 2000 19:43:30 -0400 (EDT) (envelope-from pete@postpagan.com) Message-ID: <38F7AD1F.DD00668@postpagan.com> Date: Fri, 14 Apr 2000 19:43:28 -0400 From: pete collins X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Ken Lui Cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: M16 with FreeBSD 3.2 References: Content-Type: multipart/mixed; boundary="------------8722EA9833D5EDA905ED2D5D" Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------8722EA9833D5EDA905ED2D5D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > I understand that the problem is due to the way dlopen() works for > FreeBSD 3.x prior to 3.4 as discussed here: > > > Is there a back patch for FreeBSD 3.2 so that I won't need to upgrade > my installation of 3.2 to 3.4? Sure: Bruce M might be checking this patch in in the next day or so. http://bugzilla.mozilla.org/show_bug.cgi?id=14676 I'm attaching the patch here also. pete --------------8722EA9833D5EDA905ED2D5D Content-Type: text/plain; charset=us-ascii; name="DIFFS" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="DIFFS" Index: uconv//ucvcn/nsUCvCnModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvcn/nsUCvCnModule.cpp,v retrieving revision 1.11 diff -r1.11 nsUCvCnModule.cpp 142c142 < // Class nsConverterFactory [declaration] --- > // Class nsUCvCnFactory [declaration] 150c150 < class nsConverterFactory : public nsIFactory --- > class nsUCvCnFactory : public nsIFactory 163c163 < nsConverterFactory(FactoryData * aData); --- > nsUCvCnFactory(FactoryData * aData); 168c168 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvCnFactory(); 179c179 < // Class nsConverterModule [declaration] --- > // Class nsUCvCnModule [declaration] 181c181 < class nsConverterModule : public nsIModule --- > class nsUCvCnModule : public nsIModule 194c194 < nsConverterModule(); --- > nsUCvCnModule(); 196c196 < virtual ~nsConverterModule(); --- > virtual ~nsUCvCnModule(); 205c205 < static nsConverterModule * gModule = NULL; --- > static nsUCvCnModule * gModule = NULL; 217c217 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvCnModule * m = new nsUCvCnModule(); 233c233 < // Class nsConverterFactory [implementation] --- > // Class nsUCvCnFactory [implementation] 235c235 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvCnFactory, NS_GET_IID(nsIFactory)); 237c237 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvCnFactory::nsUCvCnFactory(FactoryData * aData) 245c245 < nsConverterFactory::~nsConverterFactory() --- > nsUCvCnFactory::~nsUCvCnFactory() 253c253 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvCnFactory::CreateInstance(nsISupports *aDelegate, 273c273 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvCnFactory::LockFactory(PRBool aLock) 282c282 < // Class nsConverterModule [implementation] --- > // Class nsUCvCnModule [implementation] 284c284 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvCnModule, NS_GET_IID(nsIModule)) 286c286 < nsConverterModule::nsConverterModule() --- > nsUCvCnModule::nsUCvCnModule() 292c292 < nsConverterModule::~nsConverterModule() --- > nsUCvCnModule::~nsUCvCnModule() 297c297 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvCnModule::Initialize() 302c302 < void nsConverterModule::Shutdown() --- > void nsUCvCnModule::Shutdown() 309c309 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::GetClassObject(nsIComponentManager *aCompMgr, 331c331 < nsConverterFactory * fact; --- > nsUCvCnFactory * fact; 337c337 < fact = new nsConverterFactory(data); --- > fact = new nsUCvCnFactory(data); 351c351 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::RegisterSelf(nsIComponentManager *aCompMgr, 414c414 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::UnregisterSelf(nsIComponentManager *aCompMgr, 428c428 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvCnModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvja/nsUCvJaModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvja/nsUCvJaModule.cpp,v retrieving revision 1.10 diff -r1.10 nsUCvJaModule.cpp 176c176 < // Class nsConverterFactory [declaration] --- > // Class nsUCvJaFactory [declaration] 184c184 < class nsConverterFactory : public nsIFactory --- > class nsUCvJaFactory : public nsIFactory 197c197 < nsConverterFactory(FactoryData * aData); --- > nsUCvJaFactory(FactoryData * aData); 202c202 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvJaFactory(); 213c213 < // Class nsConverterModule [declaration] --- > // Class nsUCvJaModule [declaration] 215c215 < class nsConverterModule : public nsIModule --- > class nsUCvJaModule : public nsIModule 228c228 < nsConverterModule(); --- > nsUCvJaModule(); 230c230 < virtual ~nsConverterModule(); --- > virtual ~nsUCvJaModule(); 239c239 < static nsConverterModule * gModule = NULL; --- > static nsUCvJaModule * gModule = NULL; 251c251 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvJaModule * m = new nsUCvJaModule(); 267c267 < // Class nsConverterFactory [implementation] --- > // Class nsUCvJaFactory [implementation] 269c269 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvJaFactory, NS_GET_IID(nsIFactory)); 271c271 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvJaFactory::nsUCvJaFactory(FactoryData * aData) 279c279 < nsConverterFactory::~nsConverterFactory() --- > nsUCvJaFactory::~nsUCvJaFactory() 287c287 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvJaFactory::CreateInstance(nsISupports *aDelegate, 307c307 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvJaFactory::LockFactory(PRBool aLock) 316c316 < // Class nsConverterModule [implementation] --- > // Class nsUCvJaModule [implementation] 318c318 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvJaModule, NS_GET_IID(nsIModule)) 320c320 < nsConverterModule::nsConverterModule() --- > nsUCvJaModule::nsUCvJaModule() 326c326 < nsConverterModule::~nsConverterModule() --- > nsUCvJaModule::~nsUCvJaModule() 331c331 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvJaModule::Initialize() 336c336 < void nsConverterModule::Shutdown() --- > void nsUCvJaModule::Shutdown() 343c343 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::GetClassObject(nsIComponentManager *aCompMgr, 365c365 < nsConverterFactory * fact; --- > nsUCvJaFactory * fact; 371c371 < fact = new nsConverterFactory(data); --- > fact = new nsUCvJaFactory(data); 385c385 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::RegisterSelf(nsIComponentManager *aCompMgr, 448c448 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::UnregisterSelf(nsIComponentManager *aCompMgr, 462c462 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvJaModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvko/nsUCvKoModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvko/nsUCvKoModule.cpp,v retrieving revision 1.10 diff -r1.10 nsUCvKoModule.cpp 110c110 < // Class nsConverterFactory [declaration] --- > // Class nsUCvKoFactory [declaration] 118c118 < class nsConverterFactory : public nsIFactory --- > class nsUCvKoFactory : public nsIFactory 131c131 < nsConverterFactory(FactoryData * aData); --- > nsUCvKoFactory(FactoryData * aData); 136c136 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvKoFactory(); 147c147 < // Class nsConverterModule [declaration] --- > // Class nsUCvKoModule [declaration] 149c149 < class nsConverterModule : public nsIModule --- > class nsUCvKoModule : public nsIModule 162c162 < nsConverterModule(); --- > nsUCvKoModule(); 164c164 < virtual ~nsConverterModule(); --- > virtual ~nsUCvKoModule(); 173c173 < static nsConverterModule * gModule = NULL; --- > static nsUCvKoModule * gModule = NULL; 185c185 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvKoModule * m = new nsUCvKoModule(); 201c201 < // Class nsConverterFactory [implementation] --- > // Class nsUCvKoFactory [implementation] 203c203 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvKoFactory, NS_GET_IID(nsIFactory)); 205c205 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvKoFactory::nsUCvKoFactory(FactoryData * aData) 213c213 < nsConverterFactory::~nsConverterFactory() --- > nsUCvKoFactory::~nsUCvKoFactory() 221c221 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvKoFactory::CreateInstance(nsISupports *aDelegate, 241c241 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvKoFactory::LockFactory(PRBool aLock) 250c250 < // Class nsConverterModule [implementation] --- > // Class nsUCvKoModule [implementation] 252c252 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvKoModule, NS_GET_IID(nsIModule)) 254c254 < nsConverterModule::nsConverterModule() --- > nsUCvKoModule::nsUCvKoModule() 260c260 < nsConverterModule::~nsConverterModule() --- > nsUCvKoModule::~nsUCvKoModule() 265c265 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvKoModule::Initialize() 270c270 < void nsConverterModule::Shutdown() --- > void nsUCvKoModule::Shutdown() 277c277 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::GetClassObject(nsIComponentManager *aCompMgr, 299c299 < nsConverterFactory * fact; --- > nsUCvKoFactory * fact; 305c305 < fact = new nsConverterFactory(data); --- > fact = new nsUCvKoFactory(data); 319c319 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::RegisterSelf(nsIComponentManager *aCompMgr, 382c382 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::UnregisterSelf(nsIComponentManager *aCompMgr, 396c396 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvKoModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvlatin/nsUCvLatinModule.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvlatin/nsUCvLatinModule.cpp,v retrieving revision 1.12 diff -r1.12 nsUCvLatinModule.cpp 805c805 < // Class nsConverterFactory [declaration] --- > // Class nsUCvLatinFactory [declaration] 813c813 < class nsConverterFactory : public nsIFactory --- > class nsUCvLatinFactory : public nsIFactory 826c826 < nsConverterFactory(FactoryData * aData); --- > nsUCvLatinFactory(FactoryData * aData); 831c831 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvLatinFactory(); 842c842 < // Class nsConverterModule [declaration] --- > // Class nsUCvLatinModule [declaration] 844c844 < class nsConverterModule : public nsIModule --- > class nsUCvLatinModule : public nsIModule 857c857 < nsConverterModule(); --- > nsUCvLatinModule(); 859c859 < virtual ~nsConverterModule(); --- > virtual ~nsUCvLatinModule(); 868c868 < static nsConverterModule * gModule = NULL; --- > static nsUCvLatinModule * gModule = NULL; 880c880 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvLatinModule * m = new nsUCvLatinModule(); 896c896 < // Class nsConverterFactory [implementation] --- > // Class nsUCvLatinFactory [implementation] 898c898 < NS_IMPL_THREADSAFE_ISUPPORTS1(nsConverterFactory, nsIFactory); --- > NS_IMPL_THREADSAFE_ISUPPORTS1(nsUCvLatinFactory, nsIFactory); 900c900 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvLatinFactory::nsUCvLatinFactory(FactoryData * aData) 908c908 < nsConverterFactory::~nsConverterFactory() --- > nsUCvLatinFactory::~nsUCvLatinFactory() 916c916 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvLatinFactory::CreateInstance(nsISupports *aDelegate, 936c936 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvLatinFactory::LockFactory(PRBool aLock) 945c945 < // Class nsConverterModule [implementation] --- > // Class nsUCvLatinModule [implementation] 947c947 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvLatinModule, NS_GET_IID(nsIModule)) 949c949 < nsConverterModule::nsConverterModule() --- > nsUCvLatinModule::nsUCvLatinModule() 955c955 < nsConverterModule::~nsConverterModule() --- > nsUCvLatinModule::~nsUCvLatinModule() 960c960 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvLatinModule::Initialize() 965c965 < void nsConverterModule::Shutdown() --- > void nsUCvLatinModule::Shutdown() 972c972 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::GetClassObject(nsIComponentManager *aCompMgr, 994c994 < nsConverterFactory * fact; --- > nsUCvLatinFactory * fact; 1000c1000 < fact = new nsConverterFactory(data); --- > fact = new nsUCvLatinFactory(data); 1014c1014 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::RegisterSelf(nsIComponentManager *aCompMgr, 1077c1077 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::UnregisterSelf(nsIComponentManager *aCompMgr, 1091c1091 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvLatinModule::CanUnload(nsIComponentManager *aCompMgr, Index: uconv//ucvtw2/nsUCvTw2Module.cpp =================================================================== RCS file: /cvsroot/mozilla/intl/uconv/ucvtw2/nsUCvTw2Module.cpp,v retrieving revision 1.11 diff -r1.11 nsUCvTw2Module.cpp 190c190 < // Class nsConverterFactory [declaration] --- > // Class nsUCvTw2Factory [declaration] 198c198 < class nsConverterFactory : public nsIFactory --- > class nsUCvTw2Factory : public nsIFactory 211c211 < nsConverterFactory(FactoryData * aData); --- > nsUCvTw2Factory(FactoryData * aData); 216c216 < virtual ~nsConverterFactory(); --- > virtual ~nsUCvTw2Factory(); 227c227 < // Class nsConverterModule [declaration] --- > // Class nsUCvTw2Module [declaration] 229c229 < class nsConverterModule : public nsIModule --- > class nsUCvTw2Module : public nsIModule 242c242 < nsConverterModule(); --- > nsUCvTw2Module(); 244c244 < virtual ~nsConverterModule(); --- > virtual ~nsUCvTw2Module(); 253c253 < static nsConverterModule * gModule = NULL; --- > static nsUCvTw2Module * gModule = NULL; 265c265 < nsConverterModule * m = new nsConverterModule(); --- > nsUCvTw2Module * m = new nsUCvTw2Module(); 281c281 < // Class nsConverterFactory [implementation] --- > // Class nsUCvTw2Factory [implementation] 283c283 < NS_IMPL_ISUPPORTS(nsConverterFactory, NS_GET_IID(nsIFactory)); --- > NS_IMPL_ISUPPORTS(nsUCvTw2Factory, NS_GET_IID(nsIFactory)); 285c285 < nsConverterFactory::nsConverterFactory(FactoryData * aData) --- > nsUCvTw2Factory::nsUCvTw2Factory(FactoryData * aData) 293c293 < nsConverterFactory::~nsConverterFactory() --- > nsUCvTw2Factory::~nsUCvTw2Factory() 301c301 < NS_IMETHODIMP nsConverterFactory::CreateInstance(nsISupports *aDelegate, --- > NS_IMETHODIMP nsUCvTw2Factory::CreateInstance(nsISupports *aDelegate, 321c321 < NS_IMETHODIMP nsConverterFactory::LockFactory(PRBool aLock) --- > NS_IMETHODIMP nsUCvTw2Factory::LockFactory(PRBool aLock) 330c330 < // Class nsConverterModule [implementation] --- > // Class nsUCvTw2Module [implementation] 332c332 < NS_IMPL_ISUPPORTS(nsConverterModule, NS_GET_IID(nsIModule)) --- > NS_IMPL_ISUPPORTS(nsUCvTw2Module, NS_GET_IID(nsIModule)) 334c334 < nsConverterModule::nsConverterModule() --- > nsUCvTw2Module::nsUCvTw2Module() 340c340 < nsConverterModule::~nsConverterModule() --- > nsUCvTw2Module::~nsUCvTw2Module() 345c345 < nsresult nsConverterModule::Initialize() --- > nsresult nsUCvTw2Module::Initialize() 350c350 < void nsConverterModule::Shutdown() --- > void nsUCvTw2Module::Shutdown() 357c357 < NS_IMETHODIMP nsConverterModule::GetClassObject(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::GetClassObject(nsIComponentManager *aCompMgr, 379c379 < nsConverterFactory * fact; --- > nsUCvTw2Factory * fact; 385c385 < fact = new nsConverterFactory(data); --- > fact = new nsUCvTw2Factory(data); 399c399 < NS_IMETHODIMP nsConverterModule::RegisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::RegisterSelf(nsIComponentManager *aCompMgr, 462c462 < NS_IMETHODIMP nsConverterModule::UnregisterSelf(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::UnregisterSelf(nsIComponentManager *aCompMgr, 476c476 < NS_IMETHODIMP nsConverterModule::CanUnload(nsIComponentManager *aCompMgr, --- > NS_IMETHODIMP nsUCvTw2Module::CanUnload(nsIComponentManager *aCompMgr, --------------8722EA9833D5EDA905ED2D5D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Fri Apr 14 17:28: 3 2000 Delivered-To: freebsd-mozilla@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 77B8937B823 for ; Fri, 14 Apr 2000 17:28:00 -0700 (PDT) (envelope-from klui@cup.hp.com) Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19]) by palrel1.hp.com (Postfix) with ESMTP id E6D2B5C8; Fri, 14 Apr 2000 17:27:51 -0700 (PDT) Received: from cup44ux.cup.hp.com (cup44ux.cup.hp.com [15.13.168.124]) by l3107mxr.atl.hp.com (Postfix) with ESMTP id 1D4C44FE7D; Fri, 14 Apr 2000 19:27:51 -0400 (EDT) Received: from localhost (klui@localhost) by cup44ux.cup.hp.com with ESMTP (8.9.3 (PHNE_18979)/8.7.3 TIS 5.0.1) id RAA29021; Fri, 14 Apr 2000 17:27:50 -0700 (PDT) Date: Fri, 14 Apr 2000 17:27:49 -0700 (PDT) From: Ken Lui To: pete collins Cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: M16 with FreeBSD 3.2 In-Reply-To: <38F7AD1F.DD00668@postpagan.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 14 Apr 2000, pete collins wrote: > Sure: > > Bruce M might be checking this patch in in the next day or so. > > http://bugzilla.mozilla.org/show_bug.cgi?id=14676 > > I'm attaching the patch here also. Pete, Thanks for your quick reply. I will try it and see how it works as well as use the --enable-low-fat/--retain-symbols-file options. Although on initial inspection, the patch you supplied for the file mozilla/intl/uconv/ucvlatin/nsUCvLatinModule.cpp isn't correct for me (source lines are incorrect but it shouldn't be a problem finding the right things to change). Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Sat Apr 15 8:40:38 2000 Delivered-To: freebsd-mozilla@freebsd.org Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (Postfix) with ESMTP id 97B0C37B852 for ; Sat, 15 Apr 2000 08:40:33 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by kleopatra.acc.umu.se (8.10.1/8.10.1) with ESMTP id e3FFZYI25648; Sat, 15 Apr 2000 17:35:38 +0200 Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian/GNU) id MAA26699; Sat, 15 Apr 2000 12:56:24 +0200 Date: Sat, 15 Apr 2000 12:56:24 +0200 From: Markus Holmberg To: pete collins Cc: Ken Lui , freebsd-mozilla@FreeBSD.ORG Subject: Re: M16 with FreeBSD 3.2 Message-ID: <20000415125623.A23435@mao.acc.umu.se> References: <38F7AD1F.DD00668@postpagan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.11i In-Reply-To: <38F7AD1F.DD00668@postpagan.com>; from pete@postpagan.com on Fri, Apr 14, 2000 at 07:43:28PM -0400 Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 14, 2000 at 07:43:28PM -0400, pete collins wrote: > Bruce M might be checking this patch in in the next day or so. One has to remember that this is not a fix, it's a work around. It won't protect against future breakages of the same kind (if someone of the numerous mozilla developers names two functions the same again in two different modules). The Right Way(tm) to fix this is to correct the bug in FreeBSD's dlopen(). Either you upgrade to 3.4, or manually apply the source patches that you can extract from the CVS (for example using http://www.freebsd.org/cgi/cvsweb.cgi). Look in the PR for info on what files need to be patched: http://www.freebsd.org/cgi/query-pr.cgi?pr=12438 About the Solaris Purify problem; without knowing anything about Solaris/Purify, it sounds like Purify might have the same problem that FreeBSD had. In that case it's Purify that's broken and needs to be fixed. But this is pure speculation on my part. Markus -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Sat Apr 15 10:29:38 2000 Delivered-To: freebsd-mozilla@freebsd.org Received: from bab71-131.optonline.net (bab71-131.optonline.net [167.206.71.131]) by hub.freebsd.org (Postfix) with ESMTP id 41B8437BA14 for ; Sat, 15 Apr 2000 10:29:27 -0700 (PDT) (envelope-from pete@postpagan.com) Received: from postpagan.com (localhost [127.0.0.1]) by bab71-131.optonline.net (8.9.3/8.9.3) with ESMTP id NAA81521; Sat, 15 Apr 2000 13:33:38 -0400 (EDT) (envelope-from pete@postpagan.com) Message-ID: <38F8A7EF.E4FB95F1@postpagan.com> Date: Sat, 15 Apr 2000 13:33:36 -0400 From: pete collins X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Markus Holmberg Cc: Ken Lui , freebsd-mozilla@FreeBSD.ORG Subject: Re: M16 with FreeBSD 3.2 References: <38F7AD1F.DD00668@postpagan.com> <20000415125623.A23435@mao.acc.umu.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Markus Holmberg wrote: > On Fri, Apr 14, 2000 at 07:43:28PM -0400, pete collins wrote: > > Bruce M might be checking this patch in in the next day or so. > > One has to remember that this is not a fix, it's a work around. It won't > protect against future breakages of the same kind (if someone of the > numerous mozilla developers names two functions the same again in two > different modules). Exactly, but it is a harmless work around and it is easy to patch. But for now, while there are still a lot of 2.3 and 3.3 boxes around it is reasonable to maintain this patch. That is the main reason i haven't upgraded my 3.2 tinderbox machine here. It forces me to stay on top of this know problem. I agree with the purify problem. I think it is the same thing. pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message