Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 20:21:13 -0400
From:      Jim Bloom <bloom@acm.org>
To:        openoffice@freebsd.org
Subject:   Re: core dump in idlc while building
Message-ID:  <3D66D179.20907@acm.org>
References:  <3D657336.1060204@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D66D179.20907>