From owner-freebsd-openoffice Fri Aug 23 17:22:46 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 3564F37B400 for ; Fri, 23 Aug 2002 17:22:44 -0700 (PDT) Received: from jbloom.org (reyim.ne.client2.attbi.com [24.60.104.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD6943E65 for ; Fri, 23 Aug 2002 17:22:43 -0700 (PDT) (envelope-from bloom@acm.org) Received: from acm.org (jmblap.jbloom.org [172.17.235.110]) by jbloom.org (8.11.6/8.11.6) with ESMTP id g7O0MgA67155 for ; Fri, 23 Aug 2002 20:22:42 -0400 (EDT) (envelope-from bloom@acm.org) Message-ID: <3D66D179.20907@acm.org> Date: Fri, 23 Aug 2002 20:21:13 -0400 From: Jim Bloom User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020821 X-Accept-Language: en-us, en MIME-Version: 1.0 To: openoffice@freebsd.org Subject: Re: core dump in idlc while building References: <3D657336.1060204@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Jim Bloom wrote: > I am trying to build OpenOffice on Current. The kernel, system and > ports tree date from a cvsup done around 10:00 EDT Audust 21. The > build keeps aborting with a segmentation violation in idlc. There > seems to be no difference if debuggin g is turned on or not. > > The end of the build output is as follows: > > ============= > Building project udkapi > ============= > /usr/ports/editors/openoffice/work/oo_1.0.1_src/udkapi/com/sun/star/lang > mkout -- version: 1.3 > idlc @/var/tmp/mkYh4UiQ > idlc: compile 'ArrayIndexOutOfBoundsException.idl' ... > Segmentation fault (core dumped) > dmake: Error code 139, while making > '../../../../unxfbsd.pro/misc/urd_csslang.don' > > Gdb gives the following backtrace: > > (gdb) where > #0 0x283a42f6 in strchr () from /usr/lib/libc.so.5 > #1 0x28239924 in __JCR_LIST__ () > from > /usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/lib/libsal.so.3 > > #2 0x280a6357 in osl_getExecutableFile (pustrFile=0xbfbfe1c0) at > process.c:434 > #3 0x08055753 in compileFile(rtl::OString const&) (fileName=@0xbfbfe364) > at > /usr/ports/editors/openoffice/work/oo_1.0.1_src/idlc/source/idlccompile.cxx:318 > > #4 0x08052d62 in main (argc=2, argv=0xbfbfe404) > at > /usr/ports/editors/openoffice/work/oo_1.0.1_src/idlc/source/idlcmain.cxx:95 > > #5 0x0804b1ad in _start () > > Jim Bloom > bloom@acm.org After recompiling libc and libc_r, the stack backtrace gives no new information. I tried to find __JCR_LIST__ and believe it has sonething to do with subroutine linkage. I would guess that frame 2 is the last one that is good and there is a problem with the function call at process.c:434 or the code generated for it. strchr references line 19 in an assembly file in /var/tmp (compiler intermediate). The initial source is assembly as well (on i386). Jim Bloom bloom@acm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message