[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2011-01-28 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979


User sb changed the following:

What|Old value |New value

Target milestone|OOo 3.4   |OOo 3.x





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-09-09 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979


User sb changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |STARTED

Target milestone|---   |OOo 3.4





--- Additional comments from s...@openoffice.org Thu Sep  9 11:55:24 + 
2010 ---
.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-08-20 Thread mst
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979


User mst changed the following:

What|Old value |New value

  CC|''|'cmc,mst'

 Assigned to|mh|sb





--- Additional comments from m...@openoffice.org Fri Aug 20 08:47:18 + 
2010 ---
anybody already know this one?
assigning to sb

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-08-20 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979





--- Additional comments from c...@openoffice.org Fri Aug 20 09:00:41 + 
2010 ---
I think its issue 107490 again

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-08-20 Thread olistraub
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979





--- Additional comments from olistr...@openoffice.org Fri Aug 20 09:41:19 
+ 2010 ---
Yeah you're right, its related to 107490. However, the patch there didn't
include the unloading mutex.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-08-19 Thread olistraub
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979
 Issue #|113979
 Summary|getUnloadingMutex() uses already destructed object dur
|ing process exit
   Component|porting
 Version|DEV300m86
Platform|Opteron/x86_64
 URL|
  OS/Version|Linux
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|mh
 Reported by|olistraub





--- Additional comments from olistr...@openoffice.org Thu Aug 19 09:18:22 
+ 2010 ---
While debugging a deadlock during process shutdown, we found out the following:

-the process being exited still had a Reference to an object in another
process as static variable
-__cxa_finalizers are currently running, and have already destroyed the static
mutex within the getUnloadingMutex() function (in unload.cxx)
-__cxa_finalizer now destroys the static Reference object, causing an infinite
hang when locking the unloading mutex, since it was already destroyed.

In sal/osl/unx/mutex.c, the osl_getGlobalMutex had the same problem. It was
fixed by using pthread_once to initialize the mutex without ever destroying it.

We should do this here too, or allocate the unloading mutex on the heap (causing
a memory leak, but no hang).

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[porting-issues] [Issue 113979] getUnloadingMutex() uses already destructed object during process exit

2010-08-19 Thread olistraub
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113979





--- Additional comments from olistr...@openoffice.org Thu Aug 19 10:18:14 
+ 2010 ---
Stack trace showing the issue:
#0  0x003cb680ce74 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x003cb6808874 in _L_lock_106 () from /lib64/libpthread.so.0
#2  0x003cb68082e0 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x2ac15410868a in osl_acquireMutex ()
#4  0x2ac1541036d4 in osl::Mutex::acquire ()
#5  0x2ac15410372b in osl::Guardosl::Mutex::Guard ()
#6  0x2ac1541393d2 in rtl_moduleCount_release ()
#7  0x2ac18bd5d328 in RemoteEnvironment_thisDisposing ()
#8  0x2ac153ea9ff0 in defenv_release ()
#9  0x2ac18bd7b5a5 in bridges_remote::RemoteMapping::~RemoteMapping ()
#10 0x2ac18bd7b918 in bridges_remote::freeRemoteMapping ()
#11 0x2ac153e99a0f in uno_revokeMapping ()
#12 0x2ac18bd7b857 in thisRelease ()
#13 0x2ac18bd79aae in com::sun::star::uno::Mapping::~Mapping ()
#14 0x2ac18bd78790 in bridges_remote::Remote2UnoProxy::~Remote2UnoProxy ()
#15 0x2ac18bd79a64 in bridges_remote::freeRemote2UnoProxy ()
#16 0x2ac153ea9b93 in s_stub_defenv_revokeInterface ()
#17 0x2ac153eafecf in s_environment_invoke_v ()
#18 0x2ac153eaff61 in uno_Environment_invoke_v ()
#19 0x2ac153eb004a in uno_Environment_invoke ()
#20 0x2ac153ea990f in defenv_revokeInterface ()
#21 0x2ac18bd79a3a in bridges_remote::releaseRemote2UnoProxy ()
#22 0x2ac18956392b in bridges::cpp_uno::shared::freeCppInterfaceProxy ()
#23 0x2ac153ea9b93 in s_stub_defenv_revokeInterface ()
#24 0x2ac153eafecf in s_environment_invoke_v ()
#25 0x2ac153eaff61 in uno_Environment_invoke_v ()
#26 0x2ac153eb004a in uno_Environment_invoke ()
#27 0x2ac153ea990f in defenv_revokeInterface ()
#28 0x2ac18956361c in
bridges::cpp_uno::shared::CppInterfaceProxy::releaseProxy ()
#29 0x2ac1895603ae in cpp_vtable_call ()
#30 0x2ac189561f16 in privateSnippetExecutor ()
#31 0x2ac14f6387f4 in
com::sun::star::uno::Referencecom::sun::star::uno::XInterface::~Reference ()
from libtest.so
#32 0x2ac14f62eade in __tcf_12 ()
#33 0x003cb5c3363e in __cxa_finalize () from /lib64/libc.so.6
#34 0x2ac14f4cf3b6 in __do_global_dtors_aux ()
#35 0x in ?? ()


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org