LINUX.ORG.RU

История изменений

Исправление NK, (текущая версия) :

Сейчас на чем получаю ошибку пытаюсь через gdb прогнать, покажу, что получается:
Для начала дал make получил error, затем

make testtools VERBOSE=t
gdb --args
S=/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro && gdb --args $O/bin/uno -ro $O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro $W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
(gdb) run
    Starting program: /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/uno -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/xml/uno_services.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/udkapi.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/workdir/unxlngi6.pro/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    To enable execution of this file add
            add-auto-load-safe-path /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libuno_cppu.so.3-gdb.py
    line to your configuration file "/home/nk/.gdbinit".
    To completely disable this security protection add
            set auto-load safe-path /
    line to your configuration file "/home/nk/.gdbinit".
    For more information about this security protection see the
    "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
            info "(gdb)Auto-loading safe path"
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
    warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
     
    Program received signal SIGSEGV, Segmentation fault.
    0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    (gdb)
    (gdb) thread apply all bt
     
    Thread 1 (LWP 28864):
    #0  0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #1  0xf7fdd1bc in ?? () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #2  0xf7fd2aef in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #3  0xf7fce073 in (anonymous namespace)::cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, _typelib_TypeDescription const*, _typelib_TypeDescriptionReference*, long, _typelib_MethodParameter*, void**, void*) [clone .clone.4] () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #4  0xf7fceb51 in cpp_vtable_call () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #5  0xf7fd83cd in privateSnippetExecutorVoid () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #6  0xf6f79804 in bridge_test::performTest(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<test::testtools::bridgetest::XBridgeTest> const&, bool) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #7  0xf6f83e68 in bridge_test::TestBridgeImpl::run(com::sun::star::uno::Sequence<rtl::OUString> const&) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #8  0x0804dd7d in sal_main() ()
    #9  0x0804f643 in main ()

Исправление NK, :

Сейчас на чем получаю ошибку пытаюсь через gdb прогнать, покажу, что получается: Для начала дал make получил error, затем

make testtools VERBOSE=t
gdb --args
S=/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1 && O=$S/solver/unxlngi6.pro && W=$S/workdir/unxlngi6.pro && gdb --args $O/bin/uno -ro $O/xml/uno_services.rdb -ro $O/bin/udkapi.rdb -ro $W/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
(gdb) run
    Starting program: /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/uno -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/xml/uno_services.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/udkapi.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/workdir/unxlngi6.pro/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    To enable execution of this file add
            add-auto-load-safe-path /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libuno_cppu.so.3-gdb.py
    line to your configuration file "/home/nk/.gdbinit".
    To completely disable this security protection add
            set auto-load safe-path /
    line to your configuration file "/home/nk/.gdbinit".
    For more information about this security protection see the
    "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
            info "(gdb)Auto-loading safe path"
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
    warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
     
    Program received signal SIGSEGV, Segmentation fault.
    0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    (gdb)
    (gdb) thread apply all bt
     
    Thread 1 (LWP 28864):
    #0  0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #1  0xf7fdd1bc in ?? () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #2  0xf7fd2aef in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #3  0xf7fce073 in (anonymous namespace)::cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, _typelib_TypeDescription const*, _typelib_TypeDescriptionReference*, long, _typelib_MethodParameter*, void**, void*) [clone .clone.4] () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #4  0xf7fceb51 in cpp_vtable_call () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #5  0xf7fd83cd in privateSnippetExecutorVoid () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #6  0xf6f79804 in bridge_test::performTest(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<test::testtools::bridgetest::XBridgeTest> const&, bool) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #7  0xf6f83e68 in bridge_test::TestBridgeImpl::run(com::sun::star::uno::Sequence<rtl::OUString> const&) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #8  0x0804dd7d in sal_main() ()
    #9  0x0804f643 in main ()

Исходная версия NK, :

Сейчас на чем получаю ошибку пытаюсь через gdb прогнать, покажу, что получается:

    (gdb) run
    Starting program: /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/uno -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/xml/uno_services.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/bin/udkapi.rdb -ro /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/workdir/unxlngi6.pro/UnoApiTarget/bridgetest.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    To enable execution of this file add
            add-auto-load-safe-path /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libuno_cppu.so.3-gdb.py
    line to your configuration file "/home/nk/.gdbinit".
    To completely disable this security protection add
            set auto-load safe-path /
    line to your configuration file "/home/nk/.gdbinit".
    For more information about this security protection see the
    "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
            info "(gdb)Auto-loading safe path"
    warning: File "/mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/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".
    warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
    warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
     
    Program received signal SIGSEGV, Segmentation fault.
    0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    (gdb)
    (gdb) thread apply all bt
     
    Thread 1 (LWP 28864):
    #0  0xf7fcdc9e in gcc3::callVirtualMethod(void*, long, void*, _typelib_TypeDescription*, bool, long*, long) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #1  0xf7fdd1bc in ?? () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #2  0xf7fd2aef in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #3  0xf7fce073 in (anonymous namespace)::cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, _typelib_TypeDescription const*, _typelib_TypeDescriptionReference*, long, _typelib_MethodParameter*, void**, void*) [clone .clone.4] () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #4  0xf7fceb51 in cpp_vtable_call () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #5  0xf7fd83cd in privateSnippetExecutorVoid () from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/libgcc3_uno.so
    #6  0xf6f79804 in bridge_test::performTest(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<test::testtools::bridgetest::XBridgeTest> const&, bool) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #7  0xf6f83e68 in bridge_test::TestBridgeImpl::run(com::sun::star::uno::Sequence<rtl::OUString> const&) ()
       from /mnt/sda8/DOWNLOADS/tmp32/libreoffice/libreoffice.src/libreoffice-4.0.2.1/solver/unxlngi6.pro/lib/testtools_bridgetest.uno.so
    #8  0x0804dd7d in sal_main() ()
    #9  0x0804f643 in main ()