Apache OpenOffice (AOO) Bugzilla – Issue 30258
API: forms.OComboBoxModel::com::sun::star::form::XUpdateBroadcaster
Last modified: 2013-02-24 21:09:42 UTC
while executing the test for XUpdateBroadcaster for object OComboBoxModel the office hangs. This happens on Linux and Solaris. The concerning calls of test are: oForm.load() oObj.getPropertyValue("Text") This code snipped was called after a listener is added. While I debug this snipped sometimes it runs without failure. If I try then again the test all works fine. A fresh started office is a garant to reproduce the freeze. Just execute %SOLARENV%\bin\checkapi -o fforms.OComboBoxModel::com::sun::star::form::XUpdateBroadcaster to reproduce the behaviour
accepting
*** Issue 30546 has been marked as a duplicate of this issue. ***
note 1: The bug was unrevealed by a change in Writer which made it into the master recently. Since another side effeft of this change was pretty annoying, issue 30295 was submitted and fixed. Now when the fix for issue 30295 makes it into the master, then this bug here will vanish magically :( note 2: The deeper reason is the NumberFormatter service implementation relying on the SolarMutex for thread safety, which is pretty bad. Fixing this issue here *also* involves fixing the NumberFormatter to rely on an own mutex. However, this is somewhat risky - it's easy to implement (I did a test implementation which fixed the bug here), but it's difficult to overlook the consequences. I'm going to attach patches which completely fix this bug here, including a patch to the NumberFormatter service object(s).
Created attachment 16181 [details] patches to fix this bug, not extensively tested
fixed in CWS dba18
re-opening for reassignment to QA
fs->cn: please verify in CWS dba18
verified in dba18
tested in src680_m65 -> close