From owner-freebsd-openoffice Fri Oct 18 2:39:22 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE1637B401; Fri, 18 Oct 2002 02:39:20 -0700 (PDT) Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0DA43E91; Fri, 18 Oct 2002 02:39:20 -0700 (PDT) (envelope-from joerg.barfurth@sun.com) Received: from hamburg-mail1.germany.sun.com ([129.157.136.19]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id DAA22831; Fri, 18 Oct 2002 03:39:18 -0600 (MDT) Received: from sun.com (sr-eham02-01 [129.157.136.30]) by hamburg-mail1.germany.sun.com (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g9I9dGR10391; Fri, 18 Oct 2002 11:39:16 +0200 (MEST) Message-ID: <3DAFD6C4.7070109@sun.com> Date: Fri, 18 Oct 2002 11:39:16 +0200 From: Joerg Barfurth User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: de-de, de, en-us, en, fr, ru MIME-Version: 1.0 Newsgroups: openoffice.porting.dev Cc: kevin.hendricks@sympatico.ca, Martin Blapp , openoffice@freebsd.org, kan@freebsd.org Subject: Re: [porting-dev] Re: FreeBSD: OOo 1.01 Mutex.acquire crash in File -> Autopilot -> Formular References: <20021017150309.G90671-100000@levais.imp.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Kevin, Kevin B. Hendricks wrote: > I looked in line 1963 in toolkit/source/awt/vclxwindows.cxx where the > OGuard object is created in the VCLXFixedText class in its > getMinimumSize() implemantation. > > It seems the results of a GetMutex() call is passed to the OGuard but > although I can find numerous definitions of GetMutex() for many of the > classes in toolkit/ I simply can not find a Mutex anywhere in the > VCLXFixedText class or an implementation of GetMutex() defined anywhere > for that class. > > The VCLXFixedText class extends the XFixedText class and I looked in > toolkit in the XFixedText.hpp and related files but could find no Mutex or > implemenation of GetMutex() for that class either. > > So I have no idea what exactly the call to GetMutex() in the VCLXFixedText > class is resolving to in the build. > > Perhaps someone who understands the flow and C++ a bit better than I do > could take a look at this and tell us which implementation of GetMutex() > is being used by the VCLXFixedText class. The class is derived from VCLXWindow, which in turn is derived from VCLXDevice. And there you find the mutex. You find the (inline) function VCLXDevice::getMutex() in toolkit/inc/toolkit/awt/vclxdevice.hxx. HTH, Jörg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message