Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549318 - app-office/libreoffice-4.4.1.2 - interpr4.cxx internal compile error: Segmentation Fault
Summary: app-office/libreoffice-4.4.1.2 - interpr4.cxx internal compile error: Segment...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 01:30 UTC by Jon
Modified: 2016-03-26 21:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =libreoffice-4.4.1.2 (emerge info.txt,5.50 KB, text/plain)
2015-05-13 01:30 UTC, Jon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon 2015-05-13 01:30:31 UTC
Created attachment 403174 [details]
emerge --info =libreoffice-4.4.1.2

Trying to emerge libreoffice and get:

[build CXX] sc/source/core/tool/listenerquery.cxx
S=/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/sc/source/core/tool/ $W/Dep/CxxObject/sc/source/core/tool/ && cd /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.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   -DSC_DLLIMPLEMENTATION -DSC_INFO_OSVERSION=\"LINUX\"  -DSYSTEM_LIBXML   -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/sc/source/core/tool/listenerquery.cxx -o $W/CxxObject/sc/source/core/tool/listenerquery.o  -I$S/sc/source/core/tool/ -I$S/sc/source/core/inc -I$S/sc/source/filter/inc -I$S/sc/source/ui/inc -I$S/sc/inc -I$W/SdiTarget/sc/sdi  -I$S/include   -I$S/config_host   -I$W/CustomTarget/officecfg/registry -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include   -isystem /usr/include/libxml2     -isystem /usr/include/liborcus-0.8     
[build CXX] sc/source/core/tool/lookupcache.cxx
/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/sc/source/core/tool/interpr4.cxx: In member function ‘formula::StackVar ScInterpreter::Interpret()’:
/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/sc/source/core/tool/interpr4.cxx:4514:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/solenv/gbuild/LinkTarget.mk:189: recipe for target '/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CxxObject/sc/source/core/tool/interpr4.o' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CxxObject/sc/source/core/tool/interpr4.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/char.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2'
Makefile:237: recipe for target 'build' failed
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-4.4.1.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 7338:  Called die
 * The specific snippet of code:
 *       make ${target} || die

Error seems to hit at the same point each time.


Also:

[ebuild  N    ] app-office/libreoffice-4.4.1.2  USE="bluetooth branding cups dbus gtk kde (-aqua) (-coinmp) -collada -debug -eds (-firebird) -gltf -gnome -gstreamer -gtk3 -java -jemalloc -mysql -odk -postgres -telepathy {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4"

and

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2015-05-23 20:42:44 UTC
Do you still have this problem with 4.4.3 ?
Comment 2 Jon 2015-05-24 02:33:36 UTC
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
Comment 3 Jon 2015-05-24 02:39:58 UTC
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;
}
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-02-28 23:14:38 UTC
Do you still have this problem with 5.1.0 ?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2016-03-26 21:30:10 UTC
(In reply to Andreas K. Hüttel from comment #4)
> Do you still have this problem with 5.1.0 ?