To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61771





------- Additional comments from [EMAIL PROTECTED] Mon Feb 13 03:06:21 -0800 
2006 -------
attached patch implements a more comprehensive fix, which only touches SVX, but
not SC (or the other applications).

Basic change compared to the previous patch is that now SvxShape::release is
overridden, making the "release the last reference, and delete |this|" an atomic
operation, guarded by the SolarMutex.

Additionally, methods of the SvxShape which could be called bypassing UNO (such
as the |dispose| call from SdrObject::~SdrObject, or SvxShape::Notify), but
create a reference on the SvxShape itself, have been protected against duplicate
deletion.
(That is, if thread A blocks in SvxShape::release, with the ref count already
dropped to 0, and thread B enters one of those methods, and creates a temporary
reference to the SvxShape instance, then this would result in duplicate "delete
this" calls, and thus a crash.)

This works with all integration tests from "forms", which make extensive use of
shapes in both Calc and Writer.
Not yet verified against various past bugs in this area ...

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to