components/desktop/thunderbird/patches/firefox-09-gthread-dlopen.patch
changeset 7018 fdf447a07aff
parent 7017 25872950aa80
child 7020 58ca1f0fa3a7
equal deleted inserted replaced
7017:25872950aa80 7018:fdf447a07aff
     1 See Mozilla bug #675585 - crash [@ g_slice_free1] when run firefox-bin -no-
       
     2 remote -process-updates.
       
     3 
       
     4 diff --git a/xpcom/glue/standalone/nsXPCOMGlue.cpp b/xpcom/glue/standalone/nsXPCOMGlue.cpp
       
     5 --- a/xpcom/glue/standalone/nsXPCOMGlue.cpp
       
     6 +++ b/xpcom/glue/standalone/nsXPCOMGlue.cpp
       
     7 @@ -386,6 +386,8 @@
       
     8      }   
       
     9    }
       
    10  
       
    11 +  static void* gthreadso = dlopen("libgthread-2.0.so.0", RTLD_GLOBAL | RTLD_LAZY);
       
    12 +
       
    13    GetFrozenFunctionsFunc sym =
       
    14      (GetFrozenFunctionsFunc)GetSymbol(sTop->libHandle,
       
    15                                        LEADING_UNDERSCORE "NS_GetFrozenFunctions");