firefox-09-gthread-dlopen.patch revision 7033
7033N/ASee Mozilla bug #675585 - crash [@ g_slice_free1] when run firefox-bin -no-
7033N/Aremote -process-updates.
7033N/A
7033N/Adiff --git a/xpcom/glue/standalone/nsXPCOMGlue.cpp b/xpcom/glue/standalone/nsXPCOMGlue.cpp
7033N/A--- a/xpcom/glue/standalone/nsXPCOMGlue.cpp
7033N/A+++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp
7033N/A@@ -386,6 +386,8 @@
7033N/A }
7033N/A }
7033N/A
7033N/A+ static void* gthreadso = dlopen("libgthread-2.0.so.0", RTLD_GLOBAL | RTLD_LAZY);
7033N/A+
7033N/A GetFrozenFunctionsFunc sym =
7033N/A (GetFrozenFunctionsFunc)GetSymbol(sTop->libHandle,
7033N/A LEADING_UNDERSCORE "NS_GetFrozenFunctions");