Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BFFAC17B for ; Sun, 17 Jun 2012 14:43:32 +0000 (UTC) Received: (qmail 62446 invoked by uid 500); 17 Jun 2012 14:43:32 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 62405 invoked by uid 500); 17 Jun 2012 14:43:31 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 62397 invoked by uid 99); 17 Jun 2012 14:43:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 14:43:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 14:43:29 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id C0FAF4DB6; Sun, 17 Jun 2012 14:43:08 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 113608] animations: All animation nodes are leaked Date: Sun, 17 Jun 2012 14:43:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: drawing X-Bugzilla-Component: code X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: zhangjf@apache.org X-Bugzilla-Status: CONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: clippka@apache.org X-Bugzilla-Target-Milestone: AOO 3.x X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/ooo/show_bug.cgi?id=113608 zhang jianfang changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78326|0 |1 is obsolete| | Attachment #78329|0 |1 is obsolete| | --- Comment #12 from zhang jianfang --- Created attachment 78355 --> https://issues.apache.org/ooo/attachment.cgi?id=78355&action=edit Final extra patch for the remaining crash problem The direct cause of the crash is SdrObject.mpSvxShape points to a dangling SvxShape object, while the weakreference SdrObject.maWeakUnoShape is correct. The root cause is in SvxShape::Notify(), it sometimes reset the pointer SvxShape.mpObj without notifying SdrObject, then in SvxShape destructor it also has no chance to notify SdrObject to reset the mpSvxShape to the SvxShape object. But it is hard in SvxShape::Notify() to check if the SvxShape.mpObj->mpSvxShape points back to SvxShape object itself, when the SvxShape object doesn't have ownership to the SdrObject. So the safe and quick fix still gets back to the original workaround. I attach this final fix patch. SdrObject.mpSvxShape is only for internal use. I guess it is for cache purpose, so it needn't workout the real pointer to SvxShape object each time when it wants to access it. So I won't try to remove it now. -- You are receiving this mail because: You are on the CC list for the bug.