Fail to build openoffice-1.1 - regcomp dumps core

Jens Rehsack rehsack at liwing.de
Thu Nov 6 11:13:04 PST 2003


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

-------------- next part --------------
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 = {<BaseReference> = {_pInterface = 0x685ef884}, <No data fields>}
#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 = {<BaseReference> = {_pInterface = 0x6852a6fc}, <No data fields>}
	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<com::sun::star::registry::XRegistryKey> *) 0x6852ae88
	xImplKey = {<BaseReference> = {_pInterface = 0x6852a7ec}, <No data fields>}
	i = 0
#7  0x6859864e in stoc_impreg::ImplementationRegistration::doRegister(com::sun::star::uno::Reference<com::sun::star::lang::XMultiComponentFactory> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<com::sun::star::loader::XImplementationLoader> const&, com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry> 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 = {<BaseReference> = {_pInterface = 0x6852a6fc}, <No data fields>}
	bSuccess = 0 '\0'
	xReg = {<BaseReference> = {_pInterface = 0x68528f04}, <No data fields>}
	xSourceKey = {<BaseReference> = {_pInterface = 0x6852a5f4}, <No data fields>}
#8  0x685971c3 in stoc_impreg::ImplementationRegistration::registerImplementation(rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry> 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 = {<BaseReference> = {_pInterface = 0x6852773c}, <No data fields>}
	xAct = {<BaseReference> = {_pInterface = 0x68528fd4}, <No data fields>}
	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<rtl::OUString,_STL::allocator<rtl::OUString> >> = {_M_start = 0x6851b2f0, _M_finish = 0x6851b30c, 
    _M_end_of_storage = {<allocator<rtl::OUString>> = {<No data fields>}, _M_data = 0x6851b310}}, <No data fields>}
	sRegName = {pData = 0x68528ec8}
---Type <return> to continue, or q <return> 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 = {<BaseReference> = {_pInterface = 0x6851e140}, <No data fields>}
	xReg = {<BaseReference> = {_pInterface = 0x6852773c}, <No data fields>}
	xImplRegistration = {<BaseReference> = {_pInterface = 0x68527954}, <No data fields>}
	xComponent = {<BaseReference> = {_pInterface = 0xbf000001}, <No data fields>}
#11 0x0804a0c4 in _start ()
No symbol table info available.
(gdb) q
statler# ^Dexit

Script done on Thu Nov  6 19:09:32 2003



More information about the freebsd-openoffice mailing list