Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Fri, Dec 14, 2012 at 8:00 AM, Noel Grandin <noel@peralex.com> wrote:

On 2012-12-13 19:28, John Smith wrote:

Conditional jump or move depends on uninitialised value(s)

That looks like you have valgrind enabled, and I don't think all of our unit
tests have been made valgrind-safe yet.

Oh. Well, when I do 'make build' without valgrind, I get a segmentation fault :


[build CUT] sw_subsequent_rtfexport
[build CUT] sw_subsequent_rtfimport
/bin/sh: line 1:  4079 Segmentation fault      (core dumped)
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib":$O/lib/sqlite
DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t STAR_RESOURCEPATH=$O/bin/
$O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so
--headless "-env:BRAND_BASE_DIR=file://$O/unittest/install"
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry
module:file://$O/xml/registry/spool
xcsxcu:file://$O/unittest/registry"
"-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb"
"-env:UNO_SERVICES=file://$O/xml/ure/services.rdb
file://$O/xml/component/basic/util/sb.component
file://$O/xml/component/comphelper/util/comphelp.component
file://$O/xml/component/configmgr/source/configmgr.component
file://$O/xml/component/dbaccess/util/dba.component
file://$O/xml/component/embeddedobj/util/embobj.component
file://$O/xml/component/fileaccess/source/fileacc.component
file://$O/xml/component/filter/source/config/cache/filterconfig1.component
file://$O/xml/component/forms/util/frm.component
file://$O/xml/component/framework/util/fwk.component
file://$O/xml/component/i18npool/util/i18npool.component
file://$O/xml/component/linguistic/source/lng.component
file://$O/xml/component/package/source/xstor/xstor.component
file://$O/xml/component/package/util/package2.component
file://$O/xml/component/sax/source/expatwrap/expwrap.component
file://$O/xml/component/sw/util/msword.component
file://$O/xml/component/sw/util/sw.component
file://$O/xml/component/sw/util/swd.component
file://$O/xml/component/sfx2/util/sfx.component
file://$O/xml/component/svl/source/fsstor/fsstorage.component
file://$O/xml/component/svtools/util/svt.component
file://$O/xml/component/toolkit/util/tk.component
file://$O/xml/component/ucb/source/core/ucb1.component
file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component
file://$O/xml/component/unotools/util/utl.component
file://$O/xml/component/unoxml/source/service/unoxml.component
file://$O/xml/component/xmlhelp/util/ucpchelp1.component"
-env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib
--protector unoexceptionprotector.so unoexceptionprotector --protector
unobootstrapprotector.so unobootstrapprotector >
$W/CppunitTest/sw_subsequent_ww8export.test.log 2>&1
OK (1)

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make[2]: *** 
[/usr/local/src/libreoffice/workdir/unxlngi6.pro/CppunitTest/sw_subsequent_ww8export.test]
Error 1
make[2]: *** Waiting for unfinished jobs....

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 512 occurred while making /usr/local/src/libreoffice/tail_build/prj

 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error and/or test your fix.

-----------------------------------------------------------------------
To rebuild a specific module:

make tail_build.clean # not recommended, this will re-build almost everything
make tail_build

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/usr/local/src/libreoffice'
make: *** [build] Error 2
[root@localhost libreoffice]# gdb
/usr/local/src/libreoffice/solver/unxlngi6.pro/bin/cppunit/cppunittester
./tail_build/core.4079
GNU gdb (GDB) Fedora (7.4.50.20120120-49.fc17)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/usr/local/src/libreoffice/solver/unxlngi6.pro/bin/cppunit/cppunittester...(no
debugging symbols found)...done.
[New LWP 4079]
[New LWP 4080]

warning: the debug information found in
"/usr/lib/debug/usr/lib/libstdc++.so.6.0.17.debug" does not match
"/lib/libstdc++.so.6" (CRC mismatch).


warning: the debug information found in
"/usr/lib/debug//usr/lib/libstdc++.so.6.0.17.debug" does not match
"/lib/libstdc++.so.6" (CRC mismatch).


