| Summary: | app-office/libreoffice-4.4.1.2 - interpr4.cxx internal compile error: Segmentation Fault | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jon <holy.smoking.floorboards.batman> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info =libreoffice-4.4.1.2 | ||
|
Description
Jon
2015-05-13 01:30:31 UTC
Do you still have this problem with 4.4.3 ? Yes:
In file included from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/embed/XStorage.hpp:12:0,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/xtable.hxx:37,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/xit.hxx:24,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/xcolit.hxx:26,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/sdshcitm.hxx:22,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/svdattr.hxx:29,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/svdoattr.hxx:28,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/svdotext.hxx:25,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/svdorect.hxx:23,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/include/svx/svdouno.hxx:28,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/svx/source/inc/fmobj.hxx:22,
from /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/svx/source/form/fmdpage.cxx:21:
/var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/container/XNameAccess.hpp: In function ‘const com::sun::star::uno::Type& com::sun::star::container::cppu_detail_getUnoType(const com::sun::star::container::XNameAccess*)’:
/var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/container/XNameAccess.hpp:153:1: internal compiler error: Segmentation fault
}
^
S=/var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/svx/source/form/ $W/Dep/CxxObject/svx/source/form/ && cd /var/tmp/portage/app-office/libreoffice-4.4.3.2/work/libreoffice-4.4.3.2 && x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DRTL_USING -DSVX_DLLIMPLEMENTATION -DBOOST_SPIRIT_USE_OLD_NAMESPACE -DDBTOOLS_DLL_NAME=\"libmergedlo.so\" -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -Wall -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=gnu++11 -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -march=corei7-avx -O2 -pipe -c $S/svx/source/form/fmmodel.cxx -o $W/CxxObject/svx/source/form/fmmodel.o -I$S/svx/source/form/ -I$S/svx/inc -I$S/svx/source/inc -I$S/include -I$S/config_host -I$W/CustomTarget/officecfg/registry -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I$W/SdiTarget/svx/sdi -I/usr/include -isystem /usr/include/GL -isystem /usr/include/libdrm
[build CXX] svx/source/form/fmobj.cxx
I don't know if this is helpful or not, but here's the culprit code (specifically, the line after a call to OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER() causes the error):
inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::container::XNameAccess const *) {
const ::css::uno::Type &rRet = *detail::theXNameAccessType::get();
// End inline typedescription generation
static bool bInitStarted = false;
if (!bInitStarted)
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if (!bInitStarted)
{
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
bInitStarted = true;
::cppu::UnoType< ::css::uno::RuntimeException >::get();
::cppu::UnoType< ::css::container::NoSuchElementException >::get();
::cppu::UnoType< ::css::lang::WrappedTargetException >::get();
typelib_InterfaceMethodTypeDescription * pMethod = 0;
{
typelib_Parameter_Init aParameters[1];
::rtl::OUString sParamName0( "aName" );
::rtl::OUString sParamType0( "string" );
aParameters[0].pParamName = sParamName0.pData;
aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING;
aParameters[0].pTypeName = sParamType0.pData;
aParameters[0].bIn = sal_True;
aParameters[0].bOut = sal_False;
::rtl::OUString the_ExceptionName0( "com.sun.star.container.NoSuchElementException" );
::rtl::OUString the_ExceptionName1( "com.sun.star.lang.WrappedTargetException" );
::rtl::OUString the_ExceptionName2( "com.sun.star.uno.RuntimeException" );
rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData, the_ExceptionName1.pData, the_ExceptionName2.pData };
::rtl::OUString sReturnType0( "any" );
::rtl::OUString sMethodName0( "com.sun.star.container.XNameAccess::getByName" );
typelib_typedescription_newInterfaceMethod( &pMethod,
5, sal_False,
sMethodName0.pData,
(typelib_TypeClass)::css::uno::TypeClass_ANY, sReturnType0.pData,
1, aParameters,
3, the_Exceptions );
typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
}
{
::rtl::OUString the_ExceptionName0( "com.sun.star.uno.RuntimeException" );
rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData };
::rtl::OUString sReturnType1( "[]string" );
::rtl::OUString sMethodName1( "com.sun.star.container.XNameAccess::getElementNames" );
typelib_typedescription_newInterfaceMethod( &pMethod,
6, sal_False,
sMethodName1.pData,
(typelib_TypeClass)::css::uno::TypeClass_SEQUENCE, sReturnType1.pData,
0, 0,
1, the_Exceptions );
typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
}
{
typelib_Parameter_Init aParameters[1];
::rtl::OUString sParamName0( "aName" );
::rtl::OUString sParamType0( "string" );
aParameters[0].pParamName = sParamName0.pData;
aParameters[0].eTypeClass = (typelib_TypeClass)::css::uno::TypeClass_STRING;
aParameters[0].pTypeName = sParamType0.pData;
aParameters[0].bIn = sal_True;
aParameters[0].bOut = sal_False;
::rtl::OUString the_ExceptionName0( "com.sun.star.uno.RuntimeException" );
rtl_uString * the_Exceptions[] = { the_ExceptionName0.pData };
::rtl::OUString sReturnType2( "boolean" );
::rtl::OUString sMethodName2( "com.sun.star.container.XNameAccess::hasByName" );
typelib_typedescription_newInterfaceMethod( &pMethod,
7, sal_False,
sMethodName2.pData,
(typelib_TypeClass)::css::uno::TypeClass_BOOLEAN, sReturnType2.pData,
1, aParameters,
1, the_Exceptions );
typelib_typedescription_register( (typelib_TypeDescription**)&pMethod );
}
typelib_typedescription_release( (typelib_TypeDescription*)pMethod );
}
}
else
{
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
return rRet;
}
Do you still have this problem with 5.1.0 ? (In reply to Andreas K. Hüttel from comment #4) > Do you still have this problem with 5.1.0 ? |