components/desktop/firefox/patches/firefox22-79-gthread-dlopen.patch
changeset 5255 cea0e462549a
equal deleted inserted replaced
5252:947514442d05 5255:cea0e462549a
       
     1 See Mozilla bug #675585 - crash [@ g_slice_free1] when run firefox-bin
       
     2 -no-remote -process-updates. Needs further investigation. 
       
     3 
       
     4 --- mozilla-esr31/xpcom/glue/standalone/nsXPCOMGlue.cpp.orig	2015-06-04 17:42:52.147539933 -0700
       
     5 +++ mozilla-esr31/xpcom/glue/standalone/nsXPCOMGlue.cpp	2015-06-04 17:42:52.152710273 -0700
       
     6 @@ -418,6 +418,8 @@
       
     7          }
       
     8      }
       
     9  
       
    10 +    static void* gthreadso = dlopen("libgthread-2.0.so.0", RTLD_GLOBAL | RTLD_LAZY);
       
    11 +
       
    12      GetFrozenFunctionsFunc sym =
       
    13          (GetFrozenFunctionsFunc) GetSymbol(sTop->libHandle, LEADING_UNDERSCORE "NS_GetFrozenFunctions");
       
    14