rpms/openoffice.org/F-10 openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch, NONE, 1.1 openoffice.org.spec, 1.1706, 1.1707

Caolan McNamara caolanm at fedoraproject.org
Mon Jan 12 09:08:06 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25211

Modified Files:
	openoffice.org.spec 
Added Files:
	openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch 
Log Message:
Resolves: rhbz#477880 add openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch

openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch:

--- NEW FILE openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch ---
Index: source/remote/urp/urp_environment.cxx
===================================================================
RCS file: /cvs/udk/bridges/source/remote/urp/urp_environment.cxx,v
retrieving revision 1.21
diff -u -r1.21 urp_environment.cxx
--- openoffice.org.orig/bridges/source/remote/urp/urp_environment.cxx	11 Apr 2008 11:14:42 -0000	1.21
+++ openoffice.org/bridges/source/remote/urp/urp_environment.cxx	12 Jan 2009 08:56:26 -0000
@@ -182,6 +184,7 @@
 {
 	~StaticSingleton()
 		{
+			::osl::MutexGuard static_dtor_mutex( ::osl::Mutex::getGlobalMutex() );
 			g_bStaticDestructorsCalled = sal_True;
 		}
 };
@@ -269,8 +272,11 @@
   	}
 	// in case, that the static destructors already have been called, no
 	// tiding up is done.
+	ClearableMutexGuard static_dtor_test( ::osl::Mutex::getGlobalMutex() );
 	if( ! g_bStaticDestructorsCalled  && ! pContext->m_pBridgeImpl->m_bDisposed )
 	{
+		static_dtor_test.clear();
+
 		// TODO : not threadsafe
 		// synchronization with dispatch methods needed !
 
@@ -341,9 +347,12 @@
 		}
 		pImpl->m_pReader = 0;
 
-		// delete the stubs
-		releaseStubs( pEnvRemote );
-
+		::osl::MutexGuard static_dtor_mutex( ::osl::Mutex::getGlobalMutex() );
+		if (!g_bStaticDestructorsCalled)
+		{
+			// delete the stubs
+			releaseStubs( pEnvRemote );
+		}
 	}
 }
 


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-10/openoffice.org.spec,v
retrieving revision 1.1706
retrieving revision 1.1707
diff -u -r1.1706 -r1.1707
--- openoffice.org.spec	19 Dec 2008 11:49:45 -0000	1.1706
+++ openoffice.org.spec	12 Jan 2009 09:07:35 -0000	1.1707
@@ -138,6 +138,7 @@
 Patch65: openoffice.org-3.0.1.ooo97196.vcl.ensuretheme.whenqttesting.patch
 Patch66: workspace.vcl98.patch
 Patch67: openoffice.org-3.0.1.ooo97428.config_office.xinerama-on-x86_64.patch
+Patch68: openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch
 
 %define instdir %{_libdir}
 %define baseinstdir %{instdir}/openoffice.org
@@ -1400,6 +1401,7 @@
 %patch65 -p1 -b .ooo97196.vcl.ensuretheme.whenqttesting.patch
 %patch66 -p1 -b .workspace.vcl98.patch
 %patch67 -p1 -b .ooo97428.config_office.xinerama-on-x86_64.patch
+%patch68 -p1 -b .ooo97975.bridges.mainalreadyexited.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -3766,7 +3768,7 @@
     unopkg list --shared > /dev/null 2>&1 || :
 
 %changelog
-* Fri Dec 19 2008 Caolán McNamara <caolanm at redhat.com> - 1:3.0.0-9.11
+* Mon Jan 12 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.0.0-9.11
 - Resolves: rhbz#470302 g_file_input_stream_query_info doesn't do anything 
   remotely
 - Resolves: rhbz#471485 openoffice.org-3.0.0.ooo96203.sfx2.3layer-qstart.patch
@@ -3787,6 +3789,7 @@
 - add workspace.vcl98.patch
 - Resolves: rhbz#477016 playing video under full-screen presentation went away
 - Resolves: rhbz#474719 openoffice.org-3.0.1.ooo97428.config_office.xinerama-on-x86_64.patch
+- Resolves: rhbz#477880 add openoffice.org-3.0.1.ooo97975.bridges.mainalreadyexited.patch
 
 * Fri Nov 07 2008 Caolán McNamara <caolanm at redhat.com> - 1:3.0.0-9.10
 - window manager hatred




More information about the fedora-extras-commits mailing list