From owner-freebsd-openoffice@FreeBSD.ORG Thu Nov 6 11:13:04 2003 Return-Path: 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 58E6216A4CE for ; Thu, 6 Nov 2003 11:13:04 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 965E543FEC for ; Thu, 6 Nov 2003 11:13:02 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 86597 invoked from network); 6 Nov 2003 19:13:00 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 6 Nov 2003 19:13:00 -0000 Message-ID: <3FAA9D3C.7040806@liwing.de> Date: Thu, 06 Nov 2003 19:13:00 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031102 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Martin Blapp References: <3FA98954.9020607@liwing.de> <20031106175445.M69464@cvs.imp.ch> In-Reply-To: <20031106175445.M69464@cvs.imp.ch> Content-Type: multipart/mixed; boundary="------------090506050203020309060808" cc: openoffice@freebsd.org Subject: Re: Fail to build openoffice-1.1 - regcomp dumps core X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 19:13:04 -0000 This is a multi-part message in MIME format. --------------090506050203020309060808 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Martin Blapp wrote: > Hi, > > >>I remembered from mozilla build, that regcomp had problems with a to >>high optimization level, so I build with CFLAGS="-O -pipe". >> >>Where's a good start to fix the problem? Can I provide more (useful) >>information? > > > Try to build with -g and then show us a backtrace. Attached. Jens --------------090506050203020309060808 Content-Type: text/plain; name="gdb-bt-regcomp-openoffice-1.1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb-bt-regcomp-openoffice-1.1" Script started on Thu Nov 6 19:09:03 2003 statler# pwd /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/pyuno/unxfbsd.pro/lib statler# gdb ../../../solver/645/unxfbsd.pro/bin/regcomp regcomp.core GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... Core was generated by `regcomp'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libsal.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libsal.so.3 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libcppu.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libcppu.so.3 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libcppuhelpergcc3.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libcppuhelpergcc3.so.3 Reading symbols from /usr/lib/libc_r.so.5...done. Loaded symbols for /usr/lib/libc_r.so.5 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libstlport_gcc.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libstlport_gcc.so Reading symbols from /usr/lib/libstdc++.so.4...done. Loaded symbols for /usr/lib/libstdc++.so.4 Reading symbols from /lib/libm.so.2...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/servicemgr.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/servicemgr.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/shlibloader.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/shlibloader.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/simplereg.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/simplereg.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libsalhelpergcc3.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libsalhelpergcc3.so.3 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/nestedreg.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/nestedreg.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/typemgr.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/typemgr.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/implreg.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/implreg.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/security.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/security.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libreg.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libreg.so.3 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libstore.so.3...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/libstore.so.3 Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/typeconverter.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/typeconverter.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/invocation.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/invocation.uno.so Reading symbols from /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/corereflection.uno.so...done. Loaded symbols for /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/lib/corereflection.uno.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x683eaf27 in _Unwind_SetGR () from /usr/lib/libstdc++.so.4 (gdb) bt full #0 0x683eaf27 in _Unwind_SetGR () from /usr/lib/libstdc++.so.4 No symbol table info available. #1 0x683dcf7d in __gxx_personality_v0 () from /usr/lib/libstdc++.so.4 No symbol table info available. #2 0x683e9f17 in _Unwind_RaiseException () from /usr/lib/libstdc++.so.4 No symbol table info available. #3 0x683dcb03 in __cxa_throw () from /usr/lib/libstdc++.so.4 No symbol table info available. #4 0x68558758 in stoc_simreg::RegistryKeyImpl::getAsciiListValue() (this=0x685ee160) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/rtl/ustring.hxx:226 aGuard = {pT = 0x68527744} #5 0x6859429d in insert_singletons (xDest=@0xbfbfe0b0, xImplKey=@0x6859b034, xContext=@0x68527964) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/com/sun/star/uno/Reference.h:334 xKey = { = {_pInterface = 0x685ef884}, } #6 0x68595590 in prepareRegistry (xDest=@0xbfbfe0b0, xSource=@0x0, implementationLoaderUrl=@0xbfbfe0f0, locationUrl=@0x6851b2f8, xContext=@0x68527964) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/stoc/source/implementationregistration/implreg.cxx:1272 xKey = { = {_pInterface = 0x6852a6fc}, } subKeys = {_pSequence = 0x6852ae80, static s_pType = 0x6852af38} pool = (const StringPool &) @0x6859ca60: {sImplementationName = {pData = 0x68521488}, sServiceName = {pData = 0x68521500}, TMP = { pData = 0x6851be90}, TEMP = {pData = 0x68521578}, slash_UNO_slash_REGISTRY_LINKS = {pData = 0x68521598}, slash_IMPLEMENTATIONS = { pData = 0x685215d8}, slash_UNO = {pData = 0x68521610}, slash_UNO_slash_SERVICES = {pData = 0x68521630}, slash_UNO_slash_SINGLETONS = { pData = 0x68521660}, slash_SERVICES = {pData = 0x68521698}, slash_UNO_slash_LOCATION = {pData = 0x685216c0}, slash_UNO_slash_ACTIVATOR = { pData = 0x685216f0}, colon_old = {pData = 0x68521720}, com_sun_star_registry_SimpleRegistry = {pData = 0x68521740}, Registry = { pData = 0x685217a0}} pSubKeys = (const Reference *) 0x6852ae88 xImplKey = { = {_pInterface = 0x6852a7ec}, } i = 0 #7 0x6859864e in stoc_impreg::ImplementationRegistration::doRegister(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, rtl::OUString const&, rtl::OUString const&) (xSMgr=@0x68527960, xCtx=@0x68527964, xAct=@0xbfbfe0c0, xDest=@0xbfbfe0b0, implementationLoaderUrl=@0xbfbfe0f0, locationUrl=@0x6851b2f8) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/stoc/source/implementationregistration/implreg.cxx:1872 xDestKey = { = {_pInterface = 0x6852a6fc}, } bSuccess = 0 '\0' xReg = { = {_pInterface = 0x68528f04}, } xSourceKey = { = {_pInterface = 0x6852a5f4}, } #8 0x685971c3 in stoc_impreg::ImplementationRegistration::registerImplementation(rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference const&) (this=0x68527940, implementationLoaderUrl=@0x6852773c, locationUrl=@0x6851b2f8, xReg=@0xbfbfe1d4) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/stoc/source/implementationregistration/implreg.cxx:1600 xRegistry = { = {_pInterface = 0x6852773c}, } xAct = { = {_pInterface = 0x68528fd4}, } implLoaderUrl = {pData = 0x6851be00} activatorName = {pData = 0x68528f68} #9 0x0804bb5b in DoIt::operator()(rtl::OUString const&) (this=0xbfbfe1c4, url=@0x6851b2f8) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/com/sun/star/uno/Reference.h:334 sUrl = {pData = 0x6852aac8} #10 0x0804d422 in main (argc=18, argv=0xbfbfe314) at /usr/ports/editors/openoffice-1.1/work/oo_1.1_src/solver/645/unxfbsd.pro/inc/stl/stl/_algo.h:65 bSlash = {pData = 0x68527888} tuedle = {pData = 0x68527820} semikolon = {pData = 0x685278c8} emptyString = {pData = 0x6821b8cc} space = {pData = 0x685278e0} index = -1077943868 quote = 0 '\0' inString = 0 '\0' raw_urls = (const sal_Unicode *) 0x6851b2f8 tmp_url = {pData = 0x68528f30} urls = {<_Vector_base >> = {_M_start = 0x6851b2f0, _M_finish = 0x6851b30c, _M_end_of_storage = {> = {}, _M_data = 0x6851b310}}, } sRegName = {pData = 0x68528ec8} ---Type to continue, or q to quit--- bRet = 0 '\0' exitCode = 0 aOptions = {bRegister = 1 '\001', bRevoke = 0 '\0', bSilent = 0 '\0', sProgramName = {pData = 0x6851bc98}, sBootRegName = { pData = 0x6821b8cc}, sBootRegName2 = {pData = 0x6821b8cc}, sRegName = {pData = 0x6851bdc8}, sComponentUrls = {pData = 0x6851c0a0}, sLoaderName = {pData = 0x6851be00}} xSMgr = { = {_pInterface = 0x6851e140}, } xReg = { = {_pInterface = 0x6852773c}, } xImplRegistration = { = {_pInterface = 0x68527954}, } xComponent = { = {_pInterface = 0xbf000001}, } #11 0x0804a0c4 in _start () No symbol table info available. (gdb) q statler# ^Dexit Script done on Thu Nov 6 19:09:32 2003 --------------090506050203020309060808--