Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4150B7840 for ; Mon, 7 Nov 2011 09:27:54 +0000 (UTC) Received: (qmail 95422 invoked by uid 500); 7 Nov 2011 09:27:54 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 95376 invoked by uid 500); 7 Nov 2011 09:27:54 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 95368 invoked by uid 99); 7 Nov 2011 09:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 09:27:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of orwittmann@googlemail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 09:27:46 +0000 Received: by faat2 with SMTP id t2so2266820faa.6 for ; Mon, 07 Nov 2011 01:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=srv6iYwHpPKJj8O2eKxHCnrT53mBTwESiWg4bt2jU/s=; b=xBdSszUcaX9v5zPjSAsayA7TAWA1fuc7Xmo3Y4nOqvMMSKZ/8vhDSLRxWmHfBckDc0 3ULMH5u+hNtuNcad5GhzMbiJ7+DiF0OkvkoWh/A5aB+m8KifBVkD5ylpvGQPpzgQyMj7 dtyc7pXz7uwnPazjlSDv87SkE7QvF7tDs0pmA= Received: by 10.223.76.197 with SMTP id d5mr46084104fak.13.1320658046160; Mon, 07 Nov 2011 01:27:26 -0800 (PST) Received: from [9.155.131.30] (deibp9eh1--blueice3n2.emea.ibm.com. [195.212.29.180]) by mx.google.com with ESMTPS id i3sm30592951faf.0.2011.11.07.01.27.25 (version=SSLv3 cipher=OTHER); Mon, 07 Nov 2011 01:27:25 -0800 (PST) Message-ID: <4EB7A481.6080509@googlemail.com> Date: Mon, 07 Nov 2011 10:27:29 +0100 From: Oliver-Rainer Wittmann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [CODE] issue 118576: Crash on close References: <4EB79C14.6090307@a-w-f.de> In-Reply-To: <4EB79C14.6090307@a-w-f.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am supporting Andre's proposal to revert the config manager singleton fix and postpone it and the fixes regarding the unregistered config items to a time, when we have finished the "IP cleared" milestone. Best regards, Oliver. On 07.11.2011 09:51, Andre Fischer wrote: > Hi, > > I have news on this, but not good news. > > The crash is not directly caused but triggered by the fix for issue > 112786. That issue fixes the config manager singleton to actually > getting destroyed when the office closes. Not destroying it is not nice > but, to my knowledge, causes not observable problems. > > Now that the config manager is destroyed, it checks whether there are > still any registered config items. There should be none at this point > but in reality there is one when no application is started and about six > when for example the writer is started and closed immediately. > > Not wanting to leave anything behind the config manager destroys the > lingering config items. Because the office is already half down and the > infrastructure for destroying the config items is not in place anymore, > that causes the crash. > > So, every remaining config item causes its own separate crash. Each has > to be fixed on its own. Some even cause secondary crashes when a config > items in its destructor tries to destroy the resources it still holds. > > The root cause here is that the config items are registered but are not > unregistered. Fixing this issue means finding the owner of the offending > config item and make it properly unregister and destroy the item. > > Fixing this is a time consuming process. I have one item fixed (see the > patch for issue 118576) and a second one in the making. That means that > four are still open. As there are more important things to do right now, > like getting the conflicting IP stuff removed, I suggest to remove the > patch of issue 112786 and fix this properly at a later point in time. > > Regards, > Andre > > On 06.11.2011 09:50, eric b wrote: >> Hi Andre, >> >> I confirm the crash on windows when quit, and I can try to have a look >> at your code, compile it and review it on Windows. >> >> >> Regards, >> Eric >> >> >> P.S. : I created a new thread, because I just subscribed again to the >> list, to fix the issue with you on list (because of the flow, I prefer >> use to follow the list using >> http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/ ) >>