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 AF7F6DC3B for ; Sat, 21 Jul 2012 09:25:01 +0000 (UTC) Received: (qmail 24165 invoked by uid 500); 21 Jul 2012 09:25:01 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 24026 invoked by uid 500); 21 Jul 2012 09:24:58 -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 23935 invoked by uid 99); 21 Jul 2012 09:24:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 09:24:55 +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; Sat, 21 Jul 2012 09:24:54 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id 588E240B2; Sat, 21 Jul 2012 09:24:34 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 120338] Deadlock when presenter console is started on first run after installation/upgrade Date: Sat, 21 Jul 2012 09:24:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: extensions X-Bugzilla-Component: presenterconsole X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: af@a-w-f.de X-Bugzilla-Status: CONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: af@a-w-f.de X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/ooo/show_bug.cgi?id=120338 --- Comment #1 from Andre --- The reason for the deadlock is the combination of office and presenter console running in two separate processes (thus no deadlock on second or later run: then the extension is run in the same process as the office) and the use of two threads for the presenter console. One thread is the "main" thread, the other is called from the timer that is used to update the display of current and elapsed time. The presenter console tries to call from both threads back into the office in the other process. The calls are routed via cppu, which uses a queue and a condition to process the calls. The condition for one call is never set thus the call is never made. The office in the first process waits for the call to be made which it isn't and thus hangs forever. -- You are receiving this mail because: You are on the CC list for the bug.