warning: the debug information found in
"/usr/lib/debug/usr/lib//libstdc++.so.6.0.17.debug" does not match
"/lib/libstdc++.so.6" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by
`/usr/local/src/libreoffice/solver/unxlngi6.pro/bin/cppunit/cppunittester
/usr/l'.
Program terminated with signal 11, Segmentation fault.
#0  0xaf3ca969 in psp::FontCache::clearCache() () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libvcllo.so
warning: File "/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libuno_sal.so.3-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
warning: File "/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libuno_cppu.so.3-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
warning: File "/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libswlo.so-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
warning: File "/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libtllo.so-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
warning: File "/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libsvllo.so-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
Missing separate debuginfos, use: debuginfo-install
avahi-libs-0.6.31-3.fc17.i686 cppunit-1.12.1-7.fc17.i686
cups-libs-1.5.2-12.fc17.i686 dbus-glib-0.98-2.fc17.i686
dbus-libs-1.4.10-4.fc17.i686 expat-2.1.0-1.fc17.i686
fontconfig-2.8.0-7.fc17.i686 freetype-2.4.8-3.fc17.i686
glib2-2.32.4-1.fc17.i686 gnutls-2.12.17-1.fc17.i686
graphite2-1.1.1-2.fc17.i686 keyutils-libs-1.5.5-2.fc17.i686
krb5-libs-1.10.2-6.fc17.i686 lcms2-2.3-2.fc17.i686
libX11-1.5.0-2.fc17.i686 libXau-1.0.6-3.fc17.i686
libcom_err-1.42.3-2.fc17.i686 libffi-3.0.10-2.fc17.i686
libgcc-4.7.2-2.fc17.i686 libgcrypt-1.5.0-3.fc17.i686
libgpg-error-1.10-2.fc17.i686 libicu-4.8.1.1-4.fc17.i686
libjpeg-turbo-1.2.1-1.fc17.i686 libselinux-2.1.10-3.fc17.i686
libstdc++-4.7.2-2.fc17.i686 libtasn1-2.12-1.fc17.i686
libxcb-1.8.1-1.fc17.i686 nspr-4.9.1-2.fc17.i686 nss-3.13.5-1.fc17.i686
nss-util-3.13.5-1.fc17.i686 p11-kit-0.12-1.fc17.i686
(gdb) thread apply all backtrace full

Thread 2 (Thread 0xb75afb40 (LWP 4080)):
#0  0xb7711424 in __kernel_vsyscall ()
No symbol table info available.
#1  0x470024d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:238
No locals.
#2  0x46f479a4 in __pthread_cond_timedwait (cond=0xb76d5ae0,
mutex=0xb76d5980, abstime=0xb75af0e0) at forward.c:152
        __p = <optimized out>
#3  0xb7619fa4 in rtl_cache_wsupdate_wait(unsigned int) () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libuno_sal.so.3
No symbol table info available.
#4  0xb761a4b1 in rtl_cache_wsupdate_all(void*) () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libuno_sal.so.3
No symbol table info available.
#5  0x46ffeadf in start_thread (arg=0xb75afb40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xb75afb40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1191243764, 0,
4001536, -1218776536, 887700796, 2128538335}, mask_was_saved = 0}},
priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#6  0x46f3954e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133
No locals.

Thread 1 (Thread 0xb75d1900 (LWP 4079)):
#0  0xaf3ca969 in psp::FontCache::clearCache() () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libvcllo.so
No symbol table info available.
#1  0xaf3ca690 in psp::FontCache::~FontCache() () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libvcllo.so
No symbol table info available.
#2  0xaf405555 in psp::PrintFontManager::~PrintFontManager() () from
/usr/local/src/libreoffice/solver/unxlngi6.pro/lib/libvcllo.so
No symbol table info available.
#3  0x46e79ce1 in __run_exit_handlers (status=status@entry=0,
listp=0x46ff23c4, run_list_atexit=run_list_atexit@entry=true) at
exit.c:78
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#4  0x46e79d6d in __GI_exit (status=0) at exit.c:100
No locals.
#5  0x46e6163d in __libc_start_main (main=0x804b3c9 <main>, argc=15,
ubp_av=0xbfab5ac4, init=0x80545f0 <__libc_csu_init>, fini=0x8054660
<__libc_csu_fini>, rtld_fini=
    0x46e34a90 <_dl_fini>, stack_end=0xbfab5abc) at libc-start.c:258
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1191124980, 0, 0,
0, -675291859, 1293965535}, mask_was_saved = 0}}, priv = {pad = {0x0,
0x0, 0xf, 0x8049f40}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 15}}}
        not_first_call = <optimized out>
#6  0x08049f61 in _start ()
No symbol table info available.
(gdb)

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.